[2026-04-28 00:04:01] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:01] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:01] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:04:36] local.INFO: TCP Data received {"connection_id":55940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:36] local.INFO: Processing buffer {"connection_id":55940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:04:36] local.INFO: IMEI packet received {"connection_id":55940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":55940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:05:04] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:04] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:04] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:05:22] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:22] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:05:22] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:05:22] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:05:22] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:05:22] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:10:11] local.INFO: TCP Data received {"connection_id":55943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:11] local.INFO: Processing buffer {"connection_id":55943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:11] local.INFO: IMEI packet received {"connection_id":55943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":55943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:10:24] local.INFO: TCP Data received {"connection_id":55944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:24] local.INFO: Processing buffer {"connection_id":55944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:24] local.INFO: IMEI packet received {"connection_id":55944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":55944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:10:25] local.INFO: TCP Data received {"connection_id":55944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03d23a8012d249ac006c8b260001500992b..."} 
[2026-04-28 00:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03d23a8012d249ac006c8b260001500992b..."} 
[2026-04-28 00:10:25] local.INFO: Processing buffer {"connection_id":55944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03d23a8012d249ac006c8b260001500992b..."} 
[2026-04-28 00:10:25] local.INFO: Packet analysis {"connection_id":55944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:10:25] local.INFO: Extracted packet for processing {"connection_id":55944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:10:25] local.INFO: GPS Element Parsed {"raw_longitude":757373632,"raw_latitude":113816160,"longitude_deg":75.7373632,"latitude_deg":11.381616,"altitude":21,"angle":153,"satellites":43,"speed":50,"hex_longitude":"2d249ac0","hex_latitude":"06c8b260","is_valid_coordinates":true} 
[2026-04-28 00:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992679424001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281252652023545856,"note":"Value kept but may cause issues"} 
[2026-04-28 00:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2632635486313461760,"note":"Value kept but may cause issues"} 
[2026-04-28 00:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777315161000,"timestamp_ms":1777315161000,"timestamp_seconds":1777315161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03d23a8"} 
[2026-04-28 00:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:10: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-04-28 00:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992679424001,"66":27463,"79":206,"81":22528,"24":50,"16":281252652023545856,"45":2632635486313461760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992679424001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:10:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-04-28 00:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281252652023545856,"km_value":281252652023545.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2632635486313461760,"description":"Unknown IO ID 45"} 
[2026-04-28 00:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992679424001,"power":27463,"unknown_79":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2632635486313461760}} 
[2026-04-28 00:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":55944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:10:25] local.INFO: GPS data processed {"connection_id":55944,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:10:25] local.INFO: Acknowledgment sent {"connection_id":55944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:10:36] local.INFO: TCP Data received {"connection_id":56109,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:36] local.INFO: Processing buffer {"connection_id":56109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:10:36] local.INFO: IMEI packet received {"connection_id":56109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":56109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:10:59] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:59] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:10:59] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:11:01] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:01] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:01] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:11:04] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:04] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:11:04] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:11:05] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03d3f00012d24a94006c891400012009f2b..."} 
[2026-04-28 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03d3f00012d24a94006c891400012009f2b..."} 
[2026-04-28 00:11:05] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03d3f00012d24a94006c891400012009f2b..."} 
[2026-04-28 00:11:05] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:05] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":757377344,"raw_latitude":113807680,"longitude_deg":75.7377344,"latitude_deg":11.380768,"altitude":18,"angle":159,"satellites":43,"speed":54,"hex_longitude":"2d24a940","hex_latitude":"06c89140","is_valid_coordinates":true} 
[2026-04-28 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992681216001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281253098700144640,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2637631667148316672,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777315168000,"timestamp_ms":1777315168000,"timestamp_seconds":1777315168,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03d3f00"} 
[2026-04-28 00:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:05] 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-04-28 00:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992681216001,"66":27397,"79":206,"81":22528,"24":54,"16":281253098700144640,"45":2637631667148316672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992681216001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:11:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-04-28 00:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281253098700144640,"km_value":281253098700144.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2637631667148316672,"description":"Unknown IO ID 45"} 
[2026-04-28 00:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992681216001,"power":27397,"unknown_79":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2637631667148316672}} 
[2026-04-28 00:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:11:05] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:11:05] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:11:10] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03d5a58012d24b64006c86cb0000e00a22d..."} 
[2026-04-28 00:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03d5a58012d24b64006c86cb0000e00a22d..."} 
[2026-04-28 00:11:10] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03d5a58012d24b64006c86cb0000e00a22d..."} 
[2026-04-28 00:11:10] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:10] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:10] local.INFO: GPS Element Parsed {"raw_longitude":757380672,"raw_latitude":113798320,"longitude_deg":75.7380672,"latitude_deg":11.379832,"altitude":14,"angle":162,"satellites":45,"speed":58,"hex_longitude":"2d24b640","hex_latitude":"06c86cb0","is_valid_coordinates":true} 
[2026-04-28 00:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992683008001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281253579736481792,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2641713054308450304,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777315175000,"timestamp_ms":1777315175000,"timestamp_seconds":1777315175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03d5a58"} 
[2026-04-28 00:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:10] 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-04-28 00:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992683008001,"66":27321,"79":206,"81":22528,"24":58,"16":281253579736481792,"45":2641713054308450304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992683008001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:11:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-04-28 00:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281253579736481792,"km_value":281253579736481.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2641713054308450304,"description":"Unknown IO ID 45"} 
[2026-04-28 00:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992683008001,"power":27321,"unknown_79":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2641713054308450304}} 
[2026-04-28 00:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:11:10] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:11:10] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:11:44] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03d75b0012d24c2c006c84690000c00a02c..."} 
[2026-04-28 00:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03d75b0012d24c2c006c84690000c00a02c..."} 
[2026-04-28 00:11:44] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03d75b0012d24c2c006c84690000c00a02c..."} 
[2026-04-28 00:11:44] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:44] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03d"} 
[2026-04-28 00:11:44] local.INFO: GPS Element Parsed {"raw_longitude":757383872,"raw_latitude":113788560,"longitude_deg":75.7383872,"latitude_deg":11.378856,"altitude":12,"angle":160,"satellites":44,"speed":57,"hex_longitude":"2d24c2c0","hex_latitude":"06c84690","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992684800001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281254073657720832,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2645372229003292672,"note":"Value kept but may cause issues"} 
[2026-04-28 00:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777315182000,"timestamp_ms":1777315182000,"timestamp_seconds":1777315182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03d75b0"} 
[2026-04-28 00:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:11: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-04-28 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:11:44] 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-04-28 00:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992684800001,"66":27463,"79":206,"81":22528,"24":57,"16":281254073657720832,"45":2645372229003292672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992684800001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:11:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-04-28 00:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281254073657720832,"km_value":281254073657720.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2645372229003292672,"description":"Unknown IO ID 45"} 
[2026-04-28 00:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992684800001,"power":27463,"unknown_79":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2645372229003292672}} 
[2026-04-28 00:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:11:44] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:11:44] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:12:04] local.INFO: TCP Data received {"connection_id":55946,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:04] local.INFO: Processing buffer {"connection_id":55946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:04] local.INFO: IMEI packet received {"connection_id":55946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":55946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:12:07] local.INFO: TCP Data received {"connection_id":55946,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:07] local.INFO: Processing buffer {"connection_id":55946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:07] local.INFO: IMEI packet received {"connection_id":55946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":55946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:12:09] local.INFO: TCP Data received {"connection_id":55946,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03ee0f8012d252dc006c6e3f8001400982c..."} 
[2026-04-28 00:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03ee0f8012d252dc006c6e3f8001400982c..."} 
[2026-04-28 00:12:09] local.INFO: Processing buffer {"connection_id":55946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03ee0f8012d252dc006c6e3f8001400982c..."} 
[2026-04-28 00:12:09] local.INFO: Packet analysis {"connection_id":55946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03e"} 
[2026-04-28 00:12:09] local.INFO: Extracted packet for processing {"connection_id":55946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03e"} 
[2026-04-28 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":757411264,"raw_latitude":113697784,"longitude_deg":75.7411264,"latitude_deg":11.3697784,"altitude":20,"angle":152,"satellites":44,"speed":52,"hex_longitude":"2d252dc0","hex_latitude":"06c6e3f8","is_valid_coordinates":true} 
[2026-04-28 00:12: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-04-28 00:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992708352001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281258707927433216,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2674012307860051968,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777315275000,"timestamp_ms":1777315275000,"timestamp_seconds":1777315275,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03ee0f8"} 
[2026-04-28 00:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:12: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-04-28 00:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:09] 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-04-28 00:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992708352001,"66":27539,"87":206,"81":20992,"24":52,"16":281258707927433216,"45":2674012307860051968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,81,24,16,45]} 
[2026-04-28 00:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992708352001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-28 00:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281258707927433216,"km_value":281258707927433.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2674012307860051968,"description":"Unknown IO ID 45"} 
[2026-04-28 00:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992708352001,"power":27539,"unknown_87":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2674012307860051968}} 
[2026-04-28 00:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":55946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:12:09] local.INFO: GPS data processed {"connection_id":55946,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:12:09] local.INFO: Acknowledgment sent {"connection_id":55946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:12:10] local.INFO: TCP Data received {"connection_id":55946,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03efc50012d253fc006c6c270001000982c..."} 
[2026-04-28 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03efc50012d253fc006c6c270001000982c..."} 
[2026-04-28 00:12:10] local.INFO: Processing buffer {"connection_id":55946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03efc50012d253fc006c6c270001000982c..."} 
[2026-04-28 00:12:10] local.INFO: Packet analysis {"connection_id":55946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03e"} 
[2026-04-28 00:12:10] local.INFO: Extracted packet for processing {"connection_id":55946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03e"} 
[2026-04-28 00:12:10] local.INFO: GPS Element Parsed {"raw_longitude":757415872,"raw_latitude":113689200,"longitude_deg":75.7415872,"latitude_deg":11.36892,"altitude":16,"angle":152,"satellites":44,"speed":57,"hex_longitude":"2d253fc0","hex_latitude":"06c6c270","is_valid_coordinates":true} 
[2026-04-28 00:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992710400001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281259176078868480,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2679008488694478848,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777315282000,"timestamp_ms":1777315282000,"timestamp_seconds":1777315282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03efc50"} 
[2026-04-28 00:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 00:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:10] 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-04-28 00:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992710400001,"66":27343,"87":206,"81":20992,"24":57,"16":281259176078868480,"45":2679008488694478848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,81,24,16,45]} 
[2026-04-28 00:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992710400001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-28 00:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281259176078868480,"km_value":281259176078868.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2679008488694478848,"description":"Unknown IO ID 45"} 
[2026-04-28 00:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992710400001,"power":27343,"unknown_87":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2679008488694478848}} 
[2026-04-28 00:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":55946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:12:10] local.INFO: GPS data processed {"connection_id":55946,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:12:10] local.INFO: Acknowledgment sent {"connection_id":55946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:12:42] local.INFO: TCP Data received {"connection_id":55946,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03f17a8012d25530006c69f38001000972c..."} 
[2026-04-28 00:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03f17a8012d25530006c69f38001000972c..."} 
[2026-04-28 00:12:42] local.INFO: Processing buffer {"connection_id":55946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03f17a8012d25530006c69f38001000972c..."} 
[2026-04-28 00:12:42] local.INFO: Packet analysis {"connection_id":55946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:12:42] local.INFO: Extracted packet for processing {"connection_id":55946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":757420800,"raw_latitude":113680184,"longitude_deg":75.74208,"latitude_deg":11.3680184,"altitude":16,"angle":151,"satellites":44,"speed":57,"hex_longitude":"2d255300","hex_latitude":"06c69f38","is_valid_coordinates":true} 
[2026-04-28 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992712192001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281259674295074816,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2684075038273073152,"note":"Value kept but may cause issues"} 
[2026-04-28 00:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777315289000,"timestamp_ms":1777315289000,"timestamp_seconds":1777315289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03f17a8"} 
[2026-04-28 00:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 00:12:42] 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-04-28 00:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":55946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":55946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:12:42] 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-04-28 00:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992712192001,"66":27376,"85":206,"81":20992,"24":57,"16":281259674295074816,"45":2684075038273073152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992712192001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281259674295074816,"km_value":281259674295074.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2684075038273073152,"description":"Unknown IO ID 45"} 
[2026-04-28 00:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992712192001,"power":27376,"unknown_85":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2684075038273073152}} 
[2026-04-28 00:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":55946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:12:42] local.INFO: GPS data processed {"connection_id":55946,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:12:42] local.INFO: Acknowledgment sent {"connection_id":55946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:12:59] local.INFO: TCP Data received {"connection_id":56111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:59] local.INFO: Processing buffer {"connection_id":56111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:12:59] local.INFO: IMEI packet received {"connection_id":56111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:13:01] local.INFO: TCP Data received {"connection_id":56111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:01] local.INFO: Processing buffer {"connection_id":56111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:01] local.INFO: IMEI packet received {"connection_id":56111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":56111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:13:02] local.INFO: TCP Data received {"connection_id":56111,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03f3300012d25654006c67d98001000972b..."} 
[2026-04-28 00:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03f3300012d25654006c67d98001000972b..."} 
[2026-04-28 00:13:02] local.INFO: Processing buffer {"connection_id":56111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03f3300012d25654006c67d98001000972b..."} 
[2026-04-28 00:13:02] local.INFO: Packet analysis {"connection_id":56111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:02] local.INFO: Extracted packet for processing {"connection_id":56111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:02] local.INFO: GPS Element Parsed {"raw_longitude":757425472,"raw_latitude":113671576,"longitude_deg":75.7425472,"latitude_deg":11.3671576,"altitude":16,"angle":151,"satellites":43,"speed":53,"hex_longitude":"2d256540","hex_latitude":"06c67d98","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992713984001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281260146741477376,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2689493431572445184,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:02] 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-04-28 00:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777315296000,"timestamp_ms":1777315296000,"timestamp_seconds":1777315296,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03f3300"} 
[2026-04-28 00:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992713984001,"66":27267,"85":206,"81":20992,"24":53,"16":281260146741477376,"45":2689493431572445184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992713984001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281260146741477376,"km_value":281260146741477.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2689493431572445184,"description":"Unknown IO ID 45"} 
[2026-04-28 00:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992713984001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2689493431572445184}} 
[2026-04-28 00:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":56111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:13:02] local.INFO: GPS data processed {"connection_id":56111,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:13:02] local.INFO: Acknowledgment sent {"connection_id":56111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:13:08] local.INFO: TCP Data received {"connection_id":56111,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03f4e58012d25768006c65e70001100972c..."} 
[2026-04-28 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03f4e58012d25768006c65e70001100972c..."} 
[2026-04-28 00:13:08] local.INFO: Processing buffer {"connection_id":56111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03f4e58012d25768006c65e70001100972c..."} 
[2026-04-28 00:13:08] local.INFO: Packet analysis {"connection_id":56111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:08] local.INFO: Extracted packet for processing {"connection_id":56111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":757429888,"raw_latitude":113663600,"longitude_deg":75.7429888,"latitude_deg":11.36636,"altitude":17,"angle":151,"satellites":44,"speed":49,"hex_longitude":"2d257680","hex_latitude":"06c65e70","is_valid_coordinates":true} 
[2026-04-28 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992715776001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281260584828141568,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2694630349895211008,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:08] 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-04-28 00:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777315303000,"timestamp_ms":1777315303000,"timestamp_seconds":1777315303,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03f4e58"} 
[2026-04-28 00:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 00:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:08] 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-04-28 00:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992715776001,"66":27267,"85":206,"81":20992,"24":49,"16":281260584828141568,"45":2694630349895211008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992715776001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281260584828141568,"km_value":281260584828141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2694630349895211008,"description":"Unknown IO ID 45"} 
[2026-04-28 00:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992715776001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2694630349895211008}} 
[2026-04-28 00:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":56111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:13:08] local.INFO: GPS data processed {"connection_id":56111,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:13:08] local.INFO: Acknowledgment sent {"connection_id":56111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:13:41] local.INFO: TCP Data received {"connection_id":56111,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03f6d98012d2588c006c63ce8001100972c..."} 
[2026-04-28 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03f6d98012d2588c006c63ce8001100972c..."} 
[2026-04-28 00:13:41] local.INFO: Processing buffer {"connection_id":56111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03f6d98012d2588c006c63ce8001100972c..."} 
[2026-04-28 00:13:41] local.INFO: Packet analysis {"connection_id":56111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:41] local.INFO: Extracted packet for processing {"connection_id":56111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":757434560,"raw_latitude":113655016,"longitude_deg":75.743456,"latitude_deg":11.3655016,"altitude":17,"angle":151,"satellites":44,"speed":46,"hex_longitude":"2d2588c0","hex_latitude":"06c63ce8","is_valid_coordinates":true} 
[2026-04-28 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992717568001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281261057274544128,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2699485793241427968,"note":"Value kept but may cause issues"} 
[2026-04-28 00:13:41] 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-04-28 00:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777315311000,"timestamp_ms":1777315311000,"timestamp_seconds":1777315311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03f6d98"} 
[2026-04-28 00:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 00:13:41] 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-04-28 00:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:13:41] 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-04-28 00:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992717568001,"66":27300,"85":206,"81":20992,"24":46,"16":281261057274544128,"45":2699485793241427968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992717568001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281261057274544128,"km_value":281261057274544.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2699485793241427968,"description":"Unknown IO ID 45"} 
[2026-04-28 00:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992717568001,"power":27300,"unknown_85":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2699485793241427968}} 
[2026-04-28 00:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":56111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:13:41] local.INFO: GPS data processed {"connection_id":56111,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:13:41] local.INFO: Acknowledgment sent {"connection_id":56111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:13:59] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:59] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:13:59] local.INFO: IMEI packet received {"connection_id":55948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":55948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:14:00] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:00] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:00] local.INFO: IMEI packet received {"connection_id":55948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":55948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:14:04] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:04] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:04] local.INFO: IMEI packet received {"connection_id":55948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":55948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:14:05] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03f8cd8012d259a8006c61d80001200952c..."} 
[2026-04-28 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03f8cd8012d259a8006c61d80001200952c..."} 
[2026-04-28 00:14:05] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03f8cd8012d259a8006c61d80001200952c..."} 
[2026-04-28 00:14:05] local.INFO: Packet analysis {"connection_id":55948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:14:05] local.INFO: Extracted packet for processing {"connection_id":55948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":757439104,"raw_latitude":113646976,"longitude_deg":75.7439104,"latitude_deg":11.3646976,"altitude":18,"angle":149,"satellites":44,"speed":45,"hex_longitude":"2d259a80","hex_latitude":"06c61d80","is_valid_coordinates":true} 
[2026-04-28 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992719616001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281261503951142912,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2704622711564199936,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:05] 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-04-28 00:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777315319000,"timestamp_ms":1777315319000,"timestamp_seconds":1777315319,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03f8cd8"} 
[2026-04-28 00:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 00:14:05] 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-04-28 00:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:05] 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-04-28 00:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992719616001,"66":27365,"85":206,"81":20992,"24":45,"16":281261503951142912,"45":2704622711564199936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992719616001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281261503951142912,"km_value":281261503951142.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2704622711564199936,"description":"Unknown IO ID 45"} 
[2026-04-28 00:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992719616001,"power":27365,"unknown_85":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2704622711564199936}} 
[2026-04-28 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":55948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:14:05] local.INFO: GPS data processed {"connection_id":55948,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:14:05] local.INFO: Acknowledgment sent {"connection_id":55948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:14:09] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd03fac18012d25ae4006c5fe18001200932d..."} 
[2026-04-28 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd03fac18012d25ae4006c5fe18001200932d..."} 
[2026-04-28 00:14:09] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd03fac18012d25ae4006c5fe18001200932d..."} 
[2026-04-28 00:14:09] local.INFO: Packet analysis {"connection_id":55948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:14:09] local.INFO: Extracted packet for processing {"connection_id":55948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd03f"} 
[2026-04-28 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":757444160,"raw_latitude":113638936,"longitude_deg":75.744416,"latitude_deg":11.3638936,"altitude":18,"angle":147,"satellites":45,"speed":47,"hex_longitude":"2d25ae40","hex_latitude":"06c5fe18","is_valid_coordinates":true} 
[2026-04-28 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281261959217676288,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2709618892398755840,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:09] 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-04-28 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777315327000,"timestamp_ms":1777315327000,"timestamp_seconds":1777315327,"priority":1,"record_length":96,"hex_timestamp":"0000019dd03fac18"} 
[2026-04-28 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:09] 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-04-28 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992721664001,"66":27365,"85":206,"81":20992,"24":47,"16":281261959217676288,"45":2709618892398755840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-04-28 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 00:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281261959217676288,"km_value":281261959217676.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2709618892398755840,"description":"Unknown IO ID 45"} 
[2026-04-28 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992721664001,"power":27365,"unknown_85":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2709618892398755840}} 
[2026-04-28 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":55948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:14:09] local.INFO: GPS data processed {"connection_id":55948,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:14:09] local.INFO: Acknowledgment sent {"connection_id":55948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:14:40] local.INFO: TCP Data received {"connection_id":55948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0410f90012d26ae8006c4c9b0000f008b2f..."} 
[2026-04-28 00:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0410f90012d26ae8006c4c9b0000f008b2f..."} 
[2026-04-28 00:14:40] local.INFO: Processing buffer {"connection_id":55948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0410f90012d26ae8006c4c9b0000f008b2f..."} 
[2026-04-28 00:14:40] local.INFO: Packet analysis {"connection_id":55948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:14:40] local.INFO: Extracted packet for processing {"connection_id":55948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":757509760,"raw_latitude":113559984,"longitude_deg":75.750976,"latitude_deg":11.3559984,"altitude":15,"angle":139,"satellites":47,"speed":48,"hex_longitude":"2d26ae80","hex_latitude":"06c4c9b0","is_valid_coordinates":true} 
[2026-04-28 00:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992744960001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281266911314968576,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2780409849021048832,"note":"Value kept but may cause issues"} 
[2026-04-28 00:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777315418000,"timestamp_ms":1777315418000,"timestamp_seconds":1777315418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0410f90"} 
[2026-04-28 00:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 00:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:14:40] 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-04-28 00:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992744960001,"66":27463,"231":206,"81":20992,"24":48,"16":281266911314968576,"45":2780409849021048832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-04-28 00:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992744960001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:14:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-28 00:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281266911314968576,"km_value":281266911314968.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2780409849021048832,"description":"Unknown IO ID 45"} 
[2026-04-28 00:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992744960001,"power":27463,"unknown_231":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2780409849021048832}} 
[2026-04-28 00:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":55948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:14:40] local.INFO: GPS data processed {"connection_id":55948,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:14:40] local.INFO: Acknowledgment sent {"connection_id":55948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:14:56] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:56] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:56] local.INFO: IMEI packet received {"connection_id":56199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":56199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:14:59] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:59] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:14:59] local.INFO: IMEI packet received {"connection_id":56199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:15:04] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:15:04] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:15:04] local.INFO: IMEI packet received {"connection_id":56199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":56199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:15:09] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0412ed0012d26c6c006c4ab58000f009130..."} 
[2026-04-28 00:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0412ed0012d26c6c006c4ab58000f009130..."} 
[2026-04-28 00:15:09] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0412ed0012d26c6c006c4ab58000f009130..."} 
[2026-04-28 00:15:09] local.INFO: Packet analysis {"connection_id":56199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:15:09] local.INFO: Extracted packet for processing {"connection_id":56199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":757515968,"raw_latitude":113552216,"longitude_deg":75.7515968,"latitude_deg":11.3552216,"altitude":15,"angle":145,"satellites":48,"speed":50,"hex_longitude":"2d26c6c0","hex_latitude":"06c4ab58","is_valid_coordinates":true} 
[2026-04-28 00:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992747008001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281267388056338432,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2787305985948626944,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777315426000,"timestamp_ms":1777315426000,"timestamp_seconds":1777315426,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0412ed0"} 
[2026-04-28 00:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:15:09] 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-04-28 00:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:15:09] 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-04-28 00:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992747008001,"66":27376,"231":206,"81":20992,"24":50,"16":281267388056338432,"45":2787305985948626944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-04-28 00:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992747008001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:15:09] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-28 00:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281267388056338432,"km_value":281267388056338.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2787305985948626944,"description":"Unknown IO ID 45"} 
[2026-04-28 00:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992747008001,"power":27376,"unknown_231":206,"unknown_81":20992,"ignition":50,"odometer":null,"unknown_45":2787305985948626944}} 
[2026-04-28 00:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":56199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:15:09] local.INFO: GPS data processed {"connection_id":56199,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:15:09] local.INFO: Acknowledgment sent {"connection_id":56199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:15:41] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0414e10012d26db4006c489c0000f00992f..."} 
[2026-04-28 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0414e10012d26db4006c489c0000f00992f..."} 
[2026-04-28 00:15:41] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0414e10012d26db4006c489c0000f00992f..."} 
[2026-04-28 00:15:41] local.INFO: Packet analysis {"connection_id":56199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:15:41] local.INFO: Extracted packet for processing {"connection_id":56199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":757521216,"raw_latitude":113543616,"longitude_deg":75.7521216,"latitude_deg":11.3543616,"altitude":15,"angle":153,"satellites":47,"speed":49,"hex_longitude":"2d26db40","hex_latitude":"06c489c0","is_valid_coordinates":true} 
[2026-04-28 00:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992749056001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281267873387642880,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2794131754131871744,"note":"Value kept but may cause issues"} 
[2026-04-28 00:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777315434000,"timestamp_ms":1777315434000,"timestamp_seconds":1777315434,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0414e10"} 
[2026-04-28 00:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:15:41] 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-04-28 00:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:15:41] 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-04-28 00:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992749056001,"66":27365,"231":206,"81":20992,"24":49,"16":281267873387642880,"45":2794131754131871744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-04-28 00:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992749056001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:15:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-28 00:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281267873387642880,"km_value":281267873387642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2794131754131871744,"description":"Unknown IO ID 45"} 
[2026-04-28 00:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992749056001,"power":27365,"unknown_231":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2794131754131871744}} 
[2026-04-28 00:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":56199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:15:41] local.INFO: GPS data processed {"connection_id":56199,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:15:41] local.INFO: Acknowledgment sent {"connection_id":56199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:16:04] local.INFO: TCP Data received {"connection_id":56113,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:04] local.INFO: Processing buffer {"connection_id":56113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:04] local.INFO: IMEI packet received {"connection_id":56113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":56113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:16:06] local.INFO: TCP Data received {"connection_id":56112,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:06] local.INFO: Processing buffer {"connection_id":56112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:06] local.INFO: IMEI packet received {"connection_id":56112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":56112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:16:06] local.INFO: TCP Data received {"connection_id":56113,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:06] local.INFO: Processing buffer {"connection_id":56113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:06] local.INFO: IMEI packet received {"connection_id":56113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":56113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:16:09] local.INFO: TCP Data received {"connection_id":56113,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:09] local.INFO: Processing buffer {"connection_id":56113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:16:09] local.INFO: IMEI packet received {"connection_id":56113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":56113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:16:10] local.INFO: TCP Data received {"connection_id":56113,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0416d50012d26ec0006c46790000f009a2f..."} 
[2026-04-28 00:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0416d50012d26ec0006c46790000f009a2f..."} 
[2026-04-28 00:16:10] local.INFO: Processing buffer {"connection_id":56113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0416d50012d26ec0006c46790000f009a2f..."} 
[2026-04-28 00:16:10] local.INFO: Packet analysis {"connection_id":56113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:16:10] local.INFO: Extracted packet for processing {"connection_id":56113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd041"} 
[2026-04-28 00:16:10] local.INFO: GPS Element Parsed {"raw_longitude":757525504,"raw_latitude":113534864,"longitude_deg":75.7525504,"latitude_deg":11.3534864,"altitude":15,"angle":154,"satellites":47,"speed":46,"hex_longitude":"2d26ec00","hex_latitude":"06c46790","is_valid_coordinates":true} 
[2026-04-28 00:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992751104001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281268345834045440,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2799901991152238592,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777315442000,"timestamp_ms":1777315442000,"timestamp_seconds":1777315442,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0416d50"} 
[2026-04-28 00:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:16:10] 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-04-28 00:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992751104001,"66":27376,"231":206,"81":20992,"24":46,"16":281268345834045440,"45":2799901991152238592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-04-28 00:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992751104001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281268345834045440,"km_value":281268345834045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2799901991152238592,"description":"Unknown IO ID 45"} 
[2026-04-28 00:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992751104001,"power":27376,"unknown_231":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2799901991152238592}} 
[2026-04-28 00:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":56113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:16:10] local.INFO: GPS data processed {"connection_id":56113,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:16:10] local.INFO: Acknowledgment sent {"connection_id":56113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:16:36] local.INFO: TCP Data received {"connection_id":55949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:36] local.INFO: Processing buffer {"connection_id":55949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:36] local.INFO: IMEI packet received {"connection_id":55949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":55949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:16:41] local.INFO: TCP Data received {"connection_id":55949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:41] local.INFO: Processing buffer {"connection_id":55949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:16:41] local.INFO: IMEI packet received {"connection_id":55949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 00:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":55949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:16:42] local.INFO: TCP Data received {"connection_id":56113,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd042f3f0012d27a28006c2e0e00011009b30..."} 
[2026-04-28 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd042f3f0012d27a28006c2e0e00011009b30..."} 
[2026-04-28 00:16:42] local.INFO: Processing buffer {"connection_id":56113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd042f3f0012d27a28006c2e0e00011009b30..."} 
[2026-04-28 00:16:42] local.INFO: Packet analysis {"connection_id":56113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd042"} 
[2026-04-28 00:16:42] local.INFO: Extracted packet for processing {"connection_id":56113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd042"} 
[2026-04-28 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":757572224,"raw_latitude":113434848,"longitude_deg":75.7572224,"latitude_deg":11.3434848,"altitude":17,"angle":155,"satellites":48,"speed":51,"hex_longitude":"2d27a280","hex_latitude":"06c2e0e0","is_valid_coordinates":true} 
[2026-04-28 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992776960001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281273680183427072,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2851763755585462272,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777315542000,"timestamp_ms":1777315542000,"timestamp_seconds":1777315542,"priority":1,"record_length":96,"hex_timestamp":"0000019dd042f3f0"} 
[2026-04-28 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 00:16:42] 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-04-28 00:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":56113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":56113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":56113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:16:42] 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-04-28 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992776960001,"66":27267,"181":206,"81":20992,"24":51,"16":281273680183427072,"45":2851763755585462272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992776960001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281273680183427072,"km_value":281273680183427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2851763755585462272,"description":"Unknown IO ID 45"} 
[2026-04-28 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992776960001,"power":27267,"unknown_181":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2851763755585462272}} 
[2026-04-28 00:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":56113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:16:42] local.INFO: GPS data processed {"connection_id":56113,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:16:42] local.INFO: Acknowledgment sent {"connection_id":56113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:16:42] local.INFO: TCP Data received {"connection_id":55949,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0210c40012cb29ac007822ea0004400192b..."} 
[2026-04-28 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0210c40012cb29ac007822ea0004400192b..."} 
[2026-04-28 00:16:42] local.INFO: Processing buffer {"connection_id":55949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0210c40012cb29ac007822ea0004400192b..."} 
[2026-04-28 00:16:42] local.INFO: Packet analysis {"connection_id":55949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd021"} 
[2026-04-28 00:16:42] local.INFO: Extracted packet for processing {"connection_id":55949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd021"} 
[2026-04-28 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972128,"longitude_deg":74.9902528,"latitude_deg":12.5972128,"altitude":68,"angle":25,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea0","is_valid_coordinates":true} 
[2026-04-28 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992132864001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063540224,"note":"Value kept but may cause issues"} 
[2026-04-28 00:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777313320000,"timestamp_ms":1777313320000,"timestamp_seconds":1777313320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0210c40"} 
[2026-04-28 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:16:42] 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-04-28 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":55949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":55949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":55949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 00:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992132864001,"66":25093,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063540224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992132864001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 00:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063540224,"description":"Unknown IO ID 44"} 
[2026-04-28 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992132864001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063540224}} 
[2026-04-28 00:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":55949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:16:42] local.INFO: GPS data processed {"connection_id":55949,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:16:42] local.INFO: Acknowledgment sent {"connection_id":55949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:17:04] local.INFO: TCP Data received {"connection_id":56114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:04] local.INFO: Processing buffer {"connection_id":56114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:04] local.INFO: IMEI packet received {"connection_id":56114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":56114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:17:06] local.INFO: TCP Data received {"connection_id":56114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:06] local.INFO: Processing buffer {"connection_id":56114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:06] local.INFO: IMEI packet received {"connection_id":56114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":56114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:17:07] local.INFO: TCP Data received {"connection_id":56114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0430f48012d27b14006c2c1480011009b2f..."} 
[2026-04-28 00:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0430f48012d27b14006c2c1480011009b2f..."} 
[2026-04-28 00:17:07] local.INFO: Processing buffer {"connection_id":56114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0430f48012d27b14006c2c1480011009b2f..."} 
[2026-04-28 00:17:07] local.INFO: Packet analysis {"connection_id":56114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:17:07] local.INFO: Extracted packet for processing {"connection_id":56114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":757576000,"raw_latitude":113426760,"longitude_deg":75.7576,"latitude_deg":11.342676,"altitude":17,"angle":155,"satellites":47,"speed":49,"hex_longitude":"2d27b140","hex_latitude":"06c2c148","is_valid_coordinates":true} 
[2026-04-28 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992778752001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281274109680156672,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2855985880233992192,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777315549000,"timestamp_ms":1777315549000,"timestamp_seconds":1777315549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0430f48"} 
[2026-04-28 00:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 00:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992778752001,"66":27463,"181":206,"81":20992,"24":49,"16":281274109680156672,"45":2855985880233992192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-04-28 00:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992778752001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:17:07] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-28 00:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281274109680156672,"km_value":281274109680156.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2855985880233992192,"description":"Unknown IO ID 45"} 
[2026-04-28 00:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992778752001,"power":27463,"unknown_181":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2855985880233992192}} 
[2026-04-28 00:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":56114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:17:07] local.INFO: GPS data processed {"connection_id":56114,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:17:07] local.INFO: Acknowledgment sent {"connection_id":56114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:17:26] local.INFO: TCP Data received {"connection_id":55950,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:17:26] local.INFO: Processing buffer {"connection_id":55950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:17:26] local.INFO: IMEI packet received {"connection_id":55950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":55950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:17:40] local.INFO: TCP Data received {"connection_id":56114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0432e88012d27c14006c29e280010009d30..."} 
[2026-04-28 00:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0432e88012d27c14006c29e280010009d30..."} 
[2026-04-28 00:17:40] local.INFO: Processing buffer {"connection_id":56114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0432e88012d27c14006c29e280010009d30..."} 
[2026-04-28 00:17:40] local.INFO: Packet analysis {"connection_id":56114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:17:40] local.INFO: Extracted packet for processing {"connection_id":56114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":757580096,"raw_latitude":113417768,"longitude_deg":75.7580096,"latitude_deg":11.3417768,"altitude":16,"angle":157,"satellites":48,"speed":48,"hex_longitude":"2d27c140","hex_latitude":"06c29e28","is_valid_coordinates":true} 
[2026-04-28 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992780544001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281274590716493824,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2860137636138403840,"note":"Value kept but may cause issues"} 
[2026-04-28 00:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777315557000,"timestamp_ms":1777315557000,"timestamp_seconds":1777315557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0432e88"} 
[2026-04-28 00:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:17:40] 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-04-28 00:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992780544001,"66":27332,"181":206,"81":20992,"24":48,"16":281274590716493824,"45":2860137636138403840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-04-28 00:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992780544001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:17:40] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-28 00:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281274590716493824,"km_value":281274590716493.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2860137636138403840,"description":"Unknown IO ID 45"} 
[2026-04-28 00:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992780544001,"power":27332,"unknown_181":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2860137636138403840}} 
[2026-04-28 00:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":56114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:17:40] local.INFO: GPS data processed {"connection_id":56114,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:17:40] local.INFO: Acknowledgment sent {"connection_id":56114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:17:59] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:59] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:17:59] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:18:04] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:18:04] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:18:04] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:18:05] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0434dc8012d27cf0006c27b50000f009a30..."} 
[2026-04-28 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0434dc8012d27cf0006c27b50000f009a30..."} 
[2026-04-28 00:18:05] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0434dc8012d27cf0006c27b50000f009a30..."} 
[2026-04-28 00:18:05] local.INFO: Packet analysis {"connection_id":56838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:18:05] local.INFO: Extracted packet for processing {"connection_id":56838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":757583616,"raw_latitude":113408848,"longitude_deg":75.7583616,"latitude_deg":11.3408848,"altitude":15,"angle":154,"satellites":48,"speed":47,"hex_longitude":"2d27cf00","hex_latitude":"06c27b50","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992782592001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281275054572961792,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2864641235763472384,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777315565000,"timestamp_ms":1777315565000,"timestamp_seconds":1777315565,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0434dc8"} 
[2026-04-28 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:18:05] 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-04-28 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992782592001,"66":27321,"181":206,"81":20992,"24":47,"16":281275054572961792,"45":2864641235763472384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-04-28 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992782592001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:18:05] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-28 00:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281275054572961792,"km_value":281275054572961.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2864641235763472384,"description":"Unknown IO ID 45"} 
[2026-04-28 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992782592001,"power":27321,"unknown_181":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2864641235763472384}} 
[2026-04-28 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":56838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:18:05] local.INFO: GPS data processed {"connection_id":56838,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:18:05] local.INFO: Acknowledgment sent {"connection_id":56838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:18:36] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0436d08012d27de4006c25ab0000f009b30..."} 
[2026-04-28 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0436d08012d27de4006c25ab0000f009b30..."} 
[2026-04-28 00:18:36] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0436d08012d27de4006c25ab0000f009b30..."} 
[2026-04-28 00:18:36] local.INFO: Packet analysis {"connection_id":56838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:18:36] local.INFO: Extracted packet for processing {"connection_id":56838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd043"} 
[2026-04-28 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":757587520,"raw_latitude":113400496,"longitude_deg":75.758752,"latitude_deg":11.3400496,"altitude":15,"angle":155,"satellites":48,"speed":44,"hex_longitude":"2d27de40","hex_latitude":"06c25ab0","is_valid_coordinates":true} 
[2026-04-28 00:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992784640001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281275496954593280,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2868511516690960384,"note":"Value kept but may cause issues"} 
[2026-04-28 00:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777315573000,"timestamp_ms":1777315573000,"timestamp_seconds":1777315573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0436d08"} 
[2026-04-28 00:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:18:36] 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-04-28 00:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992784640001,"66":27397,"181":206,"81":20992,"24":44,"16":281275496954593280,"45":2868511516690960384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-04-28 00:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992784640001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:18:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-28 00:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281275496954593280,"km_value":281275496954593.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2868511516690960384,"description":"Unknown IO ID 45"} 
[2026-04-28 00:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992784640001,"power":27397,"unknown_181":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2868511516690960384}} 
[2026-04-28 00:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":56838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:18:36] local.INFO: GPS data processed {"connection_id":56838,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:18:36] local.INFO: Acknowledgment sent {"connection_id":56838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:19:08] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:08] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:08] local.INFO: IMEI packet received {"connection_id":56201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":56201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:19:10] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:10] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:19:10] local.INFO: IMEI packet received {"connection_id":56201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":56201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:19:11] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0451ab8012d28dd8006c13358001300872f..."} 
[2026-04-28 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0451ab8012d28dd8006c13358001300872f..."} 
[2026-04-28 00:19:11] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0451ab8012d28dd8006c13358001300872f..."} 
[2026-04-28 00:19:11] local.INFO: Packet analysis {"connection_id":56201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:11] local.INFO: Extracted packet for processing {"connection_id":56201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":757652864,"raw_latitude":113324888,"longitude_deg":75.7652864,"latitude_deg":11.3324888,"altitude":19,"angle":135,"satellites":47,"speed":53,"hex_longitude":"2d28dd80","hex_latitude":"06c13358","is_valid_coordinates":true} 
[2026-04-28 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992813056001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281280337382735872,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2937332148476973056,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777315683000,"timestamp_ms":1777315683000,"timestamp_seconds":1777315683,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0451ab8"} 
[2026-04-28 00:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 00:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992813056001,"66":27517,"179":206,"81":20992,"24":53,"16":281280337382735872,"45":2937332148476973056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-04-28 00:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992813056001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:19:11] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 00:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281280337382735872,"km_value":281280337382735.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2937332148476973056,"description":"Unknown IO ID 45"} 
[2026-04-28 00:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992813056001,"power":27517,"unknown_179":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2937332148476973056}} 
[2026-04-28 00:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":56201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:19:11] local.INFO: GPS data processed {"connection_id":56201,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:19:11] local.INFO: Acknowledgment sent {"connection_id":56201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:19:12] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0453610012d28f70006c119c8001300872d..."} 
[2026-04-28 00:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0453610012d28f70006c119c8001300872d..."} 
[2026-04-28 00:19:12] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0453610012d28f70006c119c8001300872d..."} 
[2026-04-28 00:19:12] local.INFO: Packet analysis {"connection_id":56201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:12] local.INFO: Extracted packet for processing {"connection_id":56201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:12] local.INFO: GPS Element Parsed {"raw_longitude":757659392,"raw_latitude":113318344,"longitude_deg":75.7659392,"latitude_deg":11.3318344,"altitude":19,"angle":135,"satellites":45,"speed":50,"hex_longitude":"2d28f700","hex_latitude":"06c119c8","is_valid_coordinates":true} 
[2026-04-28 00:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992814848001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281280779764367360,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2944650497869699072,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777315690000,"timestamp_ms":1777315690000,"timestamp_seconds":1777315690,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0453610"} 
[2026-04-28 00:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 00:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:12] 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-04-28 00:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992814848001,"66":27484,"179":206,"81":20992,"24":50,"16":281280779764367360,"45":2944650497869699072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-04-28 00:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992814848001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:19:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 00:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281280779764367360,"km_value":281280779764367.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2944650497869699072,"description":"Unknown IO ID 45"} 
[2026-04-28 00:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992814848001,"power":27484,"unknown_179":206,"unknown_81":20992,"ignition":50,"odometer":null,"unknown_45":2944650497869699072}} 
[2026-04-28 00:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":56201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:19:12] local.INFO: GPS data processed {"connection_id":56201,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:19:12] local.INFO: Acknowledgment sent {"connection_id":56201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:19:43] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0455550012d2912c006c0fdb8001100882e..."} 
[2026-04-28 00:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0455550012d2912c006c0fdb8001100882e..."} 
[2026-04-28 00:19:43] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0455550012d2912c006c0fdb8001100882e..."} 
[2026-04-28 00:19:43] local.INFO: Packet analysis {"connection_id":56201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:43] local.INFO: Extracted packet for processing {"connection_id":56201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:19:43] local.INFO: GPS Element Parsed {"raw_longitude":757666496,"raw_latitude":113311160,"longitude_deg":75.7666496,"latitude_deg":11.331116,"altitude":17,"angle":136,"satellites":46,"speed":49,"hex_longitude":"2d2912c0","hex_latitude":"06c0fdb8","is_valid_coordinates":true} 
[2026-04-28 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992816640001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281281265095671808,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2951828109774145536,"note":"Value kept but may cause issues"} 
[2026-04-28 00:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777315698000,"timestamp_ms":1777315698000,"timestamp_seconds":1777315698,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0455550"} 
[2026-04-28 00:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:19: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-04-28 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:19:43] 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-04-28 00:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992816640001,"66":27484,"179":206,"81":20992,"24":49,"16":281281265095671808,"45":2951828109774145536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-04-28 00:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992816640001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281281265095671808,"km_value":281281265095671.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2951828109774145536,"description":"Unknown IO ID 45"} 
[2026-04-28 00:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992816640001,"power":27484,"unknown_179":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2951828109774145536}} 
[2026-04-28 00:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":56201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:19:43] local.INFO: GPS data processed {"connection_id":56201,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:19:43] local.INFO: Acknowledgment sent {"connection_id":56201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:20:04] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:04] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:04] local.INFO: IMEI packet received {"connection_id":56840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":56840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:20:07] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:07] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:20:07] local.INFO: IMEI packet received {"connection_id":56840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":56840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:20:08] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0457490012d292d8006c0e1e8001000872d..."} 
[2026-04-28 00:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0457490012d292d8006c0e1e8001000872d..."} 
[2026-04-28 00:20:08] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0457490012d292d8006c0e1e8001000872d..."} 
[2026-04-28 00:20:08] local.INFO: Packet analysis {"connection_id":56840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:20:08] local.INFO: Extracted packet for processing {"connection_id":56840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":757673344,"raw_latitude":113304040,"longitude_deg":75.7673344,"latitude_deg":11.330404,"altitude":16,"angle":135,"satellites":45,"speed":49,"hex_longitude":"2d292d80","hex_latitude":"06c0e1e8","is_valid_coordinates":true} 
[2026-04-28 00:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992818688001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281281737542074368,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2959639040376027136,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777315706000,"timestamp_ms":1777315706000,"timestamp_seconds":1777315706,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0457490"} 
[2026-04-28 00:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:20:08] 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-04-28 00:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992818688001,"66":27463,"179":206,"81":20992,"24":49,"16":281281737542074368,"45":2959639040376027136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-04-28 00:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992818688001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:20:08] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 00:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281281737542074368,"km_value":281281737542074.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2959639040376027136,"description":"Unknown IO ID 45"} 
[2026-04-28 00:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992818688001,"power":27463,"unknown_179":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2959639040376027136}} 
[2026-04-28 00:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":56840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:20:08] local.INFO: GPS data processed {"connection_id":56840,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:20:08] local.INFO: Acknowledgment sent {"connection_id":56840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:20:38] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04593d0012d29494006c0c560000e00882e..."} 
[2026-04-28 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04593d0012d29494006c0c560000e00882e..."} 
[2026-04-28 00:20:38] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04593d0012d29494006c0c560000e00882e..."} 
[2026-04-28 00:20:38] local.INFO: Packet analysis {"connection_id":56840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:20:38] local.INFO: Extracted packet for processing {"connection_id":56840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd045"} 
[2026-04-28 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":757680448,"raw_latitude":113296736,"longitude_deg":75.7680448,"latitude_deg":11.3296736,"altitude":14,"angle":136,"satellites":46,"speed":51,"hex_longitude":"2d294940","hex_latitude":"06c0c560","is_valid_coordinates":true} 
[2026-04-28 00:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992820736001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281282227168346112,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2967168496001214464,"note":"Value kept but may cause issues"} 
[2026-04-28 00:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777315714000,"timestamp_ms":1777315714000,"timestamp_seconds":1777315714,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04593d0"} 
[2026-04-28 00:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992820736001,"66":27365,"179":206,"81":20992,"24":51,"16":281282227168346112,"45":2967168496001214464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-04-28 00:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992820736001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:20:38] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 00:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281282227168346112,"km_value":281282227168346.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2967168496001214464,"description":"Unknown IO ID 45"} 
[2026-04-28 00:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992820736001,"power":27365,"unknown_179":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2967168496001214464}} 
[2026-04-28 00:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":56840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:20:38] local.INFO: GPS data processed {"connection_id":56840,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:20:38] local.INFO: Acknowledgment sent {"connection_id":56840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:21:02] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:02] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:02] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:21:22] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:22] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:22] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:21:34] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd046e3c0012d2a4a0006bf8d480014008f2d..."} 
[2026-04-28 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd046e3c0012d2a4a0006bf8d480014008f2d..."} 
[2026-04-28 00:21:34] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd046e3c0012d2a4a0006bf8d480014008f2d..."} 
[2026-04-28 00:21:34] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd046"} 
[2026-04-28 00:21:34] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd046"} 
[2026-04-28 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":757746176,"raw_latitude":113216840,"longitude_deg":75.7746176,"latitude_deg":11.321684,"altitude":20,"angle":143,"satellites":45,"speed":46,"hex_longitude":"2d2a4a00","hex_latitude":"06bf8d48","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992842752001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281287230805245952,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3041055677367322624,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777315800000,"timestamp_ms":1777315800000,"timestamp_seconds":1777315800,"priority":1,"record_length":96,"hex_timestamp":"0000019dd046e3c0"} 
[2026-04-28 00:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:21:34] 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-04-28 00: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-04-28 00:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992842752001,"66":27571,"73":206,"81":20992,"24":46,"16":281287230805245952,"45":3041055677367322624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-04-28 00:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992842752001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:21:34] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-28 00:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281287230805245952,"km_value":281287230805245.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3041055677367322624,"description":"Unknown IO ID 45"} 
[2026-04-28 00:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992842752001,"power":27571,"unknown_73":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":3041055677367322624}} 
[2026-04-28 00:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:21:34] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:21:34] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:21:37] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0470300012d2a604006bf70600013008e2e..."} 
[2026-04-28 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0470300012d2a604006bf70600013008e2e..."} 
[2026-04-28 00:21:37] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0470300012d2a604006bf70600013008e2e..."} 
[2026-04-28 00:21:37] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:21:37] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":757751872,"raw_latitude":113209440,"longitude_deg":75.7751872,"latitude_deg":11.320944,"altitude":19,"angle":142,"satellites":46,"speed":46,"hex_longitude":"2d2a6040","hex_latitude":"06bf7060","is_valid_coordinates":true} 
[2026-04-28 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992844800001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281287677481844736,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3047248126853072896,"note":"Value kept but may cause issues"} 
[2026-04-28 00:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777315808000,"timestamp_ms":1777315808000,"timestamp_seconds":1777315808,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0470300"} 
[2026-04-28 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 00:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:21:37] 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-04-28 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992844800001,"66":27484,"73":206,"81":20992,"24":46,"16":281287677481844736,"45":3047248126853072896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-04-28 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992844800001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:21:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-28 00:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281287677481844736,"km_value":281287677481844.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3047248126853072896,"description":"Unknown IO ID 45"} 
[2026-04-28 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992844800001,"power":27484,"unknown_73":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":3047248126853072896}} 
[2026-04-28 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:21:37] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:21:37] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:21:59] local.INFO: TCP Data received {"connection_id":56115,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:59] local.INFO: Processing buffer {"connection_id":56115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:21:59] local.INFO: IMEI packet received {"connection_id":56115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:22:04] local.INFO: TCP Data received {"connection_id":56115,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:22:04] local.INFO: Processing buffer {"connection_id":56115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:22:04] local.INFO: IMEI packet received {"connection_id":56115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":56115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:22:06] local.INFO: TCP Data received {"connection_id":56115,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0472240012d2a76c006bf52d00013008f2f..."} 
[2026-04-28 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0472240012d2a76c006bf52d00013008f2f..."} 
[2026-04-28 00:22:06] local.INFO: Processing buffer {"connection_id":56115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0472240012d2a76c006bf52d00013008f2f..."} 
[2026-04-28 00:22:06] local.INFO: Packet analysis {"connection_id":56115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:22:06] local.INFO: Extracted packet for processing {"connection_id":56115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":757757632,"raw_latitude":113201872,"longitude_deg":75.7757632,"latitude_deg":11.3201872,"altitude":19,"angle":143,"satellites":47,"speed":47,"hex_longitude":"2d2a76c0","hex_latitude":"06bf52d0","is_valid_coordinates":true} 
[2026-04-28 00:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992846848001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281288137043345408,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3053510945082990592,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777315816000,"timestamp_ms":1777315816000,"timestamp_seconds":1777315816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0472240"} 
[2026-04-28 00:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992846848001,"66":27397,"73":206,"81":20992,"24":47,"16":281288137043345408,"45":3053510945082990592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-04-28 00:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992846848001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:22:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-28 00:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281288137043345408,"km_value":281288137043345.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3053510945082990592,"description":"Unknown IO ID 45"} 
[2026-04-28 00:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992846848001,"power":27397,"unknown_73":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":3053510945082990592}} 
[2026-04-28 00:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":56115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:22:06] local.INFO: GPS data processed {"connection_id":56115,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:22:06] local.INFO: Acknowledgment sent {"connection_id":56115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:22:41] local.INFO: TCP Data received {"connection_id":56115,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0474180012d2a8d4006bf34e00011008e2e..."} 
[2026-04-28 00:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0474180012d2a8d4006bf34e00011008e2e..."} 
[2026-04-28 00:22:41] local.INFO: Processing buffer {"connection_id":56115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0474180012d2a8d4006bf34e00011008e2e..."} 
[2026-04-28 00:22:41] local.INFO: Packet analysis {"connection_id":56115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:22:41] local.INFO: Extracted packet for processing {"connection_id":56115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd047"} 
[2026-04-28 00:22:41] local.INFO: GPS Element Parsed {"raw_longitude":757763392,"raw_latitude":113194208,"longitude_deg":75.7763392,"latitude_deg":11.3194208,"altitude":17,"angle":142,"satellites":46,"speed":48,"hex_longitude":"2d2a8d40","hex_latitude":"06bf34e0","is_valid_coordinates":true} 
[2026-04-28 00:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992848896001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281288596604846080,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3059844132057042944,"note":"Value kept but may cause issues"} 
[2026-04-28 00:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777315824000,"timestamp_ms":1777315824000,"timestamp_seconds":1777315824,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0474180"} 
[2026-04-28 00:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:22:41] 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-04-28 00:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992848896001,"66":27213,"73":206,"81":20992,"24":48,"16":281288596604846080,"45":3059844132057042944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-04-28 00:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992848896001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:22:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-28 00:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281288596604846080,"km_value":281288596604846.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3059844132057042944,"description":"Unknown IO ID 45"} 
[2026-04-28 00:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992848896001,"power":27213,"unknown_73":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":3059844132057042944}} 
[2026-04-28 00:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":56115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:22:41] local.INFO: GPS data processed {"connection_id":56115,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:22:41] local.INFO: Acknowledgment sent {"connection_id":56115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:22:51] local.INFO: TCP Data received {"connection_id":55952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:22:51] local.INFO: Processing buffer {"connection_id":55952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:22:51] local.INFO: IMEI packet received {"connection_id":55952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":55952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:23:04] local.INFO: TCP Data received {"connection_id":56116,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:04] local.INFO: Processing buffer {"connection_id":56116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:04] local.INFO: IMEI packet received {"connection_id":56116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":56116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:23:06] local.INFO: TCP Data received {"connection_id":56116,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:06] local.INFO: Processing buffer {"connection_id":56116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:06] local.INFO: IMEI packet received {"connection_id":56116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":56116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:23:07] local.INFO: TCP Data received {"connection_id":56116,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd048c050012d2b8f8006bdf6700010008c2d..."} 
[2026-04-28 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd048c050012d2b8f8006bdf6700010008c2d..."} 
[2026-04-28 00:23:07] local.INFO: Processing buffer {"connection_id":56116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd048c050012d2b8f8006bdf6700010008c2d..."} 
[2026-04-28 00:23:07] local.INFO: Packet analysis {"connection_id":56116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd048"} 
[2026-04-28 00:23:07] local.INFO: Extracted packet for processing {"connection_id":56116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd048"} 
[2026-04-28 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":757829504,"raw_latitude":113112688,"longitude_deg":75.7829504,"latitude_deg":11.3112688,"altitude":16,"angle":140,"satellites":45,"speed":46,"hex_longitude":"2d2b8f80","hex_latitude":"06bdf670","is_valid_coordinates":true} 
[2026-04-28 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992873984001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281293651781353472,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3132394307283259392,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777315922000,"timestamp_ms":1777315922000,"timestamp_seconds":1777315922,"priority":1,"record_length":96,"hex_timestamp":"0000019dd048c050"} 
[2026-04-28 00:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:23: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-04-28 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:23:07] 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-04-28 00:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992873984001,"66":27463,"125":206,"81":20992,"24":46,"16":281293651781353472,"45":3132394307283259392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-04-28 00:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992873984001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:23:07] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-04-28 00:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281293651781353472,"km_value":281293651781353.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3132394307283259392,"description":"Unknown IO ID 45"} 
[2026-04-28 00:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992873984001,"power":27463,"unknown_125":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":3132394307283259392}} 
[2026-04-28 00:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":56116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:23:07] local.INFO: GPS data processed {"connection_id":56116,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:23:07] local.INFO: Acknowledgment sent {"connection_id":56116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:23:36] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:23:36] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:23:36] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:23:39] local.INFO: TCP Data received {"connection_id":56116,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd048df90012d2ba88006bddd90001300842f..."} 
[2026-04-28 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd048df90012d2ba88006bddd90001300842f..."} 
[2026-04-28 00:23:39] local.INFO: Processing buffer {"connection_id":56116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd048df90012d2ba88006bddd90001300842f..."} 
[2026-04-28 00:23:39] local.INFO: Packet analysis {"connection_id":56116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd048"} 
[2026-04-28 00:23:39] local.INFO: Extracted packet for processing {"connection_id":56116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd048"} 
[2026-04-28 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":757835904,"raw_latitude":113106320,"longitude_deg":75.7835904,"latitude_deg":11.310632,"altitude":19,"angle":132,"satellites":47,"speed":41,"hex_longitude":"2d2ba880","hex_latitude":"06bddd90","is_valid_coordinates":true} 
[2026-04-28 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992876032001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281294085573050368,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3138868231745728512,"note":"Value kept but may cause issues"} 
[2026-04-28 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777315930000,"timestamp_ms":1777315930000,"timestamp_seconds":1777315930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd048df90"} 
[2026-04-28 00:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:23:39] 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-04-28 00:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992876032001,"66":27397,"124":206,"81":20992,"24":41,"16":281294085573050368,"45":3138868231745728512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-04-28 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992876032001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:23:39] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-28 00:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281294085573050368,"km_value":281294085573050.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3138868231745728512,"description":"Unknown IO ID 45"} 
[2026-04-28 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992876032001,"power":27397,"unknown_124":206,"unknown_81":20992,"ignition":41,"odometer":null,"unknown_45":3138868231745728512}} 
[2026-04-28 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":56116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:23:39] local.INFO: GPS data processed {"connection_id":56116,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:23:39] local.INFO: Acknowledgment sent {"connection_id":56116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:23:59] local.INFO: TCP Data received {"connection_id":56205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:59] local.INFO: Processing buffer {"connection_id":56205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:23:59] local.INFO: IMEI packet received {"connection_id":56205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:24:02] local.INFO: TCP Data received {"connection_id":56205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:02] local.INFO: Processing buffer {"connection_id":56205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:02] local.INFO: IMEI packet received {"connection_id":56205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":56205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:24:04] local.INFO: TCP Data received {"connection_id":56205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:04] local.INFO: Processing buffer {"connection_id":56205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:24:04] local.INFO: IMEI packet received {"connection_id":56205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":56205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:24:05] local.INFO: TCP Data received {"connection_id":56205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04902b8012d2bc30006bdc558001400872e..."} 
[2026-04-28 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04902b8012d2bc30006bdc558001400872e..."} 
[2026-04-28 00:24:05] local.INFO: Processing buffer {"connection_id":56205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04902b8012d2bc30006bdc558001400872e..."} 
[2026-04-28 00:24:05] local.INFO: Packet analysis {"connection_id":56205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd049"} 
[2026-04-28 00:24:05] local.INFO: Extracted packet for processing {"connection_id":56205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd049"} 
[2026-04-28 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":757842688,"raw_latitude":113100120,"longitude_deg":75.7842688,"latitude_deg":11.310012,"altitude":20,"angle":135,"satellites":46,"speed":39,"hex_longitude":"2d2bc300","hex_latitude":"06bdc558","is_valid_coordinates":true} 
[2026-04-28 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992878080001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281294523659714560,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3145905106161864704,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777315939000,"timestamp_ms":1777315939000,"timestamp_seconds":1777315939,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04902b8"} 
[2026-04-28 00:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:24:05] 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-04-28 00:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992878080001,"66":27343,"124":206,"81":20992,"24":39,"16":281294523659714560,"45":3145905106161864704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-04-28 00:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992878080001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:24:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-28 00:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281294523659714560,"km_value":281294523659714.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3145905106161864704,"description":"Unknown IO ID 45"} 
[2026-04-28 00:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992878080001,"power":27343,"unknown_124":206,"unknown_81":20992,"ignition":39,"odometer":null,"unknown_45":3145905106161864704}} 
[2026-04-28 00:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":56205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:24:05] local.INFO: GPS data processed {"connection_id":56205,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:24:05] local.INFO: Acknowledgment sent {"connection_id":56205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:24:44] local.INFO: TCP Data received {"connection_id":56205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04925e0012d2bdb4006bda7c8001300902d..."} 
[2026-04-28 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04925e0012d2bdb4006bda7c8001300902d..."} 
[2026-04-28 00:24:44] local.INFO: Processing buffer {"connection_id":56205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04925e0012d2bdb4006bda7c8001300902d..."} 
[2026-04-28 00:24:44] local.INFO: Packet analysis {"connection_id":56205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd049"} 
[2026-04-28 00:24:44] local.INFO: Extracted packet for processing {"connection_id":56205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd049"} 
[2026-04-28 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":757848896,"raw_latitude":113092552,"longitude_deg":75.7848896,"latitude_deg":11.3092552,"altitude":19,"angle":144,"satellites":45,"speed":46,"hex_longitude":"2d2bdb40","hex_latitude":"06bda7c8","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992880384001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281294996106117120,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3153364193043109888,"note":"Value kept but may cause issues"} 
[2026-04-28 00:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777315948000,"timestamp_ms":1777315948000,"timestamp_seconds":1777315948,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04925e0"} 
[2026-04-28 00:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:24: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-04-28 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 00:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:24:44] 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-04-28 00:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992880384001,"66":27397,"124":206,"81":20992,"24":46,"16":281294996106117120,"45":3153364193043109888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-04-28 00:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992880384001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:24:44] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-28 00:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281294996106117120,"km_value":281294996106117.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3153364193043109888,"description":"Unknown IO ID 45"} 
[2026-04-28 00:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992880384001,"power":27397,"unknown_124":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":3153364193043109888}} 
[2026-04-28 00:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":56205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:24:44] local.INFO: GPS data processed {"connection_id":56205,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:24:44] local.INFO: Acknowledgment sent {"connection_id":56205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:25:33] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:33] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:33] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:25:34] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:34] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:34] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:25:39] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:39] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:25:39] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:25:40] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04a6248012d2cdcc006bc9e300018008b2c..."} 
[2026-04-28 00:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04a6248012d2cdcc006bc9e300018008b2c..."} 
[2026-04-28 00:25:40] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04a6248012d2cdcc006bc9e300018008b2c..."} 
[2026-04-28 00:25:40] local.INFO: Packet analysis {"connection_id":56841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:25:40] local.INFO: Extracted packet for processing {"connection_id":56841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:25:40] local.INFO: GPS Element Parsed {"raw_longitude":757914816,"raw_latitude":113024560,"longitude_deg":75.7914816,"latitude_deg":11.302456,"altitude":24,"angle":139,"satellites":44,"speed":40,"hex_longitude":"2d2cdcc0","hex_latitude":"06bc9e30","is_valid_coordinates":true} 
[2026-04-28 00:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992900864001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281299557361385472,"note":"Value kept but may cause issues"} 
[2026-04-28 00:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3225421787063549952,"note":"Value kept but may cause issues"} 
[2026-04-28 00:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777316029000,"timestamp_ms":1777316029000,"timestamp_seconds":1777316029,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04a6248"} 
[2026-04-28 00:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 00:25:40] 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-04-28 00:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:25:40] 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-04-28 00:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992900864001,"66":27376,"79":206,"81":21760,"24":40,"16":281299557361385472,"45":3225421787063549952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992900864001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:25:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281299557361385472,"km_value":281299557361385.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3225421787063549952,"description":"Unknown IO ID 45"} 
[2026-04-28 00:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992900864001,"power":27376,"unknown_79":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":3225421787063549952}} 
[2026-04-28 00:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":56841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:25:40] local.INFO: GPS data processed {"connection_id":56841,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:25:40] local.INFO: Acknowledgment sent {"connection_id":56841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:26:04] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:04] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:04] local.INFO: IMEI packet received {"connection_id":56207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":56207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:26:06] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:06] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:06] local.INFO: IMEI packet received {"connection_id":56207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":56207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:26:09] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:09] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:26:09] local.INFO: IMEI packet received {"connection_id":56207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":56207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:26:11] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04a8570012d2cf60006bc80580016008a2a..."} 
[2026-04-28 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04a8570012d2cf60006bc80580016008a2a..."} 
[2026-04-28 00:26:11] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04a8570012d2cf60006bc80580016008a2a..."} 
[2026-04-28 00:26:11] local.INFO: Packet analysis {"connection_id":56207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:26:11] local.INFO: Extracted packet for processing {"connection_id":56207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":757921280,"raw_latitude":113016920,"longitude_deg":75.792128,"latitude_deg":11.301692,"altitude":22,"angle":138,"satellites":42,"speed":47,"hex_longitude":"2d2cf600","hex_latitude":"06bc8058","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992903424001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281300042692689920,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3232669767711993856,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777316038000,"timestamp_ms":1777316038000,"timestamp_seconds":1777316038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04a8570"} 
[2026-04-28 00:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:26:11] 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-04-28 00: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-04-28 00:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992903424001,"66":27463,"79":206,"81":21760,"24":47,"16":281300042692689920,"45":3232669767711993856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-04-28 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992903424001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281300042692689920,"km_value":281300042692689.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3232669767711993856,"description":"Unknown IO ID 45"} 
[2026-04-28 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992903424001,"power":27463,"unknown_79":206,"unknown_81":21760,"ignition":47,"odometer":null,"unknown_45":3232669767711993856}} 
[2026-04-28 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":56207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:26:11] local.INFO: GPS data processed {"connection_id":56207,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:26:11] local.INFO: Acknowledgment sent {"connection_id":56207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:26:15] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04aa4b0012d2d0e8006bc65200014008a1d..."} 
[2026-04-28 00:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04aa4b0012d2d0e8006bc65200014008a1d..."} 
[2026-04-28 00:26:15] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04aa4b0012d2d0e8006bc65200014008a1d..."} 
[2026-04-28 00:26:15] local.INFO: Packet analysis {"connection_id":56207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:26:15] local.INFO: Extracted packet for processing {"connection_id":56207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04a"} 
[2026-04-28 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":757927552,"raw_latitude":113009952,"longitude_deg":75.7927552,"latitude_deg":11.3009952,"altitude":20,"angle":138,"satellites":29,"speed":43,"hex_longitude":"2d2d0e80","hex_latitude":"06bc6520","is_valid_coordinates":true} 
[2026-04-28 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992905728001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281300493664256000,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3239777010871982080,"note":"Value kept but may cause issues"} 
[2026-04-28 00:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777316046000,"timestamp_ms":1777316046000,"timestamp_seconds":1777316046,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04aa4b0"} 
[2026-04-28 00:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:26:15] 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-04-28 00:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:26:15] 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-04-28 00:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992905728001,"66":26713,"139":206,"81":20992,"24":43,"16":281300493664256000,"45":3239777010871982080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-04-28 00:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992905728001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:26:15] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-04-28 00:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-04-28 00:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281300493664256000,"km_value":281300493664256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3239777010871982080,"description":"Unknown IO ID 45"} 
[2026-04-28 00:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992905728001,"power":26713,"unknown_139":206,"unknown_81":20992,"ignition":43,"odometer":null,"unknown_45":3239777010871982080}} 
[2026-04-28 00:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":56207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:26:15] local.INFO: GPS data processed {"connection_id":56207,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:26:15] local.INFO: Acknowledgment sent {"connection_id":56207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:27:09] local.INFO: TCP Data received {"connection_id":55954,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:09] local.INFO: Processing buffer {"connection_id":55954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:09] local.INFO: IMEI packet received {"connection_id":55954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":55954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:27:14] local.INFO: TCP Data received {"connection_id":55954,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:14] local.INFO: Processing buffer {"connection_id":55954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:27:14] local.INFO: IMEI packet received {"connection_id":55954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":55954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:27:15] local.INFO: TCP Data received {"connection_id":55954,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04c2768012d2dfe0006baf5a80018009c2f..."} 
[2026-04-28 00:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04c2768012d2dfe0006baf5a80018009c2f..."} 
[2026-04-28 00:27:15] local.INFO: Processing buffer {"connection_id":55954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04c2768012d2dfe0006baf5a80018009c2f..."} 
[2026-04-28 00:27:15] local.INFO: Packet analysis {"connection_id":55954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:27:15] local.INFO: Extracted packet for processing {"connection_id":55954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:27:15] local.INFO: GPS Element Parsed {"raw_longitude":757988864,"raw_latitude":112915880,"longitude_deg":75.7988864,"latitude_deg":11.291588,"altitude":24,"angle":156,"satellites":47,"speed":47,"hex_longitude":"2d2dfe00","hex_latitude":"06baf5a8","is_valid_coordinates":true} 
[2026-04-28 00:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992931072001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281305952567689216,"note":"Value kept but may cause issues"} 
[2026-04-28 00:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3309864280049170432,"note":"Value kept but may cause issues"} 
[2026-04-28 00:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777316145000,"timestamp_ms":1777316145000,"timestamp_seconds":1777316145,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04c2768"} 
[2026-04-28 00:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:27:15] 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-04-28 00:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":55954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":55954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":55954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:27:15] 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-04-28 00:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992931072001,"66":27463,"78":206,"81":21760,"24":47,"16":281305952567689216,"45":3309864280049170432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-04-28 00:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992931072001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:27:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 00:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281305952567689216,"km_value":281305952567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3309864280049170432,"description":"Unknown IO ID 45"} 
[2026-04-28 00:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992931072001,"power":27463,"unknown_78":206,"unknown_81":21760,"ignition":47,"odometer":null,"unknown_45":3309864280049170432}} 
[2026-04-28 00:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":55954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:27:15] local.INFO: GPS data processed {"connection_id":55954,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:27:15] local.INFO: Acknowledgment sent {"connection_id":55954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:28:03] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:03] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:03] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:28:04] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:28:04] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 00:28:04] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:28:05] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04c46a8012d2e0e8006bad2580017009c2f..."} 
[2026-04-28 00:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04c46a8012d2e0e8006bad2580017009c2f..."} 
[2026-04-28 00:28:05] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 00:28:05] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:28:07] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04c65e8012d2e1e8006baae500018009c2f..."} 
[2026-04-28 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04c65e8012d2e1e8006baae500018009c2f..."} 
[2026-04-28 00:28:07] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd04c46a8012d2e0e8006bad2580017009c2f..."} 
[2026-04-28 00:28:07] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:28:07] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":757993088,"raw_latitude":112906840,"longitude_deg":75.7993088,"latitude_deg":11.290684,"altitude":23,"angle":156,"satellites":47,"speed":50,"hex_longitude":"2d2e0e80","hex_latitude":"06bad258","is_valid_coordinates":true} 
[2026-04-28 00:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992933120001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281306433604026368,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3314086404697729024,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777316153000,"timestamp_ms":1777316153000,"timestamp_seconds":1777316153,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04c46a8"} 
[2026-04-28 00:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:28: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-04-28 00:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:28:07] 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-04-28 00:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992933120001,"66":27397,"78":206,"81":21760,"24":50,"16":281306433604026368,"45":3314086404697729024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992933120001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281306433604026368,"km_value":281306433604026.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3314086404697729024,"description":"Unknown IO ID 45"} 
[2026-04-28 00:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992933120001,"power":27397,"unknown_78":206,"unknown_81":21760,"ignition":50,"odometer":null,"unknown_45":3314086404697729024}} 
[2026-04-28 00:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:28:07] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:28:07] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:28:07] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:28:07] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04c"} 
[2026-04-28 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":757997184,"raw_latitude":112897616,"longitude_deg":75.7997184,"latitude_deg":11.2897616,"altitude":24,"angle":156,"satellites":47,"speed":48,"hex_longitude":"2d2e1e80","hex_latitude":"06baae50","is_valid_coordinates":true} 
[2026-04-28 00:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992935168001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281306923230298112,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3318730741811140608,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777316161000,"timestamp_ms":1777316161000,"timestamp_seconds":1777316161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04c65e8"} 
[2026-04-28 00:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:28: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-04-28 00:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992935168001,"66":27332,"78":206,"81":21760,"24":48,"16":281306923230298112,"45":3318730741811140608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-04-28 00:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992935168001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281306923230298112,"km_value":281306923230298.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3318730741811140608,"description":"Unknown IO ID 45"} 
[2026-04-28 00:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992935168001,"power":27332,"unknown_78":206,"unknown_81":21760,"ignition":48,"odometer":null,"unknown_45":3318730741811140608}} 
[2026-04-28 00:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:28:07] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:28:07] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:28:43] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04df840012d2ece4006b941c8001100952d..."} 
[2026-04-28 00:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04df840012d2ece4006b941c8001100952d..."} 
[2026-04-28 00:28:43] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04df840012d2ece4006b941c8001100952d..."} 
[2026-04-28 00:28:43] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04d"} 
[2026-04-28 00:28:43] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04d"} 
[2026-04-28 00:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758042176,"raw_latitude":112804296,"longitude_deg":75.8042176,"latitude_deg":11.2804296,"altitude":17,"angle":149,"satellites":45,"speed":55,"hex_longitude":"2d2ece40","hex_latitude":"06b941c8","is_valid_coordinates":true} 
[2026-04-28 00:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992961792001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281311931162165248,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3367566650246295552,"note":"Value kept but may cause issues"} 
[2026-04-28 00:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777316264000,"timestamp_ms":1777316264000,"timestamp_seconds":1777316264,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04df840"} 
[2026-04-28 00:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:28:43] 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-04-28 00:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:28:43] 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-04-28 00:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992961792001,"66":27365,"206":206,"81":21760,"24":55,"16":281311931162165248,"45":3367566650246295552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-04-28 00:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992961792001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:28:43] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 00:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281311931162165248,"km_value":281311931162165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3367566650246295552,"description":"Unknown IO ID 45"} 
[2026-04-28 00:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992961792001,"power":27365,"unknown_206":206,"unknown_81":21760,"ignition":55,"odometer":null,"unknown_45":3367566650246295552}} 
[2026-04-28 00:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:28:43] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:28:43] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:28:56] local.INFO: TCP Data received {"connection_id":55955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:28:56] local.INFO: Processing buffer {"connection_id":55955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:28:56] local.INFO: IMEI packet received {"connection_id":55955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":55955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:28:59] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:59] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:28:59] local.INFO: IMEI packet received {"connection_id":56209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:29:04] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:04] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:04] local.INFO: IMEI packet received {"connection_id":56209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":56209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:29:05] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04e1398012d2ee20006b91ff0000f00962d..."} 
[2026-04-28 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04e1398012d2ee20006b91ff0000f00962d..."} 
[2026-04-28 00:29:05] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04e1398012d2ee20006b91ff0000f00962d..."} 
[2026-04-28 00:29:05] local.INFO: Packet analysis {"connection_id":56209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:29:05] local.INFO: Extracted packet for processing {"connection_id":56209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758047232,"raw_latitude":112795632,"longitude_deg":75.8047232,"latitude_deg":11.2795632,"altitude":15,"angle":150,"satellites":45,"speed":58,"hex_longitude":"2d2ee200","hex_latitude":"06b91ff0","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992963584001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281312416493469696,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372703568569157632,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777316271000,"timestamp_ms":1777316271000,"timestamp_seconds":1777316271,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04e1398"} 
[2026-04-28 00:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:29:05] 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-04-28 00:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992963584001,"66":27517,"206":206,"81":21760,"24":58,"16":281312416493469696,"45":3372703568569157632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-04-28 00:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992963584001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:29:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 00:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281312416493469696,"km_value":281312416493469.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3372703568569157632,"description":"Unknown IO ID 45"} 
[2026-04-28 00:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992963584001,"power":27517,"unknown_206":206,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3372703568569157632}} 
[2026-04-28 00:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":56209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:29:05] local.INFO: GPS data processed {"connection_id":56209,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:29:05] local.INFO: Acknowledgment sent {"connection_id":56209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:29:36] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:29:36] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:29:36] local.INFO: IMEI packet received {"connection_id":56210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":56210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:29:36] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04e2b08012d2ef3c006b901e8000c00952d..."} 
[2026-04-28 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04e2b08012d2ef3c006b901e8000c00952d..."} 
[2026-04-28 00:29:36] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04e2b08012d2ef3c006b901e8000c00952d..."} 
[2026-04-28 00:29:36] local.INFO: Packet analysis {"connection_id":56209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:29:36] local.INFO: Extracted packet for processing {"connection_id":56209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758051776,"raw_latitude":112787944,"longitude_deg":75.8051776,"latitude_deg":11.2787944,"altitude":12,"angle":149,"satellites":45,"speed":59,"hex_longitude":"2d2ef3c0","hex_latitude":"06b901e8","is_valid_coordinates":true} 
[2026-04-28 00:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992965376001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281312845990199296,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3378262699356975104,"note":"Value kept but may cause issues"} 
[2026-04-28 00:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777316277000,"timestamp_ms":1777316277000,"timestamp_seconds":1777316277,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04e2b08"} 
[2026-04-28 00:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 00:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992965376001,"66":27267,"206":206,"81":21760,"24":59,"16":281312845990199296,"45":3378262699356975104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-04-28 00:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992965376001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:29:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 00:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281312845990199296,"km_value":281312845990199.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3378262699356975104,"description":"Unknown IO ID 45"} 
[2026-04-28 00:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992965376001,"power":27267,"unknown_206":206,"unknown_81":21760,"ignition":59,"odometer":null,"unknown_45":3378262699356975104}} 
[2026-04-28 00:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":56209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:29:36] local.INFO: GPS data processed {"connection_id":56209,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:29:36] local.INFO: Acknowledgment sent {"connection_id":56209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:29:59] local.INFO: TCP Data received {"connection_id":55956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:59] local.INFO: Processing buffer {"connection_id":55956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:29:59] local.INFO: IMEI packet received {"connection_id":55956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":55956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:30:01] local.INFO: TCP Data received {"connection_id":55956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:01] local.INFO: Processing buffer {"connection_id":55956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:01] local.INFO: IMEI packet received {"connection_id":55956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":55956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:30:04] local.INFO: TCP Data received {"connection_id":55956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:04] local.INFO: Processing buffer {"connection_id":55956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:04] local.INFO: IMEI packet received {"connection_id":55956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":55956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:30:05] local.INFO: TCP Data received {"connection_id":55956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04e4660012d2f08c006b8dfc8000c00942f..."} 
[2026-04-28 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04e4660012d2f08c006b8dfc8000c00942f..."} 
[2026-04-28 00:30:05] local.INFO: Processing buffer {"connection_id":55956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04e4660012d2f08c006b8dfc8000c00942f..."} 
[2026-04-28 00:30:05] local.INFO: Packet analysis {"connection_id":55956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:30:05] local.INFO: Extracted packet for processing {"connection_id":55956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04e"} 
[2026-04-28 00:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758057152,"raw_latitude":112779208,"longitude_deg":75.8057152,"latitude_deg":11.2779208,"altitude":12,"angle":148,"satellites":47,"speed":57,"hex_longitude":"2d2f08c0","hex_latitude":"06b8dfc8","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992966912001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281313344206405632,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3383258880191621120,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777316284000,"timestamp_ms":1777316284000,"timestamp_seconds":1777316284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04e4660"} 
[2026-04-28 00:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 00:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:30:05] 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-04-28 00:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992966912001,"66":27332,"206":206,"81":21760,"24":57,"16":281313344206405632,"45":3383258880191621120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-04-28 00:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992966912001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:30:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 00:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-04-28 00:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281313344206405632,"km_value":281313344206405.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3383258880191621120,"description":"Unknown IO ID 45"} 
[2026-04-28 00:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992966912001,"power":27332,"unknown_206":206,"unknown_81":21760,"ignition":57,"odometer":null,"unknown_45":3383258880191621120}} 
[2026-04-28 00:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":55956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:30:05] local.INFO: GPS data processed {"connection_id":55956,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:30:05] local.INFO: Acknowledgment sent {"connection_id":55956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:30:37] local.INFO: TCP Data received {"connection_id":55956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04f9e20012d2fb70006b771c8000d00a52a..."} 
[2026-04-28 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04f9e20012d2fb70006b771c8000d00a52a..."} 
[2026-04-28 00:30:37] local.INFO: Processing buffer {"connection_id":55956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04f9e20012d2fb70006b771c8000d00a52a..."} 
[2026-04-28 00:30:37] local.INFO: Packet analysis {"connection_id":55956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:30:37] local.INFO: Extracted packet for processing {"connection_id":55956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758101760,"raw_latitude":112685512,"longitude_deg":75.810176,"latitude_deg":11.2685512,"altitude":13,"angle":165,"satellites":42,"speed":43,"hex_longitude":"2d2fb700","hex_latitude":"06b771c8","is_valid_coordinates":true} 
[2026-04-28 00:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992988928001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281318373613109248,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3435191013370857472,"note":"Value kept but may cause issues"} 
[2026-04-28 00:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777316372000,"timestamp_ms":1777316372000,"timestamp_seconds":1777316372,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04f9e20"} 
[2026-04-28 00:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:30:37] 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-04-28 00:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992988928001,"66":27332,"130":206,"81":23552,"24":43,"16":281318373613109248,"45":3435191013370857472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-04-28 00:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992988928001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:30:37] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 00:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-04-28 00:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281318373613109248,"km_value":281318373613109.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3435191013370857472,"description":"Unknown IO ID 45"} 
[2026-04-28 00:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992988928001,"power":27332,"unknown_130":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3435191013370857472}} 
[2026-04-28 00:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":55956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:30:37] local.INFO: GPS data processed {"connection_id":55956,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:30:37] local.INFO: Acknowledgment sent {"connection_id":55956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:30:59] local.INFO: TCP Data received {"connection_id":56211,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:30:59] local.INFO: TCP Data received {"connection_id":56211,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:30:59] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:31:04] local.INFO: TCP Data received {"connection_id":56211,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:31:04] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:31:04] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:31:06] local.INFO: TCP Data received {"connection_id":56211,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04fc148012d2fbf4006b74c58000e00a72e..."} 
[2026-04-28 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04fc148012d2fbf4006b74c58000e00a72e..."} 
[2026-04-28 00:31:06] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04fc148012d2fbf4006b74c58000e00a72e..."} 
[2026-04-28 00:31:06] local.INFO: Packet analysis {"connection_id":56211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:31:06] local.INFO: Extracted packet for processing {"connection_id":56211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758103872,"raw_latitude":112675928,"longitude_deg":75.8103872,"latitude_deg":11.2675928,"altitude":14,"angle":167,"satellites":46,"speed":42,"hex_longitude":"2d2fbf40","hex_latitude":"06b74c58","is_valid_coordinates":true} 
[2026-04-28 00:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992991232001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281318850354479104,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3438216869368154112,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777316381000,"timestamp_ms":1777316381000,"timestamp_seconds":1777316381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04fc148"} 
[2026-04-28 00:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:31:06] 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-04-28 00:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992991232001,"66":27397,"130":206,"81":23552,"24":42,"16":281318850354479104,"45":3438216869368154112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-04-28 00:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992991232001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:31:06] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 00:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-04-28 00:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281318850354479104,"km_value":281318850354479.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3438216869368154112,"description":"Unknown IO ID 45"} 
[2026-04-28 00:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992991232001,"power":27397,"unknown_130":206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3438216869368154112}} 
[2026-04-28 00:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":56211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:31:06] local.INFO: GPS data processed {"connection_id":56211,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:31:06] local.INFO: Acknowledgment sent {"connection_id":56211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:31:38] local.INFO: TCP Data received {"connection_id":56211,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd04fe470012d2fc74006b72a68001200a52e..."} 
[2026-04-28 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd04fe470012d2fc74006b72a68001200a52e..."} 
[2026-04-28 00:31:38] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd04fe470012d2fc74006b72a68001200a52e..."} 
[2026-04-28 00:31:38] local.INFO: Packet analysis {"connection_id":56211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:31:38] local.INFO: Extracted packet for processing {"connection_id":56211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd04f"} 
[2026-04-28 00:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758105920,"raw_latitude":112667240,"longitude_deg":75.810592,"latitude_deg":11.266724,"altitude":18,"angle":165,"satellites":46,"speed":35,"hex_longitude":"2d2fc740","hex_latitude":"06b72a68","is_valid_coordinates":true} 
[2026-04-28 00:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454992993536001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281319279851208704,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3440539037923563520,"note":"Value kept but may cause issues"} 
[2026-04-28 00:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777316390000,"timestamp_ms":1777316390000,"timestamp_seconds":1777316390,"priority":1,"record_length":96,"hex_timestamp":"0000019dd04fe470"} 
[2026-04-28 00:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454992993536001,"66":27397,"128":206,"81":23552,"24":35,"16":281319279851208704,"45":3440539037923563520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-04-28 00:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454992993536001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:31:38] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-04-28 00:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-04-28 00:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281319279851208704,"km_value":281319279851208.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3440539037923563520,"description":"Unknown IO ID 45"} 
[2026-04-28 00:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454992993536001,"power":27397,"unknown_128":206,"unknown_81":23552,"ignition":35,"odometer":null,"unknown_45":3440539037923563520}} 
[2026-04-28 00:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":56211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:31:38] local.INFO: GPS data processed {"connection_id":56211,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:31:38] local.INFO: Acknowledgment sent {"connection_id":56211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:32:14] local.INFO: TCP Data received {"connection_id":56844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:14] local.INFO: Processing buffer {"connection_id":56844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:14] local.INFO: IMEI packet received {"connection_id":56844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":56844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:32:45] local.INFO: TCP Data received {"connection_id":56844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:45] local.INFO: Processing buffer {"connection_id":56844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:32:45] local.INFO: IMEI packet received {"connection_id":56844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":56844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:33:01] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:01] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:01] local.INFO: IMEI packet received {"connection_id":56845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":56845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:33:04] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:04] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:33:04] local.INFO: IMEI packet received {"connection_id":56845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":56845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:34:51] local.INFO: TCP Data received {"connection_id":56119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:34:51] local.INFO: Processing buffer {"connection_id":56119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:34:51] local.INFO: IMEI packet received {"connection_id":56119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":56119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:35:36] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:35:36] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:35:36] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:38:08] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:38:08] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:38:08] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:38:09] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd056a6e8012d345d8006b2dda8000e007e2d..."} 
[2026-04-28 00:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd056a6e8012d345d8006b2dda8000e007e2d..."} 
[2026-04-28 00:38:09] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd056a6e8012d345d8006b2dda8000e007e2d..."} 
[2026-04-28 00:38:09] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd056"} 
[2026-04-28 00:38:09] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd056"} 
[2026-04-28 00:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758406528,"raw_latitude":112385448,"longitude_deg":75.8406528,"latitude_deg":11.2385448,"altitude":14,"angle":126,"satellites":45,"speed":37,"hex_longitude":"2d345d80","hex_latitude":"06b2dda8","is_valid_coordinates":true} 
[2026-04-28 00:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993106432001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281340535644356608,"note":"Value kept but may cause issues"} 
[2026-04-28 00:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3764657473532872704,"note":"Value kept but may cause issues"} 
[2026-04-28 00:38:09] 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-04-28 00:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777316833000,"timestamp_ms":1777316833000,"timestamp_seconds":1777316833,"priority":1,"record_length":96,"hex_timestamp":"0000019dd056a6e8"} 
[2026-04-28 00:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:38:09] 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-04-28 00:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:38:09] 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-04-28 00:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993106432001,"66":27039,"224":206,"81":23552,"24":37,"16":281340535644356608,"45":3764657473532872704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-04-28 00:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993106432001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:38:09] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-04-28 00:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-04-28 00:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281340535644356608,"km_value":281340535644356.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3764657473532872704,"description":"Unknown IO ID 45"} 
[2026-04-28 00:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993106432001,"power":27039,"unknown_224":206,"unknown_81":23552,"ignition":37,"odometer":null,"unknown_45":3764657473532872704}} 
[2026-04-28 00:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:38:09] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:38:09] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:39:15] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:15] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:15] local.INFO: IMEI packet received {"connection_id":55965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":55965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:39:21] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:21] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:39:21] local.INFO: IMEI packet received {"connection_id":55965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":55965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:39:22] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":171,"data_hex":"000000000000009f8e020000019dd0580290012d3588c006b21c38000a007a2b..."} 
[2026-04-28 00:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":171,"packet_hex":"000000000000009f8e020000019dd0580290012d3588c006b21c38000a007a2b..."} 
[2026-04-28 00:39:22] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019dd0580290012d3588c006b21c38000a007a2b..."} 
[2026-04-28 00:39:22] local.INFO: Packet analysis {"connection_id":55965,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019dd058"} 
[2026-04-28 00:39:22] local.INFO: Extracted packet for processing {"connection_id":55965,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019dd058"} 
[2026-04-28 00:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758483136,"raw_latitude":112335928,"longitude_deg":75.8483136,"latitude_deg":11.2335928,"altitude":10,"angle":122,"satellites":43,"speed":52,"hex_longitude":"2d3588c0","hex_latitude":"06b21c38","is_valid_coordinates":true} 
[2026-04-28 00: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":171,"current_offset":40} 
[2026-04-28 00:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993130240001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281344023157800960,"note":"Value kept but may cause issues"} 
[2026-04-28 00:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3849029597789097984,"note":"Value kept but may cause issues"} 
[2026-04-28 00:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777316922000,"timestamp_ms":1777316922000,"timestamp_seconds":1777316922,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0580290"} 
[2026-04-28 00:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:39: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":104,"n8_eight_byte":45,"data_length":171,"current_offset":136} 
[2026-04-28 00:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:39:22] 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-04-28 00:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:39:22] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55965,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-04-28 00:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993130240001,"66":27343,"221":206,"81":23552,"24":52,"16":281344023157800960,"45":3849029597789097984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-04-28 00:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993130240001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:39:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 00:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-04-28 00:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281344023157800960,"km_value":281344023157800.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3849029597789097984,"description":"Unknown IO ID 45"} 
[2026-04-28 00:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993130240001,"power":27343,"unknown_221":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3849029597789097984}} 
[2026-04-28 00:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":55965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:39:22] local.INFO: GPS data processed {"connection_id":55965,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:39:22] local.INFO: Acknowledgment sent {"connection_id":55965,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:39:54] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019dd0581de8012d35a70006b20830000b007b2b..."} 
[2026-04-28 00:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":93,"packet_hex":"00000000000000518e010000019dd0581de8012d35a70006b20830000b007b2b..."} 
[2026-04-28 00:39:54] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd0581de8012d35a70006b20830000b007b2b..."} 
[2026-04-28 00:39:54] local.INFO: Packet analysis {"connection_id":55965,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:39:54] local.INFO: Extracted packet for processing {"connection_id":55965,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758490880,"raw_latitude":112330800,"longitude_deg":75.849088,"latitude_deg":11.23308,"altitude":11,"angle":123,"satellites":43,"speed":51,"hex_longitude":"2d35a700","hex_latitude":"06b20830","is_valid_coordinates":true} 
[2026-04-28 00: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":93,"current_offset":40} 
[2026-04-28 00:39:54] 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-04-28 00:39:54] 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-04-28 00:39:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:39:54] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 00:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55965,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 00:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 00:39:54] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 00:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":55965,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 00:39:54] local.ERROR: GPS data processing failed {"connection_id":55965,"error":"No valid data to process"} 
[2026-04-28 00:39:54] local.INFO: Acknowledgment sent {"connection_id":55965,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 00:40:25] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019dd0583d28012d35c80006b1f338000e007b2a..."} 
[2026-04-28 00:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":93,"packet_hex":"00000000000000518e010000019dd0583d28012d35c80006b1f338000e007b2a..."} 
[2026-04-28 00:40:25] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd0583d28012d35c80006b1f338000e007b2a..."} 
[2026-04-28 00:40:25] local.INFO: Packet analysis {"connection_id":55965,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:40:25] local.INFO: Extracted packet for processing {"connection_id":55965,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758499328,"raw_latitude":112325432,"longitude_deg":75.8499328,"latitude_deg":11.2325432,"altitude":14,"angle":123,"satellites":42,"speed":47,"hex_longitude":"2d35c800","hex_latitude":"06b1f338","is_valid_coordinates":true} 
[2026-04-28 00: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":93,"current_offset":40} 
[2026-04-28 00:40:25] 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-04-28 00:40:25] 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-04-28 00:40:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:40:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 00:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55965,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 00:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 00:40:25] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 00:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":55965,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 00:40:25] local.ERROR: GPS data processing failed {"connection_id":55965,"error":"No valid data to process"} 
[2026-04-28 00:40:25] local.INFO: Acknowledgment sent {"connection_id":55965,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 00:40:56] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019dd0585c68012d35e58006b1df680010007e2d..."} 
[2026-04-28 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":93,"packet_hex":"00000000000000518e010000019dd0585c68012d35e58006b1df680010007e2d..."} 
[2026-04-28 00:40:56] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd0585c68012d35e58006b1df680010007e2d..."} 
[2026-04-28 00:40:56] local.INFO: Packet analysis {"connection_id":55965,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:40:56] local.INFO: Extracted packet for processing {"connection_id":55965,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd058"} 
[2026-04-28 00:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758506880,"raw_latitude":112320360,"longitude_deg":75.850688,"latitude_deg":11.232036,"altitude":16,"angle":126,"satellites":45,"speed":42,"hex_longitude":"2d35e580","hex_latitude":"06b1df68","is_valid_coordinates":true} 
[2026-04-28 00: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":93,"current_offset":40} 
[2026-04-28 00:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:40:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:40:56] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 00:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55965,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 00:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 00:40:56] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 00:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":55965,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 00:40:56] local.ERROR: GPS data processing failed {"connection_id":55965,"error":"No valid data to process"} 
[2026-04-28 00:40:56] local.INFO: Acknowledgment sent {"connection_id":55965,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 00:41:01] local.INFO: TCP Data received {"connection_id":56121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:01] local.INFO: Processing buffer {"connection_id":56121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:01] local.INFO: IMEI packet received {"connection_id":56121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":56121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:41:28] local.INFO: TCP Data received {"connection_id":55965,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019dd0599cb8012d368f0006b07e88000f009b2d..."} 
[2026-04-28 00:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55965,"packet_length":93,"packet_hex":"00000000000000518e010000019dd0599cb8012d368f0006b07e88000f009b2d..."} 
[2026-04-28 00:41:28] local.INFO: Processing buffer {"connection_id":55965,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd0599cb8012d368f0006b07e88000f009b2d..."} 
[2026-04-28 00:41:28] local.INFO: Packet analysis {"connection_id":55965,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd059"} 
[2026-04-28 00:41:28] local.INFO: Extracted packet for processing {"connection_id":55965,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd059"} 
[2026-04-28 00:41:28] local.INFO: GPS Element Parsed {"raw_longitude":758550272,"raw_latitude":112230024,"longitude_deg":75.8550272,"latitude_deg":11.2230024,"altitude":15,"angle":155,"satellites":45,"speed":44,"hex_longitude":"2d368f00","hex_latitude":"06b07e88","is_valid_coordinates":true} 
[2026-04-28 00: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":93,"current_offset":40} 
[2026-04-28 00:41:28] 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-04-28 00:41:28] 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-04-28 00:41:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:41:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 00:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55965,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 00:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55965,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-28 00:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 00:41:28] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 00:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":55965,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 00:41:28] local.ERROR: GPS data processing failed {"connection_id":55965,"error":"No valid data to process"} 
[2026-04-28 00:41:28] local.INFO: Acknowledgment sent {"connection_id":55965,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 00:41:36] local.INFO: TCP Data received {"connection_id":56122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:36] local.INFO: Processing buffer {"connection_id":56122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:41:36] local.INFO: IMEI packet received {"connection_id":56122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":56122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:42:41] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:41] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:41] local.INFO: IMEI packet received {"connection_id":56850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":56850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:42:45] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:45] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:45] local.INFO: IMEI packet received {"connection_id":56850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":56850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:42:49] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:49] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:42:49] local.INFO: IMEI packet received {"connection_id":56850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":56850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:42:50] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05ab5f8012d37108006af5de00015009c2d..."} 
[2026-04-28 00:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05ab5f8012d37108006af5de00015009c2d..."} 
[2026-04-28 00:42:50] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05ab5f8012d37108006af5de00015009c2d..."} 
[2026-04-28 00:42:50] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:42:50] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758583424,"raw_latitude":112156128,"longitude_deg":75.8583424,"latitude_deg":11.2156128,"altitude":21,"angle":156,"satellites":45,"speed":44,"hex_longitude":"2d371080","hex_latitude":"06af5de0","is_valid_coordinates":true} 
[2026-04-28 00:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993175296001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281354180755456000,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3963871388241868800,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777317099000,"timestamp_ms":1777317099000,"timestamp_seconds":1777317099,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05ab5f8"} 
[2026-04-28 00:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:42: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-04-28 00:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993175296001,"66":27365,"41":206,"81":49664,"24":44,"16":281354180755456000,"45":3963871388241868800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-04-28 00:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993175296001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:42:50] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 00:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281354180755456000,"km_value":281354180755456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3963871388241868800,"description":"Unknown IO ID 45"} 
[2026-04-28 00:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993175296001,"power":27365,"unknown_41":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":3963871388241868800}} 
[2026-04-28 00:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:42:50] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:42:50] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:42:52] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05ad538012d371fc006af3e68001500982d..."} 
[2026-04-28 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05ad538012d371fc006af3e68001500982d..."} 
[2026-04-28 00:42:52] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05ad538012d371fc006af3e68001500982d..."} 
[2026-04-28 00:42:52] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:42:52] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758587328,"raw_latitude":112148072,"longitude_deg":75.8587328,"latitude_deg":11.2148072,"altitude":21,"angle":152,"satellites":45,"speed":44,"hex_longitude":"2d371fc0","hex_latitude":"06af3e68","is_valid_coordinates":true} 
[2026-04-28 00:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281354610252185600,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3967812037913731072,"note":"Value kept but may cause issues"} 
[2026-04-28 00:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777317107000,"timestamp_ms":1777317107000,"timestamp_seconds":1777317107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05ad538"} 
[2026-04-28 00:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993177344001,"66":27321,"41":206,"81":49664,"24":44,"16":281354610252185600,"45":3967812037913731072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-04-28 00:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:42:52] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 00:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281354610252185600,"km_value":281354610252185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3967812037913731072,"description":"Unknown IO ID 45"} 
[2026-04-28 00:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993177344001,"power":27321,"unknown_41":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":3967812037913731072}} 
[2026-04-28 00:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:42:52] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:42:52] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:43:23] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05af478012d3730c006af1e280015009727..."} 
[2026-04-28 00:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05af478012d3730c006af1e280015009727..."} 
[2026-04-28 00:43:23] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05af478012d3730c006af1e280015009727..."} 
[2026-04-28 00:43:23] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:43:23] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05a"} 
[2026-04-28 00:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758591680,"raw_latitude":112139816,"longitude_deg":75.859168,"latitude_deg":11.2139816,"altitude":21,"angle":151,"satellites":39,"speed":47,"hex_longitude":"2d3730c0","hex_latitude":"06af1e28","is_valid_coordinates":true} 
[2026-04-28 00:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281355061223751680,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3972104531306506240,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777317115000,"timestamp_ms":1777317115000,"timestamp_seconds":1777317115,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05af478"} 
[2026-04-28 00:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:43:23] 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-04-28 00:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:43:23] 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-04-28 00:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993179392001,"66":27343,"41":206,"81":49664,"24":47,"16":281355061223751680,"45":3972104531306506240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-04-28 00:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:43:23] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 00:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281355061223751680,"km_value":281355061223751.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3972104531306506240,"description":"Unknown IO ID 45"} 
[2026-04-28 00:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993179392001,"power":27343,"unknown_41":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":3972104531306506240}} 
[2026-04-28 00:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:43:23] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:43:23] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:43:55] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05b13b8012d3744c006aefbc8001500942d..."} 
[2026-04-28 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05b13b8012d3744c006aefbc8001500942d..."} 
[2026-04-28 00:43:55] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05b13b8012d3744c006aefbc8001500942d..."} 
[2026-04-28 00:43:55] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05b"} 
[2026-04-28 00:43:55] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05b"} 
[2026-04-28 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758596800,"raw_latitude":112131016,"longitude_deg":75.85968,"latitude_deg":11.2131016,"altitude":21,"angle":148,"satellites":45,"speed":52,"hex_longitude":"2d3744c0","hex_latitude":"06aefbc8","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993181440001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281355555144990720,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3976889605908473856,"note":"Value kept but may cause issues"} 
[2026-04-28 00:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777317123000,"timestamp_ms":1777317123000,"timestamp_seconds":1777317123,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05b13b8"} 
[2026-04-28 00:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 00:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:43: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-04-28 00:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993181440001,"66":26984,"41":206,"81":49664,"24":52,"16":281355555144990720,"45":3976889605908473856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-04-28 00:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993181440001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:43:55] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 00:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281355555144990720,"km_value":281355555144990.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3976889605908473856,"description":"Unknown IO ID 45"} 
[2026-04-28 00:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993181440001,"power":26984,"unknown_41":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":3976889605908473856}} 
[2026-04-28 00:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:43:55] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:43:55] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:44:28] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05c5fc0012d381a8006ada458001100932c..."} 
[2026-04-28 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05c5fc0012d381a8006ada458001100932c..."} 
[2026-04-28 00:44:28] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05c5fc0012d381a8006ada458001100932c..."} 
[2026-04-28 00:44:28] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:44:28] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":758651520,"raw_latitude":112043096,"longitude_deg":75.865152,"latitude_deg":11.2043096,"altitude":17,"angle":147,"satellites":44,"speed":36,"hex_longitude":"2d381a80","hex_latitude":"06ada458","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993202688001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281360550191955968,"note":"Value kept but may cause issues"} 
[2026-04-28 00:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4036914144669382656,"note":"Value kept but may cause issues"} 
[2026-04-28 00:44:28] 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-04-28 00:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777317208000,"timestamp_ms":1777317208000,"timestamp_seconds":1777317208,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05c5fc0"} 
[2026-04-28 00:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993202688001,"66":27397,"185":206,"81":49664,"24":36,"16":281360550191955968,"45":4036914144669382656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-04-28 00:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993202688001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:44:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 00:44:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281360550191955968,"km_value":281360550191955.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4036914144669382656,"description":"Unknown IO ID 45"} 
[2026-04-28 00:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993202688001,"power":27397,"unknown_185":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4036914144669382656}} 
[2026-04-28 00:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:44:28] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:44:28] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:45:07] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05c7348012d38244006ad9728001100862d..."} 
[2026-04-28 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05c7348012d38244006ad9728001100862d..."} 
[2026-04-28 00:45:07] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05c7348012d38244006ad9728001100862d..."} 
[2026-04-28 00:45:07] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:45:07] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758654016,"raw_latitude":112039720,"longitude_deg":75.8654016,"latitude_deg":11.203972,"altitude":17,"angle":134,"satellites":45,"speed":30,"hex_longitude":"2d382440","hex_latitude":"06ad9728","is_valid_coordinates":true} 
[2026-04-28 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993205248001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281360752055418880,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4042684381689829376,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:07] 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-04-28 00:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777317213000,"timestamp_ms":1777317213000,"timestamp_seconds":1777317213,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05c7348"} 
[2026-04-28 00:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:45:07] 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-04-28 00:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993205248001,"66":27397,"185":206,"81":49664,"24":30,"16":281360752055418880,"45":4042684381689829376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-04-28 00:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993205248001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:45:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 00:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281360752055418880,"km_value":281360752055418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4042684381689829376,"description":"Unknown IO ID 45"} 
[2026-04-28 00:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993205248001,"power":27397,"unknown_185":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4042684381689829376}} 
[2026-04-28 00:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:45:07] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:45:07] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:45:38] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05c82e8012d382c0006ad8e38001100912c..."} 
[2026-04-28 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05c82e8012d382c0006ad8e38001100912c..."} 
[2026-04-28 00:45:38] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05c82e8012d382c0006ad8e38001100912c..."} 
[2026-04-28 00:45:38] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:45:38] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05c"} 
[2026-04-28 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758656000,"raw_latitude":112037432,"longitude_deg":75.8656,"latitude_deg":11.2037432,"altitude":17,"angle":145,"satellites":44,"speed":30,"hex_longitude":"2d382c00","hex_latitude":"06ad8e38","is_valid_coordinates":true} 
[2026-04-28 00:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993206528001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281360898084306944,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045428762711894016,"note":"Value kept but may cause issues"} 
[2026-04-28 00:45:38] 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-04-28 00:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777317217000,"timestamp_ms":1777317217000,"timestamp_seconds":1777317217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05c82e8"} 
[2026-04-28 00:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993206528001,"66":27463,"185":206,"81":49664,"24":30,"16":281360898084306944,"45":4045428762711894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-04-28 00:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993206528001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:45:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 00:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281360898084306944,"km_value":281360898084306.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045428762711894016,"description":"Unknown IO ID 45"} 
[2026-04-28 00:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993206528001,"power":27463,"unknown_185":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4045428762711894016}} 
[2026-04-28 00:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:45:38] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:45:38] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:46:09] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05df9e8012d38a48006ac1140000c00a42d..."} 
[2026-04-28 00:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05df9e8012d38a48006ac1140000c00a42d..."} 
[2026-04-28 00:46:09] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05df9e8012d38a48006ac1140000c00a42d..."} 
[2026-04-28 00:46:09] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05d"} 
[2026-04-28 00:46:09] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05d"} 
[2026-04-28 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758686848,"raw_latitude":111939904,"longitude_deg":75.8686848,"latitude_deg":11.1939904,"altitude":12,"angle":164,"satellites":45,"speed":47,"hex_longitude":"2d38a480","hex_latitude":"06ac1140","is_valid_coordinates":true} 
[2026-04-28 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993230080001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281365871656435712,"note":"Value kept but may cause issues"} 
[2026-04-28 00:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4078642809940611072,"note":"Value kept but may cause issues"} 
[2026-04-28 00:46:09] 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-04-28 00:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777317313000,"timestamp_ms":1777317313000,"timestamp_seconds":1777317313,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05df9e8"} 
[2026-04-28 00:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 00:46:09] 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-04-28 00:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993230080001,"66":27332,"164":206,"81":23296,"24":47,"16":281365871656435712,"45":4078642809940611072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-04-28 00:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993230080001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:46:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-04-28 00:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-04-28 00:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281365871656435712,"km_value":281365871656435.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4078642809940611072,"description":"Unknown IO ID 45"} 
[2026-04-28 00:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993230080001,"power":27332,"unknown_164":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":4078642809940611072}} 
[2026-04-28 00:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:46:09] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:46:09] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:46:51] local.INFO: TCP Data received {"connection_id":55968,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:46:51] local.INFO: Processing buffer {"connection_id":55968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:46:51] local.INFO: IMEI packet received {"connection_id":55968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":55968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:47:00] local.INFO: TCP Data received {"connection_id":56124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:00] local.INFO: Processing buffer {"connection_id":56124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:00] local.INFO: IMEI packet received {"connection_id":56124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:47:25] local.INFO: TCP Data received {"connection_id":56124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:25] local.INFO: Processing buffer {"connection_id":56124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:25] local.INFO: IMEI packet received {"connection_id":56124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":56124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:47:28] local.INFO: TCP Data received {"connection_id":56124,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05e1928012d38ae0006abeeb0000c00a52d..."} 
[2026-04-28 00:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05e1928012d38ae0006abeeb0000c00a52d..."} 
[2026-04-28 00:47:28] local.INFO: Processing buffer {"connection_id":56124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05e1928012d38ae0006abeeb0000c00a52d..."} 
[2026-04-28 00:47:28] local.INFO: Packet analysis {"connection_id":56124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05e"} 
[2026-04-28 00:47:28] local.INFO: Extracted packet for processing {"connection_id":56124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05e"} 
[2026-04-28 00:47:28] local.INFO: GPS Element Parsed {"raw_longitude":758689280,"raw_latitude":111931056,"longitude_deg":75.868928,"latitude_deg":11.1931056,"altitude":12,"angle":165,"satellites":45,"speed":44,"hex_longitude":"2d38ae00","hex_latitude":"06abeeb0","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993232128001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281366318333034496,"note":"Value kept but may cause issues"} 
[2026-04-28 00:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4081527928449482752,"note":"Value kept but may cause issues"} 
[2026-04-28 00:47:28] 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-04-28 00:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777317321000,"timestamp_ms":1777317321000,"timestamp_seconds":1777317321,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05e1928"} 
[2026-04-28 00:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993232128001,"66":27484,"164":206,"81":23296,"24":44,"16":281366318333034496,"45":4081527928449482752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-04-28 00:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993232128001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:47:28] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-04-28 00:47:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-04-28 00:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281366318333034496,"km_value":281366318333034.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4081527928449482752,"description":"Unknown IO ID 45"} 
[2026-04-28 00:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993232128001,"power":27484,"unknown_164":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4081527928449482752}} 
[2026-04-28 00:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":56124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:47:28] local.INFO: GPS data processed {"connection_id":56124,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:47:28] local.INFO: Acknowledgment sent {"connection_id":56124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:47:36] local.INFO: TCP Data received {"connection_id":56851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:47:36] local.INFO: Processing buffer {"connection_id":56851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:47:36] local.INFO: IMEI packet received {"connection_id":56851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":56851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:47:54] local.INFO: TCP Data received {"connection_id":55969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:54] local.INFO: Processing buffer {"connection_id":55969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:54] local.INFO: IMEI packet received {"connection_id":55969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":55969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:47:55] local.INFO: TCP Data received {"connection_id":55969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:55] local.INFO: Processing buffer {"connection_id":55969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:47:55] local.INFO: IMEI packet received {"connection_id":55969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":55969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:48:00] local.INFO: TCP Data received {"connection_id":55969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:48:00] local.INFO: Processing buffer {"connection_id":55969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:48:00] local.INFO: IMEI packet received {"connection_id":55969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":55969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:48:02] local.INFO: TCP Data received {"connection_id":55969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05f6d00012d39184006aa6048000a00a52d..."} 
[2026-04-28 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05f6d00012d39184006aa6048000a00a52d..."} 
[2026-04-28 00:48:02] local.INFO: Processing buffer {"connection_id":55969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05f6d00012d39184006aa6048000a00a52d..."} 
[2026-04-28 00:48:02] local.INFO: Packet analysis {"connection_id":55969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05f"} 
[2026-04-28 00:48:02] local.INFO: Extracted packet for processing {"connection_id":55969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05f"} 
[2026-04-28 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758716480,"raw_latitude":111829064,"longitude_deg":75.871648,"latitude_deg":11.1829064,"altitude":10,"angle":165,"satellites":45,"speed":52,"hex_longitude":"2d391840","hex_latitude":"06aa6048","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993254656001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281371429344116736,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111645750931380224,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:02] 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-04-28 00:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777317408000,"timestamp_ms":1777317408000,"timestamp_seconds":1777317408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05f6d00"} 
[2026-04-28 00:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:48:02] 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-04-28 00: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-04-28 00:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":55969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":55969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":55969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993254656001,"66":27310,"237":206,"81":49664,"24":52,"16":281371429344116736,"45":4111645750931380224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-04-28 00:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993254656001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:48:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 00:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281371429344116736,"km_value":281371429344116.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111645750931380224,"description":"Unknown IO ID 45"} 
[2026-04-28 00:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993254656001,"power":27310,"unknown_237":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4111645750931380224}} 
[2026-04-28 00:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":55969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:48:02] local.INFO: GPS data processed {"connection_id":55969,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:48:02] local.INFO: Acknowledgment sent {"connection_id":55969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:48:33] local.INFO: TCP Data received {"connection_id":55969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd05f8858012d39218006aa3d90000a00a52d..."} 
[2026-04-28 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd05f8858012d39218006aa3d90000a00a52d..."} 
[2026-04-28 00:48:33] local.INFO: Processing buffer {"connection_id":55969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd05f8858012d39218006aa3d90000a00a52d..."} 
[2026-04-28 00:48:33] local.INFO: Packet analysis {"connection_id":55969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd05f"} 
[2026-04-28 00:48:33] local.INFO: Extracted packet for processing {"connection_id":55969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd05f"} 
[2026-04-28 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758718848,"raw_latitude":111820176,"longitude_deg":75.8718848,"latitude_deg":11.1820176,"altitude":10,"angle":165,"satellites":45,"speed":51,"hex_longitude":"2d392180","hex_latitude":"06aa3d90","is_valid_coordinates":true} 
[2026-04-28 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993256448001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281371876020715520,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4114108656975366144,"note":"Value kept but may cause issues"} 
[2026-04-28 00:48:33] 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-04-28 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777317415000,"timestamp_ms":1777317415000,"timestamp_seconds":1777317415,"priority":1,"record_length":96,"hex_timestamp":"0000019dd05f8858"} 
[2026-04-28 00:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 00:48:33] 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-04-28 00:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993256448001,"66":27365,"237":206,"81":49664,"24":51,"16":281371876020715520,"45":4114108656975366144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-04-28 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993256448001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:48:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 00:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281371876020715520,"km_value":281371876020715.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4114108656975366144,"description":"Unknown IO ID 45"} 
[2026-04-28 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993256448001,"power":27365,"unknown_237":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4114108656975366144}} 
[2026-04-28 00:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":55969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:48:33] local.INFO: GPS data processed {"connection_id":55969,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:48:33] local.INFO: Acknowledgment sent {"connection_id":55969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:49:03] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:03] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:03] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:49:05] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:05] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:05] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:49:10] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:10] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:10] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:49:14] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd060cc90012d398d4006a8ae28000c00a42c..."} 
[2026-04-28 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd060cc90012d398d4006a8ae28000c00a42c..."} 
[2026-04-28 00:49:14] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd060cc90012d398d4006a8ae28000c00a42c..."} 
[2026-04-28 00:49:14] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd060"} 
[2026-04-28 00:49:14] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd060"} 
[2026-04-28 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758746432,"raw_latitude":111717928,"longitude_deg":75.8746432,"latitude_deg":11.1717928,"altitude":12,"angle":164,"satellites":44,"speed":54,"hex_longitude":"2d398d40","hex_latitude":"06a8ae28","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993277696001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281377004211666944,"note":"Value kept but may cause issues"} 
[2026-04-28 00:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4144156110713212928,"note":"Value kept but may cause issues"} 
[2026-04-28 00:49:14] 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-04-28 00:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777317498000,"timestamp_ms":1777317498000,"timestamp_seconds":1777317498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd060cc90"} 
[2026-04-28 00:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993277696001,"66":27332,"237":206,"81":49664,"24":54,"16":281377004211666944,"45":4144156110713212928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-04-28 00:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993277696001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:49:14] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 00:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281377004211666944,"km_value":281377004211666.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4144156110713212928,"description":"Unknown IO ID 45"} 
[2026-04-28 00:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993277696001,"power":27332,"unknown_237":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4144156110713212928}} 
[2026-04-28 00:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:49:14] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:49:14] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:49:55] local.INFO: TCP Data received {"connection_id":55970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:55] local.INFO: Processing buffer {"connection_id":55970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:49:55] local.INFO: IMEI packet received {"connection_id":55970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":55970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:50:00] local.INFO: TCP Data received {"connection_id":55970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:00] local.INFO: Processing buffer {"connection_id":55970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:00] local.INFO: IMEI packet received {"connection_id":55970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":55970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:50:01] local.INFO: TCP Data received {"connection_id":55970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd060e7e8012d39968006a88b40000c00a42c..."} 
[2026-04-28 00:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd060e7e8012d39968006a88b40000c00a42c..."} 
[2026-04-28 00:50:01] local.INFO: Processing buffer {"connection_id":55970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd060e7e8012d39968006a88b40000c00a42c..."} 
[2026-04-28 00:50:01] local.INFO: Packet analysis {"connection_id":55970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd060"} 
[2026-04-28 00:50:01] local.INFO: Extracted packet for processing {"connection_id":55970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd060"} 
[2026-04-28 00:50:01] local.INFO: GPS Element Parsed {"raw_longitude":758748800,"raw_latitude":111708992,"longitude_deg":75.87488,"latitude_deg":11.1708992,"altitude":12,"angle":164,"satellites":44,"speed":51,"hex_longitude":"2d399680","hex_latitude":"06a88b40","is_valid_coordinates":true} 
[2026-04-28 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993279488001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281377450888265728,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4147041229222062080,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:01] 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-04-28 00:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777317505000,"timestamp_ms":1777317505000,"timestamp_seconds":1777317505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd060e7e8"} 
[2026-04-28 00:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:50: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-04-28 00:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":55970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":55970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":55970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993279488001,"66":27267,"237":206,"81":49664,"24":51,"16":281377450888265728,"45":4147041229222062080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-04-28 00:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993279488001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281377450888265728,"km_value":281377450888265.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4147041229222062080,"description":"Unknown IO ID 45"} 
[2026-04-28 00:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993279488001,"power":27267,"unknown_237":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4147041229222062080}} 
[2026-04-28 00:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":55970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:50:01] local.INFO: GPS data processed {"connection_id":55970,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:50:01] local.INFO: Acknowledgment sent {"connection_id":55970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:50:32] local.INFO: TCP Data received {"connection_id":55970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0610340012d39a08006a869a0000e00a42c..."} 
[2026-04-28 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0610340012d39a08006a869a0000e00a42c..."} 
[2026-04-28 00:50:32] local.INFO: Processing buffer {"connection_id":55970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0610340012d39a08006a869a0000e00a42c..."} 
[2026-04-28 00:50:32] local.INFO: Packet analysis {"connection_id":55970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd061"} 
[2026-04-28 00:50:32] local.INFO: Extracted packet for processing {"connection_id":55970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd061"} 
[2026-04-28 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758751360,"raw_latitude":111700384,"longitude_deg":75.875136,"latitude_deg":11.1700384,"altitude":14,"angle":164,"satellites":44,"speed":50,"hex_longitude":"2d39a080","hex_latitude":"06a869a0","is_valid_coordinates":true} 
[2026-04-28 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993281280001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281377884679962624,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4149644872754348032,"note":"Value kept but may cause issues"} 
[2026-04-28 00:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777317512000,"timestamp_ms":1777317512000,"timestamp_seconds":1777317512,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0610340"} 
[2026-04-28 00:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 00:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993281280001,"66":27463,"238":206,"81":49664,"24":50,"16":281377884679962624,"45":4149644872754348032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-04-28 00:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993281280001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:50:32] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-28 00:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281377884679962624,"km_value":281377884679962.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4149644872754348032,"description":"Unknown IO ID 45"} 
[2026-04-28 00:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993281280001,"power":27463,"unknown_238":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4149644872754348032}} 
[2026-04-28 00:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":55970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:50:32] local.INFO: GPS data processed {"connection_id":55970,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:50:32] local.INFO: Acknowledgment sent {"connection_id":55970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:50:54] local.INFO: TCP Data received {"connection_id":56216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:54] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:54] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:50:55] local.INFO: TCP Data received {"connection_id":56216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:55] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:50:55] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:51:00] local.INFO: TCP Data received {"connection_id":56216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:00] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:00] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:51:01] local.INFO: TCP Data received {"connection_id":56216,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0624778012d3a41c006a756e0002100642c..."} 
[2026-04-28 00:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0624778012d3a41c006a756e0002100642c..."} 
[2026-04-28 00:51:01] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0624778012d3a41c006a756e0002100642c..."} 
[2026-04-28 00:51:01] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:51:01] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758792640,"raw_latitude":111630048,"longitude_deg":75.879264,"latitude_deg":11.1630048,"altitude":33,"angle":100,"satellites":44,"speed":36,"hex_longitude":"2d3a41c0","hex_latitude":"06a756e0","is_valid_coordinates":true} 
[2026-04-28 00:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993301760001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281382110927781888,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4188066207055607808,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777317595000,"timestamp_ms":1777317595000,"timestamp_seconds":1777317595,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0624778"} 
[2026-04-28 00:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993301760001,"66":27463,"102":206,"81":49664,"24":36,"16":281382110927781888,"45":4188066207055607808},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993301760001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:51:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281382110927781888,"km_value":281382110927781.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4188066207055607808,"description":"Unknown IO ID 45"} 
[2026-04-28 00:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993301760001,"power":27463,"unknown_102":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4188066207055607808}} 
[2026-04-28 00:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:51:01] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:51:01] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:51:32] local.INFO: TCP Data received {"connection_id":56216,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0626e88012d3a650006a75180002300632b..."} 
[2026-04-28 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0626e88012d3a650006a75180002300632b..."} 
[2026-04-28 00:51:32] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0626e88012d3a650006a75180002300632b..."} 
[2026-04-28 00:51:32] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:51:32] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758801664,"raw_latitude":111628672,"longitude_deg":75.8801664,"latitude_deg":11.1628672,"altitude":35,"angle":99,"satellites":43,"speed":34,"hex_longitude":"2d3a6500","hex_latitude":"06a75180","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993304320001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281382544719478784,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4197847462495838208,"note":"Value kept but may cause issues"} 
[2026-04-28 00:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777317605000,"timestamp_ms":1777317605000,"timestamp_seconds":1777317605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0626e88"} 
[2026-04-28 00:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:51: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-04-28 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:51:32] 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-04-28 00: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-04-28 00:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:51:32] 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-04-28 00:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993304320001,"66":26941,"102":206,"81":49664,"24":34,"16":281382544719478784,"45":4197847462495838208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993304320001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:51:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281382544719478784,"km_value":281382544719478.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4197847462495838208,"description":"Unknown IO ID 45"} 
[2026-04-28 00:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993304320001,"power":26941,"unknown_102":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4197847462495838208}} 
[2026-04-28 00:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:51:32] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:51:32] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:51:55] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:55] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:55] local.INFO: IMEI packet received {"connection_id":56129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":56129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:51:58] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:58] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:51:58] local.INFO: IMEI packet received {"connection_id":56129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":56129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:52:00] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:00] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:00] local.INFO: IMEI packet received {"connection_id":56129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:52:01] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0629980012d3a87c006a74b58002600652c..."} 
[2026-04-28 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0629980012d3a87c006a74b58002600652c..."} 
[2026-04-28 00:52:01] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0629980012d3a87c006a74b58002600652c..."} 
[2026-04-28 00:52:01] local.INFO: Packet analysis {"connection_id":56129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:52:01] local.INFO: Extracted packet for processing {"connection_id":56129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":758810560,"raw_latitude":111627096,"longitude_deg":75.881056,"latitude_deg":11.1627096,"altitude":38,"angle":101,"satellites":44,"speed":30,"hex_longitude":"2d3a87c0","hex_latitude":"06a74b58","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993306880001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281382974216208384,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4207769455424536576,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777317616000,"timestamp_ms":1777317616000,"timestamp_seconds":1777317616,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0629980"} 
[2026-04-28 00:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-04-28 00:52:01] 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-04-28 00: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-04-28 00:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52: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-04-28 00:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993306880001,"66":27332,"102":206,"81":49664,"24":30,"16":281382974216208384,"45":4207769455424536576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993306880001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:52:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:52:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281382974216208384,"km_value":281382974216208.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4207769455424536576,"description":"Unknown IO ID 45"} 
[2026-04-28 00:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993306880001,"power":27332,"unknown_102":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4207769455424536576}} 
[2026-04-28 00:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":56129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:52:01] local.INFO: GPS data processed {"connection_id":56129,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:52:01] local.INFO: Acknowledgment sent {"connection_id":56129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:52:05] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd062cc48012d3aab8006a74408002900652d..."} 
[2026-04-28 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd062cc48012d3aab8006a74408002900652d..."} 
[2026-04-28 00:52:05] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd062cc48012d3aab8006a74408002900652d..."} 
[2026-04-28 00:52:05] local.INFO: Packet analysis {"connection_id":56129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:52:05] local.INFO: Extracted packet for processing {"connection_id":56129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd062"} 
[2026-04-28 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758819712,"raw_latitude":111625224,"longitude_deg":75.8819712,"latitude_deg":11.1625224,"altitude":41,"angle":101,"satellites":45,"speed":25,"hex_longitude":"2d3aab80","hex_latitude":"06a74408","is_valid_coordinates":true} 
[2026-04-28 00:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993309696001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281383420892807168,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4217550710864828416,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777317629000,"timestamp_ms":1777317629000,"timestamp_seconds":1777317629,"priority":1,"record_length":96,"hex_timestamp":"0000019dd062cc48"} 
[2026-04-28 00:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52:05] 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-04-28 00:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993309696001,"66":27484,"102":206,"81":49664,"24":25,"16":281383420892807168,"45":4217550710864828416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993309696001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281383420892807168,"km_value":281383420892807.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4217550710864828416,"description":"Unknown IO ID 45"} 
[2026-04-28 00:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993309696001,"power":27484,"unknown_102":206,"unknown_81":49664,"ignition":25,"odometer":null,"unknown_45":4217550710864828416}} 
[2026-04-28 00:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":56129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:52:05] local.INFO: GPS data processed {"connection_id":56129,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:52:05] local.INFO: Acknowledgment sent {"connection_id":56129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:52:37] local.INFO: TCP Data received {"connection_id":56129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0630ac8012d3acec006a73d48002d006426..."} 
[2026-04-28 00:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0630ac8012d3acec006a73d48002d006426..."} 
[2026-04-28 00:52:37] local.INFO: Processing buffer {"connection_id":56129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0630ac8012d3acec006a73d48002d006426..."} 
[2026-04-28 00:52:37] local.INFO: Packet analysis {"connection_id":56129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:52:37] local.INFO: Extracted packet for processing {"connection_id":56129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758828736,"raw_latitude":111623496,"longitude_deg":75.8828736,"latitude_deg":11.1623496,"altitude":45,"angle":100,"satellites":38,"speed":18,"hex_longitude":"2d3acec0","hex_latitude":"06a73d48","is_valid_coordinates":true} 
[2026-04-28 00:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993313024001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281383854684504064,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4227613441281755136,"note":"Value kept but may cause issues"} 
[2026-04-28 00:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777317645000,"timestamp_ms":1777317645000,"timestamp_seconds":1777317645,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0630ac8"} 
[2026-04-28 00:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993313024001,"66":26745,"102":206,"81":49664,"24":18,"16":281383854684504064,"45":4227613441281755136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993313024001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:52:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281383854684504064,"km_value":281383854684504.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4227613441281755136,"description":"Unknown IO ID 45"} 
[2026-04-28 00:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993313024001,"power":26745,"unknown_102":206,"unknown_81":49664,"ignition":18,"odometer":null,"unknown_45":4227613441281755136}} 
[2026-04-28 00:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":56129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:52:37] local.INFO: GPS data processed {"connection_id":56129,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:52:37] local.INFO: Acknowledgment sent {"connection_id":56129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:52:55] local.INFO: TCP Data received {"connection_id":55971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:55] local.INFO: Processing buffer {"connection_id":55971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:55] local.INFO: IMEI packet received {"connection_id":55971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":55971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:52:56] local.INFO: TCP Data received {"connection_id":55971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:56] local.INFO: Processing buffer {"connection_id":55971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:52:56] local.INFO: IMEI packet received {"connection_id":55971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":55971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:52:56] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:52:56] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:52:56] local.INFO: IMEI packet received {"connection_id":56852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":56852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:53:00] local.INFO: TCP Data received {"connection_id":55971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:53:00] local.INFO: Processing buffer {"connection_id":55971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:53:00] local.INFO: IMEI packet received {"connection_id":55971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":55971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:53:02] local.INFO: TCP Data received {"connection_id":55971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0635118012d3af18006a736a0003000652b..."} 
[2026-04-28 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0635118012d3af18006a736a0003000652b..."} 
[2026-04-28 00:53:02] local.INFO: Processing buffer {"connection_id":55971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0635118012d3af18006a736a0003000652b..."} 
[2026-04-28 00:53:02] local.INFO: Packet analysis {"connection_id":55971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:53:02] local.INFO: Extracted packet for processing {"connection_id":55971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758837632,"raw_latitude":111621792,"longitude_deg":75.8837632,"latitude_deg":11.1621792,"altitude":48,"angle":101,"satellites":43,"speed":20,"hex_longitude":"2d3af180","hex_latitude":"06a736a0","is_valid_coordinates":true} 
[2026-04-28 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993317120001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281384288476200960,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4237535434210363392,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777317663000,"timestamp_ms":1777317663000,"timestamp_seconds":1777317663,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0635118"} 
[2026-04-28 00:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-28 00:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":55971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":55971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":55971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:53: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-04-28 00:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993317120001,"66":27484,"102":206,"81":49664,"24":20,"16":281384288476200960,"45":4237535434210363392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-04-28 00:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993317120001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:53:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-28 00:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281384288476200960,"km_value":281384288476200.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4237535434210363392,"description":"Unknown IO ID 45"} 
[2026-04-28 00:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993317120001,"power":27484,"unknown_102":206,"unknown_81":49664,"ignition":20,"odometer":null,"unknown_45":4237535434210363392}} 
[2026-04-28 00:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":55971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:53:02] local.INFO: GPS data processed {"connection_id":55971,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:53:02] local.INFO: Acknowledgment sent {"connection_id":55971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:53:34] local.INFO: TCP Data received {"connection_id":55971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0639380012d3b150006a72fd8003500632a..."} 
[2026-04-28 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0639380012d3b150006a72fd8003500632a..."} 
[2026-04-28 00:53:34] local.INFO: Processing buffer {"connection_id":55971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0639380012d3b150006a72fd8003500632a..."} 
[2026-04-28 00:53:34] local.INFO: Packet analysis {"connection_id":55971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:53:34] local.INFO: Extracted packet for processing {"connection_id":55971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758846720,"raw_latitude":111620056,"longitude_deg":75.884672,"latitude_deg":11.1620056,"altitude":53,"angle":99,"satellites":42,"speed":22,"hex_longitude":"2d3b1500","hex_latitude":"06a72fd8","is_valid_coordinates":true} 
[2026-04-28 00:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993321728001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281384726562865152,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4247316689650622464,"note":"Value kept but may cause issues"} 
[2026-04-28 00:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777317680000,"timestamp_ms":1777317680000,"timestamp_seconds":1777317680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0639380"} 
[2026-04-28 00:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993321728001,"66":27397,"101":206,"81":49664,"24":22,"16":281384726562865152,"45":4247316689650622464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-04-28 00:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993321728001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:53:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-28 00:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281384726562865152,"km_value":281384726562865.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4247316689650622464,"description":"Unknown IO ID 45"} 
[2026-04-28 00:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993321728001,"power":27397,"unknown_101":206,"unknown_81":49664,"ignition":22,"odometer":null,"unknown_45":4247316689650622464}} 
[2026-04-28 00:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":55971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:53:34] local.INFO: GPS data processed {"connection_id":55971,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:53:34] local.INFO: Acknowledgment sent {"connection_id":55971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:53:36] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:53:36] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:53:36] local.INFO: IMEI packet received {"connection_id":56853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":56853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:54:04] local.INFO: TCP Data received {"connection_id":56217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:04] local.INFO: Processing buffer {"connection_id":56217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:04] local.INFO: IMEI packet received {"connection_id":56217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":56217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:54:05] local.INFO: TCP Data received {"connection_id":56217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:05] local.INFO: Processing buffer {"connection_id":56217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:05] local.INFO: IMEI packet received {"connection_id":56217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":56217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:54:10] local.INFO: TCP Data received {"connection_id":56217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:10] local.INFO: Processing buffer {"connection_id":56217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:54:10] local.INFO: IMEI packet received {"connection_id":56217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":56217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:54:11] local.INFO: TCP Data received {"connection_id":56217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd063d200012d3b3a0006a728a0003900652c..."} 
[2026-04-28 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd063d200012d3b3a0006a728a0003900652c..."} 
[2026-04-28 00:54:11] local.INFO: Processing buffer {"connection_id":56217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd063d200012d3b3a0006a728a0003900652c..."} 
[2026-04-28 00:54:11] local.INFO: Packet analysis {"connection_id":56217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:54:11] local.INFO: Extracted packet for processing {"connection_id":56217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd063"} 
[2026-04-28 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758856192,"raw_latitude":111618208,"longitude_deg":75.8856192,"latitude_deg":11.1618208,"altitude":57,"angle":101,"satellites":44,"speed":23,"hex_longitude":"2d3b3a00","hex_latitude":"06a728a0","is_valid_coordinates":true} 
[2026-04-28 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993326080001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281385186124365824,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4257309051323406336,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777317696000,"timestamp_ms":1777317696000,"timestamp_seconds":1777317696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd063d200"} 
[2026-04-28 00:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:54:11] 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-04-28 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993326080001,"66":27484,"101":206,"81":49664,"24":23,"16":281385186124365824,"45":4257309051323406336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-04-28 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993326080001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:54:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-28 00:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281385186124365824,"km_value":281385186124365.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4257309051323406336,"description":"Unknown IO ID 45"} 
[2026-04-28 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993326080001,"power":27484,"unknown_101":206,"unknown_81":49664,"ignition":23,"odometer":null,"unknown_45":4257309051323406336}} 
[2026-04-28 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":56217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:54:11] local.INFO: GPS data processed {"connection_id":56217,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:54:11] local.INFO: Acknowledgment sent {"connection_id":56217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:54:15] local.INFO: TCP Data received {"connection_id":56217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0640c98012d3b5e0006a72190003b00642c..."} 
[2026-04-28 00:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0640c98012d3b5e0006a72190003b00642c..."} 
[2026-04-28 00:54:15] local.INFO: Processing buffer {"connection_id":56217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0640c98012d3b5e0006a72190003b00642c..."} 
[2026-04-28 00:54:15] local.INFO: Packet analysis {"connection_id":56217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd064"} 
[2026-04-28 00:54:15] local.INFO: Extracted packet for processing {"connection_id":56217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd064"} 
[2026-04-28 00:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758865408,"raw_latitude":111616400,"longitude_deg":75.8865408,"latitude_deg":11.16164,"altitude":59,"angle":100,"satellites":44,"speed":25,"hex_longitude":"2d3b5e00","hex_latitude":"06a72190","is_valid_coordinates":true} 
[2026-04-28 00:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993330176001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281385632800964608,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4267723625461227520,"note":"Value kept but may cause issues"} 
[2026-04-28 00:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777317711000,"timestamp_ms":1777317711000,"timestamp_seconds":1777317711,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0640c98"} 
[2026-04-28 00:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:54:15] 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-04-28 00:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993330176001,"66":27365,"101":206,"81":49664,"24":25,"16":281385632800964608,"45":4267723625461227520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-04-28 00:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993330176001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:54:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-28 00:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281385632800964608,"km_value":281385632800964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4267723625461227520,"description":"Unknown IO ID 45"} 
[2026-04-28 00:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993330176001,"power":27365,"unknown_101":206,"unknown_81":49664,"ignition":25,"odometer":null,"unknown_45":4267723625461227520}} 
[2026-04-28 00:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":56217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:54:15] local.INFO: GPS data processed {"connection_id":56217,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:54:15] local.INFO: Acknowledgment sent {"connection_id":56217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:55:00] local.INFO: TCP Data received {"connection_id":56131,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:00] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:00] local.INFO: IMEI packet received {"connection_id":56131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":56131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:55:05] local.INFO: TCP Data received {"connection_id":56131,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:05] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:05] local.INFO: IMEI packet received {"connection_id":56131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":56131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:55:07] local.INFO: TCP Data received {"connection_id":56131,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0643b78012d3b7cc006a71950003d00702a..."} 
[2026-04-28 00:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0643b78012d3b7cc006a71950003d00702a..."} 
[2026-04-28 00:55:07] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0643b78012d3b7cc006a71950003d00702a..."} 
[2026-04-28 00:55:07] local.INFO: Packet analysis {"connection_id":56131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd064"} 
[2026-04-28 00:55:07] local.INFO: Extracted packet for processing {"connection_id":56131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd064"} 
[2026-04-28 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758873280,"raw_latitude":111614288,"longitude_deg":75.887328,"latitude_deg":11.1614288,"altitude":61,"angle":112,"satellites":42,"speed":28,"hex_longitude":"2d3b7cc0","hex_latitude":"06a71950","is_valid_coordinates":true} 
[2026-04-28 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993334016001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281386023642988544,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4277856724622348288,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777317723000,"timestamp_ms":1777317723000,"timestamp_seconds":1777317723,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0643b78"} 
[2026-04-28 00:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:55:07] 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-04-28 00:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993334016001,"66":27343,"41":206,"81":49664,"24":28,"16":281386023642988544,"45":4277856724622348288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-04-28 00:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993334016001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:55:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 00:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281386023642988544,"km_value":281386023642988.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4277856724622348288,"description":"Unknown IO ID 45"} 
[2026-04-28 00:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993334016001,"power":27343,"unknown_41":206,"unknown_81":49664,"ignition":28,"odometer":null,"unknown_45":4277856724622348288}} 
[2026-04-28 00:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":56131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:55:07] local.INFO: GPS data processed {"connection_id":56131,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:55:07] local.INFO: Acknowledgment sent {"connection_id":56131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:55:39] local.INFO: TCP Data received {"connection_id":56131,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd066c000012d3c9f0006a57d800048009527..."} 
[2026-04-28 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd066c000012d3c9f0006a57d800048009527..."} 
[2026-04-28 00:55:39] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd066c000012d3c9f0006a57d800048009527..."} 
[2026-04-28 00:55:39] local.INFO: Packet analysis {"connection_id":56131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:55:39] local.INFO: Extracted packet for processing {"connection_id":56131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758947584,"raw_latitude":111508864,"longitude_deg":75.8947584,"latitude_deg":11.1508864,"altitude":72,"angle":149,"satellites":39,"speed":61,"hex_longitude":"2d3c9f00","hex_latitude":"06a57d80","is_valid_coordinates":true} 
[2026-04-28 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993377792001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281392298590208000,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362932536307609600,"note":"Value kept but may cause issues"} 
[2026-04-28 00:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777317888000,"timestamp_ms":1777317888000,"timestamp_seconds":1777317888,"priority":1,"record_length":96,"hex_timestamp":"0000019dd066c000"} 
[2026-04-28 00:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:55:39] 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-04-28 00:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993377792001,"66":27321,"131":206,"81":49664,"24":61,"16":281392298590208000,"45":4362932536307609600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-04-28 00:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993377792001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:55:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 00:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281392298590208000,"km_value":281392298590208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362932536307609600,"description":"Unknown IO ID 45"} 
[2026-04-28 00:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993377792001,"power":27321,"unknown_131":206,"unknown_81":49664,"ignition":61,"odometer":null,"unknown_45":4362932536307609600}} 
[2026-04-28 00:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":56131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:55:39] local.INFO: GPS data processed {"connection_id":56131,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:55:39] local.INFO: Acknowledgment sent {"connection_id":56131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:55:55] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:55] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:55] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:55:57] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:57] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:55:57] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:56:00] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:00] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:00] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:56:02] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd066d770012d3cb1c006a55ce00044009b2b..."} 
[2026-04-28 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd066d770012d3cb1c006a55ce00044009b2b..."} 
[2026-04-28 00:56:02] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd066d770012d3cb1c006a55ce00044009b2b..."} 
[2026-04-28 00:56:02] local.INFO: Packet analysis {"connection_id":56854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:56:02] local.INFO: Extracted packet for processing {"connection_id":56854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758952384,"raw_latitude":111500512,"longitude_deg":75.8952384,"latitude_deg":11.1500512,"altitude":68,"angle":155,"satellites":43,"speed":65,"hex_longitude":"2d3cb1c0","hex_latitude":"06a55ce0","is_valid_coordinates":true} 
[2026-04-28 00:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993379328001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281392766741643264,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368210192118939648,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777317894000,"timestamp_ms":1777317894000,"timestamp_seconds":1777317894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd066d770"} 
[2026-04-28 00:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993379328001,"66":27332,"131":206,"81":49664,"24":65,"16":281392766741643264,"45":4368210192118939648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-04-28 00:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993379328001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:56:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 00:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281392766741643264,"km_value":281392766741643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368210192118939648,"description":"Unknown IO ID 45"} 
[2026-04-28 00:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993379328001,"power":27332,"unknown_131":206,"unknown_81":49664,"ignition":65,"odometer":null,"unknown_45":4368210192118939648}} 
[2026-04-28 00:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":56854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:56:02] local.INFO: GPS data processed {"connection_id":56854,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:56:02] local.INFO: Acknowledgment sent {"connection_id":56854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:56:34] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd066e710012d3cba4006a54450004100a62c..."} 
[2026-04-28 00:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd066e710012d3cba4006a54450004100a62c..."} 
[2026-04-28 00:56:34] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd066e710012d3cba4006a54450004100a62c..."} 
[2026-04-28 00:56:34] local.INFO: Packet analysis {"connection_id":56854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:56:34] local.INFO: Extracted packet for processing {"connection_id":56854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd066"} 
[2026-04-28 00:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758954560,"raw_latitude":111494224,"longitude_deg":75.895456,"latitude_deg":11.1494224,"altitude":65,"angle":166,"satellites":44,"speed":67,"hex_longitude":"2d3cba40","hex_latitude":"06a54450","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993380864001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281393088864190464,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373487847930126336,"note":"Value kept but may cause issues"} 
[2026-04-28 00:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777317898000,"timestamp_ms":1777317898000,"timestamp_seconds":1777317898,"priority":1,"record_length":96,"hex_timestamp":"0000019dd066e710"} 
[2026-04-28 00:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 00:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00: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-04-28 00:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 00:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993380864001,"66":27321,"131":206,"81":49664,"24":67,"16":281393088864190464,"45":4373487847930126336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-04-28 00:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993380864001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:56:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 00:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281393088864190464,"km_value":281393088864190.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373487847930126336,"description":"Unknown IO ID 45"} 
[2026-04-28 00:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993380864001,"power":27321,"unknown_131":206,"unknown_81":49664,"ignition":67,"odometer":null,"unknown_45":4373487847930126336}} 
[2026-04-28 00:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":56854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:56:34] local.INFO: GPS data processed {"connection_id":56854,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:56:34] local.INFO: Acknowledgment sent {"connection_id":56854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:56:59] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:59] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:56:59] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:57:03] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:03] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:03] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:57:09] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.32","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 00:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 00:57:09] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 00:57:09] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:57:11] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd067e110012d3ca14006a3e8f0003f00b32b..."} 
[2026-04-28 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd067e110012d3ca14006a3e8f0003f00b32b..."} 
[2026-04-28 00:57:11] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd067ba00012d3ca04006a40e70003e00b32c..."} 
[2026-04-28 00:57:11] local.INFO: Packet analysis {"connection_id":56218,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd067"} 
[2026-04-28 00:57:11] local.INFO: Extracted packet for processing {"connection_id":56218,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd067"} 
[2026-04-28 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758947904,"raw_latitude":111414896,"longitude_deg":75.8947904,"latitude_deg":11.1414896,"altitude":62,"angle":179,"satellites":44,"speed":38,"hex_longitude":"2d3ca040","hex_latitude":"06a40e70","is_valid_coordinates":true} 
[2026-04-28 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993393408001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281397074593841152,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368491667073912832,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777317952000,"timestamp_ms":1777317952000,"timestamp_seconds":1777317952,"priority":1,"record_length":96,"hex_timestamp":"0000019dd067ba00"} 
[2026-04-28 00:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 00:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:11] 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-04-28 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993393408001,"66":27376,"133":206,"81":49664,"24":38,"16":281397074593841152,"45":4368491667073912832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993393408001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281397074593841152,"km_value":281397074593841.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368491667073912832,"description":"Unknown IO ID 45"} 
[2026-04-28 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993393408001,"power":27376,"unknown_133":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4368491667073912832}} 
[2026-04-28 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":56218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:57:11] local.INFO: GPS data processed {"connection_id":56218,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:57:11] local.INFO: Acknowledgment sent {"connection_id":56218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:57:11] local.INFO: Packet analysis {"connection_id":56218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd067"} 
[2026-04-28 00:57:11] local.INFO: Extracted packet for processing {"connection_id":56218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd067"} 
[2026-04-28 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758948160,"raw_latitude":111405296,"longitude_deg":75.894816,"latitude_deg":11.1405296,"altitude":63,"angle":179,"satellites":43,"speed":38,"hex_longitude":"2d3ca140","hex_latitude":"06a3e8f0","is_valid_coordinates":true} 
[2026-04-28 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993395712001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368562035815772160,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281397542745276416,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777317962000,"timestamp_ms":1777317962000,"timestamp_seconds":1777317962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd067e110"} 
[2026-04-28 00:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:57:11] 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-04-28 00:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:11] 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-04-28 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993395712001,"66":27365,"45":4368562035815772160,"81":49664,"24":38,"16":281397542745276416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993395712001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368562035815772160,"description":"Unknown IO ID 45"} 
[2026-04-28 00:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281397542745276416,"km_value":281397542745276.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993395712001,"power":27365,"unknown_45":4368562035815772160,"unknown_81":49664,"ignition":38,"odometer":null}} 
[2026-04-28 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":56218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:57:11] local.INFO: GPS data processed {"connection_id":56218,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:57:11] local.INFO: Acknowledgment sent {"connection_id":56218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:57:13] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0680820012d3ca08006a3c340003f00b624..."} 
[2026-04-28 00:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0680820012d3ca08006a3c340003f00b624..."} 
[2026-04-28 00:57:13] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0680820012d3ca08006a3c340003f00b624..."} 
[2026-04-28 00:57:13] local.INFO: Packet analysis {"connection_id":56218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:57:13] local.INFO: Extracted packet for processing {"connection_id":56218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758947968,"raw_latitude":111395648,"longitude_deg":75.8947968,"latitude_deg":11.1395648,"altitude":63,"angle":182,"satellites":36,"speed":39,"hex_longitude":"2d3ca080","hex_latitude":"06a3c340","is_valid_coordinates":true} 
[2026-04-28 00:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993398272001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368843510790025216,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281398010896711680,"note":"Value kept but may cause issues"} 
[2026-04-28 00:57:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777317972000,"timestamp_ms":1777317972000,"timestamp_seconds":1777317972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0680820"} 
[2026-04-28 00:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 00:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:57:13] 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-04-28 00:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993398272001,"66":27463,"45":4368843510790025216,"81":49664,"24":39,"16":281398010896711680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993398272001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368843510790025216,"description":"Unknown IO ID 45"} 
[2026-04-28 00:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281398010896711680,"km_value":281398010896711.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:57:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993398272001,"power":27463,"unknown_45":4368843510790025216,"unknown_81":49664,"ignition":39,"odometer":null}} 
[2026-04-28 00:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":56218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:57:13] local.INFO: GPS data processed {"connection_id":56218,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:57:13] local.INFO: Acknowledgment sent {"connection_id":56218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:57:55] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:55] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:57:55] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:58:00] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:00] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:00] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:58:01] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0682b48012d3c9e8006a39ea8004000b925..."} 
[2026-04-28 00:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0682b48012d3c9e8006a39ea8004000b925..."} 
[2026-04-28 00:58:01] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0682b48012d3c9e8006a39ea8004000b925..."} 
[2026-04-28 00:58:01] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:58:01] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:58:01] local.INFO: GPS Element Parsed {"raw_longitude":758947456,"raw_latitude":111386280,"longitude_deg":75.8947456,"latitude_deg":11.138628,"altitude":64,"angle":185,"satellites":37,"speed":43,"hex_longitude":"2d3c9e80","hex_latitude":"06a39ea8","is_valid_coordinates":true} 
[2026-04-28 00: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-04-28 00:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993400832001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368632404555022336,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281398466163245056,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777317981000,"timestamp_ms":1777317981000,"timestamp_seconds":1777317981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0682b48"} 
[2026-04-28 00:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 00:58:01] 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-04-28 00: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-04-28 00:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:58: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-04-28 00:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993400832001,"66":27321,"45":4368632404555022336,"81":49664,"24":43,"16":281398466163245056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993400832001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368632404555022336,"description":"Unknown IO ID 45"} 
[2026-04-28 00:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281398466163245056,"km_value":281398466163245.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:58:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993400832001,"power":27321,"unknown_45":4368632404555022336,"unknown_81":49664,"ignition":43,"odometer":null}} 
[2026-04-28 00:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:58:01] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:58:01] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:58:32] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0684a88012d3c9a4006a37af8004100bc2c..."} 
[2026-04-28 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0684a88012d3c9a4006a37af8004100bc2c..."} 
[2026-04-28 00:58:32] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0684a88012d3c9a4006a37af8004100bc2c..."} 
[2026-04-28 00:58:32] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:58:32] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":758946368,"raw_latitude":111377144,"longitude_deg":75.8946368,"latitude_deg":11.1377144,"altitude":65,"angle":188,"satellites":44,"speed":47,"hex_longitude":"2d3c9a40","hex_latitude":"06a37af8","is_valid_coordinates":true} 
[2026-04-28 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993403136001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368069454599202816,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281398912839843840,"note":"Value kept but may cause issues"} 
[2026-04-28 00:58:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777317989000,"timestamp_ms":1777317989000,"timestamp_seconds":1777317989,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0684a88"} 
[2026-04-28 00:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:58: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-04-28 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 00:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:58:32] 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-04-28 00:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993403136001,"66":27376,"45":4368069454599202816,"81":49664,"24":47,"16":281398912839843840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993403136001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368069454599202816,"description":"Unknown IO ID 45"} 
[2026-04-28 00:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281398912839843840,"km_value":281398912839843.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:58:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993403136001,"power":27376,"unknown_45":4368069454599202816,"unknown_81":49664,"ignition":47,"odometer":null}} 
[2026-04-28 00:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:58:32] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:58:32] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:58:51] local.INFO: TCP Data received {"connection_id":56133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:58:51] local.INFO: Processing buffer {"connection_id":56133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:58:51] local.INFO: IMEI packet received {"connection_id":56133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":56133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:58:55] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:55] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:58:55] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:59:00] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:00] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:00] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 00:59:01] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06869c8012d3c940006a35480004200bc2c..."} 
[2026-04-28 00:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06869c8012d3c940006a35480004200bc2c..."} 
[2026-04-28 00:59:01] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06869c8012d3c940006a35480004200bc2c..."} 
[2026-04-28 00:59:01] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:59:01] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758944768,"raw_latitude":111367296,"longitude_deg":75.8944768,"latitude_deg":11.1367296,"altitude":66,"angle":188,"satellites":44,"speed":50,"hex_longitude":"2d3c9400","hex_latitude":"06a35480","is_valid_coordinates":true} 
[2026-04-28 00:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993405184001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366873185945843712,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281399393876180992,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777317997000,"timestamp_ms":1777317997000,"timestamp_seconds":1777317997,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06869c8"} 
[2026-04-28 00:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 00:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 00:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 00:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:59: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-04-28 00:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993405184001,"66":26984,"45":4366873185945843712,"81":49664,"24":50,"16":281399393876180992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993405184001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366873185945843712,"description":"Unknown IO ID 45"} 
[2026-04-28 00:59:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281399393876180992,"km_value":281399393876181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:59:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993405184001,"power":26984,"unknown_45":4366873185945843712,"unknown_81":49664,"ignition":50,"odometer":null}} 
[2026-04-28 00:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:59:01] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:59:01] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:59:32] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0688908012d3c8e8006a32e20004400bc2e..."} 
[2026-04-28 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0688908012d3c8e8006a32e20004400bc2e..."} 
[2026-04-28 00:59:32] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0688908012d3c8e8006a32e20004400bc2e..."} 
[2026-04-28 00:59:32] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:59:32] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 00:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758943360,"raw_latitude":111357472,"longitude_deg":75.894336,"latitude_deg":11.1357472,"altitude":68,"angle":188,"satellites":46,"speed":47,"hex_longitude":"2d3c8e80","hex_latitude":"06a32e20","is_valid_coordinates":true} 
[2026-04-28 00:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 00:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993407232001,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365113967338881024,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281399874912518144,"note":"Value kept but may cause issues"} 
[2026-04-28 00:59:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 00:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777318005000,"timestamp_ms":1777318005000,"timestamp_seconds":1777318005,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0688908"} 
[2026-04-28 00:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 00:59: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-04-28 00:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 00:59:32] 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-04-28 00:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 00:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 00:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 00:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 00:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 00:59:32] 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-04-28 00:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 00:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 00:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993407232001,"66":27463,"45":4365113967338881024,"81":49664,"24":47,"16":281399874912518144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 00:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 00:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 00:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993407232001,"description":"Unknown IO ID 0"} 
[2026-04-28 00:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365113967338881024,"description":"Unknown IO ID 45"} 
[2026-04-28 00:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 00:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281399874912518144,"km_value":281399874912518.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 00:59:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993407232001,"power":27463,"unknown_45":4365113967338881024,"unknown_81":49664,"ignition":47,"odometer":null}} 
[2026-04-28 00:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 00:59:32] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 00:59:32] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 00:59:36] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:59:36] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 00:59:36] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 00:59:55] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:55] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 00:59:55] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 00:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:00:00] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:00] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:00] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:00:01] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd068a848012d3c890006a30bd0004700bc2c..."} 
[2026-04-28 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd068a848012d3c890006a30bd0004700bc2c..."} 
[2026-04-28 01:00:01] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd068a848012d3c890006a30bd0004700bc2c..."} 
[2026-04-28 01:00:01] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:00:01] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758941952,"raw_latitude":111348688,"longitude_deg":75.8941952,"latitude_deg":11.1348688,"altitude":71,"angle":188,"satellites":44,"speed":41,"hex_longitude":"2d3c8900","hex_latitude":"06a30bd0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993409280001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363565854964457472,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281400308704215040,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 01:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777318013000,"timestamp_ms":1777318013000,"timestamp_seconds":1777318013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd068a848"} 
[2026-04-28 01:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:00:01] 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-04-28 01: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-04-28 01:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993409280001,"66":27376,"45":4363565854964457472,"81":49664,"24":41,"16":281400308704215040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-04-28 01:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993409280001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363565854964457472,"description":"Unknown IO ID 45"} 
[2026-04-28 01:00:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-04-28 01:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281400308704215040,"km_value":281400308704215.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:00:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993409280001,"power":27376,"unknown_45":4363565854964457472,"unknown_81":49664,"ignition":41,"odometer":null}} 
[2026-04-28 01:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:00:01] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:00:01] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:00:32] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd068cf58012d3c83c006a2e6e0004a00bb2e..."} 
[2026-04-28 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd068cf58012d3c83c006a2e6e0004a00bb2e..."} 
[2026-04-28 01:00:32] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd068cf58012d3c83c006a2e6e0004a00bb2e..."} 
[2026-04-28 01:00:32] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:00:32] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758940608,"raw_latitude":111339232,"longitude_deg":75.8940608,"latitude_deg":11.1339232,"altitude":74,"angle":187,"satellites":46,"speed":35,"hex_longitude":"2d3c83c0","hex_latitude":"06a2e6e0","is_valid_coordinates":true} 
[2026-04-28 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993411328001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281400772560683008,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362017742590300160,"note":"Value kept but may cause issues"} 
[2026-04-28 01:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777318023000,"timestamp_ms":1777318023000,"timestamp_seconds":1777318023,"priority":1,"record_length":96,"hex_timestamp":"0000019dd068cf58"} 
[2026-04-28 01:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:00: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-04-28 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:00:32] 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-04-28 01:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993411328001,"66":27343,"221":206,"81":47616,"24":35,"16":281400772560683008,"45":4362017742590300160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-04-28 01:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993411328001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:00:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 01:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281400772560683008,"km_value":281400772560683.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362017742590300160,"description":"Unknown IO ID 45"} 
[2026-04-28 01:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993411328001,"power":27343,"unknown_221":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4362017742590300160}} 
[2026-04-28 01:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:00:32] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:00:32] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:00:55] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:55] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:00:55] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:01:00] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:00] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:00] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:01:11] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd068f668012d3c814006a2c390004b00b22d..."} 
[2026-04-28 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd068f668012d3c814006a2c390004b00b22d..."} 
[2026-04-28 01:01:11] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd068f668012d3c814006a2c390004b00b22d..."} 
[2026-04-28 01:01:11] local.INFO: Packet analysis {"connection_id":56221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:01:11] local.INFO: Extracted packet for processing {"connection_id":56221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd068"} 
[2026-04-28 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758939968,"raw_latitude":111330192,"longitude_deg":75.8939968,"latitude_deg":11.1330192,"altitude":75,"angle":178,"satellites":45,"speed":36,"hex_longitude":"2d3c8140","hex_latitude":"06a2c390","is_valid_coordinates":true} 
[2026-04-28 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993413888001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281401210647347200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360539998960148480,"note":"Value kept but may cause issues"} 
[2026-04-28 01:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777318033000,"timestamp_ms":1777318033000,"timestamp_seconds":1777318033,"priority":1,"record_length":96,"hex_timestamp":"0000019dd068f668"} 
[2026-04-28 01:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:01:11] 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-04-28 01:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:01:11] 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-04-28 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993413888001,"66":27463,"221":206,"81":47616,"24":36,"16":281401210647347200,"45":4360539998960148480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-04-28 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993413888001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 01:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281401210647347200,"km_value":281401210647347.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360539998960148480,"description":"Unknown IO ID 45"} 
[2026-04-28 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993413888001,"power":27463,"unknown_221":206,"unknown_81":47616,"ignition":36,"odometer":null,"unknown_45":4360539998960148480}} 
[2026-04-28 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":56221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:01:11] local.INFO: GPS data processed {"connection_id":56221,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:01:11] local.INFO: Acknowledgment sent {"connection_id":56221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:01:56] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:56] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:01:56] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:02:00] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:00] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:00] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:02:01] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:01] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:01] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:02:02] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06c4610012d3c9c8006a137a0003600c52d..."} 
[2026-04-28 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06c4610012d3c9c8006a137a0003600c52d..."} 
[2026-04-28 01:02:02] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06c4610012d3c9c8006a137a0003600c52d..."} 
[2026-04-28 01:02:02] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:02:02] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758946944,"raw_latitude":111228832,"longitude_deg":75.8946944,"latitude_deg":11.1228832,"altitude":54,"angle":197,"satellites":45,"speed":63,"hex_longitude":"2d3c9c80","hex_latitude":"06a137a0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993470464001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281406205694312448,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370321254374868992,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777318250000,"timestamp_ms":1777318250000,"timestamp_seconds":1777318250,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06c4610"} 
[2026-04-28 01:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993470464001,"66":27517,"107":206,"81":47616,"24":63,"16":281406205694312448,"45":4370321254374868992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993470464001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:02:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281406205694312448,"km_value":281406205694312.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370321254374868992,"description":"Unknown IO ID 45"} 
[2026-04-28 01:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993470464001,"power":27517,"unknown_107":206,"unknown_81":47616,"ignition":63,"odometer":null,"unknown_45":4370321254374868992}} 
[2026-04-28 01:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:02:02] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:02:02] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:02:33] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06c5d80012d3c90c006a112a0003200c52c..."} 
[2026-04-28 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06c5d80012d3c90c006a112a0003200c52c..."} 
[2026-04-28 01:02:33] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06c5d80012d3c90c006a112a0003200c52c..."} 
[2026-04-28 01:02:33] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:02:33] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758943936,"raw_latitude":111219360,"longitude_deg":75.8943936,"latitude_deg":11.121936,"altitude":50,"angle":197,"satellites":44,"speed":67,"hex_longitude":"2d3c90c0","hex_latitude":"06a112a0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993472000001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281406686730649600,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367506504605474816,"note":"Value kept but may cause issues"} 
[2026-04-28 01:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777318256000,"timestamp_ms":1777318256000,"timestamp_seconds":1777318256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06c5d80"} 
[2026-04-28 01:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 01:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:02:33] 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-04-28 01:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993472000001,"66":27517,"107":206,"81":47616,"24":67,"16":281406686730649600,"45":4367506504605474816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993472000001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:02:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281406686730649600,"km_value":281406686730649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367506504605474816,"description":"Unknown IO ID 45"} 
[2026-04-28 01:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993472000001,"power":27517,"unknown_107":206,"unknown_81":47616,"ignition":67,"odometer":null,"unknown_45":4367506504605474816}} 
[2026-04-28 01:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:02:33] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:02:33] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:02:55] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:55] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:55] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:02:57] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:57] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:02:57] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:03:00] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:00] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:00] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:03:02] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06c74f0012d3c840006a0eba8002f00c52c..."} 
[2026-04-28 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06c74f0012d3c840006a0eba8002f00c52c..."} 
[2026-04-28 01:03:02] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06c74f0012d3c840006a0eba8002f00c52c..."} 
[2026-04-28 01:03:02] local.INFO: Packet analysis {"connection_id":56223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:02] local.INFO: Extracted packet for processing {"connection_id":56223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758940672,"raw_latitude":111209384,"longitude_deg":75.8940672,"latitude_deg":11.1209384,"altitude":47,"angle":197,"satellites":44,"speed":71,"hex_longitude":"2d3c8400","hex_latitude":"06a0eba8","is_valid_coordinates":true} 
[2026-04-28 01:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993473536001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281407193536790528,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364199173626699776,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777318262000,"timestamp_ms":1777318262000,"timestamp_seconds":1777318262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06c74f0"} 
[2026-04-28 01:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 01:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993473536001,"66":27289,"107":206,"81":47616,"24":71,"16":281407193536790528,"45":4364199173626699776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993473536001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:03:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281407193536790528,"km_value":281407193536790.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364199173626699776,"description":"Unknown IO ID 45"} 
[2026-04-28 01:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993473536001,"power":27289,"unknown_107":206,"unknown_81":47616,"ignition":71,"odometer":null,"unknown_45":4364199173626699776}} 
[2026-04-28 01:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":56223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:03:02] local.INFO: GPS data processed {"connection_id":56223,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:03:02] local.INFO: Acknowledgment sent {"connection_id":56223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:03:05] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06c8878012d3c794006a0c9a0002d00c52b..."} 
[2026-04-28 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06c8878012d3c794006a0c9a0002d00c52b..."} 
[2026-04-28 01:03:05] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06c8878012d3c794006a0c9a0002d00c52b..."} 
[2026-04-28 01:03:05] local.INFO: Packet analysis {"connection_id":56223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:05] local.INFO: Extracted packet for processing {"connection_id":56223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758937920,"raw_latitude":111200672,"longitude_deg":75.893792,"latitude_deg":11.1200672,"altitude":45,"angle":197,"satellites":43,"speed":73,"hex_longitude":"2d3c7940","hex_latitude":"06a0c9a0","is_valid_coordinates":true} 
[2026-04-28 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993475072001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281407635918422016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360610367671085056,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777318267000,"timestamp_ms":1777318267000,"timestamp_seconds":1777318267,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06c8878"} 
[2026-04-28 01:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 01:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:05] 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-04-28 01:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993475072001,"66":27234,"107":206,"81":47616,"24":73,"16":281407635918422016,"45":4360610367671085056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993475072001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:03:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281407635918422016,"km_value":281407635918422.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360610367671085056,"description":"Unknown IO ID 45"} 
[2026-04-28 01:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993475072001,"power":27234,"unknown_107":206,"unknown_81":47616,"ignition":73,"odometer":null,"unknown_45":4360610367671085056}} 
[2026-04-28 01:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":56223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:03:05] local.INFO: GPS data processed {"connection_id":56223,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:03:05] local.INFO: Acknowledgment sent {"connection_id":56223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:03:38] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06c9c00012d3c6e4006a0a778002c00c52b..."} 
[2026-04-28 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06c9c00012d3c6e4006a0a778002c00c52b..."} 
[2026-04-28 01:03:38] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06c9c00012d3c6e4006a0a778002c00c52b..."} 
[2026-04-28 01:03:38] local.INFO: Packet analysis {"connection_id":56223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:38] local.INFO: Extracted packet for processing {"connection_id":56223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758935104,"raw_latitude":111191928,"longitude_deg":75.8935104,"latitude_deg":11.1191928,"altitude":44,"angle":197,"satellites":43,"speed":72,"hex_longitude":"2d3c6e40","hex_latitude":"06a0a778","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993476352001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281408082595020800,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357584511669215232,"note":"Value kept but may cause issues"} 
[2026-04-28 01:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777318272000,"timestamp_ms":1777318272000,"timestamp_seconds":1777318272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06c9c00"} 
[2026-04-28 01:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 01:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993476352001,"66":27376,"107":206,"81":47616,"24":72,"16":281408082595020800,"45":4357584511669215232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993476352001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:03:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281408082595020800,"km_value":281408082595020.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357584511669215232,"description":"Unknown IO ID 45"} 
[2026-04-28 01:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993476352001,"power":27376,"unknown_107":206,"unknown_81":47616,"ignition":72,"odometer":null,"unknown_45":4357584511669215232}} 
[2026-04-28 01:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":56223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:03:38] local.INFO: GPS data processed {"connection_id":56223,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:03:38] local.INFO: Acknowledgment sent {"connection_id":56223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:03:55] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:55] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:03:55] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:04:18] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:04:18] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:04:18] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:04:27] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06cb370012d3c61c006a080a8002e00c52b..."} 
[2026-04-28 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06cb370012d3c61c006a080a8002e00c52b..."} 
[2026-04-28 01:04:27] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 01:04:27] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:04:28] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06eaf40012d3bf100069efa40004300a62d..."} 
[2026-04-28 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06eaf40012d3bf100069efa40004300a62d..."} 
[2026-04-28 01:04:28] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd06cb370012d3c61c006a080a8002e00c52b..."} 
[2026-04-28 01:04:28] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:04:28] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06c"} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758931904,"raw_latitude":111181992,"longitude_deg":75.8931904,"latitude_deg":11.1181992,"altitude":46,"angle":197,"satellites":43,"speed":65,"hex_longitude":"2d3c61c0","hex_latitude":"06a080a8","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993477632001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281408585106194432,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4354488286923159552,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777318278000,"timestamp_ms":1777318278000,"timestamp_seconds":1777318278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06cb370"} 
[2026-04-28 01:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993477632001,"66":27115,"107":206,"81":47616,"24":65,"16":281408585106194432,"45":4354488286923159552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993477632001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281408585106194432,"km_value":281408585106194.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4354488286923159552,"description":"Unknown IO ID 45"} 
[2026-04-28 01:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993477632001,"power":27115,"unknown_107":206,"unknown_81":47616,"ignition":65,"odometer":null,"unknown_45":4354488286923159552}} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:04:28] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:04:28] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:04:28] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:04:28] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758903040,"raw_latitude":111082048,"longitude_deg":75.890304,"latitude_deg":11.1082048,"altitude":67,"angle":166,"satellites":45,"speed":47,"hex_longitude":"2d3bf100","hex_latitude":"069efa40","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993510400001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281413790606557184,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4317474327459876864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] 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-04-28 01:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777318408000,"timestamp_ms":1777318408000,"timestamp_seconds":1777318408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06eaf40"} 
[2026-04-28 01:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 01:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993510400001,"66":27365,"96":206,"81":47616,"24":47,"16":281413790606557184,"45":4317474327459876864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993510400001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281413790606557184,"km_value":281413790606557.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4317474327459876864,"description":"Unknown IO ID 45"} 
[2026-04-28 01:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993510400001,"power":27365,"unknown_96":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4317474327459876864}} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:04:28] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:04:28] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:04:28] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06eca98012d3bfb80069ed8f00042009e2e..."} 
[2026-04-28 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06eca98012d3bfb80069ed8f00042009e2e..."} 
[2026-04-28 01:04:28] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06eca98012d3bfb80069ed8f00042009e2e..."} 
[2026-04-28 01:04:28] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:04:28] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758905728,"raw_latitude":111073520,"longitude_deg":75.8905728,"latitude_deg":11.107352,"altitude":66,"angle":158,"satellites":46,"speed":53,"hex_longitude":"2d3bfb80","hex_latitude":"069ed8f0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993512448001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281414220103286784,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4319233546062020608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:04:28] 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-04-28 01:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777318415000,"timestamp_ms":1777318415000,"timestamp_seconds":1777318415,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06eca98"} 
[2026-04-28 01:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993512448001,"66":27343,"96":206,"81":47616,"24":53,"16":281414220103286784,"45":4319233546062020608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-04-28 01:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993512448001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281414220103286784,"km_value":281414220103286.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4319233546062020608,"description":"Unknown IO ID 45"} 
[2026-04-28 01:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993512448001,"power":27343,"unknown_96":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4319233546062020608}} 
[2026-04-28 01:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:04:28] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:04:28] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:05:00] local.INFO: TCP Data received {"connection_id":55975,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:00] local.INFO: Processing buffer {"connection_id":55975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:00] local.INFO: IMEI packet received {"connection_id":55975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":55975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:05:02] local.INFO: TCP Data received {"connection_id":55975,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:02] local.INFO: Processing buffer {"connection_id":55975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:02] local.INFO: IMEI packet received {"connection_id":55975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":55975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:05:03] local.INFO: TCP Data received {"connection_id":55975,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06ee5f0012d3c0bc0069eb5f8004100992e..."} 
[2026-04-28 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06ee5f0012d3c0bc0069eb5f8004100992e..."} 
[2026-04-28 01:05:03] local.INFO: Processing buffer {"connection_id":55975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06ee5f0012d3c0bc0069eb5f8004100992e..."} 
[2026-04-28 01:05:03] local.INFO: Packet analysis {"connection_id":55975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:05:03] local.INFO: Extracted packet for processing {"connection_id":55975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06e"} 
[2026-04-28 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758909888,"raw_latitude":111064568,"longitude_deg":75.8909888,"latitude_deg":11.1064568,"altitude":65,"angle":153,"satellites":46,"speed":56,"hex_longitude":"2d3c0bc0","hex_latitude":"069eb5f8","is_valid_coordinates":true} 
[2026-04-28 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993514240001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281414701139623936,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4322189033315299328,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:03] 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-04-28 01:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777318422000,"timestamp_ms":1777318422000,"timestamp_seconds":1777318422,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06ee5f0"} 
[2026-04-28 01:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":55975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:03] 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-04-28 01:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993514240001,"66":27332,"96":206,"81":47616,"24":56,"16":281414701139623936,"45":4322189033315299328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-04-28 01:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993514240001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:05:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 01:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281414701139623936,"km_value":281414701139623.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4322189033315299328,"description":"Unknown IO ID 45"} 
[2026-04-28 01:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993514240001,"power":27332,"unknown_96":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4322189033315299328}} 
[2026-04-28 01:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":55975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:05:03] local.INFO: GPS data processed {"connection_id":55975,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:05:03] local.INFO: Acknowledgment sent {"connection_id":55975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:05:05] local.INFO: TCP Data received {"connection_id":55975,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06f0148012d3c1e40069e92b8003f00982d..."} 
[2026-04-28 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06f0148012d3c1e40069e92b8003f00982d..."} 
[2026-04-28 01:05:05] local.INFO: Processing buffer {"connection_id":55975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06f0148012d3c1e40069e92b8003f00982d..."} 
[2026-04-28 01:05:05] local.INFO: Packet analysis {"connection_id":55975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06f"} 
[2026-04-28 01:05:05] local.INFO: Extracted packet for processing {"connection_id":55975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06f"} 
[2026-04-28 01:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758914624,"raw_latitude":111055544,"longitude_deg":75.8914624,"latitude_deg":11.1055544,"altitude":63,"angle":152,"satellites":45,"speed":58,"hex_longitude":"2d3c1e40","hex_latitude":"069e92b8","is_valid_coordinates":true} 
[2026-04-28 01:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993516032001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281415190765895680,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4326763001684555776,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:05] 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-04-28 01:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777318429000,"timestamp_ms":1777318429000,"timestamp_seconds":1777318429,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06f0148"} 
[2026-04-28 01:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 01:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:05] 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-04-28 01:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993516032001,"66":27463,"96":206,"81":47616,"24":58,"16":281415190765895680,"45":4326763001684555776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-04-28 01:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993516032001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:05:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 01:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281415190765895680,"km_value":281415190765895.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4326763001684555776,"description":"Unknown IO ID 45"} 
[2026-04-28 01:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993516032001,"power":27463,"unknown_96":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4326763001684555776}} 
[2026-04-28 01:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":55975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:05:05] local.INFO: GPS data processed {"connection_id":55975,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:05:05] local.INFO: Acknowledgment sent {"connection_id":55975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:05:06] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:06] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:06] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:05:36] local.INFO: TCP Data received {"connection_id":56224,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:36] local.INFO: Processing buffer {"connection_id":56224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:05:36] local.INFO: IMEI packet received {"connection_id":56224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":56224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:05:37] local.INFO: TCP Data received {"connection_id":55975,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd06f1ca0012d3c3100069e6f40003f00982d..."} 
[2026-04-28 01:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd06f1ca0012d3c3100069e6f40003f00982d..."} 
[2026-04-28 01:05:37] local.INFO: Processing buffer {"connection_id":55975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd06f1ca0012d3c3100069e6f40003f00982d..."} 
[2026-04-28 01:05:37] local.INFO: Packet analysis {"connection_id":55975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd06f"} 
[2026-04-28 01:05:37] local.INFO: Extracted packet for processing {"connection_id":55975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd06f"} 
[2026-04-28 01:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758919424,"raw_latitude":111046464,"longitude_deg":75.8919424,"latitude_deg":11.1046464,"altitude":63,"angle":152,"satellites":45,"speed":57,"hex_longitude":"2d3c3100","hex_latitude":"069e6f40","is_valid_coordinates":true} 
[2026-04-28 01:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993517824001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281415688982102016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4331970288751392768,"note":"Value kept but may cause issues"} 
[2026-04-28 01:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777318436000,"timestamp_ms":1777318436000,"timestamp_seconds":1777318436,"priority":1,"record_length":96,"hex_timestamp":"0000019dd06f1ca0"} 
[2026-04-28 01:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:05:37] 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-04-28 01:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:05:37] 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-04-28 01:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993517824001,"66":27484,"35":206,"81":47616,"24":57,"16":281415688982102016,"45":4331970288751392768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-04-28 01:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993517824001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:05:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-28 01:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281415688982102016,"km_value":281415688982102.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4331970288751392768,"description":"Unknown IO ID 45"} 
[2026-04-28 01:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993517824001,"power":27484,"unknown_35":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4331970288751392768}} 
[2026-04-28 01:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":55975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:05:37] local.INFO: GPS data processed {"connection_id":55975,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:05:37] local.INFO: Acknowledgment sent {"connection_id":55975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:05:55] local.INFO: TCP Data received {"connection_id":55976,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:55] local.INFO: Processing buffer {"connection_id":55976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:05:55] local.INFO: IMEI packet received {"connection_id":55976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":55976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:06:12] local.INFO: TCP Data received {"connection_id":55976,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:12] local.INFO: Processing buffer {"connection_id":55976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:12] local.INFO: IMEI packet received {"connection_id":55976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":55976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:06:14] local.INFO: TCP Data received {"connection_id":55976,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0700700012d3cf940069d5f58003700a52c..."} 
[2026-04-28 01:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0700700012d3cf940069d5f58003700a52c..."} 
[2026-04-28 01:06:14] local.INFO: Processing buffer {"connection_id":55976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0700700012d3cf940069d5f58003700a52c..."} 
[2026-04-28 01:06:14] local.INFO: Packet analysis {"connection_id":55976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:06:14] local.INFO: Extracted packet for processing {"connection_id":55976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758970688,"raw_latitude":110976856,"longitude_deg":75.8970688,"latitude_deg":11.0976856,"altitude":55,"angle":165,"satellites":44,"speed":47,"hex_longitude":"2d3cf940","hex_latitude":"069d5f58","is_valid_coordinates":true} 
[2026-04-28 01:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993533696001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281419928114823168,"note":"Value kept but may cause issues"} 
[2026-04-28 01:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4391220771330342912,"note":"Value kept but may cause issues"} 
[2026-04-28 01:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777318496000,"timestamp_ms":1777318496000,"timestamp_seconds":1777318496,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0700700"} 
[2026-04-28 01:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:06:14] 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-04-28 01:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":55976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":55976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":55976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993533696001,"66":27517,"34":206,"81":47616,"24":47,"16":281419928114823168,"45":4391220771330342912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-04-28 01:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993533696001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:06:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-28 01:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281419928114823168,"km_value":281419928114823.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4391220771330342912,"description":"Unknown IO ID 45"} 
[2026-04-28 01:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993533696001,"power":27517,"unknown_34":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4391220771330342912}} 
[2026-04-28 01:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":55976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:06:14] local.INFO: GPS data processed {"connection_id":55976,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:06:14] local.INFO: Acknowledgment sent {"connection_id":55976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:06:55] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:55] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:55] local.INFO: IMEI packet received {"connection_id":56226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":56226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:06:59] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:59] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:06:59] local.INFO: IMEI packet received {"connection_id":56226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:07:00] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:07:00] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:07:00] local.INFO: IMEI packet received {"connection_id":56226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":56226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:07:01] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0702640012d3d00c0069d3cf8003600a72d..."} 
[2026-04-28 01:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0702640012d3d00c0069d3cf8003600a72d..."} 
[2026-04-28 01:07:01] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0702640012d3d00c0069d3cf8003600a72d..."} 
[2026-04-28 01:07:01] local.INFO: Packet analysis {"connection_id":56226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:07:01] local.INFO: Extracted packet for processing {"connection_id":56226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:07:01] local.INFO: GPS Element Parsed {"raw_longitude":758972608,"raw_latitude":110968056,"longitude_deg":75.8972608,"latitude_deg":11.0968056,"altitude":54,"angle":167,"satellites":45,"speed":42,"hex_longitude":"2d3d00c0","hex_latitude":"069d3cf8","is_valid_coordinates":true} 
[2026-04-28 01:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993534976001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281420361906520064,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4393613308630882304,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777318504000,"timestamp_ms":1777318504000,"timestamp_seconds":1777318504,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0702640"} 
[2026-04-28 01:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 01:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07: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-04-28 01:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993534976001,"66":27484,"34":206,"81":47616,"24":42,"16":281420361906520064,"45":4393613308630882304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-04-28 01:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993534976001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:07:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-28 01:07:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281420361906520064,"km_value":281420361906520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4393613308630882304,"description":"Unknown IO ID 45"} 
[2026-04-28 01:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993534976001,"power":27484,"unknown_34":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4393613308630882304}} 
[2026-04-28 01:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":56226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:07:01] local.INFO: GPS data processed {"connection_id":56226,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:07:01] local.INFO: Acknowledgment sent {"connection_id":56226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:07:08] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0704968012d3d0800069d19e8003500a82d..."} 
[2026-04-28 01:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0704968012d3d0800069d19e8003500a82d..."} 
[2026-04-28 01:07:08] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0704968012d3d0800069d19e8003500a82d..."} 
[2026-04-28 01:07:08] local.INFO: Packet analysis {"connection_id":56226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:07:08] local.INFO: Extracted packet for processing {"connection_id":56226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd070"} 
[2026-04-28 01:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758974464,"raw_latitude":110959080,"longitude_deg":75.8974464,"latitude_deg":11.095908,"altitude":53,"angle":168,"satellites":45,"speed":39,"hex_longitude":"2d3d0800","hex_latitude":"069d19e8","is_valid_coordinates":true} 
[2026-04-28 01:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993537024001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281420808583118848,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4395724370953959424,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777318513000,"timestamp_ms":1777318513000,"timestamp_seconds":1777318513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0704968"} 
[2026-04-28 01:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07:08] 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-04-28 01:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993537024001,"66":27484,"34":206,"81":47616,"24":39,"16":281420808583118848,"45":4395724370953959424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-04-28 01:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993537024001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:07:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-28 01:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281420808583118848,"km_value":281420808583118.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4395724370953959424,"description":"Unknown IO ID 45"} 
[2026-04-28 01:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993537024001,"power":27484,"unknown_34":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4395724370953959424}} 
[2026-04-28 01:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":56226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:07:08] local.INFO: GPS data processed {"connection_id":56226,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:07:08] local.INFO: Acknowledgment sent {"connection_id":56226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:07:40] local.INFO: TCP Data received {"connection_id":56226,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd071ace0012d3d9640069b5868002800b22a..."} 
[2026-04-28 01:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd071ace0012d3d9640069b5868002800b22a..."} 
[2026-04-28 01:07:40] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd071ace0012d3d9640069b5868002800b22a..."} 
[2026-04-28 01:07:40] local.INFO: Packet analysis {"connection_id":56226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:07:40] local.INFO: Extracted packet for processing {"connection_id":56226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:07:40] local.INFO: GPS Element Parsed {"raw_longitude":759010880,"raw_latitude":110844008,"longitude_deg":75.901088,"latitude_deg":11.0844008,"altitude":40,"angle":178,"satellites":42,"speed":49,"hex_longitude":"2d3d9640","hex_latitude":"069b5868","is_valid_coordinates":true} 
[2026-04-28 01:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993560576001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281426701278248960,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437241929989550080,"note":"Value kept but may cause issues"} 
[2026-04-28 01:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777318604000,"timestamp_ms":1777318604000,"timestamp_seconds":1777318604,"priority":1,"record_length":96,"hex_timestamp":"0000019dd071ace0"} 
[2026-04-28 01:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 01:07:40] 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-04-28 01:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:07:40] 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-04-28 01:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993560576001,"66":27321,"225":206,"81":47616,"24":49,"16":281426701278248960,"45":4437241929989550080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-04-28 01:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993560576001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:07:40] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 01:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281426701278248960,"km_value":281426701278248.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437241929989550080,"description":"Unknown IO ID 45"} 
[2026-04-28 01:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993560576001,"power":27321,"unknown_225":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4437241929989550080}} 
[2026-04-28 01:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":56226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:07:40] local.INFO: GPS data processed {"connection_id":56226,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:07:40] local.INFO: Acknowledgment sent {"connection_id":56226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:08:00] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:08:00] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:00] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:08:09] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:09] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:08:09] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:08:10] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd071cc20012d3d9980069b3298002700aa2b..."} 
[2026-04-28 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd071cc20012d3d9980069b3298002700aa2b..."} 
[2026-04-28 01:08:10] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd071cc20012d3d9980069b3298002700aa2b..."} 
[2026-04-28 01:08:10] local.INFO: Packet analysis {"connection_id":56863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:08:10] local.INFO: Extracted packet for processing {"connection_id":56863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":759011712,"raw_latitude":110834328,"longitude_deg":75.9011712,"latitude_deg":11.0834328,"altitude":39,"angle":170,"satellites":43,"speed":47,"hex_longitude":"2d3d9980","hex_latitude":"069b3298","is_valid_coordinates":true} 
[2026-04-28 01:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281427173724651520,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437804879940446208,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777318612000,"timestamp_ms":1777318612000,"timestamp_seconds":1777318612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd071cc20"} 
[2026-04-28 01:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:08:10] 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-04-28 01:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:08:10] 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-04-28 01:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993562624001,"66":27137,"225":206,"81":47616,"24":47,"16":281427173724651520,"45":4437804879940446208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-04-28 01:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:08:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 01:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281427173724651520,"km_value":281427173724651.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437804879940446208,"description":"Unknown IO ID 45"} 
[2026-04-28 01:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993562624001,"power":27137,"unknown_225":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4437804879940446208}} 
[2026-04-28 01:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":56863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:08:10] local.INFO: GPS data processed {"connection_id":56863,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:08:10] local.INFO: Acknowledgment sent {"connection_id":56863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:08:11] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd071eb60012d3da380069b0dd8002b009f2c..."} 
[2026-04-28 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd071eb60012d3da380069b0dd8002b009f2c..."} 
[2026-04-28 01:08:11] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd071eb60012d3da380069b0dd8002b009f2c..."} 
[2026-04-28 01:08:11] local.INFO: Packet analysis {"connection_id":56863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:08:11] local.INFO: Extracted packet for processing {"connection_id":56863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd071"} 
[2026-04-28 01:08:11] local.INFO: GPS Element Parsed {"raw_longitude":759014272,"raw_latitude":110824920,"longitude_deg":75.9014272,"latitude_deg":11.082492,"altitude":43,"angle":159,"satellites":44,"speed":48,"hex_longitude":"2d3da380","hex_latitude":"069b0dd8","is_valid_coordinates":true} 
[2026-04-28 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993564672001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281427646171054080,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4438719673612277760,"note":"Value kept but may cause issues"} 
[2026-04-28 01:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777318620000,"timestamp_ms":1777318620000,"timestamp_seconds":1777318620,"priority":1,"record_length":96,"hex_timestamp":"0000019dd071eb60"} 
[2026-04-28 01:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-04-28 01:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:08:11] 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-04-28 01:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993564672001,"66":27517,"241":206,"81":47616,"24":48,"16":281427646171054080,"45":4438719673612277760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-04-28 01:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993564672001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:08:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-04-28 01:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281427646171054080,"km_value":281427646171054.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4438719673612277760,"description":"Unknown IO ID 45"} 
[2026-04-28 01:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993564672001,"power":27517,"unknown_241":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4438719673612277760}} 
[2026-04-28 01:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":56863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:08:11] local.INFO: GPS data processed {"connection_id":56863,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:08:11] local.INFO: Acknowledgment sent {"connection_id":56863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:09:00] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:00] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:00] local.INFO: IMEI packet received {"connection_id":56228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":56228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:09:03] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:03] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:03] local.INFO: IMEI packet received {"connection_id":56228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":56228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:09:06] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:06] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:06] local.INFO: IMEI packet received {"connection_id":56228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":56228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:09:07] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd072e948012d3debc006999880001500ad2e..."} 
[2026-04-28 01:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd072e948012d3debc006999880001500ad2e..."} 
[2026-04-28 01:09:07] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd072e948012d3debc006999880001500ad2e..."} 
[2026-04-28 01:09:07] local.INFO: Packet analysis {"connection_id":56228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd072"} 
[2026-04-28 01:09:07] local.INFO: Extracted packet for processing {"connection_id":56228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd072"} 
[2026-04-28 01:09:07] local.INFO: GPS Element Parsed {"raw_longitude":759032768,"raw_latitude":110729344,"longitude_deg":75.9032768,"latitude_deg":11.0729344,"altitude":21,"angle":173,"satellites":46,"speed":68,"hex_longitude":"2d3debc0","hex_latitude":"06999880","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993581824001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281432443649523712,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461589515445794816,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777318685000,"timestamp_ms":1777318685000,"timestamp_seconds":1777318685,"priority":1,"record_length":96,"hex_timestamp":"0000019dd072e948"} 
[2026-04-28 01:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:09:07] 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-04-28 01:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993581824001,"66":27539,"242":206,"81":47616,"24":68,"16":281432443649523712,"45":4461589515445794816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-04-28 01:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993581824001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:09:07] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-28 01:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281432443649523712,"km_value":281432443649523.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461589515445794816,"description":"Unknown IO ID 45"} 
[2026-04-28 01:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993581824001,"power":27539,"unknown_242":206,"unknown_81":47616,"ignition":68,"odometer":null,"unknown_45":4461589515445794816}} 
[2026-04-28 01:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":56228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:09:07] local.INFO: GPS data processed {"connection_id":56228,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:09:07] local.INFO: Acknowledgment sent {"connection_id":56228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:09:09] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd072f500012d3def80069984f0001400a22d..."} 
[2026-04-28 01:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd072f500012d3def80069984f0001400a22d..."} 
[2026-04-28 01:09:09] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd072f500012d3def80069984f0001400a22d..."} 
[2026-04-28 01:09:09] local.INFO: Packet analysis {"connection_id":56228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd072"} 
[2026-04-28 01:09:09] local.INFO: Extracted packet for processing {"connection_id":56228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd072"} 
[2026-04-28 01:09:09] local.INFO: GPS Element Parsed {"raw_longitude":759033728,"raw_latitude":110724336,"longitude_deg":75.9033728,"latitude_deg":11.0724336,"altitude":20,"angle":162,"satellites":45,"speed":67,"hex_longitude":"2d3def80","hex_latitude":"069984f0","is_valid_coordinates":true} 
[2026-04-28 01:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993583360001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281432688462659584,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461870990419853312,"note":"Value kept but may cause issues"} 
[2026-04-28 01:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777318688000,"timestamp_ms":1777318688000,"timestamp_seconds":1777318688,"priority":1,"record_length":96,"hex_timestamp":"0000019dd072f500"} 
[2026-04-28 01:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 01:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:09:09] 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-04-28 01:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993583360001,"66":27397,"242":206,"81":47616,"24":67,"16":281432688462659584,"45":4461870990419853312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-04-28 01:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993583360001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:09:09] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-28 01:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281432688462659584,"km_value":281432688462659.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461870990419853312,"description":"Unknown IO ID 45"} 
[2026-04-28 01:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993583360001,"power":27397,"unknown_242":206,"unknown_81":47616,"ignition":67,"odometer":null,"unknown_45":4461870990419853312}} 
[2026-04-28 01:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":56228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:09:09] local.INFO: GPS data processed {"connection_id":56228,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:09:09] local.INFO: Acknowledgment sent {"connection_id":56228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:09:55] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:55] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:09:55] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:09:55] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:09:55] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:09:55] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:10:00] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:10:00] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:10:00] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:10:01] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd073df60012d3f23c006992720001c00532c..."} 
[2026-04-28 01:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd073df60012d3f23c006992720001c00532c..."} 
[2026-04-28 01:10:01] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 01:10:01] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:10:04] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0740288012d3f490006992f90001b00472e..."} 
[2026-04-28 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0740288012d3f490006992f90001b00472e..."} 
[2026-04-28 01:10:04] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd073df60012d3f23c006992720001c00532c..."} 
[2026-04-28 01:10:04] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd073"} 
[2026-04-28 01:10:04] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd073"} 
[2026-04-28 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":759112640,"raw_latitude":110700320,"longitude_deg":75.911264,"latitude_deg":11.070032,"altitude":28,"angle":83,"satellites":44,"speed":42,"hex_longitude":"2d3f23c0","hex_latitude":"06992720","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993597440001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281436828811132928,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4540050665193756672,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777318748000,"timestamp_ms":1777318748000,"timestamp_seconds":1777318748,"priority":1,"record_length":96,"hex_timestamp":"0000019dd073df60"} 
[2026-04-28 01:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:10: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-04-28 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10: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-04-28 01:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993597440001,"66":27332,"232":206,"81":47616,"24":42,"16":281436828811132928,"45":4540050665193756672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993597440001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281436828811132928,"km_value":281436828811132.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4540050665193756672,"description":"Unknown IO ID 45"} 
[2026-04-28 01:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993597440001,"power":27332,"unknown_232":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4540050665193756672}} 
[2026-04-28 01:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:10:04] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:10:04] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:10:04] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:10:04] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":759122176,"raw_latitude":110702480,"longitude_deg":75.9122176,"latitude_deg":11.070248,"altitude":27,"angle":71,"satellites":46,"speed":42,"hex_longitude":"2d3f4900","hex_latitude":"06992f90","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993599488001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281437292667600896,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4549691183146147840,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777318757000,"timestamp_ms":1777318757000,"timestamp_seconds":1777318757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0740288"} 
[2026-04-28 01:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:10: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-04-28 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 01:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10: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-04-28 01:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993599488001,"66":27397,"232":206,"81":47616,"24":42,"16":281437292667600896,"45":4549691183146147840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993599488001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281437292667600896,"km_value":281437292667600.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4549691183146147840,"description":"Unknown IO ID 45"} 
[2026-04-28 01:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993599488001,"power":27397,"unknown_232":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4549691183146147840}} 
[2026-04-28 01:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:10:04] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:10:04] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:10:35] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0740288012d3f490006992f90001b00472e..."} 
[2026-04-28 01:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0740288012d3f490006992f90001b00472e..."} 
[2026-04-28 01:10:35] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0740288012d3f490006992f90001b00472e..."} 
[2026-04-28 01:10:35] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:10:35] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:10:35] local.INFO: GPS Element Parsed {"raw_longitude":759122176,"raw_latitude":110702480,"longitude_deg":75.9122176,"latitude_deg":11.070248,"altitude":27,"angle":71,"satellites":46,"speed":42,"hex_longitude":"2d3f4900","hex_latitude":"06992f90","is_valid_coordinates":true} 
[2026-04-28 01:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993601792001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281437292667600896,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4560176126029172736,"note":"Value kept but may cause issues"} 
[2026-04-28 01:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777318757000,"timestamp_ms":1777318757000,"timestamp_seconds":1777318757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0740288"} 
[2026-04-28 01:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 01:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:10:35] 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-04-28 01:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993601792001,"66":27397,"232":206,"81":47616,"24":42,"16":281437292667600896,"45":4560176126029172736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993601792001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:10:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281437292667600896,"km_value":281437292667600.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4560176126029172736,"description":"Unknown IO ID 45"} 
[2026-04-28 01:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993601792001,"power":27397,"unknown_232":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4560176126029172736}} 
[2026-04-28 01:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:10:36] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:10:36] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:10:56] local.INFO: TCP Data received {"connection_id":56135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:10:56] local.INFO: Processing buffer {"connection_id":56135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:10:56] local.INFO: IMEI packet received {"connection_id":56135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":56135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:11:00] local.INFO: TCP Data received {"connection_id":56136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:00] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:00] local.INFO: IMEI packet received {"connection_id":56136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":56136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:11:04] local.INFO: TCP Data received {"connection_id":56136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:04] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:04] local.INFO: IMEI packet received {"connection_id":56136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":56136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:11:04] local.INFO: TCP Data received {"connection_id":56136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07425b0012d3f6d4006993e08001b00442e..."} 
[2026-04-28 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07425b0012d3f6d4006993e08001b00442e..."} 
[2026-04-28 01:11:04] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07425b0012d3f6d4006993e08001b00442e..."} 
[2026-04-28 01:11:04] local.INFO: Packet analysis {"connection_id":56136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:04] local.INFO: Extracted packet for processing {"connection_id":56136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:04] local.INFO: GPS Element Parsed {"raw_longitude":759131456,"raw_latitude":110706184,"longitude_deg":75.9131456,"latitude_deg":11.0706184,"altitude":27,"angle":68,"satellites":46,"speed":45,"hex_longitude":"2d3f6d40","hex_latitude":"06993e08","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993601792001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281437773703938048,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4560176126029172736,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777318766000,"timestamp_ms":1777318766000,"timestamp_seconds":1777318766,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07425b0"} 
[2026-04-28 01:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 01:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01: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-04-28 01:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993601792001,"66":27484,"232":206,"81":47616,"24":45,"16":281437773703938048,"45":4560176126029172736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993601792001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:11:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281437773703938048,"km_value":281437773703938.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4560176126029172736,"description":"Unknown IO ID 45"} 
[2026-04-28 01:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993601792001,"power":27484,"unknown_232":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4560176126029172736}} 
[2026-04-28 01:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":56136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:11:04] local.INFO: GPS data processed {"connection_id":56136,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:11:04] local.INFO: Acknowledgment sent {"connection_id":56136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:11:06] local.INFO: TCP Data received {"connection_id":56136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07444f0012d3f904006994c30001a00432d..."} 
[2026-04-28 01:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07444f0012d3f904006994c30001a00432d..."} 
[2026-04-28 01:11:06] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07444f0012d3f904006994c30001a00432d..."} 
[2026-04-28 01:11:06] local.INFO: Packet analysis {"connection_id":56136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:06] local.INFO: Extracted packet for processing {"connection_id":56136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":759140416,"raw_latitude":110709808,"longitude_deg":75.9140416,"latitude_deg":11.0709808,"altitude":26,"angle":67,"satellites":45,"speed":49,"hex_longitude":"2d3f9040","hex_latitude":"06994c30","is_valid_coordinates":true} 
[2026-04-28 01:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993604096001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281438233265438720,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4570379593935882240,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777318774000,"timestamp_ms":1777318774000,"timestamp_seconds":1777318774,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07444f0"} 
[2026-04-28 01:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:11:06] 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-04-28 01:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993604096001,"66":27343,"232":206,"81":47616,"24":49,"16":281438233265438720,"45":4570379593935882240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993604096001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:11:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281438233265438720,"km_value":281438233265438.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4570379593935882240,"description":"Unknown IO ID 45"} 
[2026-04-28 01:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993604096001,"power":27343,"unknown_232":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4570379593935882240}} 
[2026-04-28 01:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":56136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:11:06] local.INFO: GPS data processed {"connection_id":56136,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:11:06] local.INFO: Acknowledgment sent {"connection_id":56136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:11:36] local.INFO: TCP Data received {"connection_id":55978,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:11:36] local.INFO: Processing buffer {"connection_id":55978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:11:36] local.INFO: IMEI packet received {"connection_id":55978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":55978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:11:38] local.INFO: TCP Data received {"connection_id":56136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0746048012d3fb180069958580019004a2c..."} 
[2026-04-28 01:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0746048012d3fb180069958580019004a2c..."} 
[2026-04-28 01:11:38] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0746048012d3fb180069958580019004a2c..."} 
[2026-04-28 01:11:38] local.INFO: Packet analysis {"connection_id":56136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:38] local.INFO: Extracted packet for processing {"connection_id":56136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":759148928,"raw_latitude":110712920,"longitude_deg":75.9148928,"latitude_deg":11.071292,"altitude":25,"angle":74,"satellites":44,"speed":53,"hex_longitude":"2d3fb180","hex_latitude":"06995858","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993606144001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281438667057135616,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4580231218121682944,"note":"Value kept but may cause issues"} 
[2026-04-28 01:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777318781000,"timestamp_ms":1777318781000,"timestamp_seconds":1777318781,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0746048"} 
[2026-04-28 01:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993606144001,"66":27343,"232":206,"81":47616,"24":53,"16":281438667057135616,"45":4580231218121682944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-04-28 01:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993606144001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:11:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 01:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281438667057135616,"km_value":281438667057135.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4580231218121682944,"description":"Unknown IO ID 45"} 
[2026-04-28 01:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993606144001,"power":27343,"unknown_232":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4580231218121682944}} 
[2026-04-28 01:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":56136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:11:38] local.INFO: GPS data processed {"connection_id":56136,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:11:38] local.INFO: Acknowledgment sent {"connection_id":56136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:11:55] local.INFO: TCP Data received {"connection_id":56229,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:55] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:55] local.INFO: IMEI packet received {"connection_id":56229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":56229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:11:56] local.INFO: TCP Data received {"connection_id":56229,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:56] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:11:56] local.INFO: IMEI packet received {"connection_id":56229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":56229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:12:00] local.INFO: TCP Data received {"connection_id":56229,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:00] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:00] local.INFO: IMEI packet received {"connection_id":56229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":56229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:12:02] local.INFO: TCP Data received {"connection_id":56229,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07477b8012d3fd18006995e20001900562c..."} 
[2026-04-28 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07477b8012d3fd18006995e20001900562c..."} 
[2026-04-28 01:12:02] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07477b8012d3fd18006995e20001900562c..."} 
[2026-04-28 01:12:02] local.INFO: Packet analysis {"connection_id":56229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:12:02] local.INFO: Extracted packet for processing {"connection_id":56229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd074"} 
[2026-04-28 01:12:02] local.INFO: GPS Element Parsed {"raw_longitude":759157120,"raw_latitude":110714400,"longitude_deg":75.915712,"latitude_deg":11.07144,"altitude":25,"angle":86,"satellites":44,"speed":55,"hex_longitude":"2d3fd180","hex_latitude":"06995e20","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993607936001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281439062194126848,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4589590261098108928,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777318787000,"timestamp_ms":1777318787000,"timestamp_seconds":1777318787,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07477b8"} 
[2026-04-28 01:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993607936001,"66":27343,"231":206,"81":47616,"24":55,"16":281439062194126848,"45":4589590261098108928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-04-28 01:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993607936001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:12:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-28 01:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281439062194126848,"km_value":281439062194126.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4589590261098108928,"description":"Unknown IO ID 45"} 
[2026-04-28 01:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993607936001,"power":27343,"unknown_231":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4589590261098108928}} 
[2026-04-28 01:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":56229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:12:02] local.INFO: GPS data processed {"connection_id":56229,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:12:02] local.INFO: Acknowledgment sent {"connection_id":56229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:12:33] local.INFO: TCP Data received {"connection_id":56229,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07619b0012d41464006988af00026007c2d..."} 
[2026-04-28 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07619b0012d41464006988af00026007c2d..."} 
[2026-04-28 01:12:33] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07619b0012d41464006988af00026007c2d..."} 
[2026-04-28 01:12:33] local.INFO: Packet analysis {"connection_id":56229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:12:33] local.INFO: Extracted packet for processing {"connection_id":56229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759252544,"raw_latitude":110660336,"longitude_deg":75.9252544,"latitude_deg":11.0660336,"altitude":38,"angle":124,"satellites":45,"speed":53,"hex_longitude":"2d414640","hex_latitude":"06988af0","is_valid_coordinates":true} 
[2026-04-28 01:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993634816001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281444405133443072,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4694298952422451200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777318894000,"timestamp_ms":1777318894000,"timestamp_seconds":1777318894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07619b0"} 
[2026-04-28 01:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 01:12:33] 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-04-28 01:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:12:33] 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-04-28 01:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993634816001,"66":27463,"71":206,"81":47616,"24":53,"16":281444405133443072,"45":4694298952422451200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-04-28 01:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993634816001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:12:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-04-28 01:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281444405133443072,"km_value":281444405133443.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4694298952422451200,"description":"Unknown IO ID 45"} 
[2026-04-28 01:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993634816001,"power":27463,"unknown_71":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4694298952422451200}} 
[2026-04-28 01:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":56229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:12:33] local.INFO: GPS data processed {"connection_id":56229,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:12:33] local.INFO: Acknowledgment sent {"connection_id":56229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:12:54] local.INFO: TCP Data received {"connection_id":55980,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:54] local.INFO: Processing buffer {"connection_id":55980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:54] local.INFO: IMEI packet received {"connection_id":55980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":55980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:12:55] local.INFO: TCP Data received {"connection_id":55980,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:55] local.INFO: Processing buffer {"connection_id":55980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:12:55] local.INFO: IMEI packet received {"connection_id":55980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":55980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:13:00] local.INFO: TCP Data received {"connection_id":55980,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:00] local.INFO: Processing buffer {"connection_id":55980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:00] local.INFO: IMEI packet received {"connection_id":55980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":55980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:13:02] local.INFO: TCP Data received {"connection_id":55980,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0763508012d416640069876100022007c2d..."} 
[2026-04-28 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0763508012d416640069876100022007c2d..."} 
[2026-04-28 01:13:02] local.INFO: Processing buffer {"connection_id":55980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0763508012d416640069876100022007c2d..."} 
[2026-04-28 01:13:02] local.INFO: Packet analysis {"connection_id":55980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:13:02] local.INFO: Extracted packet for processing {"connection_id":55980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:13:02] local.INFO: GPS Element Parsed {"raw_longitude":759260736,"raw_latitude":110654992,"longitude_deg":75.9260736,"latitude_deg":11.0654992,"altitude":34,"angle":124,"satellites":45,"speed":56,"hex_longitude":"2d416640","hex_latitude":"06987610","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993636864001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281444873284878336,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4703517257908285440,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777318901000,"timestamp_ms":1777318901000,"timestamp_seconds":1777318901,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0763508"} 
[2026-04-28 01:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":55980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":55980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":55980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993636864001,"66":27397,"71":206,"81":47616,"24":56,"16":281444873284878336,"45":4703517257908285440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-04-28 01:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993636864001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:13:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-04-28 01:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281444873284878336,"km_value":281444873284878.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4703517257908285440,"description":"Unknown IO ID 45"} 
[2026-04-28 01:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993636864001,"power":27397,"unknown_71":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4703517257908285440}} 
[2026-04-28 01:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":55980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:13:02] local.INFO: GPS data processed {"connection_id":55980,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:13:02] local.INFO: Acknowledgment sent {"connection_id":55980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:13:33] local.INFO: TCP Data received {"connection_id":55980,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0765060012d41878006985fb0001f007b2d..."} 
[2026-04-28 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0765060012d41878006985fb0001f007b2d..."} 
[2026-04-28 01:13:33] local.INFO: Processing buffer {"connection_id":55980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0765060012d41878006985fb0001f007b2d..."} 
[2026-04-28 01:13:33] local.INFO: Packet analysis {"connection_id":55980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:13:33] local.INFO: Extracted packet for processing {"connection_id":55980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":759269248,"raw_latitude":110649264,"longitude_deg":75.9269248,"latitude_deg":11.0649264,"altitude":31,"angle":123,"satellites":45,"speed":59,"hex_longitude":"2d418780","hex_latitude":"06985fb0","is_valid_coordinates":true} 
[2026-04-28 01:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993638656001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281445367206117376,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4712524457161658368,"note":"Value kept but may cause issues"} 
[2026-04-28 01:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777318908000,"timestamp_ms":1777318908000,"timestamp_seconds":1777318908,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0765060"} 
[2026-04-28 01:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 01:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:13:33] 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-04-28 01:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993638656001,"66":27071,"71":206,"81":47616,"24":59,"16":281445367206117376,"45":4712524457161658368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-04-28 01:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993638656001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:13:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-04-28 01:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281445367206117376,"km_value":281445367206117.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4712524457161658368,"description":"Unknown IO ID 45"} 
[2026-04-28 01:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993638656001,"power":27071,"unknown_71":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4712524457161658368}} 
[2026-04-28 01:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":55980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:13:33] local.INFO: GPS data processed {"connection_id":55980,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:13:33] local.INFO: Acknowledgment sent {"connection_id":55980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:13:55] local.INFO: TCP Data received {"connection_id":56137,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:55] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:13:55] local.INFO: IMEI packet received {"connection_id":56137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":56137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:14:00] local.INFO: TCP Data received {"connection_id":56137,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:14:00] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:14:00] local.INFO: IMEI packet received {"connection_id":56137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":56137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:14:01] local.INFO: TCP Data received {"connection_id":56137,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0766bb8012d41a94006984990001f007b2e..."} 
[2026-04-28 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0766bb8012d41a94006984990001f007b2e..."} 
[2026-04-28 01:14:01] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0766bb8012d41a94006984990001f007b2e..."} 
[2026-04-28 01:14:01] local.INFO: Packet analysis {"connection_id":56137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:14:01] local.INFO: Extracted packet for processing {"connection_id":56137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":759277888,"raw_latitude":110643600,"longitude_deg":75.9277888,"latitude_deg":11.06436,"altitude":31,"angle":123,"satellites":46,"speed":55,"hex_longitude":"2d41a940","hex_latitude":"06984990","is_valid_coordinates":true} 
[2026-04-28 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993640448001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281445861127356416,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4721883500135821312,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777318915000,"timestamp_ms":1777318915000,"timestamp_seconds":1777318915,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0766bb8"} 
[2026-04-28 01:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-04-28 01:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:14: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-04-28 01:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993640448001,"66":27397,"29":206,"81":47616,"24":55,"16":281445861127356416,"45":4721883500135821312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-04-28 01:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993640448001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:14:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-28 01:14:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281445861127356416,"km_value":281445861127356.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4721883500135821312,"description":"Unknown IO ID 45"} 
[2026-04-28 01:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993640448001,"power":27397,"unknown_29":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4721883500135821312}} 
[2026-04-28 01:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":56137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:14:01] local.INFO: GPS data processed {"connection_id":56137,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:14:01] local.INFO: Acknowledgment sent {"connection_id":56137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:14:33] local.INFO: TCP Data received {"connection_id":56137,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0768710012d41c6c0069835400022007a2c..."} 
[2026-04-28 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0768710012d41c6c0069835400022007a2c..."} 
[2026-04-28 01:14:33] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0768710012d41c6c0069835400022007a2c..."} 
[2026-04-28 01:14:33] local.INFO: Packet analysis {"connection_id":56137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:14:33] local.INFO: Extracted packet for processing {"connection_id":56137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd076"} 
[2026-04-28 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":759285440,"raw_latitude":110638400,"longitude_deg":75.928544,"latitude_deg":11.06384,"altitude":34,"angle":122,"satellites":44,"speed":47,"hex_longitude":"2d41c6c0","hex_latitude":"06983540","is_valid_coordinates":true} 
[2026-04-28 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993642240001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281446299214020608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4731383280598355968,"note":"Value kept but may cause issues"} 
[2026-04-28 01:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777318922000,"timestamp_ms":1777318922000,"timestamp_seconds":1777318922,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0768710"} 
[2026-04-28 01:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 01:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:14:33] 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-04-28 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993642240001,"66":27376,"29":206,"81":47616,"24":47,"16":281446299214020608,"45":4731383280598355968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-04-28 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993642240001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:14:33] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-28 01:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281446299214020608,"km_value":281446299214020.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4731383280598355968,"description":"Unknown IO ID 45"} 
[2026-04-28 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993642240001,"power":27376,"unknown_29":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4731383280598355968}} 
[2026-04-28 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":56137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:14:33] local.INFO: GPS data processed {"connection_id":56137,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:14:33] local.INFO: Acknowledgment sent {"connection_id":56137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:15:12] local.INFO: TCP Data received {"connection_id":55982,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:12] local.INFO: Processing buffer {"connection_id":55982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:12] local.INFO: IMEI packet received {"connection_id":55982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":55982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:15:17] local.INFO: TCP Data received {"connection_id":55982,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:17] local.INFO: Processing buffer {"connection_id":55982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:17] local.INFO: IMEI packet received {"connection_id":55982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":55982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:15:19] local.INFO: TCP Data received {"connection_id":55982,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:19] local.INFO: Processing buffer {"connection_id":55982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:19] local.INFO: IMEI packet received {"connection_id":55982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":55982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:15:20] local.INFO: TCP Data received {"connection_id":55982,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0788ab0012d42d58006979c20003800a72d..."} 
[2026-04-28 01:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0788ab0012d42d58006979c20003800a72d..."} 
[2026-04-28 01:15:20] local.INFO: Processing buffer {"connection_id":55982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0788ab0012d42d58006979c20003800a72d..."} 
[2026-04-28 01:15:20] local.INFO: Packet analysis {"connection_id":55982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:15:20] local.INFO: Extracted packet for processing {"connection_id":55982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":759354752,"raw_latitude":110599200,"longitude_deg":75.9354752,"latitude_deg":11.05992,"altitude":56,"angle":167,"satellites":45,"speed":26,"hex_longitude":"2d42d580","hex_latitude":"06979c20","is_valid_coordinates":true} 
[2026-04-28 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993673984001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281450276353736704,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4813714711276380160,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777319054000,"timestamp_ms":1777319054000,"timestamp_seconds":1777319054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0788ab0"} 
[2026-04-28 01:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 01:15:20] 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-04-28 01:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:15: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-04-28 01:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993673984001,"66":27321,"28":206,"81":47616,"24":26,"16":281450276353736704,"45":4813714711276380160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-04-28 01:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993673984001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:15:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 01:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281450276353736704,"km_value":281450276353736.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4813714711276380160,"description":"Unknown IO ID 45"} 
[2026-04-28 01:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993673984001,"power":27321,"unknown_28":206,"unknown_81":47616,"ignition":26,"odometer":null,"unknown_45":4813714711276380160}} 
[2026-04-28 01:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":55982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:15:20] local.INFO: GPS data processed {"connection_id":55982,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:15:20] local.INFO: Acknowledgment sent {"connection_id":55982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:15:21] local.INFO: TCP Data received {"connection_id":55982,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd078b5a8012d42d900069777c8003400b02e..."} 
[2026-04-28 01:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd078b5a8012d42d900069777c8003400b02e..."} 
[2026-04-28 01:15:21] local.INFO: Processing buffer {"connection_id":55982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd078b5a8012d42d900069777c8003400b02e..."} 
[2026-04-28 01:15:21] local.INFO: Packet analysis {"connection_id":55982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:15:21] local.INFO: Extracted packet for processing {"connection_id":55982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":759355648,"raw_latitude":110589896,"longitude_deg":75.9355648,"latitude_deg":11.0589896,"altitude":52,"angle":176,"satellites":46,"speed":39,"hex_longitude":"2d42d900","hex_latitude":"069777c8","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993677824001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281450727325302784,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815896142344364032,"note":"Value kept but may cause issues"} 
[2026-04-28 01:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777319065000,"timestamp_ms":1777319065000,"timestamp_seconds":1777319065,"priority":1,"record_length":96,"hex_timestamp":"0000019dd078b5a8"} 
[2026-04-28 01:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:15: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-04-28 01:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993677824001,"66":27484,"28":206,"81":47616,"24":39,"16":281450727325302784,"45":4815896142344364032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-04-28 01:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993677824001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:15:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 01:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-04-28 01:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281450727325302784,"km_value":281450727325302.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815896142344364032,"description":"Unknown IO ID 45"} 
[2026-04-28 01:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993677824001,"power":27484,"unknown_28":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4815896142344364032}} 
[2026-04-28 01:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":55982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:15:21] local.INFO: GPS data processed {"connection_id":55982,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:15:21] local.INFO: Acknowledgment sent {"connection_id":55982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:15:55] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:55] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:15:55] local.INFO: IMEI packet received {"connection_id":56138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":56138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:15:56] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:15:56] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:15:56] local.INFO: IMEI packet received {"connection_id":56138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":56138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:16:00] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:16:00] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:16:00] local.INFO: IMEI packet received {"connection_id":56138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":56138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:16:01] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd078d8d0012d42db4006975158002f00b02d..."} 
[2026-04-28 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd078d8d0012d42db4006975158002f00b02d..."} 
[2026-04-28 01:16:01] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 01:16:01] local.INFO: IMEI packet received {"connection_id":56138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":56138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:16:03] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd078f428012d42ddc006972c18002700af2d..."} 
[2026-04-28 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd078f428012d42ddc006972c18002700af2d..."} 
[2026-04-28 01:16:03] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd078d8d0012d42db4006975158002f00b02d..."} 
[2026-04-28 01:16:03] local.INFO: Packet analysis {"connection_id":56138,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:16:03] local.INFO: Extracted packet for processing {"connection_id":56138,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":759356224,"raw_latitude":110580056,"longitude_deg":75.9356224,"latitude_deg":11.0580056,"altitude":47,"angle":176,"satellites":45,"speed":49,"hex_longitude":"2d42db40","hex_latitude":"06975158","is_valid_coordinates":true} 
[2026-04-28 01:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993680640001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281451204066672640,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816881304760469504,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777319074000,"timestamp_ms":1777319074000,"timestamp_seconds":1777319074,"priority":1,"record_length":96,"hex_timestamp":"0000019dd078d8d0"} 
[2026-04-28 01:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:03] 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-04-28 01:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993680640001,"66":27365,"195":206,"86":48640,"24":49,"16":281451204066672640,"45":4816881304760469504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993680640001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281451204066672640,"km_value":281451204066672.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816881304760469504,"description":"Unknown IO ID 45"} 
[2026-04-28 01:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993680640001,"power":27365,"unknown_195":206,"unknown_86":48640,"ignition":49,"odometer":null,"unknown_45":4816881304760469504}} 
[2026-04-28 01:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":56138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:16:03] local.INFO: GPS data processed {"connection_id":56138,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:16:03] local.INFO: Acknowledgment sent {"connection_id":56138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:16:03] local.INFO: Packet analysis {"connection_id":56138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:16:03] local.INFO: Extracted packet for processing {"connection_id":56138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd078"} 
[2026-04-28 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":759356864,"raw_latitude":110570520,"longitude_deg":75.9356864,"latitude_deg":11.057052,"altitude":39,"angle":175,"satellites":45,"speed":58,"hex_longitude":"2d42ddc0","hex_latitude":"06972c18","is_valid_coordinates":true} 
[2026-04-28 01:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993682944001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281451667923140608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4817514623455549440,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777319081000,"timestamp_ms":1777319081000,"timestamp_seconds":1777319081,"priority":1,"record_length":96,"hex_timestamp":"0000019dd078f428"} 
[2026-04-28 01:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:03] 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-04-28 01:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993682944001,"66":27343,"195":206,"86":48640,"24":58,"16":281451667923140608,"45":4817514623455549440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-04-28 01:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993682944001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281451667923140608,"km_value":281451667923140.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4817514623455549440,"description":"Unknown IO ID 45"} 
[2026-04-28 01:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993682944001,"power":27343,"unknown_195":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4817514623455549440}} 
[2026-04-28 01:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":56138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:16:03] local.INFO: GPS data processed {"connection_id":56138,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:16:03] local.INFO: Acknowledgment sent {"connection_id":56138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:16:34] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0790b98012d42e0c006970900002000ad2e..."} 
[2026-04-28 01:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0790b98012d42e0c006970900002000ad2e..."} 
[2026-04-28 01:16:34] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0790b98012d42e0c006970900002000ad2e..."} 
[2026-04-28 01:16:34] local.INFO: Packet analysis {"connection_id":56138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd079"} 
[2026-04-28 01:16:34] local.INFO: Extracted packet for processing {"connection_id":56138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd079"} 
[2026-04-28 01:16:34] local.INFO: GPS Element Parsed {"raw_longitude":759357632,"raw_latitude":110561536,"longitude_deg":75.9357632,"latitude_deg":11.0561536,"altitude":32,"angle":173,"satellites":46,"speed":61,"hex_longitude":"2d42e0c0","hex_latitude":"06970900","is_valid_coordinates":true} 
[2026-04-28 01:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993684736001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281452106009804800,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4818218310894884864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777319087000,"timestamp_ms":1777319087000,"timestamp_seconds":1777319087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0790b98"} 
[2026-04-28 01:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993684736001,"66":27463,"195":206,"86":48640,"24":61,"16":281452106009804800,"45":4818218310894884864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-04-28 01:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993684736001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:16:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 01:16:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281452106009804800,"km_value":281452106009804.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4818218310894884864,"description":"Unknown IO ID 45"} 
[2026-04-28 01:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993684736001,"power":27463,"unknown_195":206,"unknown_86":48640,"ignition":61,"odometer":null,"unknown_45":4818218310894884864}} 
[2026-04-28 01:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":56138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:16:34] local.INFO: GPS data processed {"connection_id":56138,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:16:34] local.INFO: Acknowledgment sent {"connection_id":56138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:17:00] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:00] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:00] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:17:03] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:03] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:03] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:17:05] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:05] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:05] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:17:06] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07a1538012d437e400695bab8000b009329..."} 
[2026-04-28 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07a1538012d437e400695bab8000b009329..."} 
[2026-04-28 01:17:06] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07a1538012d437e400695bab8000b009329..."} 
[2026-04-28 01:17:06] local.INFO: Packet analysis {"connection_id":56866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:17:06] local.INFO: Extracted packet for processing {"connection_id":56866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":759397952,"raw_latitude":110475960,"longitude_deg":75.9397952,"latitude_deg":11.047596,"altitude":11,"angle":147,"satellites":41,"speed":47,"hex_longitude":"2d437e40","hex_latitude":"0695bab8","is_valid_coordinates":true} 
[2026-04-28 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993701632001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281456774639255552,"note":"Value kept but may cause issues"} 
[2026-04-28 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4857202595147167744,"note":"Value kept but may cause issues"} 
[2026-04-28 01:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777319155000,"timestamp_ms":1777319155000,"timestamp_seconds":1777319155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07a1538"} 
[2026-04-28 01:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:17:06] 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-04-28 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993701632001,"66":27343,"195":206,"86":48640,"24":47,"16":281456774639255552,"45":4857202595147167744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-04-28 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993701632001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:17:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 01:17:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281456774639255552,"km_value":281456774639255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4857202595147167744,"description":"Unknown IO ID 45"} 
[2026-04-28 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993701632001,"power":27343,"unknown_195":206,"unknown_86":48640,"ignition":47,"odometer":null,"unknown_45":4857202595147167744}} 
[2026-04-28 01:17:06] local.INFO: TCP Data received {"connection_id":56231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:06] local.INFO: Processing buffer {"connection_id":56231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:06] local.INFO: IMEI packet received {"connection_id":56231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":56231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":56866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:17:06] local.INFO: GPS data processed {"connection_id":56866,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:17:06] local.INFO: Acknowledgment sent {"connection_id":56866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:17:36] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:36] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:17:36] local.INFO: IMEI packet received {"connection_id":56867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":56867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:17:59] local.INFO: TCP Data received {"connection_id":56139,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:59] local.INFO: Processing buffer {"connection_id":56139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:17:59] local.INFO: IMEI packet received {"connection_id":56139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:18:00] local.INFO: TCP Data received {"connection_id":56139,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:00] local.INFO: Processing buffer {"connection_id":56139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:00] local.INFO: IMEI packet received {"connection_id":56139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:18:05] local.INFO: TCP Data received {"connection_id":56139,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:05] local.INFO: Processing buffer {"connection_id":56139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:05] local.INFO: IMEI packet received {"connection_id":56139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":56139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:18:07] local.INFO: TCP Data received {"connection_id":56139,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07a3c48012d438f4006959be8000c009d29..."} 
[2026-04-28 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07a3c48012d438f4006959be8000c009d29..."} 
[2026-04-28 01:18:07] local.INFO: Processing buffer {"connection_id":56139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07a3c48012d438f4006959be8000c009d29..."} 
[2026-04-28 01:18:07] local.INFO: Packet analysis {"connection_id":56139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:18:07] local.INFO: Extracted packet for processing {"connection_id":56139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":759402304,"raw_latitude":110468072,"longitude_deg":75.9402304,"latitude_deg":11.0468072,"altitude":12,"angle":157,"satellites":41,"speed":19,"hex_longitude":"2d438f40","hex_latitude":"06959be8","is_valid_coordinates":true} 
[2026-04-28 01:18: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-04-28 01:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993703680001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281457212725919744,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863395044632737792,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777319165000,"timestamp_ms":1777319165000,"timestamp_seconds":1777319165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07a3c48"} 
[2026-04-28 01:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:18: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-04-28 01:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:18:07] 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-04-28 01:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993703680001,"66":27321,"195":206,"86":48640,"24":19,"16":281457212725919744,"45":4863395044632737792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-04-28 01:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993703680001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:18:07] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 01:18:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281457212725919744,"km_value":281457212725919.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863395044632737792,"description":"Unknown IO ID 45"} 
[2026-04-28 01:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993703680001,"power":27321,"unknown_195":206,"unknown_86":48640,"ignition":19,"odometer":null,"unknown_45":4863395044632737792}} 
[2026-04-28 01:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":56139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:18:07] local.INFO: GPS data processed {"connection_id":56139,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:18:07] local.INFO: Acknowledgment sent {"connection_id":56139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:18:38] local.INFO: TCP Data received {"connection_id":56139,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07a8a68012d43970006958318001200a82a..."} 
[2026-04-28 01:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07a8a68012d43970006958318001200a82a..."} 
[2026-04-28 01:18:38] local.INFO: Processing buffer {"connection_id":56139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07a8a68012d43970006958318001200a82a..."} 
[2026-04-28 01:18:38] local.INFO: Packet analysis {"connection_id":56139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:18:38] local.INFO: Extracted packet for processing {"connection_id":56139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:18:38] local.INFO: GPS Element Parsed {"raw_longitude":759404288,"raw_latitude":110461720,"longitude_deg":75.9404288,"latitude_deg":11.046172,"altitude":18,"angle":168,"satellites":42,"speed":16,"hex_longitude":"2d439700","hex_latitude":"06958318","is_valid_coordinates":true} 
[2026-04-28 01:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993706240001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281457534848466944,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868180119234799616,"note":"Value kept but may cause issues"} 
[2026-04-28 01:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777319185000,"timestamp_ms":1777319185000,"timestamp_seconds":1777319185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07a8a68"} 
[2026-04-28 01:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:18:38] 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-04-28 01:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993706240001,"66":27332,"196":206,"86":48640,"24":16,"16":281457534848466944,"45":4868180119234799616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,86,24,16,45]} 
[2026-04-28 01:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993706240001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:18:38] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 01:18:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281457534848466944,"km_value":281457534848466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868180119234799616,"description":"Unknown IO ID 45"} 
[2026-04-28 01:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993706240001,"power":27332,"unknown_196":206,"unknown_86":48640,"ignition":16,"odometer":null,"unknown_45":4868180119234799616}} 
[2026-04-28 01:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":56139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:18:38] local.INFO: GPS data processed {"connection_id":56139,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:18:38] local.INFO: Acknowledgment sent {"connection_id":56139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:18:55] local.INFO: TCP Data received {"connection_id":56232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:55] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:55] local.INFO: IMEI packet received {"connection_id":56232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":56232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:18:58] local.INFO: TCP Data received {"connection_id":56232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:58] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:18:58] local.INFO: IMEI packet received {"connection_id":56232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":56232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:19:04] local.INFO: TCP Data received {"connection_id":56232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07ac8e8012d4399c006956640001300b42a..."} 
[2026-04-28 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07ac8e8012d4399c006956640001300b42a..."} 
[2026-04-28 01:19:04] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07ac8e8012d4399c006956640001300b42a..."} 
[2026-04-28 01:19:04] local.INFO: Packet analysis {"connection_id":56232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:19:04] local.INFO: Extracted packet for processing {"connection_id":56232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":759404992,"raw_latitude":110454336,"longitude_deg":75.9404992,"latitude_deg":11.0454336,"altitude":19,"angle":180,"satellites":42,"speed":20,"hex_longitude":"2d4399c0","hex_latitude":"06956640","is_valid_coordinates":true} 
[2026-04-28 01:19: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-04-28 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993711360001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281457895625719808,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4870361550302681088,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777319201000,"timestamp_ms":1777319201000,"timestamp_seconds":1777319201,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07ac8e8"} 
[2026-04-28 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:19: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-04-28 01:19:04] local.INFO: IO Element 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-04-28 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:19: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-04-28 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19: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-04-28 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993711360001,"66":27300,"211":206,"86":48640,"24":20,"16":281457895625719808,"45":4870361550302681088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-04-28 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993711360001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:19:04] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 01:19:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281457895625719808,"km_value":281457895625719.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4870361550302681088,"description":"Unknown IO ID 45"} 
[2026-04-28 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993711360001,"power":27300,"unknown_211":206,"unknown_86":48640,"ignition":20,"odometer":null,"unknown_45":4870361550302681088}} 
[2026-04-28 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":56232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:19:04] local.INFO: GPS data processed {"connection_id":56232,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:19:04] local.INFO: Acknowledgment sent {"connection_id":56232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:19:05] local.INFO: TCP Data received {"connection_id":56232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07af3e0012d43988006955168001200c12c..."} 
[2026-04-28 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07af3e0012d43988006955168001200c12c..."} 
[2026-04-28 01:19:05] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07af3e0012d43988006955168001200c12c..."} 
[2026-04-28 01:19:05] local.INFO: Packet analysis {"connection_id":56232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:19:05] local.INFO: Extracted packet for processing {"connection_id":56232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07a"} 
[2026-04-28 01:19:05] local.INFO: GPS Element Parsed {"raw_longitude":759404672,"raw_latitude":110449000,"longitude_deg":75.9404672,"latitude_deg":11.0449,"altitude":18,"angle":193,"satellites":44,"speed":18,"hex_longitude":"2d439880","hex_latitude":"06955168","is_valid_coordinates":true} 
[2026-04-28 01:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993715456001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281458157618724864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871135606486745088,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777319212000,"timestamp_ms":1777319212000,"timestamp_seconds":1777319212,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07af3e0"} 
[2026-04-28 01:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 01:19:05] 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-04-28 01:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19:05] 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-04-28 01:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993715456001,"66":27376,"211":206,"86":48640,"24":18,"16":281458157618724864,"45":4871135606486745088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-04-28 01:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993715456001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:19:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 01:19:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281458157618724864,"km_value":281458157618724.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871135606486745088,"description":"Unknown IO ID 45"} 
[2026-04-28 01:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993715456001,"power":27376,"unknown_211":206,"unknown_86":48640,"ignition":18,"odometer":null,"unknown_45":4871135606486745088}} 
[2026-04-28 01:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":56232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:19:05] local.INFO: GPS data processed {"connection_id":56232,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:19:05] local.INFO: Acknowledgment sent {"connection_id":56232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:19:37] local.INFO: TCP Data received {"connection_id":56232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07c8a20012d432ac00693f540002000a226..."} 
[2026-04-28 01:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07c8a20012d432ac00693f540002000a226..."} 
[2026-04-28 01:19:37] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07c8a20012d432ac00693f540002000a226..."} 
[2026-04-28 01:19:37] local.INFO: Packet analysis {"connection_id":56232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:19:37] local.INFO: Extracted packet for processing {"connection_id":56232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759376576,"raw_latitude":110359872,"longitude_deg":75.9376576,"latitude_deg":11.0359872,"altitude":32,"angle":162,"satellites":38,"speed":39,"hex_longitude":"2d432ac0","hex_latitude":"0693f540","is_valid_coordinates":true} 
[2026-04-28 01:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993743616001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281462740348829696,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838695615397924864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777319316000,"timestamp_ms":1777319316000,"timestamp_seconds":1777319316,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07c8a20"} 
[2026-04-28 01:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 01:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:19:37] 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-04-28 01:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993743616001,"66":27463,"141":206,"86":48640,"24":39,"16":281462740348829696,"45":4838695615397924864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-04-28 01:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993743616001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:19:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 01:19:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281462740348829696,"km_value":281462740348829.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838695615397924864,"description":"Unknown IO ID 45"} 
[2026-04-28 01:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993743616001,"power":27463,"unknown_141":206,"unknown_86":48640,"ignition":39,"odometer":null,"unknown_45":4838695615397924864}} 
[2026-04-28 01:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":56232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:19:37] local.INFO: GPS data processed {"connection_id":56232,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:19:37] local.INFO: Acknowledgment sent {"connection_id":56232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:19:55] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:19:55] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:19:55] local.INFO: IMEI packet received {"connection_id":56868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":56868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:20:00] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:00] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:00] local.INFO: IMEI packet received {"connection_id":56868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:20:02] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07c9da8012d4333000693e3e0002200952a..."} 
[2026-04-28 01:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07c9da8012d4333000693e3e0002200952a..."} 
[2026-04-28 01:20:02] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07c9da8012d4333000693e3e0002200952a..."} 
[2026-04-28 01:20:02] local.INFO: Packet analysis {"connection_id":56868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:20:02] local.INFO: Extracted packet for processing {"connection_id":56868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:20:02] local.INFO: GPS Element Parsed {"raw_longitude":759378688,"raw_latitude":110355424,"longitude_deg":75.9378688,"latitude_deg":11.0355424,"altitude":34,"angle":149,"satellites":42,"speed":36,"hex_longitude":"2d433300","hex_latitude":"0693e3e0","is_valid_coordinates":true} 
[2026-04-28 01:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993744896001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281462976572030976,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4839891884047679488,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777319321000,"timestamp_ms":1777319321000,"timestamp_seconds":1777319321,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07c9da8"} 
[2026-04-28 01:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993744896001,"66":27213,"141":206,"86":48640,"24":36,"16":281462976572030976,"45":4839891884047679488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-04-28 01:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993744896001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:20:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 01:20:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281462976572030976,"km_value":281462976572030.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4839891884047679488,"description":"Unknown IO ID 45"} 
[2026-04-28 01:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993744896001,"power":27213,"unknown_141":206,"unknown_86":48640,"ignition":36,"odometer":null,"unknown_45":4839891884047679488}} 
[2026-04-28 01:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":56868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:20:02] local.INFO: GPS data processed {"connection_id":56868,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:20:02] local.INFO: Acknowledgment sent {"connection_id":56868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:20:35] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07cc8a0012d4348000693c5000024008e29..."} 
[2026-04-28 01:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07cc8a0012d4348000693c5000024008e29..."} 
[2026-04-28 01:20:35] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07cc8a0012d4348000693c5000024008e29..."} 
[2026-04-28 01:20:35] local.INFO: Packet analysis {"connection_id":56868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:20:35] local.INFO: Extracted packet for processing {"connection_id":56868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:20:35] local.INFO: GPS Element Parsed {"raw_longitude":759384064,"raw_latitude":110347520,"longitude_deg":75.9384064,"latitude_deg":11.034752,"altitude":36,"angle":142,"satellites":41,"speed":31,"hex_longitude":"2d434800","hex_latitude":"0693c500","is_valid_coordinates":true} 
[2026-04-28 01:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993746176001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281463436133531648,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4842214052604403712,"note":"Value kept but may cause issues"} 
[2026-04-28 01:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777319332000,"timestamp_ms":1777319332000,"timestamp_seconds":1777319332,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07cc8a0"} 
[2026-04-28 01:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 01:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:20:35] 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-04-28 01:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993746176001,"66":27376,"141":206,"86":48640,"24":31,"16":281463436133531648,"45":4842214052604403712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-04-28 01:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993746176001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:20:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 01:20:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281463436133531648,"km_value":281463436133531.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4842214052604403712,"description":"Unknown IO ID 45"} 
[2026-04-28 01:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993746176001,"power":27376,"unknown_141":206,"unknown_86":48640,"ignition":31,"odometer":null,"unknown_45":4842214052604403712}} 
[2026-04-28 01:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":56868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:20:35] local.INFO: GPS data processed {"connection_id":56868,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:20:35] local.INFO: Acknowledgment sent {"connection_id":56868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:20:55] local.INFO: TCP Data received {"connection_id":56142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:55] local.INFO: Processing buffer {"connection_id":56142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:55] local.INFO: IMEI packet received {"connection_id":56142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":56142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:20:57] local.INFO: TCP Data received {"connection_id":56142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:57] local.INFO: Processing buffer {"connection_id":56142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:20:57] local.INFO: IMEI packet received {"connection_id":56142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":56142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:21:10] local.INFO: TCP Data received {"connection_id":56142,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:10] local.INFO: Processing buffer {"connection_id":56142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:10] local.INFO: IMEI packet received {"connection_id":56142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":56142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:21:10] local.INFO: TCP Data received {"connection_id":56142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07cf398012d435d400693a7f00027009028..."} 
[2026-04-28 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07cf398012d435d400693a7f00027009028..."} 
[2026-04-28 01:21:10] local.INFO: Processing buffer {"connection_id":56142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07cf398012d435d400693a7f00027009028..."} 
[2026-04-28 01:21:10] local.INFO: Packet analysis {"connection_id":56142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:21:10] local.INFO: Extracted packet for processing {"connection_id":56142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07c"} 
[2026-04-28 01:21:10] local.INFO: GPS Element Parsed {"raw_longitude":759389504,"raw_latitude":110340080,"longitude_deg":75.9389504,"latitude_deg":11.034008,"altitude":39,"angle":144,"satellites":40,"speed":32,"hex_longitude":"2d435d40","hex_latitude":"0693a7f0","is_valid_coordinates":true} 
[2026-04-28 01:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993748992001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281463882810130432,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4848125027113304064,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777319343000,"timestamp_ms":1777319343000,"timestamp_seconds":1777319343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07cf398"} 
[2026-04-28 01:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:21:10] 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-04-28 01:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:21:10] 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-04-28 01:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993748992001,"66":27365,"141":206,"86":48640,"24":32,"16":281463882810130432,"45":4848125027113304064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-04-28 01:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993748992001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:21:10] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 01:21:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281463882810130432,"km_value":281463882810130.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4848125027113304064,"description":"Unknown IO ID 45"} 
[2026-04-28 01:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993748992001,"power":27365,"unknown_141":206,"unknown_86":48640,"ignition":32,"odometer":null,"unknown_45":4848125027113304064}} 
[2026-04-28 01:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":56142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:21:10] local.INFO: GPS data processed {"connection_id":56142,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:21:10] local.INFO: Acknowledgment sent {"connection_id":56142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:21:11] local.INFO: TCP Data received {"connection_id":56142,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07d1e90012d4371c006938b980029008f2b..."} 
[2026-04-28 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07d1e90012d4371c006938b980029008f2b..."} 
[2026-04-28 01:21:11] local.INFO: Processing buffer {"connection_id":56142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07d1e90012d4371c006938b980029008f2b..."} 
[2026-04-28 01:21:11] local.INFO: Packet analysis {"connection_id":56142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07d"} 
[2026-04-28 01:21:11] local.INFO: Extracted packet for processing {"connection_id":56142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07d"} 
[2026-04-28 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":759394752,"raw_latitude":110332824,"longitude_deg":75.9394752,"latitude_deg":11.0332824,"altitude":41,"angle":143,"satellites":43,"speed":31,"hex_longitude":"2d4371c0","hex_latitude":"06938b98","is_valid_coordinates":true} 
[2026-04-28 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993751808001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281464312306860032,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4854106370366500864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777319354000,"timestamp_ms":1777319354000,"timestamp_seconds":1777319354,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07d1e90"} 
[2026-04-28 01:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:21:11] 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-04-28 01:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993751808001,"66":27343,"141":206,"86":48640,"24":31,"16":281464312306860032,"45":4854106370366500864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-04-28 01:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993751808001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:21:11] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 01:21:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-04-28 01:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281464312306860032,"km_value":281464312306860.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4854106370366500864,"description":"Unknown IO ID 45"} 
[2026-04-28 01:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993751808001,"power":27343,"unknown_141":206,"unknown_86":48640,"ignition":31,"odometer":null,"unknown_45":4854106370366500864}} 
[2026-04-28 01:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":56142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:21:11] local.INFO: GPS data processed {"connection_id":56142,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:21:11] local.INFO: Acknowledgment sent {"connection_id":56142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:21:55] local.INFO: TCP Data received {"connection_id":56143,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:55] local.INFO: Processing buffer {"connection_id":56143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:55] local.INFO: IMEI packet received {"connection_id":56143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":56143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:21:59] local.INFO: TCP Data received {"connection_id":56143,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:59] local.INFO: Processing buffer {"connection_id":56143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:21:59] local.INFO: IMEI packet received {"connection_id":56143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:22:00] local.INFO: TCP Data received {"connection_id":56143,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07e9d60012d449a0006927be0002d008b2c..."} 
[2026-04-28 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07e9d60012d449a0006927be0002d008b2c..."} 
[2026-04-28 01:22:00] local.INFO: Processing buffer {"connection_id":56143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07e9d60012d449a0006927be0002d008b2c..."} 
[2026-04-28 01:22:00] local.INFO: Packet analysis {"connection_id":56143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:22:00] local.INFO: Extracted packet for processing {"connection_id":56143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":759470592,"raw_latitude":110263264,"longitude_deg":75.9470592,"latitude_deg":11.0263264,"altitude":45,"angle":139,"satellites":44,"speed":54,"hex_longitude":"2d449a00","hex_latitude":"06927be0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993778432001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281469431907876864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937704438431107072,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777319452000,"timestamp_ms":1777319452000,"timestamp_seconds":1777319452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07e9d60"} 
[2026-04-28 01:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 01:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993778432001,"66":27321,"255":206,"86":48896,"24":54,"16":281469431907876864,"45":4937704438431107072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,86,24,16,45]} 
[2026-04-28 01:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993778432001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281469431907876864,"km_value":281469431907876.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937704438431107072,"description":"Unknown IO ID 45"} 
[2026-04-28 01:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993778432001,"power":27321,"unknown_255":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":4937704438431107072}} 
[2026-04-28 01:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":56143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:22:00] local.INFO: GPS data processed {"connection_id":56143,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:22:00] local.INFO: Acknowledgment sent {"connection_id":56143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:22:33] local.INFO: TCP Data received {"connection_id":56143,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07ead00012d44a64006926a10002e00972c..."} 
[2026-04-28 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07ead00012d44a64006926a10002e00972c..."} 
[2026-04-28 01:22:33] local.INFO: Processing buffer {"connection_id":56143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07ead00012d44a64006926a10002e00972c..."} 
[2026-04-28 01:22:33] local.INFO: Packet analysis {"connection_id":56143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:22:33] local.INFO: Extracted packet for processing {"connection_id":56143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:22:33] local.INFO: GPS Element Parsed {"raw_longitude":759473728,"raw_latitude":110258704,"longitude_deg":75.9473728,"latitude_deg":11.0258704,"altitude":46,"angle":151,"satellites":44,"speed":54,"hex_longitude":"2d44a640","hex_latitude":"06926a10","is_valid_coordinates":true} 
[2026-04-28 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993779712001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281469698195849216,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4943263569219936256,"note":"Value kept but may cause issues"} 
[2026-04-28 01:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777319456000,"timestamp_ms":1777319456000,"timestamp_seconds":1777319456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07ead00"} 
[2026-04-28 01:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:22:33] 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-04-28 01:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:22:33] 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-04-28 01:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993779712001,"66":27343,"253":206,"86":48896,"24":54,"16":281469698195849216,"45":4943263569219936256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-04-28 01:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993779712001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:22:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-28 01:22:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281469698195849216,"km_value":281469698195849.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4943263569219936256,"description":"Unknown IO ID 45"} 
[2026-04-28 01:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993779712001,"power":27343,"unknown_253":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":4943263569219936256}} 
[2026-04-28 01:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":56143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:22:33] local.INFO: GPS data processed {"connection_id":56143,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:22:33] local.INFO: Acknowledgment sent {"connection_id":56143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:22:55] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:55] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:55] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:22:58] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:58] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:22:58] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:23:00] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:00] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:00] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:23:01] local.INFO: TCP Data received {"connection_id":56233,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:01] local.INFO: Processing buffer {"connection_id":56233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:01] local.INFO: IMEI packet received {"connection_id":56233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":56233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:23:02] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07ebca0012d44ae8006925670002e00a32b..."} 
[2026-04-28 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07ebca0012d44ae8006925670002e00a32b..."} 
[2026-04-28 01:23:02] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07ebca0012d44ae8006925670002e00a32b..."} 
[2026-04-28 01:23:02] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:02] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":759475840,"raw_latitude":110253680,"longitude_deg":75.947584,"latitude_deg":11.025368,"altitude":46,"angle":163,"satellites":43,"speed":54,"hex_longitude":"2d44ae80","hex_latitude":"06925670","is_valid_coordinates":true} 
[2026-04-28 01:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993780736001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281469960188854272,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4946711637683474432,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777319460000,"timestamp_ms":1777319460000,"timestamp_seconds":1777319460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07ebca0"} 
[2026-04-28 01:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993780736001,"66":27376,"253":206,"86":48896,"24":54,"16":281469960188854272,"45":4946711637683474432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-04-28 01:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993780736001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:23:02] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-28 01:23:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281469960188854272,"km_value":281469960188854.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4946711637683474432,"description":"Unknown IO ID 45"} 
[2026-04-28 01:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993780736001,"power":27376,"unknown_253":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":4946711637683474432}} 
[2026-04-28 01:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:23:02] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:23:02] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:23:05] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07ed410012d44b34006923778002f00b02c..."} 
[2026-04-28 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07ed410012d44b34006923778002f00b02c..."} 
[2026-04-28 01:23:05] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07ed410012d44b34006923778002f00b02c..."} 
[2026-04-28 01:23:05] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:05] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":759477056,"raw_latitude":110245752,"longitude_deg":75.9477056,"latitude_deg":11.0245752,"altitude":47,"angle":176,"satellites":44,"speed":52,"hex_longitude":"2d44b340","hex_latitude":"06923778","is_valid_coordinates":true} 
[2026-04-28 01:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993781760001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281470351030878208,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949033806240051200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 01:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777319466000,"timestamp_ms":1777319466000,"timestamp_seconds":1777319466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07ed410"} 
[2026-04-28 01:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:23:05] 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-04-28 01:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:05] 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-04-28 01:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993781760001,"66":27310,"86":48896,"24":52,"16":281470351030878208,"45":4949033806240051200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-04-28 01:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993781760001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:23:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281470351030878208,"km_value":281470351030878.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949033806240051200,"description":"Unknown IO ID 45"} 
[2026-04-28 01:23:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993781760001,"power":27310,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":4949033806240051200}} 
[2026-04-28 01:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:23:05] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:23:05] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:23:36] local.INFO: TCP Data received {"connection_id":55984,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:36] local.INFO: Processing buffer {"connection_id":55984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:23:36] local.INFO: IMEI packet received {"connection_id":55984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":55984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:23:36] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd07eef68012d44b54006921430003000b22b..."} 
[2026-04-28 01:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd07eef68012d44b54006921430003000b22b..."} 
[2026-04-28 01:23:36] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd07eef68012d44b54006921430003000b22b..."} 
[2026-04-28 01:23:36] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:36] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd07e"} 
[2026-04-28 01:23:36] local.INFO: GPS Element Parsed {"raw_longitude":759477568,"raw_latitude":110236720,"longitude_deg":75.9477568,"latitude_deg":11.023672,"altitude":48,"angle":178,"satellites":43,"speed":50,"hex_longitude":"2d44b540","hex_latitude":"06921430","is_valid_coordinates":true} 
[2026-04-28 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993783296001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281470789117542400,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950370812377397248,"note":"Value kept but may cause issues"} 
[2026-04-28 01:23:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 01:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777319473000,"timestamp_ms":1777319473000,"timestamp_seconds":1777319473,"priority":1,"record_length":96,"hex_timestamp":"0000019dd07eef68"} 
[2026-04-28 01:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 01:23:36] 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-04-28 01:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:23:36] 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-04-28 01:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993783296001,"66":27376,"86":48896,"24":50,"16":281470789117542400,"45":4950370812377397248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-04-28 01:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993783296001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:23:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281470789117542400,"km_value":281470789117542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950370812377397248,"description":"Unknown IO ID 45"} 
[2026-04-28 01:23:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454993783296001,"power":27376,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":4950370812377397248}} 
[2026-04-28 01:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:23:36] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:23:36] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:23:55] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:55] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:55] local.INFO: IMEI packet received {"connection_id":56234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":56234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:23:58] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:58] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:23:58] local.INFO: IMEI packet received {"connection_id":56234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":56234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:24:00] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:24:00] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:24:00] local.INFO: IMEI packet received {"connection_id":56234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":56234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:24:00] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08079f0012d4536800690a118004000912b..."} 
[2026-04-28 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08079f0012d4536800690a118004000912b..."} 
[2026-04-28 01:24:00] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08079f0012d4536800690a118004000912b..."} 
[2026-04-28 01:24:00] local.INFO: Packet analysis {"connection_id":56234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:24:00] local.INFO: Extracted packet for processing {"connection_id":56234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":759510656,"raw_latitude":110141720,"longitude_deg":75.9510656,"latitude_deg":11.014172,"altitude":64,"angle":145,"satellites":43,"speed":45,"hex_longitude":"2d453680","hex_latitude":"0690a118","is_valid_coordinates":true} 
[2026-04-28 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993808896001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281475762689671168,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4981825641000241152,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777319574000,"timestamp_ms":1777319574000,"timestamp_seconds":1777319574,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08079f0"} 
[2026-04-28 01:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993808896001,"66":27463,"47":206,"86":48896,"24":45,"16":281475762689671168,"45":4981825641000241152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-04-28 01:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993808896001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:24:00] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 01:24:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281475762689671168,"km_value":281475762689671.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4981825641000241152,"description":"Unknown IO ID 45"} 
[2026-04-28 01:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993808896001,"power":27463,"unknown_47":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":4981825641000241152}} 
[2026-04-28 01:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:24:00] local.INFO: GPS data processed {"connection_id":56234,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:24:00] local.INFO: Acknowledgment sent {"connection_id":56234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:24:31] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0809930012d454bc0069085500042008c2c..."} 
[2026-04-28 01:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0809930012d454bc0069085500042008c2c..."} 
[2026-04-28 01:24:31] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0809930012d454bc0069085500042008c2c..."} 
[2026-04-28 01:24:31] local.INFO: Packet analysis {"connection_id":56234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:24:31] local.INFO: Extracted packet for processing {"connection_id":56234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":759516096,"raw_latitude":110134608,"longitude_deg":75.9516096,"latitude_deg":11.0134608,"altitude":66,"angle":140,"satellites":44,"speed":43,"hex_longitude":"2d454bc0","hex_latitude":"06908550","is_valid_coordinates":true} 
[2026-04-28 01:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993810944001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281476192186400768,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4987314403044038656,"note":"Value kept but may cause issues"} 
[2026-04-28 01:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777319582000,"timestamp_ms":1777319582000,"timestamp_seconds":1777319582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0809930"} 
[2026-04-28 01:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993810944001,"66":27332,"47":206,"86":48896,"24":43,"16":281476192186400768,"45":4987314403044038656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-04-28 01:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993810944001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:24:31] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 01:24:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281476192186400768,"km_value":281476192186400.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4987314403044038656,"description":"Unknown IO ID 45"} 
[2026-04-28 01:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993810944001,"power":27332,"unknown_47":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":4987314403044038656}} 
[2026-04-28 01:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":56234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:24:31] local.INFO: GPS data processed {"connection_id":56234,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:24:31] local.INFO: Acknowledgment sent {"connection_id":56234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:25:00] local.INFO: TCP Data received {"connection_id":56144,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:00] local.INFO: Processing buffer {"connection_id":56144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:00] local.INFO: IMEI packet received {"connection_id":56144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:25:01] local.INFO: TCP Data received {"connection_id":56144,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:01] local.INFO: Processing buffer {"connection_id":56144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:25:01] local.INFO: IMEI packet received {"connection_id":56144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":56144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:25:01] local.INFO: TCP Data received {"connection_id":56144,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd080bc58012d4565c006906ab8004400842c..."} 
[2026-04-28 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd080bc58012d4565c006906ab8004400842c..."} 
[2026-04-28 01:25:01] local.INFO: Processing buffer {"connection_id":56144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd080bc58012d4565c006906ab8004400842c..."} 
[2026-04-28 01:25:01] local.INFO: Packet analysis {"connection_id":56144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:25:01] local.INFO: Extracted packet for processing {"connection_id":56144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:25:01] local.INFO: GPS Element Parsed {"raw_longitude":759522752,"raw_latitude":110127800,"longitude_deg":75.9522752,"latitude_deg":11.01278,"altitude":68,"angle":132,"satellites":44,"speed":41,"hex_longitude":"2d4565c0","hex_latitude":"06906ab8","is_valid_coordinates":true} 
[2026-04-28 01:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993812992001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281476656042868736,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4993295746297319424,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777319591000,"timestamp_ms":1777319591000,"timestamp_seconds":1777319591,"priority":1,"record_length":96,"hex_timestamp":"0000019dd080bc58"} 
[2026-04-28 01:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 01:25: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-04-28 01:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25: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-04-28 01:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993812992001,"66":27376,"47":206,"86":48896,"24":41,"16":281476656042868736,"45":4993295746297319424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-04-28 01:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993812992001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:25:01] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 01:25:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281476656042868736,"km_value":281476656042868.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4993295746297319424,"description":"Unknown IO ID 45"} 
[2026-04-28 01:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993812992001,"power":27376,"unknown_47":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":4993295746297319424}} 
[2026-04-28 01:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:25:01] local.INFO: GPS data processed {"connection_id":56144,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:25:01] local.INFO: Acknowledgment sent {"connection_id":56144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:25:05] local.INFO: TCP Data received {"connection_id":56144,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd080df80012d458200069052c8004500832b..."} 
[2026-04-28 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd080df80012d458200069052c8004500832b..."} 
[2026-04-28 01:25:05] local.INFO: Processing buffer {"connection_id":56144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd080df80012d458200069052c8004500832b..."} 
[2026-04-28 01:25:05] local.INFO: Packet analysis {"connection_id":56144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:25:05] local.INFO: Extracted packet for processing {"connection_id":56144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd080"} 
[2026-04-28 01:25:05] local.INFO: GPS Element Parsed {"raw_longitude":759529984,"raw_latitude":110121672,"longitude_deg":75.9529984,"latitude_deg":11.0121672,"altitude":69,"angle":131,"satellites":43,"speed":42,"hex_longitude":"2d458200","hex_latitude":"069052c8","is_valid_coordinates":true} 
[2026-04-28 01:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993815296001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281477107014434816,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5000614095690053632,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777319600000,"timestamp_ms":1777319600000,"timestamp_seconds":1777319600,"priority":1,"record_length":96,"hex_timestamp":"0000019dd080df80"} 
[2026-04-28 01:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:25:05] 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-04-28 01:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25:05] 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-04-28 01:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993815296001,"66":27365,"47":206,"86":48896,"24":42,"16":281477107014434816,"45":5000614095690053632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-04-28 01:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993815296001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:25:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 01:25:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281477107014434816,"km_value":281477107014434.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5000614095690053632,"description":"Unknown IO ID 45"} 
[2026-04-28 01:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993815296001,"power":27365,"unknown_47":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5000614095690053632}} 
[2026-04-28 01:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":56144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:25:05] local.INFO: GPS data processed {"connection_id":56144,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:25:05] local.INFO: Acknowledgment sent {"connection_id":56144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:25:37] local.INFO: TCP Data received {"connection_id":56144,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08102a8012d459ec006903968004500852b..."} 
[2026-04-28 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08102a8012d459ec006903968004500852b..."} 
[2026-04-28 01:25:37] local.INFO: Processing buffer {"connection_id":56144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08102a8012d459ec006903968004500852b..."} 
[2026-04-28 01:25:37] local.INFO: Packet analysis {"connection_id":56144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd081"} 
[2026-04-28 01:25:37] local.INFO: Extracted packet for processing {"connection_id":56144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd081"} 
[2026-04-28 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":759537344,"raw_latitude":110115176,"longitude_deg":75.9537344,"latitude_deg":11.0115176,"altitude":69,"angle":133,"satellites":43,"speed":44,"hex_longitude":"2d459ec0","hex_latitude":"06903968","is_valid_coordinates":true} 
[2026-04-28 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993817600001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281477579460837376,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5008565763780560896,"note":"Value kept but may cause issues"} 
[2026-04-28 01:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777319609000,"timestamp_ms":1777319609000,"timestamp_seconds":1777319609,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08102a8"} 
[2026-04-28 01:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:25:37] 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-04-28 01:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993817600001,"66":27300,"47":206,"86":48896,"24":44,"16":281477579460837376,"45":5008565763780560896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-04-28 01:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993817600001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:25:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 01:25:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281477579460837376,"km_value":281477579460837.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5008565763780560896,"description":"Unknown IO ID 45"} 
[2026-04-28 01:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993817600001,"power":27300,"unknown_47":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5008565763780560896}} 
[2026-04-28 01:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":56144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:25:37] local.INFO: GPS data processed {"connection_id":56144,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:25:37] local.INFO: Acknowledgment sent {"connection_id":56144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:26:10] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:10] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:10] local.INFO: IMEI packet received {"connection_id":56871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":56871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:26:11] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:11] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:11] local.INFO: IMEI packet received {"connection_id":56871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":56871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:26:12] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08246e0012d463f00068ed870004700ac2b..."} 
[2026-04-28 01:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08246e0012d463f00068ed870004700ac2b..."} 
[2026-04-28 01:26:12] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08246e0012d463f00068ed870004700ac2b..."} 
[2026-04-28 01:26:12] local.INFO: Packet analysis {"connection_id":56871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd082"} 
[2026-04-28 01:26:12] local.INFO: Extracted packet for processing {"connection_id":56871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd082"} 
[2026-04-28 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":759578368,"raw_latitude":110024816,"longitude_deg":75.9578368,"latitude_deg":11.0024816,"altitude":71,"angle":172,"satellites":43,"speed":42,"hex_longitude":"2d463f00","hex_latitude":"068ed870","is_valid_coordinates":true} 
[2026-04-28 01:26: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-04-28 01:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993839104001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281482467133620224,"note":"Value kept but may cause issues"} 
[2026-04-28 01:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059934947007850496,"note":"Value kept but may cause issues"} 
[2026-04-28 01:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777319692000,"timestamp_ms":1777319692000,"timestamp_seconds":1777319692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08246e0"} 
[2026-04-28 01:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:26: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-04-28 01:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:26:12] 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-04-28 01:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993839104001,"66":27343,"48":206,"86":48896,"24":42,"16":281482467133620224,"45":5059934947007850496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-04-28 01:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993839104001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:26:12] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-04-28 01:26:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281482467133620224,"km_value":281482467133620.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059934947007850496,"description":"Unknown IO ID 45"} 
[2026-04-28 01:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993839104001,"power":27343,"unknown_48":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5059934947007850496}} 
[2026-04-28 01:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":56871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:26:12] local.INFO: GPS data processed {"connection_id":56871,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:26:12] local.INFO: Acknowledgment sent {"connection_id":56871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:26:58] local.INFO: TCP Data received {"connection_id":55988,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:58] local.INFO: Processing buffer {"connection_id":55988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:26:58] local.INFO: IMEI packet received {"connection_id":55988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":55988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:27:00] local.INFO: TCP Data received {"connection_id":55988,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:00] local.INFO: Processing buffer {"connection_id":55988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:00] local.INFO: IMEI packet received {"connection_id":55988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":55988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:27:04] local.INFO: TCP Data received {"connection_id":55988,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:04] local.INFO: Processing buffer {"connection_id":55988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:04] local.INFO: IMEI packet received {"connection_id":55988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":55988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:27:05] local.INFO: TCP Data received {"connection_id":55988,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0826df0012d464140068eb3d0004900b22a..."} 
[2026-04-28 01:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0826df0012d464140068eb3d0004900b22a..."} 
[2026-04-28 01:27:05] local.INFO: Processing buffer {"connection_id":55988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0826df0012d464140068eb3d0004900b22a..."} 
[2026-04-28 01:27:05] local.INFO: Packet analysis {"connection_id":55988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd082"} 
[2026-04-28 01:27:05] local.INFO: Extracted packet for processing {"connection_id":55988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd082"} 
[2026-04-28 01:27:05] local.INFO: GPS Element Parsed {"raw_longitude":759578944,"raw_latitude":110015440,"longitude_deg":75.9578944,"latitude_deg":11.001544,"altitude":73,"angle":178,"satellites":42,"speed":34,"hex_longitude":"2d464140","hex_latitude":"068eb3d0","is_valid_coordinates":true} 
[2026-04-28 01:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993841152001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281482922400153600,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061764534354079744,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777319702000,"timestamp_ms":1777319702000,"timestamp_seconds":1777319702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0826df0"} 
[2026-04-28 01:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:27:05] 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-04-28 01:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993841152001,"66":27234,"48":206,"86":48896,"24":34,"16":281482922400153600,"45":5061764534354079744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-04-28 01:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993841152001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:27:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-04-28 01:27:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281482922400153600,"km_value":281482922400153.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061764534354079744,"description":"Unknown IO ID 45"} 
[2026-04-28 01:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993841152001,"power":27234,"unknown_48":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5061764534354079744}} 
[2026-04-28 01:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":55988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:27:05] local.INFO: GPS data processed {"connection_id":55988,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:27:05] local.INFO: Acknowledgment sent {"connection_id":55988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:27:36] local.INFO: TCP Data received {"connection_id":55988,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0840fe8012d46fd80068dd558005700642a..."} 
[2026-04-28 01:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0840fe8012d46fd80068dd558005700642a..."} 
[2026-04-28 01:27:36] local.INFO: Processing buffer {"connection_id":55988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0840fe8012d46fd80068dd558005700642a..."} 
[2026-04-28 01:27:36] local.INFO: Packet analysis {"connection_id":55988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd084"} 
[2026-04-28 01:27:36] local.INFO: Extracted packet for processing {"connection_id":55988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd084"} 
[2026-04-28 01:27:36] local.INFO: GPS Element Parsed {"raw_longitude":759627136,"raw_latitude":109958488,"longitude_deg":75.9627136,"latitude_deg":10.9958488,"altitude":87,"angle":100,"satellites":42,"speed":53,"hex_longitude":"2d46fd80","hex_latitude":"068dd558","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993869056001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281486989734182912,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5104478362053482496,"note":"Value kept but may cause issues"} 
[2026-04-28 01:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777319809000,"timestamp_ms":1777319809000,"timestamp_seconds":1777319809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0840fe8"} 
[2026-04-28 01:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 01:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":55988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":55988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":55988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:27:36] 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-04-28 01:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993869056001,"66":27484,"73":206,"86":48896,"24":53,"16":281486989734182912,"45":5104478362053482496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-04-28 01:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993869056001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:27:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-28 01:27:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281486989734182912,"km_value":281486989734182.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5104478362053482496,"description":"Unknown IO ID 45"} 
[2026-04-28 01:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993869056001,"power":27484,"unknown_73":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5104478362053482496}} 
[2026-04-28 01:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":55988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:27:36] local.INFO: GPS data processed {"connection_id":55988,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:27:36] local.INFO: Acknowledgment sent {"connection_id":55988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:27:55] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:55] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:55] local.INFO: IMEI packet received {"connection_id":56872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":56872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:27:56] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:56] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:27:56] local.INFO: IMEI packet received {"connection_id":56872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":56872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:28:00] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:28:00] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:28:00] local.INFO: IMEI packet received {"connection_id":56872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:28:01] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0842b40012d472480068dd1d0005300572c..."} 
[2026-04-28 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0842b40012d472480068dd1d0005300572c..."} 
[2026-04-28 01:28:01] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0842b40012d472480068dd1d0005300572c..."} 
[2026-04-28 01:28:01] local.INFO: Packet analysis {"connection_id":56872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd084"} 
[2026-04-28 01:28:01] local.INFO: Extracted packet for processing {"connection_id":56872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd084"} 
[2026-04-28 01:28:01] local.INFO: GPS Element Parsed {"raw_longitude":759637120,"raw_latitude":109957584,"longitude_deg":75.963712,"latitude_deg":10.9957584,"altitude":83,"angle":87,"satellites":44,"speed":59,"hex_longitude":"2d472480","hex_latitude":"068dd1d0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993871104001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281487466475552768,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5115385517400479744,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777319816000,"timestamp_ms":1777319816000,"timestamp_seconds":1777319816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0842b40"} 
[2026-04-28 01:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:28: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-04-28 01:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993871104001,"66":27484,"62":206,"86":48896,"24":59,"16":281487466475552768,"45":5115385517400479744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-04-28 01:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993871104001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:28:01] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-28 01:28:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281487466475552768,"km_value":281487466475552.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5115385517400479744,"description":"Unknown IO ID 45"} 
[2026-04-28 01:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993871104001,"power":27484,"unknown_62":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5115385517400479744}} 
[2026-04-28 01:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":56872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:28:01] local.INFO: GPS data processed {"connection_id":56872,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:28:01] local.INFO: Acknowledgment sent {"connection_id":56872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:28:32] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.32","data_length":807,"data_hex":"000000000000031b8e0a0000019dd084f660002d48a740068db810002600842c..."} 
[2026-04-28 01:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":807,"packet_hex":"000000000000031b8e0a0000019dd084f660002d48a740068db810002600842c..."} 
[2026-04-28 01:28:32] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":807,"buffer_hex":"000000000000031b8e0a0000019dd084f660002d48a740068db810002600842c..."} 
[2026-04-28 01:28:32] local.INFO: Packet analysis {"connection_id":56872,"data_field_length":795,"total_packet_length":807,"buffer_length":807,"packet_hex_start":"000000000000031b8e0a0000019dd084"} 
[2026-04-28 01:28:32] local.INFO: Extracted packet for processing {"connection_id":56872,"packet_length":807,"remaining_buffer_length":0,"packet_hex_start":"000000000000031b8e0a0000019dd084"} 
[2026-04-28 01:28:32] local.INFO: GPS Element Parsed {"raw_longitude":759736128,"raw_latitude":109950992,"longitude_deg":75.9736128,"latitude_deg":10.9950992,"altitude":38,"angle":132,"satellites":44,"speed":93,"hex_longitude":"2d48a740","hex_latitude":"068db810","is_valid_coordinates":true} 
[2026-04-28 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":807,"current_offset":40} 
[2026-04-28 01:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993885696000,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281492470112452608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5231282839059959808,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:32] local.WARNING: Large IO value detected {"io_id":40,"raw_value":36077177074155264,"note":"Value kept but may cause issues"} 
[2026-04-28 01:28:32] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,90,86,24,16,45,40],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-04-28 01:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777319868000,"timestamp_ms":1777319868000,"timestamp_seconds":1777319868,"priority":0,"record_length":108,"hex_timestamp":"0000019dd084f660"} 
[2026-04-28 01:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-04-28 01:28:32] local.INFO: GPS Element Parsed {"raw_longitude":16735232,"raw_latitude":4026597445,"longitude_deg":1.6735232,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27484,"hex_longitude":"00ff5c00","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-04-28 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":56,"n2_two_byte":90,"n4_four_byte":0,"n8_eight_byte":206,"data_length":807,"current_offset":148} 
[2026-04-28 01:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":2236,"max_length":807,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":807,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:28:32] 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-04-28 01:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993885696000,"66":27463,"90":206,"86":48896,"24":93,"16":281492470112452608,"45":5231282839059959808,"40":36077177074155264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45,40]} 
[2026-04-28 01:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993885696000,"description":"Unknown IO ID 0"} 
[2026-04-28 01:28:32] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 01:28:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281492470112452608,"km_value":281492470112452.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5231282839059959808,"description":"Unknown IO ID 45"} 
[2026-04-28 01:28:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":36077177074155264,"description":"Unknown IO ID 40"} 
[2026-04-28 01:28:32] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":454993885696000,"power":27463,"unknown_90":206,"unknown_86":48896,"ignition":93,"odometer":null,"unknown_45":5231282839059959808,"unknown_40":36077177074155264}} 
[2026-04-28 01:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:28:32] local.INFO: GPS data processed {"connection_id":56872,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:28:32] local.INFO: Acknowledgment sent {"connection_id":56872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:29:01] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:01] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:01] local.INFO: IMEI packet received {"connection_id":56873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":56873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:29:09] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:09] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:09] local.INFO: IMEI packet received {"connection_id":56235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":56235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:29:11] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:11] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:11] local.INFO: IMEI packet received {"connection_id":56235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":56235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:29:14] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:14] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:14] local.INFO: IMEI packet received {"connection_id":56235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":56235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:29:16] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.32","data_length":822,"data_hex":"000000000000032a8e0a0000019dd0854480002d490800068d0f680013009d2b..."} 
[2026-04-28 01:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":822,"packet_hex":"000000000000032a8e0a0000019dd0854480002d490800068d0f680013009d2b..."} 
[2026-04-28 01:29:16] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":822,"buffer_hex":"000000000000032a8e0a0000019dd0854480002d490800068d0f680013009d2b..."} 
[2026-04-28 01:29:16] local.INFO: Packet analysis {"connection_id":56235,"data_field_length":810,"total_packet_length":822,"buffer_length":822,"packet_hex_start":"000000000000032a8e0a0000019dd085"} 
[2026-04-28 01:29:16] local.INFO: Extracted packet for processing {"connection_id":56235,"packet_length":822,"remaining_buffer_length":0,"packet_hex_start":"000000000000032a8e0a0000019dd085"} 
[2026-04-28 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":759760896,"raw_latitude":109907816,"longitude_deg":75.9760896,"latitude_deg":10.9907816,"altitude":19,"angle":157,"satellites":43,"speed":102,"hex_longitude":"2d490800","hex_latitude":"068d0f68","is_valid_coordinates":true} 
[2026-04-28 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":822,"current_offset":40} 
[2026-04-28 01:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993890816000,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281494901063942144,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5260274761650546688,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:16] local.WARNING: Large IO value detected {"io_id":19,"raw_value":44239951600090880,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:16] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,90,86,24,16,45,19],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-04-28 01:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777319888000,"timestamp_ms":1777319888000,"timestamp_seconds":1777319888,"priority":0,"record_length":108,"hex_timestamp":"0000019dd0854480"} 
[2026-04-28 01:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-04-28 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":16738304,"raw_latitude":4026597445,"longitude_deg":1.6738304,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27321,"hex_longitude":"00ff6800","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-04-28 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":56,"n2_two_byte":90,"n4_four_byte":0,"n8_eight_byte":206,"data_length":822,"current_offset":148} 
[2026-04-28 01:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":2236,"max_length":822,"available_bytes":674,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":822,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:29: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-04-28 01:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993890816000,"66":27180,"90":206,"86":48896,"24":102,"16":281494901063942144,"45":5260274761650546688,"19":44239951600090880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45,19]} 
[2026-04-28 01:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993890816000,"description":"Unknown IO ID 0"} 
[2026-04-28 01:29:16] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 01:29:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281494901063942144,"km_value":281494901063942.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5260274761650546688,"description":"Unknown IO ID 45"} 
[2026-04-28 01:29:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":44239951600090880,"description":"Unknown IO ID 19"} 
[2026-04-28 01:29:16] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":454993890816000,"power":27180,"unknown_90":206,"unknown_86":48896,"ignition":102,"odometer":null,"unknown_45":5260274761650546688,"unknown_19":44239951600090880}} 
[2026-04-28 01:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":56235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:29:16] local.INFO: GPS data processed {"connection_id":56235,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:29:16] local.INFO: Acknowledgment sent {"connection_id":56235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:29:17] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.32","data_length":822,"data_hex":"000000000000032a8e0a0000019dd0854c50002d490f80068cfcf00014009e2b..."} 
[2026-04-28 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":822,"packet_hex":"000000000000032a8e0a0000019dd0854c50002d490f80068cfcf00014009e2b..."} 
[2026-04-28 01:29:17] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":822,"buffer_hex":"000000000000032a8e0a0000019dd0854c50002d490f80068cfcf00014009e2b..."} 
[2026-04-28 01:29:17] local.INFO: Packet analysis {"connection_id":56235,"data_field_length":810,"total_packet_length":822,"buffer_length":822,"packet_hex_start":"000000000000032a8e0a0000019dd085"} 
[2026-04-28 01:29:17] local.INFO: Extracted packet for processing {"connection_id":56235,"packet_length":822,"remaining_buffer_length":0,"packet_hex_start":"000000000000032a8e0a0000019dd085"} 
[2026-04-28 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":759762816,"raw_latitude":109903088,"longitude_deg":75.9762816,"latitude_deg":10.9903088,"altitude":20,"angle":158,"satellites":43,"speed":99,"hex_longitude":"2d490f80","hex_latitude":"068cfcf0","is_valid_coordinates":true} 
[2026-04-28 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":822,"current_offset":40} 
[2026-04-28 01:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993891328000,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281495145877078016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5262456192718825472,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:17] local.WARNING: Large IO value detected {"io_id":19,"raw_value":44238852054908672,"note":"Value kept but may cause issues"} 
[2026-04-28 01:29:17] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,90,86,24,16,45,19],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-04-28 01:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777319890000,"timestamp_ms":1777319890000,"timestamp_seconds":1777319890,"priority":0,"record_length":108,"hex_timestamp":"0000019dd0854c50"} 
[2026-04-28 01:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-04-28 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":16737792,"raw_latitude":4026597445,"longitude_deg":1.6737792,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27180,"hex_longitude":"00ff6600","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-04-28 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":56,"n2_two_byte":90,"n4_four_byte":0,"n8_eight_byte":206,"data_length":822,"current_offset":148} 
[2026-04-28 01:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":2236,"max_length":822,"available_bytes":674,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":822,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:29: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-04-28 01:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993891328000,"66":27245,"90":206,"86":48896,"24":99,"16":281495145877078016,"45":5262456192718825472,"19":44238852054908672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45,19]} 
[2026-04-28 01:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993891328000,"description":"Unknown IO ID 0"} 
[2026-04-28 01:29:17] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 01:29:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281495145877078016,"km_value":281495145877078.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5262456192718825472,"description":"Unknown IO ID 45"} 
[2026-04-28 01:29:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":44238852054908672,"description":"Unknown IO ID 19"} 
[2026-04-28 01:29:17] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":454993891328000,"power":27245,"unknown_90":206,"unknown_86":48896,"ignition":99,"odometer":null,"unknown_45":5262456192718825472,"unknown_19":44238852054908672}} 
[2026-04-28 01:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":56235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:29:17] local.INFO: GPS data processed {"connection_id":56235,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:29:17] local.INFO: Acknowledgment sent {"connection_id":56235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:29:36] local.INFO: TCP Data received {"connection_id":55989,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:36] local.INFO: Processing buffer {"connection_id":55989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:29:36] local.INFO: IMEI packet received {"connection_id":55989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":55989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:29:55] local.INFO: TCP Data received {"connection_id":56146,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:55] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:29:55] local.INFO: IMEI packet received {"connection_id":56146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":56146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:30:00] local.INFO: TCP Data received {"connection_id":56146,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:00] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:00] local.INFO: IMEI packet received {"connection_id":56146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":56146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:30:00] local.INFO: TCP Data received {"connection_id":56146,"ip":"42.106.6.32","data_length":798,"data_hex":"00000000000003128e0a0000019dd085ec78012d49e600068c2cd8001300752c..."} 
[2026-04-28 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":798,"packet_hex":"00000000000003128e0a0000019dd085ec78012d49e600068c2cd8001300752c..."} 
[2026-04-28 01:30:00] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":798,"buffer_hex":"00000000000003128e0a0000019dd085ec78012d49e600068c2cd8001300752c..."} 
[2026-04-28 01:30:00] local.INFO: Packet analysis {"connection_id":56146,"data_field_length":786,"total_packet_length":798,"buffer_length":798,"packet_hex_start":"00000000000003128e0a0000019dd085"} 
[2026-04-28 01:30:00] local.INFO: Extracted packet for processing {"connection_id":56146,"packet_length":798,"remaining_buffer_length":0,"packet_hex_start":"00000000000003128e0a0000019dd085"} 
[2026-04-28 01:30:00] local.INFO: GPS Element Parsed {"raw_longitude":759817728,"raw_latitude":109849816,"longitude_deg":75.9817728,"latitude_deg":10.9849816,"altitude":19,"angle":117,"satellites":44,"speed":69,"hex_longitude":"2d49e600","hex_latitude":"068c2cd8","is_valid_coordinates":true} 
[2026-04-28 01:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":798,"current_offset":40} 
[2026-04-28 01:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993901056001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281499019937579008,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5315866069535789056,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777319931000,"timestamp_ms":1777319931000,"timestamp_seconds":1777319931,"priority":1,"record_length":96,"hex_timestamp":"0000019dd085ec78"} 
[2026-04-28 01:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":5,"data_length":798,"current_offset":136} 
[2026-04-28 01:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":798,"available_bytes":662,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":798,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993901056001,"66":27343,"189":206,"86":48896,"24":69,"16":281499019937579008,"45":5315866069535789056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993901056001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:30:00] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:30:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281499019937579008,"km_value":281499019937579.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5315866069535789056,"description":"Unknown IO ID 45"} 
[2026-04-28 01:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993901056001,"power":27343,"unknown_189":206,"unknown_86":48896,"ignition":69,"odometer":null,"unknown_45":5315866069535789056}} 
[2026-04-28 01:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":56146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:30:00] local.INFO: GPS data processed {"connection_id":56146,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:30:00] local.INFO: Acknowledgment sent {"connection_id":56146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:30:31] local.INFO: TCP Data received {"connection_id":56146,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08603e8012d4a0800068c16a0001100812a..."} 
[2026-04-28 01:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08603e8012d4a0800068c16a0001100812a..."} 
[2026-04-28 01:30:31] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08603e8012d4a0800068c16a0001100812a..."} 
[2026-04-28 01:30:31] local.INFO: Packet analysis {"connection_id":56146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:30:31] local.INFO: Extracted packet for processing {"connection_id":56146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:30:31] local.INFO: GPS Element Parsed {"raw_longitude":759826432,"raw_latitude":109844128,"longitude_deg":75.9826432,"latitude_deg":10.9844128,"altitude":17,"angle":129,"satellites":42,"speed":66,"hex_longitude":"2d4a0800","hex_latitude":"068c16a0","is_valid_coordinates":true} 
[2026-04-28 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993902336001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281499518153785344,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5324943637533743104,"note":"Value kept but may cause issues"} 
[2026-04-28 01:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777319937000,"timestamp_ms":1777319937000,"timestamp_seconds":1777319937,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08603e8"} 
[2026-04-28 01:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:30: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-04-28 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993902336001,"66":27376,"189":206,"86":48896,"24":66,"16":281499518153785344,"45":5324943637533743104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993902336001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:30:31] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:30:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281499518153785344,"km_value":281499518153785.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5324943637533743104,"description":"Unknown IO ID 45"} 
[2026-04-28 01:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993902336001,"power":27376,"unknown_189":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5324943637533743104}} 
[2026-04-28 01:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":56146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:30:31] local.INFO: GPS data processed {"connection_id":56146,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:30:31] local.INFO: Acknowledgment sent {"connection_id":56146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:30:55] local.INFO: TCP Data received {"connection_id":56147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:55] local.INFO: Processing buffer {"connection_id":56147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:30:55] local.INFO: IMEI packet received {"connection_id":56147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":56147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:31:00] local.INFO: TCP Data received {"connection_id":56147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:31:00] local.INFO: Processing buffer {"connection_id":56147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:31:00] local.INFO: IMEI packet received {"connection_id":56147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":56147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:31:01] local.INFO: TCP Data received {"connection_id":56147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd086cf08012d4ac9c0068b3ee00015006b2b..."} 
[2026-04-28 01:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd086cf08012d4ac9c0068b3ee00015006b2b..."} 
[2026-04-28 01:31:01] local.INFO: Processing buffer {"connection_id":56147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd086cf08012d4ac9c0068b3ee00015006b2b..."} 
[2026-04-28 01:31:01] local.INFO: Packet analysis {"connection_id":56147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:31:01] local.INFO: Extracted packet for processing {"connection_id":56147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":759876032,"raw_latitude":109788896,"longitude_deg":75.9876032,"latitude_deg":10.9788896,"altitude":21,"angle":107,"satellites":43,"speed":57,"hex_longitude":"2d4ac9c0","hex_latitude":"068b3ee0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993915648001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281503173170954240,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5380112732954290176,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777319989000,"timestamp_ms":1777319989000,"timestamp_seconds":1777319989,"priority":1,"record_length":96,"hex_timestamp":"0000019dd086cf08"} 
[2026-04-28 01:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 01:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:31: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-04-28 01:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993915648001,"66":27365,"189":206,"86":48896,"24":57,"16":281503173170954240,"45":5380112732954290176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993915648001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:31:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:31:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281503173170954240,"km_value":281503173170954.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5380112732954290176,"description":"Unknown IO ID 45"} 
[2026-04-28 01:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993915648001,"power":27365,"unknown_189":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5380112732954290176}} 
[2026-04-28 01:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":56147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:31:01] local.INFO: GPS data processed {"connection_id":56147,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:31:01] local.INFO: Acknowledgment sent {"connection_id":56147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:31:31] local.INFO: TCP Data received {"connection_id":56147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd086ea60012d4af040068b36b8001800632b..."} 
[2026-04-28 01:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd086ea60012d4af040068b36b8001800632b..."} 
[2026-04-28 01:31:31] local.INFO: Processing buffer {"connection_id":56147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd086ea60012d4af040068b36b8001800632b..."} 
[2026-04-28 01:31:31] local.INFO: Packet analysis {"connection_id":56147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:31:31] local.INFO: Extracted packet for processing {"connection_id":56147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd086"} 
[2026-04-28 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":759885888,"raw_latitude":109786808,"longitude_deg":75.9885888,"latitude_deg":10.9786808,"altitude":24,"angle":99,"satellites":43,"speed":54,"hex_longitude":"2d4af040","hex_latitude":"068b36b8","is_valid_coordinates":true} 
[2026-04-28 01:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993917184001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281503654207291392,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5389049563463999488,"note":"Value kept but may cause issues"} 
[2026-04-28 01:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777319996000,"timestamp_ms":1777319996000,"timestamp_seconds":1777319996,"priority":1,"record_length":96,"hex_timestamp":"0000019dd086ea60"} 
[2026-04-28 01:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993917184001,"66":27245,"189":206,"86":48896,"24":54,"16":281503654207291392,"45":5389049563463999488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993917184001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:31:31] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:31:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281503654207291392,"km_value":281503654207291.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5389049563463999488,"description":"Unknown IO ID 45"} 
[2026-04-28 01:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993917184001,"power":27245,"unknown_189":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":5389049563463999488}} 
[2026-04-28 01:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":56147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:31:31] local.INFO: GPS data processed {"connection_id":56147,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:31:31] local.INFO: Acknowledgment sent {"connection_id":56147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:32:00] local.INFO: TCP Data received {"connection_id":56148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:00] local.INFO: Processing buffer {"connection_id":56148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:00] local.INFO: IMEI packet received {"connection_id":56148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":56148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:32:05] local.INFO: TCP Data received {"connection_id":56148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:05] local.INFO: Processing buffer {"connection_id":56148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:05] local.INFO: IMEI packet received {"connection_id":56148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":56148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:32:07] local.INFO: TCP Data received {"connection_id":56148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08705b8012d4b1300068b3160001c00622a..."} 
[2026-04-28 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08705b8012d4b1300068b3160001c00622a..."} 
[2026-04-28 01:32:07] local.INFO: Processing buffer {"connection_id":56148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08705b8012d4b1300068b3160001c00622a..."} 
[2026-04-28 01:32:07] local.INFO: Packet analysis {"connection_id":56148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:07] local.INFO: Extracted packet for processing {"connection_id":56148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":759894784,"raw_latitude":109785440,"longitude_deg":75.9894784,"latitude_deg":10.978544,"altitude":28,"angle":98,"satellites":42,"speed":46,"hex_longitude":"2d4b1300","hex_latitude":"068b3160","is_valid_coordinates":true} 
[2026-04-28 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993918976001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281504083704020992,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5399886350066825216,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777320003000,"timestamp_ms":1777320003000,"timestamp_seconds":1777320003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08705b8"} 
[2026-04-28 01:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:32:07] 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-04-28 01:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:07] 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-04-28 01:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993918976001,"66":27376,"189":206,"86":48896,"24":46,"16":281504083704020992,"45":5399886350066825216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993918976001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:32:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:32:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281504083704020992,"km_value":281504083704021.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5399886350066825216,"description":"Unknown IO ID 45"} 
[2026-04-28 01:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993918976001,"power":27376,"unknown_189":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5399886350066825216}} 
[2026-04-28 01:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":56148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:32:07] local.INFO: GPS data processed {"connection_id":56148,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:32:07] local.INFO: Acknowledgment sent {"connection_id":56148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:32:08] local.INFO: TCP Data received {"connection_id":56148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08728e0012d4b3800068b2b580020006327..."} 
[2026-04-28 01:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08728e0012d4b3800068b2b580020006327..."} 
[2026-04-28 01:32:08] local.INFO: Processing buffer {"connection_id":56148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08728e0012d4b3800068b2b580020006327..."} 
[2026-04-28 01:32:08] local.INFO: Packet analysis {"connection_id":56148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:08] local.INFO: Extracted packet for processing {"connection_id":56148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":759904256,"raw_latitude":109783896,"longitude_deg":75.9904256,"latitude_deg":10.9783896,"altitude":32,"angle":99,"satellites":39,"speed":36,"hex_longitude":"2d4b3800","hex_latitude":"068b2b58","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993920768001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281504538970554368,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5409667605507170304,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777320012000,"timestamp_ms":1777320012000,"timestamp_seconds":1777320012,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08728e0"} 
[2026-04-28 01:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:08] 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-04-28 01:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993920768001,"66":27343,"189":206,"86":48896,"24":36,"16":281504538970554368,"45":5409667605507170304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993920768001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:32:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:32:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281504538970554368,"km_value":281504538970554.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5409667605507170304,"description":"Unknown IO ID 45"} 
[2026-04-28 01:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993920768001,"power":27343,"unknown_189":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5409667605507170304}} 
[2026-04-28 01:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":56148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:32:08] local.INFO: GPS data processed {"connection_id":56148,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:32:08] local.INFO: Acknowledgment sent {"connection_id":56148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:32:38] local.INFO: TCP Data received {"connection_id":56148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08757c0012d4b5d80068b25a80024006328..."} 
[2026-04-28 01:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08757c0012d4b5d80068b25a80024006328..."} 
[2026-04-28 01:32:38] local.INFO: Processing buffer {"connection_id":56148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08757c0012d4b5d80068b25a80024006328..."} 
[2026-04-28 01:32:38] local.INFO: Packet analysis {"connection_id":56148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:38] local.INFO: Extracted packet for processing {"connection_id":56148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:32:38] local.INFO: GPS Element Parsed {"raw_longitude":759913856,"raw_latitude":109782440,"longitude_deg":75.9913856,"latitude_deg":10.978244,"altitude":36,"angle":99,"satellites":40,"speed":29,"hex_longitude":"2d4b5d80","hex_latitude":"068b25a8","is_valid_coordinates":true} 
[2026-04-28 01:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993923072001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281505002827022336,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5420082179645069312,"note":"Value kept but may cause issues"} 
[2026-04-28 01:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777320024000,"timestamp_ms":1777320024000,"timestamp_seconds":1777320024,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08757c0"} 
[2026-04-28 01:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993923072001,"66":27321,"189":206,"86":48896,"24":29,"16":281505002827022336,"45":5420082179645069312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993923072001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:32:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:32:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281505002827022336,"km_value":281505002827022.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5420082179645069312,"description":"Unknown IO ID 45"} 
[2026-04-28 01:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993923072001,"power":27321,"unknown_189":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5420082179645069312}} 
[2026-04-28 01:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":56148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:32:38] local.INFO: GPS data processed {"connection_id":56148,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:32:38] local.INFO: Acknowledgment sent {"connection_id":56148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:32:55] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:55] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:55] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:32:56] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:56] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:32:56] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:33:00] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:00] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:00] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:33:01] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0878e70012d4b8140068b1fd80029006229..."} 
[2026-04-28 01:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0878e70012d4b8140068b1fd80029006229..."} 
[2026-04-28 01:33:01] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0878e70012d4b8140068b1fd80029006229..."} 
[2026-04-28 01:33:01] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:33:01] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:33:01] local.INFO: GPS Element Parsed {"raw_longitude":759923008,"raw_latitude":109780952,"longitude_deg":75.9923008,"latitude_deg":10.9780952,"altitude":41,"angle":98,"satellites":41,"speed":23,"hex_longitude":"2d4b8140","hex_latitude":"068b1fd8","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993926144001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281505445208653824,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5430637491271346176,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777320038000,"timestamp_ms":1777320038000,"timestamp_seconds":1777320038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0878e70"} 
[2026-04-28 01:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33: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-04-28 01:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993926144001,"66":27376,"189":206,"86":48896,"24":23,"16":281505445208653824,"45":5430637491271346176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993926144001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:33:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:33:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281505445208653824,"km_value":281505445208653.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5430637491271346176,"description":"Unknown IO ID 45"} 
[2026-04-28 01:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993926144001,"power":27376,"unknown_189":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5430637491271346176}} 
[2026-04-28 01:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:33:01] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:33:01] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:33:07] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd087d0d8012d4ba500068b1a00002d006229..."} 
[2026-04-28 01:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd087d0d8012d4ba500068b1a00002d006229..."} 
[2026-04-28 01:33:07] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd087d0d8012d4ba500068b1a00002d006229..."} 
[2026-04-28 01:33:07] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:33:07] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd087"} 
[2026-04-28 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":759932160,"raw_latitude":109779456,"longitude_deg":75.993216,"latitude_deg":10.9779456,"altitude":45,"angle":98,"satellites":41,"speed":22,"hex_longitude":"2d4ba500","hex_latitude":"068b1a00","is_valid_coordinates":true} 
[2026-04-28 01:33: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-04-28 01:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993929728001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281505883295318016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5440700221688371200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777320055000,"timestamp_ms":1777320055000,"timestamp_seconds":1777320055,"priority":1,"record_length":96,"hex_timestamp":"0000019dd087d0d8"} 
[2026-04-28 01:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:33:07] 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-04-28 01:33: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-04-28 01:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33:07] 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-04-28 01:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993929728001,"66":27343,"189":206,"86":48896,"24":22,"16":281505883295318016,"45":5440700221688371200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-04-28 01:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993929728001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:33:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-04-28 01:33:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281505883295318016,"km_value":281505883295318.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5440700221688371200,"description":"Unknown IO ID 45"} 
[2026-04-28 01:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993929728001,"power":27343,"unknown_189":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5440700221688371200}} 
[2026-04-28 01:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:33:07] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:33:07] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:33:39] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0880f58012d4bc880068b1470003100632a..."} 
[2026-04-28 01:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0880f58012d4bc880068b1470003100632a..."} 
[2026-04-28 01:33:39] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0880f58012d4bc880068b1470003100632a..."} 
[2026-04-28 01:33:39] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:33:39] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":759941248,"raw_latitude":109778032,"longitude_deg":75.9941248,"latitude_deg":10.9778032,"altitude":49,"angle":99,"satellites":42,"speed":22,"hex_longitude":"2d4bc880","hex_latitude":"068b1470","is_valid_coordinates":true} 
[2026-04-28 01:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993934080001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281506321381982208,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5450762952105394176,"note":"Value kept but may cause issues"} 
[2026-04-28 01:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777320071000,"timestamp_ms":1777320071000,"timestamp_seconds":1777320071,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0880f58"} 
[2026-04-28 01:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:33:39] 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-04-28 01:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993934080001,"66":27365,"187":206,"86":48896,"24":22,"16":281506321381982208,"45":5450762952105394176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993934080001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:33:39] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:33:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281506321381982208,"km_value":281506321381982.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5450762952105394176,"description":"Unknown IO ID 45"} 
[2026-04-28 01:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993934080001,"power":27365,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5450762952105394176}} 
[2026-04-28 01:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:33:39] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:33:39] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:33:55] local.INFO: TCP Data received {"connection_id":56149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:55] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:33:55] local.INFO: IMEI packet received {"connection_id":56149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":56149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:34:00] local.INFO: TCP Data received {"connection_id":56149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:00] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:00] local.INFO: IMEI packet received {"connection_id":56149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":56149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:34:02] local.INFO: TCP Data received {"connection_id":56149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0884dd8012d4bed00068b0eb0003600632a..."} 
[2026-04-28 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0884dd8012d4bed00068b0eb0003600632a..."} 
[2026-04-28 01:34:02] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0884dd8012d4bed00068b0eb0003600632a..."} 
[2026-04-28 01:34:02] local.INFO: Packet analysis {"connection_id":56149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:02] local.INFO: Extracted packet for processing {"connection_id":56149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":759950592,"raw_latitude":109776560,"longitude_deg":75.9950592,"latitude_deg":10.977656,"altitude":54,"angle":99,"satellites":42,"speed":22,"hex_longitude":"2d4bed00","hex_latitude":"068b0eb0","is_valid_coordinates":true} 
[2026-04-28 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993938176001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281506772353548288,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460755313778257920,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777320087000,"timestamp_ms":1777320087000,"timestamp_seconds":1777320087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0884dd8"} 
[2026-04-28 01:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993938176001,"66":27376,"187":206,"86":48896,"24":22,"16":281506772353548288,"45":5460755313778257920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993938176001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:34:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:34:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281506772353548288,"km_value":281506772353548.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460755313778257920,"description":"Unknown IO ID 45"} 
[2026-04-28 01:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993938176001,"power":27376,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5460755313778257920}} 
[2026-04-28 01:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":56149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:34:02] local.INFO: GPS data processed {"connection_id":56149,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:34:02] local.INFO: Acknowledgment sent {"connection_id":56149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:34:03] local.INFO: TCP Data received {"connection_id":56149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0888c58012d4c1000068b0928003a006229..."} 
[2026-04-28 01:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0888c58012d4c1000068b0928003a006229..."} 
[2026-04-28 01:34:03] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0888c58012d4c1000068b0928003a006229..."} 
[2026-04-28 01:34:03] local.INFO: Packet analysis {"connection_id":56149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:03] local.INFO: Extracted packet for processing {"connection_id":56149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:03] local.INFO: GPS Element Parsed {"raw_longitude":759959552,"raw_latitude":109775144,"longitude_deg":75.9959552,"latitude_deg":10.9775144,"altitude":58,"angle":98,"satellites":41,"speed":22,"hex_longitude":"2d4c1000","hex_latitude":"068b0928","is_valid_coordinates":true} 
[2026-04-28 01:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993942272001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281507206145245184,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5471029150427820032,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777320103000,"timestamp_ms":1777320103000,"timestamp_seconds":1777320103,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0888c58"} 
[2026-04-28 01:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:03] 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-04-28 01:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993942272001,"66":27332,"187":206,"86":48896,"24":22,"16":281507206145245184,"45":5471029150427820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993942272001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:34:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:34:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281507206145245184,"km_value":281507206145245.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5471029150427820032,"description":"Unknown IO ID 45"} 
[2026-04-28 01:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993942272001,"power":27332,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5471029150427820032}} 
[2026-04-28 01:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":56149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:34:03] local.INFO: GPS data processed {"connection_id":56149,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:34:03] local.INFO: Acknowledgment sent {"connection_id":56149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:34:34] local.INFO: TCP Data received {"connection_id":56149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd088cec0012d4c3480068b0338003e00632a..."} 
[2026-04-28 01:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd088cec0012d4c3480068b0338003e00632a..."} 
[2026-04-28 01:34:34] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd088cec0012d4c3480068b0338003e00632a..."} 
[2026-04-28 01:34:34] local.INFO: Packet analysis {"connection_id":56149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:34] local.INFO: Extracted packet for processing {"connection_id":56149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd088"} 
[2026-04-28 01:34:34] local.INFO: GPS Element Parsed {"raw_longitude":759968896,"raw_latitude":109773624,"longitude_deg":75.9968896,"latitude_deg":10.9773624,"altitude":62,"angle":99,"satellites":42,"speed":22,"hex_longitude":"2d4c3480","hex_latitude":"068b0338","is_valid_coordinates":true} 
[2026-04-28 01:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993946368001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281507652821843968,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5480880774612330496,"note":"Value kept but may cause issues"} 
[2026-04-28 01:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777320120000,"timestamp_ms":1777320120000,"timestamp_seconds":1777320120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd088cec0"} 
[2026-04-28 01:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 01:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993946368001,"66":27365,"187":206,"86":48896,"24":22,"16":281507652821843968,"45":5480880774612330496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993946368001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:34:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:34:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281507652821843968,"km_value":281507652821843.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5480880774612330496,"description":"Unknown IO ID 45"} 
[2026-04-28 01:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993946368001,"power":27365,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5480880774612330496}} 
[2026-04-28 01:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":56149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:34:34] local.INFO: GPS data processed {"connection_id":56149,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:34:34] local.INFO: Acknowledgment sent {"connection_id":56149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:34:55] local.INFO: TCP Data received {"connection_id":55991,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:55] local.INFO: Processing buffer {"connection_id":55991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:55] local.INFO: IMEI packet received {"connection_id":55991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":55991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:34:56] local.INFO: TCP Data received {"connection_id":55991,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:56] local.INFO: Processing buffer {"connection_id":55991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:34:56] local.INFO: IMEI packet received {"connection_id":55991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":55991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:35:00] local.INFO: TCP Data received {"connection_id":55991,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:00] local.INFO: Processing buffer {"connection_id":55991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:00] local.INFO: IMEI packet received {"connection_id":55991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":55991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:35:01] local.INFO: TCP Data received {"connection_id":55991,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0891128012d4c5880068afd480042006328..."} 
[2026-04-28 01:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0891128012d4c5880068afd480042006328..."} 
[2026-04-28 01:35:01] local.INFO: Processing buffer {"connection_id":55991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0891128012d4c5880068afd480042006328..."} 
[2026-04-28 01:35:01] local.INFO: Packet analysis {"connection_id":55991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:35:01] local.INFO: Extracted packet for processing {"connection_id":55991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:35:01] local.INFO: GPS Element Parsed {"raw_longitude":759978112,"raw_latitude":109772104,"longitude_deg":75.9978112,"latitude_deg":10.9772104,"altitude":66,"angle":99,"satellites":40,"speed":21,"hex_longitude":"2d4c5880","hex_latitude":"068afd48","is_valid_coordinates":true} 
[2026-04-28 01:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993950720001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281508099498442752,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5491154611261880320,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777320137000,"timestamp_ms":1777320137000,"timestamp_seconds":1777320137,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0891128"} 
[2026-04-28 01:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":55991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":55991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":55991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:35: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-04-28 01:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993950720001,"66":27267,"187":206,"86":48896,"24":21,"16":281508099498442752,"45":5491154611261880320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993950720001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:35:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:35:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281508099498442752,"km_value":281508099498442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5491154611261880320,"description":"Unknown IO ID 45"} 
[2026-04-28 01:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993950720001,"power":27267,"unknown_187":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5491154611261880320}} 
[2026-04-28 01:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":55991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:35:01] local.INFO: GPS data processed {"connection_id":55991,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:35:01] local.INFO: Acknowledgment sent {"connection_id":55991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:35:02] local.INFO: TCP Data received {"connection_id":55990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:02] local.INFO: Processing buffer {"connection_id":55990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:02] local.INFO: IMEI packet received {"connection_id":55990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":55990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:35:34] local.INFO: TCP Data received {"connection_id":55991,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0895390012d4c7c40068af7780045006328..."} 
[2026-04-28 01:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0895390012d4c7c40068af7780045006328..."} 
[2026-04-28 01:35:34] local.INFO: Processing buffer {"connection_id":55991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0895390012d4c7c40068af7780045006328..."} 
[2026-04-28 01:35:34] local.INFO: Packet analysis {"connection_id":55991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:35:34] local.INFO: Extracted packet for processing {"connection_id":55991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:35:34] local.INFO: GPS Element Parsed {"raw_longitude":759987264,"raw_latitude":109770616,"longitude_deg":75.9987264,"latitude_deg":10.9770616,"altitude":69,"angle":99,"satellites":40,"speed":21,"hex_longitude":"2d4c7c40","hex_latitude":"068af778","is_valid_coordinates":true} 
[2026-04-28 01:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993955072001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281508541880074240,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501287710423074816,"note":"Value kept but may cause issues"} 
[2026-04-28 01:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777320154000,"timestamp_ms":1777320154000,"timestamp_seconds":1777320154,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0895390"} 
[2026-04-28 01:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:35:34] 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-04-28 01:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993955072001,"66":27300,"187":206,"86":48896,"24":21,"16":281508541880074240,"45":5501287710423074816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993955072001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:35:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:35:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281508541880074240,"km_value":281508541880074.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501287710423074816,"description":"Unknown IO ID 45"} 
[2026-04-28 01:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993955072001,"power":27300,"unknown_187":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5501287710423074816}} 
[2026-04-28 01:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":55991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:35:34] local.INFO: GPS data processed {"connection_id":55991,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:35:34] local.INFO: Acknowledgment sent {"connection_id":55991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:35:36] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:36] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:35:36] local.INFO: IMEI packet received {"connection_id":56236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":56236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:35:55] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:55] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:35:55] local.INFO: IMEI packet received {"connection_id":56237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":56237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:36:00] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:00] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:00] local.INFO: IMEI packet received {"connection_id":56237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":56237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:36:02] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08995f8012d4ca000068af1280049006328..."} 
[2026-04-28 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08995f8012d4ca000068af1280049006328..."} 
[2026-04-28 01:36:02] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08995f8012d4ca000068af1280049006328..."} 
[2026-04-28 01:36:02] local.INFO: Packet analysis {"connection_id":56237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:36:02] local.INFO: Extracted packet for processing {"connection_id":56237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:36:02] local.INFO: GPS Element Parsed {"raw_longitude":759996416,"raw_latitude":109769000,"longitude_deg":75.9996416,"latitude_deg":10.9769,"altitude":73,"angle":99,"satellites":40,"speed":21,"hex_longitude":"2d4ca000","hex_latitude":"068af128","is_valid_coordinates":true} 
[2026-04-28 01:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993959424001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281508984261705728,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511350440840099840,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777320171000,"timestamp_ms":1777320171000,"timestamp_seconds":1777320171,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08995f8"} 
[2026-04-28 01:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 01:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993959424001,"66":27376,"187":206,"86":48896,"24":21,"16":281508984261705728,"45":5511350440840099840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-04-28 01:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993959424001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:36:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-28 01:36:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281508984261705728,"km_value":281508984261705.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511350440840099840,"description":"Unknown IO ID 45"} 
[2026-04-28 01:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993959424001,"power":27376,"unknown_187":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5511350440840099840}} 
[2026-04-28 01:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":56237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:36:02] local.INFO: GPS data processed {"connection_id":56237,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:36:02] local.INFO: Acknowledgment sent {"connection_id":56237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:36:34] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd089d860012d4cc340068aeba0004d006226..."} 
[2026-04-28 01:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd089d860012d4cc340068aeba0004d006226..."} 
[2026-04-28 01:36:34] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd089d860012d4cc340068aeba0004d006226..."} 
[2026-04-28 01:36:34] local.INFO: Packet analysis {"connection_id":56237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:36:34] local.INFO: Extracted packet for processing {"connection_id":56237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd089"} 
[2026-04-28 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":760005440,"raw_latitude":109767584,"longitude_deg":76.000544,"latitude_deg":10.9767584,"altitude":77,"angle":98,"satellites":38,"speed":20,"hex_longitude":"2d4cc340","hex_latitude":"068aeba0","is_valid_coordinates":true} 
[2026-04-28 01:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454993963776001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281509418053402624,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521413171257092096,"note":"Value kept but may cause issues"} 
[2026-04-28 01:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777320188000,"timestamp_ms":1777320188000,"timestamp_seconds":1777320188,"priority":1,"record_length":96,"hex_timestamp":"0000019dd089d860"} 
[2026-04-28 01:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:36:34] 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-04-28 01:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454993963776001,"66":27365,"94":206,"86":48896,"24":20,"16":281509418053402624,"45":5521413171257092096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-04-28 01:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454993963776001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:36:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 01:36:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281509418053402624,"km_value":281509418053402.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521413171257092096,"description":"Unknown IO ID 45"} 
[2026-04-28 01:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454993963776001,"power":27365,"unknown_94":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5521413171257092096}} 
[2026-04-28 01:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":56237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:36:34] local.INFO: GPS data processed {"connection_id":56237,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:36:34] local.INFO: Acknowledgment sent {"connection_id":56237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:36:55] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:55] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:55] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:36:58] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:58] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:36:58] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:37:05] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08c4d48012d4df780068a6fe8006d009018..."} 
[2026-04-28 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08c4d48012d4df780068a6fe8006d009018..."} 
[2026-04-28 01:37:05] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08c4d48012d4df780068a6fe8006d009018..."} 
[2026-04-28 01:37:05] local.INFO: Packet analysis {"connection_id":56879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08c"} 
[2026-04-28 01:37:05] local.INFO: Extracted packet for processing {"connection_id":56879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08c"} 
[2026-04-28 01:37:05] local.INFO: GPS Element Parsed {"raw_longitude":760084352,"raw_latitude":109735912,"longitude_deg":76.0084352,"latitude_deg":10.9735912,"altitude":109,"angle":144,"satellites":24,"speed":26,"hex_longitude":"2d4df780","hex_latitude":"068a6fe8","is_valid_coordinates":true} 
[2026-04-28 01:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994006784001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281513618531418112,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033276169177088,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777320349000,"timestamp_ms":1777320349000,"timestamp_seconds":1777320349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08c4d48"} 
[2026-04-28 01:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 01:37:05] 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-04-28 01:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:37:05] 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-04-28 01:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994006784001,"66":27376,"121":206,"86":48896,"24":26,"16":281513618531418112,"45":5613033276169177088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-04-28 01:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994006784001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 01:37:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281513618531418112,"km_value":281513618531418.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033276169177088,"description":"Unknown IO ID 45"} 
[2026-04-28 01:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994006784001,"power":27376,"unknown_121":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5613033276169177088}} 
[2026-04-28 01:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":56879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:37:05] local.INFO: GPS data processed {"connection_id":56879,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:37:05] local.INFO: Acknowledgment sent {"connection_id":56879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:37:36] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08c7070012d4e0700068a5620006b009c20..."} 
[2026-04-28 01:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08c7070012d4e0700068a5620006b009c20..."} 
[2026-04-28 01:37:36] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08c7070012d4e0700068a5620006b009c20..."} 
[2026-04-28 01:37:36] local.INFO: Packet analysis {"connection_id":56879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08c"} 
[2026-04-28 01:37:36] local.INFO: Extracted packet for processing {"connection_id":56879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08c"} 
[2026-04-28 01:37:36] local.INFO: GPS Element Parsed {"raw_longitude":760088320,"raw_latitude":109729312,"longitude_deg":76.008832,"latitude_deg":10.9729312,"altitude":107,"angle":156,"satellites":32,"speed":34,"hex_longitude":"2d4e0700","hex_latitude":"068a5620","is_valid_coordinates":true} 
[2026-04-28 01:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994009344001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281513992193572864,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5618099825748731904,"note":"Value kept but may cause issues"} 
[2026-04-28 01:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777320358000,"timestamp_ms":1777320358000,"timestamp_seconds":1777320358,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08c7070"} 
[2026-04-28 01:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:37:36] 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-04-28 01:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994009344001,"66":27397,"121":206,"86":48896,"24":34,"16":281513992193572864,"45":5618099825748731904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-04-28 01:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994009344001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:37:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 01:37:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281513992193572864,"km_value":281513992193572.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5618099825748731904,"description":"Unknown IO ID 45"} 
[2026-04-28 01:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994009344001,"power":27397,"unknown_121":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5618099825748731904}} 
[2026-04-28 01:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":56879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:37:36] local.INFO: GPS data processed {"connection_id":56879,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:37:36] local.INFO: Acknowledgment sent {"connection_id":56879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:37:55] local.INFO: TCP Data received {"connection_id":56151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:55] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:55] local.INFO: IMEI packet received {"connection_id":56151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":56151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:37:56] local.INFO: TCP Data received {"connection_id":56151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:56] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:37:56] local.INFO: IMEI packet received {"connection_id":56151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":56151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:38:00] local.INFO: TCP Data received {"connection_id":56151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:00] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:00] local.INFO: IMEI packet received {"connection_id":56151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":56151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:38:00] local.INFO: TCP Data received {"connection_id":56151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08d81e0012d4dee000688ddf0005300ac29..."} 
[2026-04-28 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08d81e0012d4dee000688ddf0005300ac29..."} 
[2026-04-28 01:38:00] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08d81e0012d4dee000688ddf0005300ac29..."} 
[2026-04-28 01:38:00] local.INFO: Packet analysis {"connection_id":56151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:38:00] local.INFO: Extracted packet for processing {"connection_id":56151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:38:00] local.INFO: GPS Element Parsed {"raw_longitude":760081920,"raw_latitude":109633008,"longitude_deg":76.008192,"latitude_deg":10.9633008,"altitude":83,"angle":172,"satellites":41,"speed":72,"hex_longitude":"2d4dee00","hex_latitude":"0688ddf0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994028288001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281518742427402240,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614159176050743296,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777320428000,"timestamp_ms":1777320428000,"timestamp_seconds":1777320428,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08d81e0"} 
[2026-04-28 01:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-04-28 01:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994028288001,"66":27463,"237":206,"86":48896,"24":72,"16":281518742427402240,"45":5614159176050743296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-04-28 01:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994028288001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:38:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 01:38:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281518742427402240,"km_value":281518742427402.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614159176050743296,"description":"Unknown IO ID 45"} 
[2026-04-28 01:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994028288001,"power":27463,"unknown_237":206,"unknown_86":48896,"ignition":72,"odometer":null,"unknown_45":5614159176050743296}} 
[2026-04-28 01:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:38:00] local.INFO: GPS data processed {"connection_id":56151,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:38:00] local.INFO: Acknowledgment sent {"connection_id":56151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:38:31] local.INFO: TCP Data received {"connection_id":56151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08d9568012d4df2800688ba08005000ac29..."} 
[2026-04-28 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08d9568012d4df2800688ba08005000ac29..."} 
[2026-04-28 01:38:31] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08d9568012d4df2800688ba08005000ac29..."} 
[2026-04-28 01:38:31] local.INFO: Packet analysis {"connection_id":56151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:38:31] local.INFO: Extracted packet for processing {"connection_id":56151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":760083072,"raw_latitude":109623816,"longitude_deg":76.0083072,"latitude_deg":10.9623816,"altitude":80,"angle":172,"satellites":41,"speed":74,"hex_longitude":"2d4df280","hex_latitude":"0688ba08","is_valid_coordinates":true} 
[2026-04-28 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994029568001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281519189104001024,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615425813443637248,"note":"Value kept but may cause issues"} 
[2026-04-28 01:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777320433000,"timestamp_ms":1777320433000,"timestamp_seconds":1777320433,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08d9568"} 
[2026-04-28 01:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:38: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-04-28 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 01:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994029568001,"66":27376,"237":206,"86":48896,"24":74,"16":281519189104001024,"45":5615425813443637248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-04-28 01:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994029568001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:38:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 01:38:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281519189104001024,"km_value":281519189104001.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615425813443637248,"description":"Unknown IO ID 45"} 
[2026-04-28 01:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994029568001,"power":27376,"unknown_237":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5615425813443637248}} 
[2026-04-28 01:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":56151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:38:31] local.INFO: GPS data processed {"connection_id":56151,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:38:31] local.INFO: Acknowledgment sent {"connection_id":56151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:38:55] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:55] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:38:55] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:39:00] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:00] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:00] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:39:00] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08da8f0012d4df6c0068895a0004e00b028..."} 
[2026-04-28 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08da8f0012d4df6c0068895a0004e00b028..."} 
[2026-04-28 01:39:00] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08da8f0012d4df6c0068895a0004e00b028..."} 
[2026-04-28 01:39:00] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:39:00] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:39:00] local.INFO: GPS Element Parsed {"raw_longitude":760084160,"raw_latitude":109614496,"longitude_deg":76.008416,"latitude_deg":10.9614496,"altitude":78,"angle":176,"satellites":40,"speed":74,"hex_longitude":"2d4df6c0","hex_latitude":"068895a0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994030848001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281519644370534400,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616692450836482048,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777320438000,"timestamp_ms":1777320438000,"timestamp_seconds":1777320438,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08da8f0"} 
[2026-04-28 01:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:39:00] 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-04-28 01: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-04-28 01:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994030848001,"66":27245,"237":206,"86":48896,"24":74,"16":281519644370534400,"45":5616692450836482048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-04-28 01:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994030848001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:39:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 01:39:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281519644370534400,"km_value":281519644370534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616692450836482048,"description":"Unknown IO ID 45"} 
[2026-04-28 01:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994030848001,"power":27245,"unknown_237":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5616692450836482048}} 
[2026-04-28 01:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:39:00] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:39:00] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:39:31] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08dbc78012d4df6c006887108004d00b828..."} 
[2026-04-28 01:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08dbc78012d4df6c006887108004d00b828..."} 
[2026-04-28 01:39:31] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08dbc78012d4df6c006887108004d00b828..."} 
[2026-04-28 01:39:31] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:39:31] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:39:31] local.INFO: GPS Element Parsed {"raw_longitude":760084160,"raw_latitude":109605128,"longitude_deg":76.008416,"latitude_deg":10.9605128,"altitude":77,"angle":184,"satellites":40,"speed":74,"hex_longitude":"2d4df6c0","hex_latitude":"06887108","is_valid_coordinates":true} 
[2026-04-28 01:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994032128001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281520099637067776,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617888719485116416,"note":"Value kept but may cause issues"} 
[2026-04-28 01:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777320443000,"timestamp_ms":1777320443000,"timestamp_seconds":1777320443,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08dbc78"} 
[2026-04-28 01:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:39: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-04-28 01:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994032128001,"66":27245,"237":206,"86":48896,"24":74,"16":281520099637067776,"45":5617888719485116416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-04-28 01:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994032128001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:39:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 01:39:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281520099637067776,"km_value":281520099637067.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617888719485116416,"description":"Unknown IO ID 45"} 
[2026-04-28 01:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994032128001,"power":27245,"unknown_237":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5617888719485116416}} 
[2026-04-28 01:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:39:31] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:39:31] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:39:55] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:55] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:39:55] local.INFO: IMEI packet received {"connection_id":56238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":56238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:40:00] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:40:00] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:40:00] local.INFO: IMEI packet received {"connection_id":56238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:40:00] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08dd000012d4df24006884d80004e00be26..."} 
[2026-04-28 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08dd000012d4df24006884d80004e00be26..."} 
[2026-04-28 01:40:00] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08dd000012d4df24006884d80004e00be26..."} 
[2026-04-28 01:40:00] local.INFO: Packet analysis {"connection_id":56238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:40:00] local.INFO: Extracted packet for processing {"connection_id":56238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08d"} 
[2026-04-28 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760083008,"raw_latitude":109596032,"longitude_deg":76.0083008,"latitude_deg":10.9596032,"altitude":78,"angle":190,"satellites":38,"speed":71,"hex_longitude":"2d4df240","hex_latitude":"06884d80","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994033408001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281520546313666560,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617888719482718208,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777320448000,"timestamp_ms":1777320448000,"timestamp_seconds":1777320448,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08dd000"} 
[2026-04-28 01:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:40:00] 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-04-28 01: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-04-28 01:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994033408001,"66":27365,"237":206,"86":48896,"24":71,"16":281520546313666560,"45":5617888719482718208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-04-28 01:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994033408001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:40:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 01:40:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281520546313666560,"km_value":281520546313666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617888719482718208,"description":"Unknown IO ID 45"} 
[2026-04-28 01:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994033408001,"power":27365,"unknown_237":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5617888719482718208}} 
[2026-04-28 01:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:40:00] local.INFO: GPS data processed {"connection_id":56238,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:40:00] local.INFO: Acknowledgment sent {"connection_id":56238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:40:31] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08f75e0012d4d8c400686ca58006b00c020..."} 
[2026-04-28 01:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08f75e0012d4d8c400686ca58006b00c020..."} 
[2026-04-28 01:40:31] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08f75e0012d4d8c400686ca58006b00c020..."} 
[2026-04-28 01:40:31] local.INFO: Packet analysis {"connection_id":56238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:40:31] local.INFO: Extracted packet for processing {"connection_id":56238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":760056896,"raw_latitude":109496920,"longitude_deg":76.0056896,"latitude_deg":10.949692,"altitude":107,"angle":192,"satellites":32,"speed":25,"hex_longitude":"2d4d8c40","hex_latitude":"0686ca58","is_valid_coordinates":true} 
[2026-04-28 01:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994059008001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281525511295860736,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590374540483780608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777320556000,"timestamp_ms":1777320556000,"timestamp_seconds":1777320556,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08f75e0"} 
[2026-04-28 01:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-04-28 01:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994059008001,"66":27267,"239":206,"86":48896,"24":25,"16":281525511295860736,"45":5590374540483780608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-04-28 01:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994059008001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:40:31] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-28 01:40:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281525511295860736,"km_value":281525511295860.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590374540483780608,"description":"Unknown IO ID 45"} 
[2026-04-28 01:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994059008001,"power":27267,"unknown_239":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5590374540483780608}} 
[2026-04-28 01:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":56238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:40:31] local.INFO: GPS data processed {"connection_id":56238,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:40:31] local.INFO: Acknowledgment sent {"connection_id":56238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:40:51] local.INFO: TCP Data received {"connection_id":56152,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:40:51] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:40:51] local.INFO: IMEI packet received {"connection_id":56152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":56152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:41:06] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: IMEI packet received {"connection_id":56153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":56153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:41:06] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:06] local.INFO: IMEI packet received {"connection_id":56153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":56153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:41:10] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:10] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:10] local.INFO: IMEI packet received {"connection_id":56153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":56153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:41:12] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08fb078012d4d82800686a7a0006e00c826..."} 
[2026-04-28 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08fb078012d4d82800686a7a0006e00c826..."} 
[2026-04-28 01:41:12] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08fb078012d4d82800686a7a0006e00c826..."} 
[2026-04-28 01:41:12] local.INFO: Packet analysis {"connection_id":56153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:41:12] local.INFO: Extracted packet for processing {"connection_id":56153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":760054400,"raw_latitude":109488032,"longitude_deg":76.00544,"latitude_deg":10.9488032,"altitude":110,"angle":200,"satellites":38,"speed":22,"hex_longitude":"2d4d8280","hex_latitude":"0686a7a0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994062336001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281525957972459520,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5587911634435332096,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777320571000,"timestamp_ms":1777320571000,"timestamp_seconds":1777320571,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08fb078"} 
[2026-04-28 01:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:41:12] 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-04-28 01: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-04-28 01:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:41:12] 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-04-28 01:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994062336001,"66":27321,"239":206,"86":48896,"24":22,"16":281525957972459520,"45":5587911634435332096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-04-28 01:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994062336001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:41:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-28 01:41:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281525957972459520,"km_value":281525957972459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5587911634435332096,"description":"Unknown IO ID 45"} 
[2026-04-28 01:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994062336001,"power":27321,"unknown_239":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5587911634435332096}} 
[2026-04-28 01:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":56153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:41:12] local.INFO: GPS data processed {"connection_id":56153,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:41:12] local.INFO: Acknowledgment sent {"connection_id":56153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:41:15] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd08feef8012d4d734006868918007000d325..."} 
[2026-04-28 01:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd08feef8012d4d734006868918007000d325..."} 
[2026-04-28 01:41:15] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd08feef8012d4d734006868918007000d325..."} 
[2026-04-28 01:41:15] local.INFO: Packet analysis {"connection_id":56153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:41:15] local.INFO: Extracted packet for processing {"connection_id":56153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd08f"} 
[2026-04-28 01:41:15] local.INFO: GPS Element Parsed {"raw_longitude":760050496,"raw_latitude":109480216,"longitude_deg":76.0050496,"latitude_deg":10.9480216,"altitude":112,"angle":211,"satellites":37,"speed":23,"hex_longitude":"2d4d7340","hex_latitude":"06868918","is_valid_coordinates":true} 
[2026-04-28 01:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994066176001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281526383174221824,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5585167253410127872,"note":"Value kept but may cause issues"} 
[2026-04-28 01:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777320587000,"timestamp_ms":1777320587000,"timestamp_seconds":1777320587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd08feef8"} 
[2026-04-28 01:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:41:15] 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-04-28 01:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:41:15] 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-04-28 01:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994066176001,"66":27343,"239":206,"86":48896,"24":23,"16":281526383174221824,"45":5585167253410127872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-04-28 01:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994066176001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:41:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-28 01:41:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281526383174221824,"km_value":281526383174221.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5585167253410127872,"description":"Unknown IO ID 45"} 
[2026-04-28 01:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994066176001,"power":27343,"unknown_239":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5585167253410127872}} 
[2026-04-28 01:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":56153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:41:15] local.INFO: GPS data processed {"connection_id":56153,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:41:15] local.INFO: Acknowledgment sent {"connection_id":56153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:41:41] local.INFO: TCP Data received {"connection_id":56154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:41:41] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:41:41] local.INFO: IMEI packet received {"connection_id":56154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":56154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:41:55] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:55] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:55] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:41:56] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:56] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:41:56] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:42:00] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:00] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:00] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:42:01] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0902990012d4d5d8006866c30007200db28..."} 
[2026-04-28 01:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0902990012d4d5d8006866c30007200db28..."} 
[2026-04-28 01:42:01] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0902990012d4d5d8006866c30007200db28..."} 
[2026-04-28 01:42:01] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd090"} 
[2026-04-28 01:42:01] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd090"} 
[2026-04-28 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":760044928,"raw_latitude":109472816,"longitude_deg":76.0044928,"latitude_deg":10.9472816,"altitude":114,"angle":219,"satellites":40,"speed":25,"hex_longitude":"2d4d5d80","hex_latitude":"06866c30","is_valid_coordinates":true} 
[2026-04-28 01:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994070272001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281526829850820608,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5580874760013289472,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777320602000,"timestamp_ms":1777320602000,"timestamp_seconds":1777320602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0902990"} 
[2026-04-28 01:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:42: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-04-28 01:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994070272001,"66":27245,"239":206,"86":48896,"24":25,"16":281526829850820608,"45":5580874760013289472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-04-28 01:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994070272001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:42:01] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-28 01:42:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-04-28 01:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281526829850820608,"km_value":281526829850820.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5580874760013289472,"description":"Unknown IO ID 45"} 
[2026-04-28 01:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994070272001,"power":27245,"unknown_239":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5580874760013289472}} 
[2026-04-28 01:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:42:01] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:42:01] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:42:32] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09198c0012d4cef4006850c50006a009a2b..."} 
[2026-04-28 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09198c0012d4cef4006850c50006a009a2b..."} 
[2026-04-28 01:42:32] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09198c0012d4cef4006850c50006a009a2b..."} 
[2026-04-28 01:42:32] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:42:32] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":760016704,"raw_latitude":109382736,"longitude_deg":76.0016704,"latitude_deg":10.9382736,"altitude":106,"angle":154,"satellites":43,"speed":54,"hex_longitude":"2d4cef40","hex_latitude":"06850c50","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994096384001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281532009581379584,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538864619716610048,"note":"Value kept but may cause issues"} 
[2026-04-28 01:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777320696000,"timestamp_ms":1777320696000,"timestamp_seconds":1777320696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09198c0"} 
[2026-04-28 01:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:42: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-04-28 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:42: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-04-28 01:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:42:32] 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-04-28 01:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994096384001,"66":27376,"183":206,"80":60928,"24":54,"16":281532009581379584,"45":5538864619716610048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-04-28 01:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994096384001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:42:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-04-28 01:42:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281532009581379584,"km_value":281532009581379.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538864619716610048,"description":"Unknown IO ID 45"} 
[2026-04-28 01:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994096384001,"power":27376,"unknown_183":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":5538864619716610048}} 
[2026-04-28 01:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:42:32] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:42:32] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:42:56] local.INFO: TCP Data received {"connection_id":56157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:56] local.INFO: Processing buffer {"connection_id":56157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:56] local.INFO: IMEI packet received {"connection_id":56157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":56157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:42:59] local.INFO: TCP Data received {"connection_id":56157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:59] local.INFO: Processing buffer {"connection_id":56157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:42:59] local.INFO: IMEI packet received {"connection_id":56157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:43:00] local.INFO: TCP Data received {"connection_id":56157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd091b418012d4d00000684ed70006c00942a..."} 
[2026-04-28 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd091b418012d4d00000684ed70006c00942a..."} 
[2026-04-28 01:43:00] local.INFO: Processing buffer {"connection_id":56157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd091b418012d4d00000684ed70006c00942a..."} 
[2026-04-28 01:43:00] local.INFO: Packet analysis {"connection_id":56157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:43:00] local.INFO: Extracted packet for processing {"connection_id":56157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":760020992,"raw_latitude":109374832,"longitude_deg":76.0020992,"latitude_deg":10.9374832,"altitude":108,"angle":148,"satellites":42,"speed":47,"hex_longitude":"2d4d0000","hex_latitude":"0684ed70","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994098176001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281532443373076480,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5543720063062528000,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777320703000,"timestamp_ms":1777320703000,"timestamp_seconds":1777320703,"priority":1,"record_length":96,"hex_timestamp":"0000019dd091b418"} 
[2026-04-28 01:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:43:00] 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-04-28 01: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-04-28 01:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994098176001,"66":27365,"183":206,"80":60928,"24":47,"16":281532443373076480,"45":5543720063062528000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-04-28 01:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994098176001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:43:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-04-28 01:43:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281532443373076480,"km_value":281532443373076.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5543720063062528000,"description":"Unknown IO ID 45"} 
[2026-04-28 01:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994098176001,"power":27365,"unknown_183":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5543720063062528000}} 
[2026-04-28 01:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":56157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:43:00] local.INFO: GPS data processed {"connection_id":56157,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:43:00] local.INFO: Acknowledgment sent {"connection_id":56157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:43:31] local.INFO: TCP Data received {"connection_id":56157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd091cf70012d4d12400684d528006e008927..."} 
[2026-04-28 01:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd091cf70012d4d12400684d528006e008927..."} 
[2026-04-28 01:43:31] local.INFO: Processing buffer {"connection_id":56157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd091cf70012d4d12400684d528006e008927..."} 
[2026-04-28 01:43:31] local.INFO: Packet analysis {"connection_id":56157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:43:31] local.INFO: Extracted packet for processing {"connection_id":56157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":760025664,"raw_latitude":109368616,"longitude_deg":76.0025664,"latitude_deg":10.9368616,"altitude":110,"angle":137,"satellites":39,"speed":43,"hex_longitude":"2d4d1240","hex_latitude":"0684d528","is_valid_coordinates":true} 
[2026-04-28 01:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994099968001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281532817035231232,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5548434768920408064,"note":"Value kept but may cause issues"} 
[2026-04-28 01:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777320710000,"timestamp_ms":1777320710000,"timestamp_seconds":1777320710,"priority":1,"record_length":96,"hex_timestamp":"0000019dd091cf70"} 
[2026-04-28 01:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994099968001,"66":27321,"183":206,"80":60928,"24":43,"16":281532817035231232,"45":5548434768920408064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-04-28 01:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994099968001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:43:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-04-28 01:43:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281532817035231232,"km_value":281532817035231.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5548434768920408064,"description":"Unknown IO ID 45"} 
[2026-04-28 01:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994099968001,"power":27321,"unknown_183":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5548434768920408064}} 
[2026-04-28 01:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":56157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:43:31] local.INFO: GPS data processed {"connection_id":56157,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:43:31] local.INFO: Acknowledgment sent {"connection_id":56157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:43:55] local.INFO: TCP Data received {"connection_id":56239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:43:55] local.INFO: Processing buffer {"connection_id":56239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:43:55] local.INFO: IMEI packet received {"connection_id":56239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":56239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:44:00] local.INFO: TCP Data received {"connection_id":56239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:00] local.INFO: Processing buffer {"connection_id":56239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:00] local.INFO: IMEI packet received {"connection_id":56239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:44:09] local.INFO: TCP Data received {"connection_id":56239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd091f298012d4d2b400684bb58007400872a..."} 
[2026-04-28 01:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd091f298012d4d2b400684bb58007400872a..."} 
[2026-04-28 01:44:09] local.INFO: Processing buffer {"connection_id":56239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd091f298012d4d2b400684bb58007400872a..."} 
[2026-04-28 01:44:09] local.INFO: Packet analysis {"connection_id":56239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:44:09] local.INFO: Extracted packet for processing {"connection_id":56239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd091"} 
[2026-04-28 01:44:09] local.INFO: GPS Element Parsed {"raw_longitude":760032064,"raw_latitude":109362008,"longitude_deg":76.0032064,"latitude_deg":10.9362008,"altitude":116,"angle":135,"satellites":42,"speed":38,"hex_longitude":"2d4d2b40","hex_latitude":"0684bb58","is_valid_coordinates":true} 
[2026-04-28 01:44: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-04-28 01:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994101760001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281533259416862720,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5553571687243786240,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777320719000,"timestamp_ms":1777320719000,"timestamp_seconds":1777320719,"priority":1,"record_length":96,"hex_timestamp":"0000019dd091f298"} 
[2026-04-28 01:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 01:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:44: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-04-28 01:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:44:09] 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-04-28 01:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994101760001,"66":27376,"183":206,"80":60928,"24":38,"16":281533259416862720,"45":5553571687243786240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-04-28 01:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994101760001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:44:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-04-28 01:44:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281533259416862720,"km_value":281533259416862.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5553571687243786240,"description":"Unknown IO ID 45"} 
[2026-04-28 01:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994101760001,"power":27376,"unknown_183":206,"unknown_80":60928,"ignition":38,"odometer":null,"unknown_45":5553571687243786240}} 
[2026-04-28 01:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":56239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:44:09] local.INFO: GPS data processed {"connection_id":56239,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:44:09] local.INFO: Acknowledgment sent {"connection_id":56239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:44:39] local.INFO: TCP Data received {"connection_id":56239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09390a8012d4ebc000683d460007000632c..."} 
[2026-04-28 01:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09390a8012d4ebc000683d460007000632c..."} 
[2026-04-28 01:44:39] local.INFO: Processing buffer {"connection_id":56239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09390a8012d4ebc000683d460007000632c..."} 
[2026-04-28 01:44:39] local.INFO: Packet analysis {"connection_id":56239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:44:39] local.INFO: Extracted packet for processing {"connection_id":56239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":760134656,"raw_latitude":109302880,"longitude_deg":76.0134656,"latitude_deg":10.930288,"altitude":112,"angle":99,"satellites":44,"speed":57,"hex_longitude":"2d4ebc00","hex_latitude":"0683d460","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994129920001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281539169291862016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5665246884237365248,"note":"Value kept but may cause issues"} 
[2026-04-28 01:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777320825000,"timestamp_ms":1777320825000,"timestamp_seconds":1777320825,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09390a8"} 
[2026-04-28 01:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:44:39] 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-04-28 01:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994129920001,"66":27245,"216":206,"80":60928,"24":57,"16":281539169291862016,"45":5665246884237365248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-04-28 01:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994129920001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:44:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 01:44:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281539169291862016,"km_value":281539169291862.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5665246884237365248,"description":"Unknown IO ID 45"} 
[2026-04-28 01:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994129920001,"power":27245,"unknown_216":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5665246884237365248}} 
[2026-04-28 01:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":56239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:44:40] local.INFO: GPS data processed {"connection_id":56239,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:44:40] local.INFO: Acknowledgment sent {"connection_id":56239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:44:57] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:57] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:44:57] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:45:00] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:00] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:00] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:45:05] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:05] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:05] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:45:05] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd093ac00012d4ee0c00683cf08007300622c..."} 
[2026-04-28 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd093ac00012d4ee0c00683cf08007300622c..."} 
[2026-04-28 01:45:05] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd093ac00012d4ee0c00683cf08007300622c..."} 
[2026-04-28 01:45:05] local.INFO: Packet analysis {"connection_id":56883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:05] local.INFO: Extracted packet for processing {"connection_id":56883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:05] local.INFO: GPS Element Parsed {"raw_longitude":760144064,"raw_latitude":109301512,"longitude_deg":76.0144064,"latitude_deg":10.9301512,"altitude":115,"angle":98,"satellites":44,"speed":50,"hex_longitude":"2d4ee0c0","hex_latitude":"0683cf08","is_valid_coordinates":true} 
[2026-04-28 01:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994131200001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281539620263428096,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5673409658561519616,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777320832000,"timestamp_ms":1777320832000,"timestamp_seconds":1777320832,"priority":1,"record_length":96,"hex_timestamp":"0000019dd093ac00"} 
[2026-04-28 01:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:45:05] 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-04-28 01:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:05] 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-04-28 01:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994131200001,"66":27343,"216":206,"80":60928,"24":50,"16":281539620263428096,"45":5673409658561519616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-04-28 01:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994131200001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:45:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 01:45:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281539620263428096,"km_value":281539620263428.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5673409658561519616,"description":"Unknown IO ID 45"} 
[2026-04-28 01:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994131200001,"power":27343,"unknown_216":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5673409658561519616}} 
[2026-04-28 01:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":56883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:45:05] local.INFO: GPS data processed {"connection_id":56883,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:45:05] local.INFO: Acknowledgment sent {"connection_id":56883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:45:08] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd093cb40012d4f06800683c9a0007600622c..."} 
[2026-04-28 01:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd093cb40012d4f06800683c9a0007600622c..."} 
[2026-04-28 01:45:08] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd093cb40012d4f06800683c9a0007600622c..."} 
[2026-04-28 01:45:08] local.INFO: Packet analysis {"connection_id":56883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:08] local.INFO: Extracted packet for processing {"connection_id":56883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":760153728,"raw_latitude":109300128,"longitude_deg":76.0153728,"latitude_deg":10.9300128,"altitude":118,"angle":98,"satellites":44,"speed":45,"hex_longitude":"2d4f0680","hex_latitude":"0683c9a0","is_valid_coordinates":true} 
[2026-04-28 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994132992001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281540088414863360,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5683753863955286016,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777320840000,"timestamp_ms":1777320840000,"timestamp_seconds":1777320840,"priority":1,"record_length":96,"hex_timestamp":"0000019dd093cb40"} 
[2026-04-28 01:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:08] 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-04-28 01:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994132992001,"66":27343,"216":206,"80":60928,"24":45,"16":281540088414863360,"45":5683753863955286016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-04-28 01:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994132992001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:45:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 01:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281540088414863360,"km_value":281540088414863.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5683753863955286016,"description":"Unknown IO ID 45"} 
[2026-04-28 01:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994132992001,"power":27343,"unknown_216":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5683753863955286016}} 
[2026-04-28 01:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":56883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:45:08] local.INFO: GPS data processed {"connection_id":56883,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:45:08] local.INFO: Acknowledgment sent {"connection_id":56883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:45:40] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd093ee68012d4f2cc00683c428007800622c..."} 
[2026-04-28 01:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd093ee68012d4f2cc00683c428007800622c..."} 
[2026-04-28 01:45:40] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd093ee68012d4f2cc00683c428007800622c..."} 
[2026-04-28 01:45:40] local.INFO: Packet analysis {"connection_id":56883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:40] local.INFO: Extracted packet for processing {"connection_id":56883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd093"} 
[2026-04-28 01:45:40] local.INFO: GPS Element Parsed {"raw_longitude":760163520,"raw_latitude":109298728,"longitude_deg":76.016352,"latitude_deg":10.9298728,"altitude":120,"angle":98,"satellites":44,"speed":40,"hex_longitude":"2d4f2cc0","hex_latitude":"0683c428","is_valid_coordinates":true} 
[2026-04-28 01:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994135040001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281540556566298624,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5694379544325758976,"note":"Value kept but may cause issues"} 
[2026-04-28 01:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777320849000,"timestamp_ms":1777320849000,"timestamp_seconds":1777320849,"priority":1,"record_length":96,"hex_timestamp":"0000019dd093ee68"} 
[2026-04-28 01:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:45:40] 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-04-28 01:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:45:40] 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-04-28 01:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994135040001,"66":27267,"216":206,"80":60928,"24":40,"16":281540556566298624,"45":5694379544325758976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-04-28 01:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994135040001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:45:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 01:45:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281540556566298624,"km_value":281540556566298.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5694379544325758976,"description":"Unknown IO ID 45"} 
[2026-04-28 01:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994135040001,"power":27267,"unknown_216":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5694379544325758976}} 
[2026-04-28 01:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":56883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:45:40] local.INFO: GPS data processed {"connection_id":56883,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:45:40] local.INFO: Acknowledgment sent {"connection_id":56883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:45:55] local.INFO: TCP Data received {"connection_id":55996,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:55] local.INFO: Processing buffer {"connection_id":55996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:55] local.INFO: IMEI packet received {"connection_id":55996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":55996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:45:59] local.INFO: TCP Data received {"connection_id":55996,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:59] local.INFO: Processing buffer {"connection_id":55996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:45:59] local.INFO: IMEI packet received {"connection_id":55996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":55996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:46:00] local.INFO: TCP Data received {"connection_id":55996,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0941578012d4f52400683bea0007b00622c..."} 
[2026-04-28 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0941578012d4f52400683bea0007b00622c..."} 
[2026-04-28 01:46:00] local.INFO: Processing buffer {"connection_id":55996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0941578012d4f52400683bea0007b00622c..."} 
[2026-04-28 01:46:00] local.INFO: Packet analysis {"connection_id":55996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:46:00] local.INFO: Extracted packet for processing {"connection_id":55996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":760173120,"raw_latitude":109297312,"longitude_deg":76.017312,"latitude_deg":10.9297312,"altitude":123,"angle":98,"satellites":44,"speed":35,"hex_longitude":"2d4f5240","hex_latitude":"0683bea0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994137344001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281541020422766592,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5705145962184583168,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777320859000,"timestamp_ms":1777320859000,"timestamp_seconds":1777320859,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0941578"} 
[2026-04-28 01:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:46:00] 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-04-28 01: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-04-28 01:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":55996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":55996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":55996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994137344001,"66":27267,"49":206,"80":60928,"24":35,"16":281541020422766592,"45":5705145962184583168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-04-28 01:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994137344001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:46:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 01:46:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281541020422766592,"km_value":281541020422766.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5705145962184583168,"description":"Unknown IO ID 45"} 
[2026-04-28 01:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994137344001,"power":27267,"unknown_49":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":5705145962184583168}} 
[2026-04-28 01:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":55996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:46:00] local.INFO: GPS data processed {"connection_id":55996,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:46:00] local.INFO: Acknowledgment sent {"connection_id":55996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:46:32] local.INFO: TCP Data received {"connection_id":55996,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0944070012d4f75000683b968007e00622b..."} 
[2026-04-28 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0944070012d4f75000683b968007e00622b..."} 
[2026-04-28 01:46:32] local.INFO: Processing buffer {"connection_id":55996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0944070012d4f75000683b968007e00622b..."} 
[2026-04-28 01:46:32] local.INFO: Packet analysis {"connection_id":55996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:46:32] local.INFO: Extracted packet for processing {"connection_id":55996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760182016,"raw_latitude":109295976,"longitude_deg":76.0182016,"latitude_deg":10.9295976,"altitude":126,"angle":98,"satellites":43,"speed":31,"hex_longitude":"2d4f7500","hex_latitude":"0683b968","is_valid_coordinates":true} 
[2026-04-28 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994139904001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281541449919496192,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5715701273810870272,"note":"Value kept but may cause issues"} 
[2026-04-28 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777320870000,"timestamp_ms":1777320870000,"timestamp_seconds":1777320870,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0944070"} 
[2026-04-28 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:46: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-04-28 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:46:32] 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-04-28 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994139904001,"66":27289,"49":206,"80":60928,"24":31,"16":281541449919496192,"45":5715701273810870272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-04-28 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994139904001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:46:32] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 01:46:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281541449919496192,"km_value":281541449919496.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5715701273810870272,"description":"Unknown IO ID 45"} 
[2026-04-28 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994139904001,"power":27289,"unknown_49":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5715701273810870272}} 
[2026-04-28 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":55996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:46:32] local.INFO: GPS data processed {"connection_id":55996,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:46:32] local.INFO: Acknowledgment sent {"connection_id":55996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:46:55] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:55] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:55] local.INFO: IMEI packet received {"connection_id":56240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":56240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:46:56] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:56] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:46:56] local.INFO: IMEI packet received {"connection_id":56240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":56240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:47:00] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:47:00] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:47:00] local.INFO: IMEI packet received {"connection_id":56240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:47:03] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0946f50012d4f98c00683b400008100632d..."} 
[2026-04-28 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0946f50012d4f98c00683b400008100632d..."} 
[2026-04-28 01:47:03] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0946f50012d4f98c00683b400008100632d..."} 
[2026-04-28 01:47:03] local.INFO: Packet analysis {"connection_id":56240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:47:03] local.INFO: Extracted packet for processing {"connection_id":56240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":760191168,"raw_latitude":109294592,"longitude_deg":76.0191168,"latitude_deg":10.9294592,"altitude":129,"angle":99,"satellites":45,"speed":29,"hex_longitude":"2d4f98c0","hex_latitude":"0683b400","is_valid_coordinates":true} 
[2026-04-28 01:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994142720001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281541892301127680,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5725482529251223552,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777320882000,"timestamp_ms":1777320882000,"timestamp_seconds":1777320882,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0946f50"} 
[2026-04-28 01:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 01:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:47:03] 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-04-28 01:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994142720001,"66":27267,"49":206,"80":60928,"24":29,"16":281541892301127680,"45":5725482529251223552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-04-28 01:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994142720001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:47:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 01:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281541892301127680,"km_value":281541892301127.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5725482529251223552,"description":"Unknown IO ID 45"} 
[2026-04-28 01:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994142720001,"power":27267,"unknown_49":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":5725482529251223552}} 
[2026-04-28 01:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":56240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:47:03] local.INFO: GPS data processed {"connection_id":56240,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:47:03] local.INFO: Acknowledgment sent {"connection_id":56240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:47:11] local.INFO: TCP Data received {"connection_id":56158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:11] local.INFO: Processing buffer {"connection_id":56158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:11] local.INFO: IMEI packet received {"connection_id":56158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":56158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:47:34] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd094a218012d4fbe000683ae20008400632d..."} 
[2026-04-28 01:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd094a218012d4fbe000683ae20008400632d..."} 
[2026-04-28 01:47:34] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd094a218012d4fbe000683ae20008400632d..."} 
[2026-04-28 01:47:34] local.INFO: Packet analysis {"connection_id":56240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:47:34] local.INFO: Extracted packet for processing {"connection_id":56240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd094"} 
[2026-04-28 01:47:34] local.INFO: GPS Element Parsed {"raw_longitude":760200704,"raw_latitude":109293088,"longitude_deg":76.0200704,"latitude_deg":10.9293088,"altitude":132,"angle":99,"satellites":45,"speed":28,"hex_longitude":"2d4fbe00","hex_latitude":"0683ae20","is_valid_coordinates":true} 
[2026-04-28 01:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994145792001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281542351862628352,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5735545259668275200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777320895000,"timestamp_ms":1777320895000,"timestamp_seconds":1777320895,"priority":1,"record_length":96,"hex_timestamp":"0000019dd094a218"} 
[2026-04-28 01:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:47:34] 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-04-28 01:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994145792001,"66":27310,"49":206,"80":60928,"24":28,"16":281542351862628352,"45":5735545259668275200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-04-28 01:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994145792001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:47:34] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 01:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281542351862628352,"km_value":281542351862628.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5735545259668275200,"description":"Unknown IO ID 45"} 
[2026-04-28 01:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994145792001,"power":27310,"unknown_49":206,"unknown_80":60928,"ignition":28,"odometer":null,"unknown_45":5735545259668275200}} 
[2026-04-28 01:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":56240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:47:34] local.INFO: GPS data processed {"connection_id":56240,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:47:34] local.INFO: Acknowledgment sent {"connection_id":56240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:47:35] local.INFO: TCP Data received {"connection_id":56159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:35] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:47:35] local.INFO: IMEI packet received {"connection_id":56159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:48:00] local.INFO: TCP Data received {"connection_id":56160,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:00] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:00] local.INFO: IMEI packet received {"connection_id":56160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":56160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:48:02] local.INFO: TCP Data received {"connection_id":56160,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:02] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:02] local.INFO: IMEI packet received {"connection_id":56160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":56160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:48:04] local.INFO: TCP Data received {"connection_id":56160,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0968e48012d511b0006836058009000882e..."} 
[2026-04-28 01:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0968e48012d511b0006836058009000882e..."} 
[2026-04-28 01:48:04] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0968e48012d511b0006836058009000882e..."} 
[2026-04-28 01:48:04] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:04] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:04] local.INFO: GPS Element Parsed {"raw_longitude":760290048,"raw_latitude":109273176,"longitude_deg":76.0290048,"latitude_deg":10.9273176,"altitude":144,"angle":136,"satellites":46,"speed":21,"hex_longitude":"2d511b00","hex_latitude":"06836058","is_valid_coordinates":true} 
[2026-04-28 01:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994180352001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281546749909139456,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842716857045680128,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777321021000,"timestamp_ms":1777321021000,"timestamp_seconds":1777321021,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0968e48"} 
[2026-04-28 01:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48: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-04-28 01:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994180352001,"66":27376,"48":206,"80":60928,"24":21,"16":281546749909139456,"45":5842716857045680128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-04-28 01:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994180352001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:48:04] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-04-28 01:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281546749909139456,"km_value":281546749909139.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842716857045680128,"description":"Unknown IO ID 45"} 
[2026-04-28 01:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994180352001,"power":27376,"unknown_48":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":5842716857045680128}} 
[2026-04-28 01:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:48:04] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:48:04] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:48:05] local.INFO: TCP Data received {"connection_id":56160,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd096c110012d51368006834818008f00812b..."} 
[2026-04-28 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd096c110012d51368006834818008f00812b..."} 
[2026-04-28 01:48:05] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd096c110012d51368006834818008f00812b..."} 
[2026-04-28 01:48:05] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:05] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":760297088,"raw_latitude":109266968,"longitude_deg":76.0297088,"latitude_deg":10.9266968,"altitude":143,"angle":129,"satellites":43,"speed":33,"hex_longitude":"2d513680","hex_latitude":"06834818","is_valid_coordinates":true} 
[2026-04-28 01:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994181376001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281547200880705536,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844264969417283584,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777321034000,"timestamp_ms":1777321034000,"timestamp_seconds":1777321034,"priority":1,"record_length":96,"hex_timestamp":"0000019dd096c110"} 
[2026-04-28 01:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:48:05] 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-04-28 01:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48:05] 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-04-28 01:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994181376001,"66":27484,"48":206,"80":60928,"24":33,"16":281547200880705536,"45":5844264969417283584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-04-28 01:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994181376001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:48:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-04-28 01:48:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281547200880705536,"km_value":281547200880705.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844264969417283584,"description":"Unknown IO ID 45"} 
[2026-04-28 01:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994181376001,"power":27484,"unknown_48":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":5844264969417283584}} 
[2026-04-28 01:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:48:05] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:48:05] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:48:38] local.INFO: TCP Data received {"connection_id":56160,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd096e820012d51538006832eb0008e00872c..."} 
[2026-04-28 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd096e820012d51538006832eb0008e00872c..."} 
[2026-04-28 01:48:38] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd096e820012d51538006832eb0008e00872c..."} 
[2026-04-28 01:48:38] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:38] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd096"} 
[2026-04-28 01:48:38] local.INFO: GPS Element Parsed {"raw_longitude":760304512,"raw_latitude":109260464,"longitude_deg":76.0304512,"latitude_deg":10.9260464,"altitude":142,"angle":135,"satellites":44,"speed":41,"hex_longitude":"2d515380","hex_latitude":"06832eb0","is_valid_coordinates":true} 
[2026-04-28 01:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994184704001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281547673327108096,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852005531275237376,"note":"Value kept but may cause issues"} 
[2026-04-28 01:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777321044000,"timestamp_ms":1777321044000,"timestamp_seconds":1777321044,"priority":1,"record_length":96,"hex_timestamp":"0000019dd096e820"} 
[2026-04-28 01:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994184704001,"66":27234,"63":206,"80":60928,"24":41,"16":281547673327108096,"45":5852005531275237376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-04-28 01:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994184704001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:48:38] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 01:48:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281547673327108096,"km_value":281547673327108.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852005531275237376,"description":"Unknown IO ID 45"} 
[2026-04-28 01:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994184704001,"power":27234,"unknown_63":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":5852005531275237376}} 
[2026-04-28 01:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:48:38] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:48:38] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:48:55] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:55] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:55] local.INFO: IMEI packet received {"connection_id":55998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":55998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:48:56] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:56] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:48:56] local.INFO: IMEI packet received {"connection_id":55998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":55998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:49:00] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:00] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:00] local.INFO: IMEI packet received {"connection_id":55998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":55998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:49:01] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:01] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:01] local.INFO: IMEI packet received {"connection_id":55998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":55998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:49:02] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0970760012d516b0006831448008d008d2b..."} 
[2026-04-28 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0970760012d516b0006831448008d008d2b..."} 
[2026-04-28 01:49:02] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0970760012d516b0006831448008d008d2b..."} 
[2026-04-28 01:49:02] local.INFO: Packet analysis {"connection_id":55998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:02] local.INFO: Extracted packet for processing {"connection_id":55998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":760310528,"raw_latitude":109253704,"longitude_deg":76.0310528,"latitude_deg":10.9253704,"altitude":141,"angle":141,"satellites":43,"speed":47,"hex_longitude":"2d516b00","hex_latitude":"06831448","is_valid_coordinates":true} 
[2026-04-28 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994187264001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281548111413772288,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860168305598181376,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777321052000,"timestamp_ms":1777321052000,"timestamp_seconds":1777321052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0970760"} 
[2026-04-28 01:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 01:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":55998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994187264001,"66":27234,"153":206,"80":60928,"24":47,"16":281548111413772288,"45":5860168305598181376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-04-28 01:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994187264001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:49:02] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-28 01:49:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281548111413772288,"km_value":281548111413772.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860168305598181376,"description":"Unknown IO ID 45"} 
[2026-04-28 01:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994187264001,"power":27234,"unknown_153":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5860168305598181376}} 
[2026-04-28 01:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":55998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:49:02] local.INFO: GPS data processed {"connection_id":55998,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:49:02] local.INFO: Acknowledgment sent {"connection_id":55998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:49:05] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09722b8012d5182000682f8b8008b008c2a..."} 
[2026-04-28 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09722b8012d5182000682f8b8008b008c2a..."} 
[2026-04-28 01:49:05] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09722b8012d5182000682f8b8008b008c2a..."} 
[2026-04-28 01:49:05] local.INFO: Packet analysis {"connection_id":55998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:05] local.INFO: Extracted packet for processing {"connection_id":55998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760316416,"raw_latitude":109246648,"longitude_deg":76.0316416,"latitude_deg":10.9246648,"altitude":139,"angle":140,"satellites":42,"speed":55,"hex_longitude":"2d518200","hex_latitude":"0682f8b8","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994189312001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281548553795403776,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866782967549151232,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777321059000,"timestamp_ms":1777321059000,"timestamp_seconds":1777321059,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09722b8"} 
[2026-04-28 01:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 01:49:05] 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-04-28 01: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-04-28 01:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:05] 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-04-28 01:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994189312001,"66":27245,"153":206,"80":60928,"24":55,"16":281548553795403776,"45":5866782967549151232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-04-28 01:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994189312001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:49:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-28 01:49:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281548553795403776,"km_value":281548553795403.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866782967549151232,"description":"Unknown IO ID 45"} 
[2026-04-28 01:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994189312001,"power":27245,"unknown_153":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5866782967549151232}} 
[2026-04-28 01:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":55998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:49:05] local.INFO: GPS data processed {"connection_id":55998,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:49:05] local.INFO: Acknowledgment sent {"connection_id":55998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:49:36] local.INFO: TCP Data received {"connection_id":55998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0973e10012d519c800682db88008a008820..."} 
[2026-04-28 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0973e10012d519c800682db88008a008820..."} 
[2026-04-28 01:49:36] local.INFO: Processing buffer {"connection_id":55998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0973e10012d519c800682db88008a008820..."} 
[2026-04-28 01:49:36] local.INFO: Packet analysis {"connection_id":55998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:36] local.INFO: Extracted packet for processing {"connection_id":55998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd097"} 
[2026-04-28 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":760323200,"raw_latitude":109239176,"longitude_deg":76.03232,"latitude_deg":10.9239176,"altitude":138,"angle":136,"satellites":32,"speed":59,"hex_longitude":"2d519c80","hex_latitude":"0682db88","is_valid_coordinates":true} 
[2026-04-28 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994191104001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281549039126708224,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5873256892011689984,"note":"Value kept but may cause issues"} 
[2026-04-28 01:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777321066000,"timestamp_ms":1777321066000,"timestamp_seconds":1777321066,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0973e10"} 
[2026-04-28 01:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":55998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":55998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:49:36] 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-04-28 01:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994191104001,"66":27365,"153":206,"80":60928,"24":59,"16":281549039126708224,"45":5873256892011689984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-04-28 01:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994191104001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:49:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-28 01:49:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281549039126708224,"km_value":281549039126708.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5873256892011689984,"description":"Unknown IO ID 45"} 
[2026-04-28 01:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994191104001,"power":27365,"unknown_153":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5873256892011689984}} 
[2026-04-28 01:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":55998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:49:36] local.INFO: GPS data processed {"connection_id":55998,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:49:36] local.INFO: Acknowledgment sent {"connection_id":55998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:49:51] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:51] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:51] local.INFO: IMEI packet received {"connection_id":56000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":56000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:49:56] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:56] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:49:56] local.INFO: IMEI packet received {"connection_id":56000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":56000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:50:06] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:06] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:06] local.INFO: IMEI packet received {"connection_id":56000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":56000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:50:07] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0986ec0012d52e1c00681e4f0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0986ec0012d52e1c00681e4f0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0986ec0012d52e1c00681e4f0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Packet analysis {"connection_id":56000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:07] local.INFO: Extracted packet for processing {"connection_id":56000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":760406464,"raw_latitude":109176048,"longitude_deg":76.0406464,"latitude_deg":10.9176048,"altitude":139,"angle":131,"satellites":44,"speed":41,"hex_longitude":"2d52e1c0","hex_latitude":"0681e4f0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994210560001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281554064238444544,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964595521937803264,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777321144000,"timestamp_ms":1777321144000,"timestamp_seconds":1777321144,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0986ec0"} 
[2026-04-28 01:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:07] 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-04-28 01:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994210560001,"66":27343,"61":206,"80":60928,"24":41,"16":281554064238444544,"45":5964595521937803264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994210560001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281554064238444544,"km_value":281554064238444.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964595521937803264,"description":"Unknown IO ID 45"} 
[2026-04-28 01:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994210560001,"power":27343,"unknown_61":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":5964595521937803264}} 
[2026-04-28 01:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":56000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:50:07] local.INFO: GPS data processed {"connection_id":56000,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:50:07] local.INFO: Acknowledgment sent {"connection_id":56000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:50:07] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09891e8012d52fe400681cbe0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09891e8012d52fe400681cbe0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09891e8012d52fe400681cbe0008b00832c..."} 
[2026-04-28 01:50:07] local.INFO: Packet analysis {"connection_id":56000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:07] local.INFO: Extracted packet for processing {"connection_id":56000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":760413760,"raw_latitude":109169632,"longitude_deg":76.041376,"latitude_deg":10.9169632,"altitude":139,"angle":131,"satellites":44,"speed":43,"hex_longitude":"2d52fe40","hex_latitude":"0681cbe0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994212864001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281554528094912512,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5972265715051589632,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777321153000,"timestamp_ms":1777321153000,"timestamp_seconds":1777321153,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09891e8"} 
[2026-04-28 01:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 01:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:07] 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-04-28 01:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994212864001,"66":27365,"153":206,"80":60928,"24":43,"16":281554528094912512,"45":5972265715051589632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-04-28 01:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994212864001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281554528094912512,"km_value":281554528094912.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5972265715051589632,"description":"Unknown IO ID 45"} 
[2026-04-28 01:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994212864001,"power":27365,"unknown_153":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5972265715051589632}} 
[2026-04-28 01:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":56000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:50:07] local.INFO: GPS data processed {"connection_id":56000,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:50:07] local.INFO: Acknowledgment sent {"connection_id":56000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:50:38] local.INFO: TCP Data received {"connection_id":56000,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd098b128012d5318c00681b3a0008b00852c..."} 
[2026-04-28 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd098b128012d5318c00681b3a0008b00852c..."} 
[2026-04-28 01:50:38] local.INFO: Processing buffer {"connection_id":56000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd098b128012d5318c00681b3a0008b00852c..."} 
[2026-04-28 01:50:38] local.INFO: Packet analysis {"connection_id":56000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:38] local.INFO: Extracted packet for processing {"connection_id":56000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":760420544,"raw_latitude":109163424,"longitude_deg":76.0420544,"latitude_deg":10.9163424,"altitude":139,"angle":133,"satellites":44,"speed":47,"hex_longitude":"2d5318c0","hex_latitude":"0681b3a0","is_valid_coordinates":true} 
[2026-04-28 01:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994215168001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281554970476544000,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5980287751886200832,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777321161000,"timestamp_ms":1777321161000,"timestamp_seconds":1777321161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd098b128"} 
[2026-04-28 01:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994215168001,"66":27234,"153":206,"80":60928,"24":47,"16":281554970476544000,"45":5980287751886200832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-04-28 01:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994215168001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:50:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-28 01:50:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281554970476544000,"km_value":281554970476544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5980287751886200832,"description":"Unknown IO ID 45"} 
[2026-04-28 01:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994215168001,"power":27234,"unknown_153":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5980287751886200832}} 
[2026-04-28 01:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":56000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:50:38] local.INFO: GPS data processed {"connection_id":56000,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:50:38] local.INFO: Acknowledgment sent {"connection_id":56000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:50:53] local.INFO: TCP Data received {"connection_id":56002,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:53] local.INFO: Processing buffer {"connection_id":56002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:53] local.INFO: IMEI packet received {"connection_id":56002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":56002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:50:55] local.INFO: TCP Data received {"connection_id":56002,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:55] local.INFO: Processing buffer {"connection_id":56002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:55] local.INFO: IMEI packet received {"connection_id":56002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":56002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:50:58] local.INFO: TCP Data received {"connection_id":56002,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:58] local.INFO: Processing buffer {"connection_id":56002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:50:58] local.INFO: IMEI packet received {"connection_id":56002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":56002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:50:59] local.INFO: TCP Data received {"connection_id":56002,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd098d068012d53358006819898008900862b..."} 
[2026-04-28 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd098d068012d53358006819898008900862b..."} 
[2026-04-28 01:50:59] local.INFO: Processing buffer {"connection_id":56002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd098d068012d53358006819898008900862b..."} 
[2026-04-28 01:50:59] local.INFO: Packet analysis {"connection_id":56002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:59] local.INFO: Extracted packet for processing {"connection_id":56002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd098"} 
[2026-04-28 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":760427904,"raw_latitude":109156504,"longitude_deg":76.0427904,"latitude_deg":10.9156504,"altitude":137,"angle":134,"satellites":43,"speed":50,"hex_longitude":"2d533580","hex_latitude":"06819898","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994217216001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281555455807848448,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987746838767443968,"note":"Value kept but may cause issues"} 
[2026-04-28 01:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777321169000,"timestamp_ms":1777321169000,"timestamp_seconds":1777321169,"priority":1,"record_length":96,"hex_timestamp":"0000019dd098d068"} 
[2026-04-28 01:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 01:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994217216001,"66":27234,"115":206,"80":60928,"24":50,"16":281555455807848448,"45":5987746838767443968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-04-28 01:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994217216001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:50:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-28 01:50:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281555455807848448,"km_value":281555455807848.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987746838767443968,"description":"Unknown IO ID 45"} 
[2026-04-28 01:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994217216001,"power":27234,"unknown_115":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5987746838767443968}} 
[2026-04-28 01:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":56002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:50:59] local.INFO: GPS data processed {"connection_id":56002,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:50:59] local.INFO: Acknowledgment sent {"connection_id":56002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:51:31] local.INFO: TCP Data received {"connection_id":56002,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd099e5c0012d54984006805138005100962f..."} 
[2026-04-28 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd099e5c0012d54984006805138005100962f..."} 
[2026-04-28 01:51:31] local.INFO: Processing buffer {"connection_id":56002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd099e5c0012d54984006805138005100962f..."} 
[2026-04-28 01:51:31] local.INFO: Packet analysis {"connection_id":56002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd099"} 
[2026-04-28 01:51:31] local.INFO: Extracted packet for processing {"connection_id":56002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd099"} 
[2026-04-28 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":760518720,"raw_latitude":109072696,"longitude_deg":76.051872,"latitude_deg":10.9072696,"altitude":81,"angle":150,"satellites":47,"speed":77,"hex_longitude":"2d549840","hex_latitude":"06805138","is_valid_coordinates":true} 
[2026-04-28 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994237440001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281561408632520704,"note":"Value kept but may cause issues"} 
[2026-04-28 01:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095692492312754176,"note":"Value kept but may cause issues"} 
[2026-04-28 01:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777321240000,"timestamp_ms":1777321240000,"timestamp_seconds":1777321240,"priority":1,"record_length":96,"hex_timestamp":"0000019dd099e5c0"} 
[2026-04-28 01:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994237440001,"66":27365,"229":206,"80":60928,"24":77,"16":281561408632520704,"45":6095692492312754176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-04-28 01:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994237440001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:51:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-28 01:51:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281561408632520704,"km_value":281561408632520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095692492312754176,"description":"Unknown IO ID 45"} 
[2026-04-28 01:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994237440001,"power":27365,"unknown_229":206,"unknown_80":60928,"ignition":77,"odometer":null,"unknown_45":6095692492312754176}} 
[2026-04-28 01:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":56002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:51:32] local.INFO: GPS data processed {"connection_id":56002,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:51:32] local.INFO: Acknowledgment sent {"connection_id":56002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:51:55] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:55] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:55] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:51:57] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:57] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:51:57] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:52:12] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:12] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:12] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:52:13] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd099f948012d54ab4006802eb0004c00972f..."} 
[2026-04-28 01:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd099f948012d54ab4006802eb0004c00972f..."} 
[2026-04-28 01:52:13] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd099f948012d54ab4006802eb0004c00972f..."} 
[2026-04-28 01:52:13] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd099"} 
[2026-04-28 01:52:13] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd099"} 
[2026-04-28 01:52:13] local.INFO: GPS Element Parsed {"raw_longitude":760523584,"raw_latitude":109063856,"longitude_deg":76.0523584,"latitude_deg":10.9063856,"altitude":76,"angle":151,"satellites":47,"speed":83,"hex_longitude":"2d54ab40","hex_latitude":"06802eb0","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994237440001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281561898258792448,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095692492312754176,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777321245000,"timestamp_ms":1777321245000,"timestamp_seconds":1777321245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd099f948"} 
[2026-04-28 01:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:52:13] 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-04-28 01:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994237440001,"66":27484,"229":206,"80":60928,"24":83,"16":281561898258792448,"45":6095692492312754176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994237440001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281561898258792448,"km_value":281561898258792.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095692492312754176,"description":"Unknown IO ID 45"} 
[2026-04-28 01:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994237440001,"power":27484,"unknown_229":206,"unknown_80":60928,"ignition":83,"odometer":null,"unknown_45":6095692492312754176}} 
[2026-04-28 01:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:52:13] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:52:13] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:52:13] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09a0cd0012d54bf80068009e8004600972f..."} 
[2026-04-28 01:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09a0cd0012d54bf80068009e8004600972f..."} 
[2026-04-28 01:52:13] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09a0cd0012d54bf80068009e8004600972f..."} 
[2026-04-28 01:52:13] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd09a"} 
[2026-04-28 01:52:13] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd09a"} 
[2026-04-28 01:52:13] local.INFO: GPS Element Parsed {"raw_longitude":760528768,"raw_latitude":109054440,"longitude_deg":76.0528768,"latitude_deg":10.905444,"altitude":70,"angle":151,"satellites":47,"speed":87,"hex_longitude":"2d54bf80","hex_latitude":"068009e8","is_valid_coordinates":true} 
[2026-04-28 01: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-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994238720001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281562417949835264,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6101040516867993600,"note":"Value kept but may cause issues"} 
[2026-04-28 01:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777321250000,"timestamp_ms":1777321250000,"timestamp_seconds":1777321250,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09a0cd0"} 
[2026-04-28 01:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 01:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01: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-04-28 01:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:52:13] 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-04-28 01:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994238720001,"66":27397,"228":206,"80":60928,"24":87,"16":281562417949835264,"45":6101040516867993600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-04-28 01:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994238720001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281562417949835264,"km_value":281562417949835.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6101040516867993600,"description":"Unknown IO ID 45"} 
[2026-04-28 01:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994238720001,"power":27397,"unknown_228":206,"unknown_80":60928,"ignition":87,"odometer":null,"unknown_45":6101040516867993600}} 
[2026-04-28 01:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:52:13] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:52:13] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:52:56] local.INFO: TCP Data received {"connection_id":56241,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:52:56] local.INFO: Processing buffer {"connection_id":56241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:52:56] local.INFO: IMEI packet received {"connection_id":56241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":56241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:52:57] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:57] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:52:57] local.INFO: IMEI packet received {"connection_id":56004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":56004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:53:00] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:00] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:00] local.INFO: IMEI packet received {"connection_id":56004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:53:02] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:02] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:02] local.INFO: IMEI packet received {"connection_id":56004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":56004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:53:02] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09af348012d557f00067e4c90001b00a62f..."} 
[2026-04-28 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09af348012d557f00067e4c90001b00a62f..."} 
[2026-04-28 01:53:02] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09af348012d557f00067e4c90001b00a62f..."} 
[2026-04-28 01:53:02] local.INFO: Packet analysis {"connection_id":56004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd09a"} 
[2026-04-28 01:53:02] local.INFO: Extracted packet for processing {"connection_id":56004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd09a"} 
[2026-04-28 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":760577792,"raw_latitude":108940432,"longitude_deg":76.0577792,"latitude_deg":10.8940432,"altitude":27,"angle":166,"satellites":47,"speed":82,"hex_longitude":"2d557f00","hex_latitude":"067e4c90","is_valid_coordinates":true} 
[2026-04-28 01:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994253824001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281568465263788032,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158250305855451136,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777321309000,"timestamp_ms":1777321309000,"timestamp_seconds":1777321309,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09af348"} 
[2026-04-28 01:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 01:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 01:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994253824001,"66":27365,"207":206,"80":60928,"24":82,"16":281568465263788032,"45":6158250305855451136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,80,24,16,45]} 
[2026-04-28 01:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994253824001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:53:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 01:53:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281568465263788032,"km_value":281568465263788.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158250305855451136,"description":"Unknown IO ID 45"} 
[2026-04-28 01:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994253824001,"power":27365,"unknown_207":206,"unknown_80":60928,"ignition":82,"odometer":null,"unknown_45":6158250305855451136}} 
[2026-04-28 01:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":56004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:53:02] local.INFO: GPS data processed {"connection_id":56004,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:53:02] local.INFO: Acknowledgment sent {"connection_id":56004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:53:05] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09b06d0012d558a00067e25c0001a00a12d..."} 
[2026-04-28 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09b06d0012d558a00067e25c0001a00a12d..."} 
[2026-04-28 01:53:05] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09b06d0012d558a00067e25c0001a00a12d..."} 
[2026-04-28 01:53:05] local.INFO: Packet analysis {"connection_id":56004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd09b"} 
[2026-04-28 01:53:05] local.INFO: Extracted packet for processing {"connection_id":56004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd09b"} 
[2026-04-28 01:53:05] local.INFO: GPS Element Parsed {"raw_longitude":760580608,"raw_latitude":108930496,"longitude_deg":76.0580608,"latitude_deg":10.8930496,"altitude":26,"angle":161,"satellites":45,"speed":81,"hex_longitude":"2d558a00","hex_latitude":"067e25c0","is_valid_coordinates":true} 
[2026-04-28 01:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994255104001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281568963479994368,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6160642843154878464,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777321314000,"timestamp_ms":1777321314000,"timestamp_seconds":1777321314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09b06d0"} 
[2026-04-28 01:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 01:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 01:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:05] 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-04-28 01:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994255104001,"66":27245,"109":206,"80":60928,"24":81,"16":281568963479994368,"45":6160642843154878464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-04-28 01:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994255104001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:53:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-28 01:53:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281568963479994368,"km_value":281568963479994.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6160642843154878464,"description":"Unknown IO ID 45"} 
[2026-04-28 01:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994255104001,"power":27245,"unknown_109":206,"unknown_80":60928,"ignition":81,"odometer":null,"unknown_45":6160642843154878464}} 
[2026-04-28 01:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":56004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:53:05] local.INFO: GPS data processed {"connection_id":56004,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:53:05] local.INFO: Acknowledgment sent {"connection_id":56004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:53:36] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:53:36] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:53:36] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:53:37] local.INFO: TCP Data received {"connection_id":56004,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd09b1a58012d559800067e00480019009e2d..."} 
[2026-04-28 01:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd09b1a58012d559800067e00480019009e2d..."} 
[2026-04-28 01:53:37] local.INFO: Processing buffer {"connection_id":56004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd09b1a58012d559800067e00480019009e2d..."} 
[2026-04-28 01:53:37] local.INFO: Packet analysis {"connection_id":56004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd09b"} 
[2026-04-28 01:53:37] local.INFO: Extracted packet for processing {"connection_id":56004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd09b"} 
[2026-04-28 01:53:37] local.INFO: GPS Element Parsed {"raw_longitude":760584192,"raw_latitude":108920904,"longitude_deg":76.0584192,"latitude_deg":10.8920904,"altitude":25,"angle":158,"satellites":45,"speed":81,"hex_longitude":"2d559800","hex_latitude":"067e0048","is_valid_coordinates":true} 
[2026-04-28 01:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994256384001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281569461696200704,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163739067896152064,"note":"Value kept but may cause issues"} 
[2026-04-28 01:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777321319000,"timestamp_ms":1777321319000,"timestamp_seconds":1777321319,"priority":1,"record_length":96,"hex_timestamp":"0000019dd09b1a58"} 
[2026-04-28 01:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 01:53:37] 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-04-28 01:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:53:37] 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-04-28 01:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994256384001,"66":27484,"109":206,"80":60928,"24":81,"16":281569461696200704,"45":6163739067896152064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-04-28 01:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994256384001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:53:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-28 01:53:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281569461696200704,"km_value":281569461696200.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163739067896152064,"description":"Unknown IO ID 45"} 
[2026-04-28 01:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994256384001,"power":27484,"unknown_109":206,"unknown_80":60928,"ignition":81,"odometer":null,"unknown_45":6163739067896152064}} 
[2026-04-28 01:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":56004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:53:37] local.INFO: GPS data processed {"connection_id":56004,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:53:37] local.INFO: Acknowledgment sent {"connection_id":56004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:53:54] local.INFO: TCP Data received {"connection_id":56005,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:54] local.INFO: Processing buffer {"connection_id":56005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:53:54] local.INFO: IMEI packet received {"connection_id":56005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":56005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:54:06] local.INFO: TCP Data received {"connection_id":56005,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:54:06] local.INFO: Processing buffer {"connection_id":56005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:54:06] local.INFO: IMEI packet received {"connection_id":56005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":56005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:54:07] local.INFO: TCP Data received {"connection_id":56005,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56005,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:54:07] local.INFO: Processing buffer {"connection_id":56005,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 01:54:07] local.INFO: IMEI packet received {"connection_id":56005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 01:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":56005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 01:59:01] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:01] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:01] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:59:10] local.INFO: TCP Data received {"connection_id":56007,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:59:10] local.INFO: Processing buffer {"connection_id":56007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 01:59:10] local.INFO: IMEI packet received {"connection_id":56007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 01:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":56007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 01:59:11] local.INFO: TCP Data received {"connection_id":56007,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a05248012d54a500067a6028004200f325..."} 
[2026-04-28 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a05248012d54a500067a6028004200f325..."} 
[2026-04-28 01:59:11] local.INFO: Processing buffer {"connection_id":56007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a05248012d54a500067a6028004200f325..."} 
[2026-04-28 01:59:11] local.INFO: Packet analysis {"connection_id":56007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 01:59:11] local.INFO: Extracted packet for processing {"connection_id":56007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":760521984,"raw_latitude":108683304,"longitude_deg":76.0521984,"latitude_deg":10.8683304,"altitude":66,"angle":243,"satellites":37,"speed":19,"hex_longitude":"2d54a500","hex_latitude":"067a6028","is_valid_coordinates":true} 
[2026-04-28 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 01:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994340608001,"note":"Value kept but may cause issues"} 
[2026-04-28 01:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281587264335642624,"note":"Value kept but may cause issues"} 
[2026-04-28 01:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6107936653701171200,"note":"Value kept but may cause issues"} 
[2026-04-28 01:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 01:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777321661000,"timestamp_ms":1777321661000,"timestamp_seconds":1777321661,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a05248"} 
[2026-04-28 01:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 01:59:11] 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-04-28 01:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 01:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 01:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 01:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 01:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 01:59:11] 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-04-28 01:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 01:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 01:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994340608001,"66":27397,"155":206,"80":60928,"24":19,"16":281587264335642624,"45":6107936653701171200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-28 01:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 01:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 01:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994340608001,"description":"Unknown IO ID 0"} 
[2026-04-28 01:59:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 01:59:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 01:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281587264335642624,"km_value":281587264335642.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 01:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6107936653701171200,"description":"Unknown IO ID 45"} 
[2026-04-28 01:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994340608001,"power":27397,"unknown_155":206,"unknown_80":60928,"ignition":19,"odometer":null,"unknown_45":6107936653701171200}} 
[2026-04-28 01:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":56007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 01:59:11] local.INFO: GPS data processed {"connection_id":56007,"processed":1,"errors":0,"total":1} 
[2026-04-28 01:59:11] local.INFO: Acknowledgment sent {"connection_id":56007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 01:59:35] local.INFO: TCP Data received {"connection_id":56244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:35] local.INFO: Processing buffer {"connection_id":56244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 01:59:35] local.INFO: IMEI packet received {"connection_id":56244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 01:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:00:05] local.INFO: TCP Data received {"connection_id":56164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:05] local.INFO: Processing buffer {"connection_id":56164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:05] local.INFO: IMEI packet received {"connection_id":56164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":56164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:00:10] local.INFO: TCP Data received {"connection_id":56164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:10] local.INFO: Processing buffer {"connection_id":56164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:10] local.INFO: IMEI packet received {"connection_id":56164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":56164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:00:11] local.INFO: TCP Data received {"connection_id":56164,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a08ce0012d548940067a5538004500ff24..."} 
[2026-04-28 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a08ce0012d548940067a5538004500ff24..."} 
[2026-04-28 02:00:11] local.INFO: Processing buffer {"connection_id":56164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a08ce0012d548940067a5538004500ff24..."} 
[2026-04-28 02:00:11] local.INFO: Packet analysis {"connection_id":56164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 02:00:11] local.INFO: Extracted packet for processing {"connection_id":56164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 02:00:11] local.INFO: GPS Element Parsed {"raw_longitude":760514880,"raw_latitude":108680504,"longitude_deg":76.051488,"latitude_deg":10.8680504,"altitude":69,"angle":255,"satellites":36,"speed":20,"hex_longitude":"2d548940","hex_latitude":"067a5538","is_valid_coordinates":true} 
[2026-04-28 02:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994345216001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281587625112895488,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099281298166130688,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777321676000,"timestamp_ms":1777321676000,"timestamp_seconds":1777321676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a08ce0"} 
[2026-04-28 02:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:00:11] 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-04-28 02:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994345216001,"66":27321,"155":206,"80":60928,"24":20,"16":281587625112895488,"45":6099281298166130688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-28 02:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994345216001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:00:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 02:00:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281587625112895488,"km_value":281587625112895.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099281298166130688,"description":"Unknown IO ID 45"} 
[2026-04-28 02:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994345216001,"power":27321,"unknown_155":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6099281298166130688}} 
[2026-04-28 02:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":56164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:00:11] local.INFO: GPS data processed {"connection_id":56164,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:00:11] local.INFO: Acknowledgment sent {"connection_id":56164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:00:13] local.INFO: TCP Data received {"connection_id":56164,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a0d330012d546540067a4e780049010825..."} 
[2026-04-28 02:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a0d330012d546540067a4e780049010825..."} 
[2026-04-28 02:00:13] local.INFO: Processing buffer {"connection_id":56164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a0d330012d546540067a4e780049010825..."} 
[2026-04-28 02:00:13] local.INFO: Packet analysis {"connection_id":56164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 02:00:13] local.INFO: Extracted packet for processing {"connection_id":56164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a0"} 
[2026-04-28 02:00:13] local.INFO: GPS Element Parsed {"raw_longitude":760505664,"raw_latitude":108678776,"longitude_deg":76.0505664,"latitude_deg":10.8678776,"altitude":73,"angle":264,"satellites":37,"speed":20,"hex_longitude":"2d546540","hex_latitude":"067a4e78","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994349056001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281588076084461568,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6091470367561693184,"note":"Value kept but may cause issues"} 
[2026-04-28 02:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777321694000,"timestamp_ms":1777321694000,"timestamp_seconds":1777321694,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a0d330"} 
[2026-04-28 02:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:00:13] 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-04-28 02:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994349056001,"66":27321,"155":206,"80":60928,"24":20,"16":281588076084461568,"45":6091470367561693184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-28 02:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994349056001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:00:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 02:00:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281588076084461568,"km_value":281588076084461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6091470367561693184,"description":"Unknown IO ID 45"} 
[2026-04-28 02:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994349056001,"power":27321,"unknown_155":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6091470367561693184}} 
[2026-04-28 02:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":56164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:00:13] local.INFO: GPS data processed {"connection_id":56164,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:00:13] local.INFO: Acknowledgment sent {"connection_id":56164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:00:55] local.INFO: TCP Data received {"connection_id":56245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:55] local.INFO: Processing buffer {"connection_id":56245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:55] local.INFO: IMEI packet received {"connection_id":56245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:00:59] local.INFO: TCP Data received {"connection_id":56245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:59] local.INFO: Processing buffer {"connection_id":56245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:00:59] local.INFO: IMEI packet received {"connection_id":56245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:01:00] local.INFO: TCP Data received {"connection_id":56245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a11980012d544040067a4e30004e011028..."} 
[2026-04-28 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a11980012d544040067a4e30004e011028..."} 
[2026-04-28 02:01:00] local.INFO: Processing buffer {"connection_id":56245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a11980012d544040067a4e30004e011028..."} 
[2026-04-28 02:01:00] local.INFO: Packet analysis {"connection_id":56245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a1"} 
[2026-04-28 02:01:00] local.INFO: Extracted packet for processing {"connection_id":56245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a1"} 
[2026-04-28 02:01:00] local.INFO: GPS Element Parsed {"raw_longitude":760496192,"raw_latitude":108678704,"longitude_deg":76.0496192,"latitude_deg":10.8678704,"altitude":78,"angle":272,"satellites":40,"speed":21,"hex_longitude":"2d544040","hex_latitude":"067a4e30","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994353664001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281588527056027648,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6081337268399667200,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777321712000,"timestamp_ms":1777321712000,"timestamp_seconds":1777321712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a11980"} 
[2026-04-28 02:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:01: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-04-28 02:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994353664001,"66":27321,"155":206,"80":60928,"24":21,"16":281588527056027648,"45":6081337268399667200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-28 02:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994353664001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:01:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 02:01:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281588527056027648,"km_value":281588527056027.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6081337268399667200,"description":"Unknown IO ID 45"} 
[2026-04-28 02:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994353664001,"power":27321,"unknown_155":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":6081337268399667200}} 
[2026-04-28 02:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":56245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:01:00] local.INFO: GPS data processed {"connection_id":56245,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:01:00] local.INFO: Acknowledgment sent {"connection_id":56245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:01:31] local.INFO: TCP Data received {"connection_id":56245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a2fde0012d52c5c00679f9a0005500e129..."} 
[2026-04-28 02:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a2fde0012d52c5c00679f9a0005500e129..."} 
[2026-04-28 02:01:31] local.INFO: Processing buffer {"connection_id":56245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a2fde0012d52c5c00679f9a0005500e129..."} 
[2026-04-28 02:01:31] local.INFO: Packet analysis {"connection_id":56245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a2"} 
[2026-04-28 02:01:31] local.INFO: Extracted packet for processing {"connection_id":56245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a2"} 
[2026-04-28 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":760399296,"raw_latitude":108657056,"longitude_deg":76.0399296,"latitude_deg":10.8657056,"altitude":85,"angle":225,"satellites":41,"speed":51,"hex_longitude":"2d52c5c0","hex_latitude":"0679f9a0","is_valid_coordinates":true} 
[2026-04-28 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994388224001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281593560757698560,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5971562027478542336,"note":"Value kept but may cause issues"} 
[2026-04-28 02:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777321836000,"timestamp_ms":1777321836000,"timestamp_seconds":1777321836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a2fde0"} 
[2026-04-28 02:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994388224001,"66":27321,"51":206,"80":60928,"24":51,"16":281593560757698560,"45":5971562027478542336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-04-28 02:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994388224001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:01:31] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 02:01:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281593560757698560,"km_value":281593560757698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5971562027478542336,"description":"Unknown IO ID 45"} 
[2026-04-28 02:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994388224001,"power":27321,"unknown_51":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5971562027478542336}} 
[2026-04-28 02:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":56245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:01:31] local.INFO: GPS data processed {"connection_id":56245,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:01:31] local.INFO: Acknowledgment sent {"connection_id":56245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:01:55] local.INFO: TCP Data received {"connection_id":56008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:55] local.INFO: Processing buffer {"connection_id":56008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:55] local.INFO: IMEI packet received {"connection_id":56008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":56008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:01:56] local.INFO: TCP Data received {"connection_id":56008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:56] local.INFO: Processing buffer {"connection_id":56008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:01:56] local.INFO: IMEI packet received {"connection_id":56008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":56008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:02:00] local.INFO: TCP Data received {"connection_id":56008,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:00] local.INFO: Processing buffer {"connection_id":56008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:00] local.INFO: IMEI packet received {"connection_id":56008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":56008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:02:01] local.INFO: TCP Data received {"connection_id":56008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a31d20012d52ab000679dc68005500da2d..."} 
[2026-04-28 02:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a31d20012d52ab000679dc68005500da2d..."} 
[2026-04-28 02:02:01] local.INFO: Processing buffer {"connection_id":56008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a31d20012d52ab000679dc68005500da2d..."} 
[2026-04-28 02:02:01] local.INFO: Packet analysis {"connection_id":56008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:02:01] local.INFO: Extracted packet for processing {"connection_id":56008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:02:01] local.INFO: GPS Element Parsed {"raw_longitude":760392448,"raw_latitude":108649576,"longitude_deg":76.0392448,"latitude_deg":10.8649576,"altitude":85,"angle":218,"satellites":45,"speed":48,"hex_longitude":"2d52ab00","hex_latitude":"0679dc68","is_valid_coordinates":true} 
[2026-04-28 02:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994390016001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281594046089003008,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964384415570829312,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777321844000,"timestamp_ms":1777321844000,"timestamp_seconds":1777321844,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a31d20"} 
[2026-04-28 02:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:02: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-04-28 02:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994390016001,"66":27365,"51":206,"80":60928,"24":48,"16":281594046089003008,"45":5964384415570829312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-04-28 02:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994390016001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:02:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 02:02:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281594046089003008,"km_value":281594046089003.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964384415570829312,"description":"Unknown IO ID 45"} 
[2026-04-28 02:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994390016001,"power":27365,"unknown_51":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5964384415570829312}} 
[2026-04-28 02:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":56008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:02:01] local.INFO: GPS data processed {"connection_id":56008,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:02:01] local.INFO: Acknowledgment sent {"connection_id":56008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:02:38] local.INFO: TCP Data received {"connection_id":56008,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a33878012d529a000679c1b8005500ce2c..."} 
[2026-04-28 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a33878012d529a000679c1b8005500ce2c..."} 
[2026-04-28 02:02:38] local.INFO: Processing buffer {"connection_id":56008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a33878012d529a000679c1b8005500ce2c..."} 
[2026-04-28 02:02:38] local.INFO: Packet analysis {"connection_id":56008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:02:38] local.INFO: Extracted packet for processing {"connection_id":56008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":760388096,"raw_latitude":108642744,"longitude_deg":76.0388096,"latitude_deg":10.8642744,"altitude":85,"angle":206,"satellites":44,"speed":43,"hex_longitude":"2d529a00","hex_latitude":"0679c1b8","is_valid_coordinates":true} 
[2026-04-28 02:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994392064001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281594441225994240,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5956854959941904384,"note":"Value kept but may cause issues"} 
[2026-04-28 02:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777321851000,"timestamp_ms":1777321851000,"timestamp_seconds":1777321851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a33878"} 
[2026-04-28 02:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 02:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994392064001,"66":27593,"51":206,"80":60928,"24":43,"16":281594441225994240,"45":5956854959941904384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-04-28 02:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994392064001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:02:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 02:02:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281594441225994240,"km_value":281594441225994.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5956854959941904384,"description":"Unknown IO ID 45"} 
[2026-04-28 02:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994392064001,"power":27593,"unknown_51":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5956854959941904384}} 
[2026-04-28 02:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":56008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:02:38] local.INFO: GPS data processed {"connection_id":56008,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:02:38] local.INFO: Acknowledgment sent {"connection_id":56008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:02:55] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:55] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:55] local.INFO: IMEI packet received {"connection_id":56165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":56165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:02:56] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:56] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:02:56] local.INFO: IMEI packet received {"connection_id":56165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":56165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:03:05] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:05] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:05] local.INFO: IMEI packet received {"connection_id":56165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":56165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:03:06] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a35ba0012d528c000679a020005600c72d..."} 
[2026-04-28 02:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a35ba0012d528c000679a020005600c72d..."} 
[2026-04-28 02:03:06] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a35ba0012d528c000679a020005600c72d..."} 
[2026-04-28 02:03:06] local.INFO: Packet analysis {"connection_id":56165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:03:06] local.INFO: Extracted packet for processing {"connection_id":56165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a3"} 
[2026-04-28 02:03:06] local.INFO: GPS Element Parsed {"raw_longitude":760384512,"raw_latitude":108634144,"longitude_deg":76.0384512,"latitude_deg":10.8634144,"altitude":86,"angle":199,"satellites":45,"speed":39,"hex_longitude":"2d528c00","hex_latitude":"0679a020","is_valid_coordinates":true} 
[2026-04-28 02:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994393856001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281594887902593024,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952069885336074240,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777321860000,"timestamp_ms":1777321860000,"timestamp_seconds":1777321860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a35ba0"} 
[2026-04-28 02:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 02:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:03:06] 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-04-28 02:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994393856001,"66":27267,"51":206,"80":60928,"24":39,"16":281594887902593024,"45":5952069885336074240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-04-28 02:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994393856001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:03:06] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 02:03:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-28 02:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281594887902593024,"km_value":281594887902593.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952069885336074240,"description":"Unknown IO ID 45"} 
[2026-04-28 02:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994393856001,"power":27267,"unknown_51":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":5952069885336074240}} 
[2026-04-28 02:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":56165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:03:06] local.INFO: GPS data processed {"connection_id":56165,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:03:06] local.INFO: Acknowledgment sent {"connection_id":56165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:03:37] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a4e240012d51e4400677a928002a00e721..."} 
[2026-04-28 02:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a4e240012d51e4400677a928002a00e721..."} 
[2026-04-28 02:03:37] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a4e240012d51e4400677a928002a00e721..."} 
[2026-04-28 02:03:37] local.INFO: Packet analysis {"connection_id":56165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a4"} 
[2026-04-28 02:03:37] local.INFO: Extracted packet for processing {"connection_id":56165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a4"} 
[2026-04-28 02:03:37] local.INFO: GPS Element Parsed {"raw_longitude":760341568,"raw_latitude":108505384,"longitude_deg":76.0341568,"latitude_deg":10.8505384,"altitude":42,"angle":231,"satellites":33,"speed":60,"hex_longitude":"2d51e440","hex_latitude":"0677a928","is_valid_coordinates":true} 
[2026-04-28 02:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994420224001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281601652476084224,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5908652370144737280,"note":"Value kept but may cause issues"} 
[2026-04-28 02:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777321960000,"timestamp_ms":1777321960000,"timestamp_seconds":1777321960,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a4e240"} 
[2026-04-28 02:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 02:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:03:37] 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-04-28 02:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994420224001,"66":27343,"147":206,"80":60160,"24":60,"16":281601652476084224,"45":5908652370144737280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-28 02:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994420224001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:03:37] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-28 02:03:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281601652476084224,"km_value":281601652476084.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5908652370144737280,"description":"Unknown IO ID 45"} 
[2026-04-28 02:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994420224001,"power":27343,"unknown_147":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5908652370144737280}} 
[2026-04-28 02:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":56165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:03:37] local.INFO: GPS data processed {"connection_id":56165,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:03:37] local.INFO: Acknowledgment sent {"connection_id":56165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:03:55] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:55] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:03:55] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:04:00] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:00] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:00] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:04:01] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a4fd98012d51c6c0067790d0002600e320..."} 
[2026-04-28 02:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a4fd98012d51c6c0067790d0002600e320..."} 
[2026-04-28 02:04:01] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a4fd98012d51c6c0067790d0002600e320..."} 
[2026-04-28 02:04:01] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a4"} 
[2026-04-28 02:04:01] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a4"} 
[2026-04-28 02:04:01] local.INFO: GPS Element Parsed {"raw_longitude":760334016,"raw_latitude":108499152,"longitude_deg":76.0334016,"latitude_deg":10.8499152,"altitude":38,"angle":227,"satellites":32,"speed":52,"hex_longitude":"2d51c6c0","hex_latitude":"067790d0","is_valid_coordinates":true} 
[2026-04-28 02:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994421760001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281602124922486784,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5900911808283748352,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777321967000,"timestamp_ms":1777321967000,"timestamp_seconds":1777321967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a4fd98"} 
[2026-04-28 02:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:04: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-04-28 02:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994421760001,"66":27267,"147":206,"80":60160,"24":52,"16":281602124922486784,"45":5900911808283748352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-28 02:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994421760001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:04:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-28 02:04:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281602124922486784,"km_value":281602124922486.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5900911808283748352,"description":"Unknown IO ID 45"} 
[2026-04-28 02:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994421760001,"power":27267,"unknown_147":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5900911808283748352}} 
[2026-04-28 02:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:04:01] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:04:01] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:04:33] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a51508012d51b28006777ad0002300d722..."} 
[2026-04-28 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a51508012d51b28006777ad0002300d722..."} 
[2026-04-28 02:04:33] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a51508012d51b28006777ad0002300d722..."} 
[2026-04-28 02:04:33] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a5"} 
[2026-04-28 02:04:33] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a5"} 
[2026-04-28 02:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760328832,"raw_latitude":108493520,"longitude_deg":76.0328832,"latitude_deg":10.849352,"altitude":35,"angle":215,"satellites":34,"speed":48,"hex_longitude":"2d51b280","hex_latitude":"06777ad0","is_valid_coordinates":true} 
[2026-04-28 02:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994423552001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281602494289674240,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5892608296469188608,"note":"Value kept but may cause issues"} 
[2026-04-28 02:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777321973000,"timestamp_ms":1777321973000,"timestamp_seconds":1777321973,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a51508"} 
[2026-04-28 02:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 02:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:04:33] 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-04-28 02:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994423552001,"66":27267,"147":206,"80":60160,"24":48,"16":281602494289674240,"45":5892608296469188608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-28 02:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994423552001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:04:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-28 02:04:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281602494289674240,"km_value":281602494289674.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5892608296469188608,"description":"Unknown IO ID 45"} 
[2026-04-28 02:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994423552001,"power":27267,"unknown_147":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5892608296469188608}} 
[2026-04-28 02:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:04:33] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:04:33] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:04:55] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:55] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:55] local.INFO: IMEI packet received {"connection_id":56011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":56011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:04:56] local.INFO: TCP Data received {"connection_id":56010,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:04:56] local.INFO: Processing buffer {"connection_id":56010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:04:56] local.INFO: IMEI packet received {"connection_id":56010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":56010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:04:58] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:58] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:58] local.INFO: IMEI packet received {"connection_id":56011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":56011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:04:59] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:59] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:04:59] local.INFO: IMEI packet received {"connection_id":56011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:05:00] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:05:00] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:05:00] local.INFO: IMEI packet received {"connection_id":56011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":56011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:05:02] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a64d88012d50f14006763038001600f92b..."} 
[2026-04-28 02:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a64d88012d50f14006763038001600f92b..."} 
[2026-04-28 02:05:02] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a64d88012d50f14006763038001600f92b..."} 
[2026-04-28 02:05:02] local.INFO: Packet analysis {"connection_id":56011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a6"} 
[2026-04-28 02:05:02] local.INFO: Extracted packet for processing {"connection_id":56011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a6"} 
[2026-04-28 02:05:02] local.INFO: GPS Element Parsed {"raw_longitude":760279360,"raw_latitude":108408888,"longitude_deg":76.027936,"latitude_deg":10.8408888,"altitude":22,"angle":249,"satellites":43,"speed":51,"hex_longitude":"2d50f140","hex_latitude":"06763038","is_valid_coordinates":true} 
[2026-04-28 02:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994444032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281607334717816832,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840042844546238464,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777322053000,"timestamp_ms":1777322053000,"timestamp_seconds":1777322053,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a64d88"} 
[2026-04-28 02:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 02:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994444032001,"66":27343,"167":206,"80":60160,"24":51,"16":281607334717816832,"45":5840042844546238464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-28 02:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994444032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:05:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 02:05:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281607334717816832,"km_value":281607334717816.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840042844546238464,"description":"Unknown IO ID 45"} 
[2026-04-28 02:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994444032001,"power":27343,"unknown_167":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5840042844546238464}} 
[2026-04-28 02:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":56011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:05:02] local.INFO: GPS data processed {"connection_id":56011,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:05:02] local.INFO: Acknowledgment sent {"connection_id":56011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:05:34] local.INFO: TCP Data received {"connection_id":56011,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a668e0012d50cd0006762710001401072b..."} 
[2026-04-28 02:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a668e0012d50cd0006762710001401072b..."} 
[2026-04-28 02:05:34] local.INFO: Processing buffer {"connection_id":56011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a668e0012d50cd0006762710001401072b..."} 
[2026-04-28 02:05:34] local.INFO: Packet analysis {"connection_id":56011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a6"} 
[2026-04-28 02:05:34] local.INFO: Extracted packet for processing {"connection_id":56011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a6"} 
[2026-04-28 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":760270080,"raw_latitude":108406544,"longitude_deg":76.027008,"latitude_deg":10.8406544,"altitude":20,"angle":263,"satellites":43,"speed":55,"hex_longitude":"2d50cd00","hex_latitude":"06762710","is_valid_coordinates":true} 
[2026-04-28 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994445568001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281607789984350208,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832513388918355968,"note":"Value kept but may cause issues"} 
[2026-04-28 02:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777322060000,"timestamp_ms":1777322060000,"timestamp_seconds":1777322060,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a668e0"} 
[2026-04-28 02:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994445568001,"66":27332,"167":206,"80":60160,"24":55,"16":281607789984350208,"45":5832513388918355968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-28 02:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994445568001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:05:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 02:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281607789984350208,"km_value":281607789984350.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832513388918355968,"description":"Unknown IO ID 45"} 
[2026-04-28 02:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994445568001,"power":27332,"unknown_167":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5832513388918355968}} 
[2026-04-28 02:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":56011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:05:34] local.INFO: GPS data processed {"connection_id":56011,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:05:34] local.INFO: Acknowledgment sent {"connection_id":56011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:05:35] local.INFO: TCP Data received {"connection_id":56166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:05:35] local.INFO: Processing buffer {"connection_id":56166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:05:35] local.INFO: IMEI packet received {"connection_id":56166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:06:30] local.INFO: TCP Data received {"connection_id":56012,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:30] local.INFO: Processing buffer {"connection_id":56012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:30] local.INFO: IMEI packet received {"connection_id":56012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":56012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:06:32] local.INFO: TCP Data received {"connection_id":56012,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:32] local.INFO: Processing buffer {"connection_id":56012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:32] local.INFO: IMEI packet received {"connection_id":56012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":56012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:06:36] local.INFO: TCP Data received {"connection_id":56012,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:36] local.INFO: Processing buffer {"connection_id":56012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:06:36] local.INFO: IMEI packet received {"connection_id":56012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":56012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:06:36] local.INFO: TCP Data received {"connection_id":56012,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a76e98012d4f7f40067646b0001d012426..."} 
[2026-04-28 02:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a76e98012d4f7f40067646b0001d012426..."} 
[2026-04-28 02:06:36] local.INFO: Processing buffer {"connection_id":56012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a76e98012d4f7f40067646b0001d012426..."} 
[2026-04-28 02:06:36] local.INFO: Packet analysis {"connection_id":56012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:06:36] local.INFO: Extracted packet for processing {"connection_id":56012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":760184640,"raw_latitude":108414640,"longitude_deg":76.018464,"latitude_deg":10.841464,"altitude":29,"angle":292,"satellites":38,"speed":39,"hex_longitude":"2d4f7f40","hex_latitude":"067646b0","is_valid_coordinates":true} 
[2026-04-28 02:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994462208001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281611921742888960,"note":"Value kept but may cause issues"} 
[2026-04-28 02:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5737937796744179712,"note":"Value kept but may cause issues"} 
[2026-04-28 02:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777322127000,"timestamp_ms":1777322127000,"timestamp_seconds":1777322127,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a76e98"} 
[2026-04-28 02:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:06:36] 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-04-28 02:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994462208001,"66":27397,"167":206,"80":60160,"24":39,"16":281611921742888960,"45":5737937796744179712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-28 02:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994462208001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:06:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 02:06:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281611921742888960,"km_value":281611921742888.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5737937796744179712,"description":"Unknown IO ID 45"} 
[2026-04-28 02:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994462208001,"power":27397,"unknown_167":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":5737937796744179712}} 
[2026-04-28 02:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":56012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:06:36] local.INFO: GPS data processed {"connection_id":56012,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:06:36] local.INFO: Acknowledgment sent {"connection_id":56012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:07:00] local.INFO: TCP Data received {"connection_id":56013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: Processing buffer {"connection_id":56013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: IMEI packet received {"connection_id":56013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":56013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:07:00] local.INFO: TCP Data received {"connection_id":56013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: Processing buffer {"connection_id":56013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:00] local.INFO: IMEI packet received {"connection_id":56013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":56013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:07:05] local.INFO: TCP Data received {"connection_id":56013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:05] local.INFO: Processing buffer {"connection_id":56013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:05] local.INFO: IMEI packet received {"connection_id":56013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":56013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:07:06] local.INFO: TCP Data received {"connection_id":56013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a795a8012d4f5bc0067655900020012426..."} 
[2026-04-28 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a795a8012d4f5bc0067655900020012426..."} 
[2026-04-28 02:07:06] local.INFO: Processing buffer {"connection_id":56013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a795a8012d4f5bc0067655900020012426..."} 
[2026-04-28 02:07:06] local.INFO: Packet analysis {"connection_id":56013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:07:06] local.INFO: Extracted packet for processing {"connection_id":56013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:07:06] local.INFO: GPS Element Parsed {"raw_longitude":760175552,"raw_latitude":108418448,"longitude_deg":76.0175552,"latitude_deg":10.8418448,"altitude":32,"angle":292,"satellites":38,"speed":38,"hex_longitude":"2d4f5bc0","hex_latitude":"06765590","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994464512001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281612394189291520,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728367647536885760,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777322137000,"timestamp_ms":1777322137000,"timestamp_seconds":1777322137,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a795a8"} 
[2026-04-28 02:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:07:06] 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-04-28 02:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994464512001,"66":27463,"169":206,"80":60160,"24":38,"16":281612394189291520,"45":5728367647536885760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,80,24,16,45]} 
[2026-04-28 02:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994464512001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:07:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 02:07:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281612394189291520,"km_value":281612394189291.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728367647536885760,"description":"Unknown IO ID 45"} 
[2026-04-28 02:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994464512001,"power":27463,"unknown_169":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5728367647536885760}} 
[2026-04-28 02:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":56013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:07:06] local.INFO: GPS data processed {"connection_id":56013,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:07:06] local.INFO: Acknowledgment sent {"connection_id":56013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:07:36] local.INFO: TCP Data received {"connection_id":56013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a7bcb8012d4f3800067663080022011f2a..."} 
[2026-04-28 02:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a7bcb8012d4f3800067663080022011f2a..."} 
[2026-04-28 02:07:36] local.INFO: Processing buffer {"connection_id":56013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a7bcb8012d4f3800067663080022011f2a..."} 
[2026-04-28 02:07:36] local.INFO: Packet analysis {"connection_id":56013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:07:36] local.INFO: Extracted packet for processing {"connection_id":56013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a7"} 
[2026-04-28 02:07:36] local.INFO: GPS Element Parsed {"raw_longitude":760166400,"raw_latitude":108421896,"longitude_deg":76.01664,"latitude_deg":10.8421896,"altitude":34,"angle":287,"satellites":42,"speed":39,"hex_longitude":"2d4f3800","hex_latitude":"06766308","is_valid_coordinates":true} 
[2026-04-28 02:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994467072001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281612862340726784,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5718375285864632320,"note":"Value kept but may cause issues"} 
[2026-04-28 02:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777322147000,"timestamp_ms":1777322147000,"timestamp_seconds":1777322147,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a7bcb8"} 
[2026-04-28 02:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:07:36] 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-04-28 02:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:07:36] 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-04-28 02:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994467072001,"66":27484,"169":206,"80":60160,"24":39,"16":281612862340726784,"45":5718375285864632320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,80,24,16,45]} 
[2026-04-28 02:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994467072001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:07:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 02:07:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281612862340726784,"km_value":281612862340726.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5718375285864632320,"description":"Unknown IO ID 45"} 
[2026-04-28 02:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994467072001,"power":27484,"unknown_169":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":5718375285864632320}} 
[2026-04-28 02:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":56013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:07:36] local.INFO: GPS data processed {"connection_id":56013,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:07:36] local.INFO: Acknowledgment sent {"connection_id":56013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:07:58] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:58] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:07:58] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:08:00] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:00] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:00] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:08:05] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:05] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:05] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:08:06] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:06] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:06] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:08:06] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":760065536,"raw_latitude":108401488,"longitude_deg":76.0065536,"latitude_deg":10.8401488,"altitude":13,"angle":271,"satellites":41,"speed":55,"hex_longitude":"2d4dae00","hex_latitude":"06761350","is_valid_coordinates":true} 
[2026-04-28 02:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994487552001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281617831617888256,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5608318569966643200,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777322224000,"timestamp_ms":1777322224000,"timestamp_seconds":1777322224,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a8e980"} 
[2026-04-28 02:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 02:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:08:06] 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-04-28 02:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994487552001,"66":27484,"141":206,"80":60160,"24":55,"16":281617831617888256,"45":5608318569966643200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-28 02:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994487552001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:08:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 02:08:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281617831617888256,"km_value":281617831617888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5608318569966643200,"description":"Unknown IO ID 45"} 
[2026-04-28 02:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994487552001,"power":27484,"unknown_141":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5608318569966643200}} 
[2026-04-28 02:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:08:06] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:08:06] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:08:37] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:37] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a8e980012d4dae0006761350000d010f29..."} 
[2026-04-28 02:08:37] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:08:37] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:08:37] local.INFO: GPS Element Parsed {"raw_longitude":760065536,"raw_latitude":108401488,"longitude_deg":76.0065536,"latitude_deg":10.8401488,"altitude":13,"angle":271,"satellites":41,"speed":55,"hex_longitude":"2d4dae00","hex_latitude":"06761350","is_valid_coordinates":true} 
[2026-04-28 02:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994489344001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281617831617888256,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597411414618886144,"note":"Value kept but may cause issues"} 
[2026-04-28 02:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777322224000,"timestamp_ms":1777322224000,"timestamp_seconds":1777322224,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a8e980"} 
[2026-04-28 02:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 02:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:08:37] 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-04-28 02:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994489344001,"66":27484,"141":206,"80":60160,"24":55,"16":281617831617888256,"45":5597411414618886144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-28 02:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994489344001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:08:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 02:08:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281617831617888256,"km_value":281617831617888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597411414618886144,"description":"Unknown IO ID 45"} 
[2026-04-28 02:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994489344001,"power":27484,"unknown_141":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5597411414618886144}} 
[2026-04-28 02:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:08:37] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:08:37] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:08:54] local.INFO: TCP Data received {"connection_id":56168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:54] local.INFO: Processing buffer {"connection_id":56168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:54] local.INFO: IMEI packet received {"connection_id":56168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":56168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:08:55] local.INFO: TCP Data received {"connection_id":56168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:55] local.INFO: Processing buffer {"connection_id":56168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:08:55] local.INFO: IMEI packet received {"connection_id":56168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":56168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:09:00] local.INFO: TCP Data received {"connection_id":56168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:00] local.INFO: Processing buffer {"connection_id":56168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:00] local.INFO: IMEI packet received {"connection_id":56168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":56168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:09:01] local.INFO: TCP Data received {"connection_id":56168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a8fd08012d4d9280067616b8000d011a2a..."} 
[2026-04-28 02:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a8fd08012d4d9280067616b8000d011a2a..."} 
[2026-04-28 02:09:01] local.INFO: Processing buffer {"connection_id":56168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a8fd08012d4d9280067616b8000d011a2a..."} 
[2026-04-28 02:09:01] local.INFO: Packet analysis {"connection_id":56168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:09:01] local.INFO: Extracted packet for processing {"connection_id":56168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a8"} 
[2026-04-28 02:09:01] local.INFO: GPS Element Parsed {"raw_longitude":760058496,"raw_latitude":108402360,"longitude_deg":76.0058496,"latitude_deg":10.840236,"altitude":13,"angle":282,"satellites":42,"speed":55,"hex_longitude":"2d4d9280","hex_latitude":"067616b8","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994489344001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281618166625337344,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597411414618886144,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322229000,"timestamp_ms":1777322229000,"timestamp_seconds":1777322229,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a8fd08"} 
[2026-04-28 02:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 02:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:09: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-04-28 02:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994489344001,"66":27463,"141":206,"80":60160,"24":55,"16":281618166625337344,"45":5597411414618886144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-28 02:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994489344001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:09:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 02:09:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281618166625337344,"km_value":281618166625337.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597411414618886144,"description":"Unknown IO ID 45"} 
[2026-04-28 02:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994489344001,"power":27463,"unknown_141":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5597411414618886144}} 
[2026-04-28 02:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":56168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:09:01] local.INFO: GPS data processed {"connection_id":56168,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:09:01] local.INFO: Acknowledgment sent {"connection_id":56168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:09:32] local.INFO: TCP Data received {"connection_id":56168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0a91090012d4d78c006761ed8000c01252b..."} 
[2026-04-28 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0a91090012d4d78c006761ed8000c01252b..."} 
[2026-04-28 02:09:32] local.INFO: Processing buffer {"connection_id":56168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0a91090012d4d78c006761ed8000c01252b..."} 
[2026-04-28 02:09:32] local.INFO: Packet analysis {"connection_id":56168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0a9"} 
[2026-04-28 02:09:32] local.INFO: Extracted packet for processing {"connection_id":56168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0a9"} 
[2026-04-28 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":760051904,"raw_latitude":108404440,"longitude_deg":76.0051904,"latitude_deg":10.840444,"altitude":12,"angle":293,"satellites":43,"speed":54,"hex_longitude":"2d4d78c0","hex_latitude":"06761ed8","is_valid_coordinates":true} 
[2026-04-28 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994490624001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281618501632786432,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5589670852759566336,"note":"Value kept but may cause issues"} 
[2026-04-28 02:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777322234000,"timestamp_ms":1777322234000,"timestamp_seconds":1777322234,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0a91090"} 
[2026-04-28 02:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:09:32] 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-04-28 02:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:09:32] 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-04-28 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994490624001,"66":27484,"141":206,"80":60160,"24":54,"16":281618501632786432,"45":5589670852759566336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-28 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994490624001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:09:32] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 02:09:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281618501632786432,"km_value":281618501632786.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5589670852759566336,"description":"Unknown IO ID 45"} 
[2026-04-28 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994490624001,"power":27484,"unknown_141":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5589670852759566336}} 
[2026-04-28 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":56168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:09:32] local.INFO: GPS data processed {"connection_id":56168,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:09:32] local.INFO: Acknowledgment sent {"connection_id":56168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:09:55] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:55] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:55] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:09:58] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:58] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:09:58] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:10:00] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:00] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:00] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:10:00] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0aa7020012d4c148006766d48001000ff2a..."} 
[2026-04-28 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0aa7020012d4c148006766d48001000ff2a..."} 
[2026-04-28 02:10:00] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0aa7020012d4c148006766d48001000ff2a..."} 
[2026-04-28 02:10:00] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:00] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:00] local.INFO: GPS Element Parsed {"raw_longitude":759960704,"raw_latitude":108424520,"longitude_deg":75.9960704,"latitude_deg":10.842452,"altitude":16,"angle":255,"satellites":42,"speed":34,"hex_longitude":"2d4c1480","hex_latitude":"06766d48","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994512384001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281623238981713920,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5492210142079516672,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322324000,"timestamp_ms":1777322324000,"timestamp_seconds":1777322324,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0aa7020"} 
[2026-04-28 02:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:10:00] 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-04-28 02: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-04-28 02:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994512384001,"66":27343,"235":206,"80":60160,"24":34,"16":281623238981713920,"45":5492210142079516672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994512384001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:10:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:10:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281623238981713920,"km_value":281623238981713.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5492210142079516672,"description":"Unknown IO ID 45"} 
[2026-04-28 02:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994512384001,"power":27343,"unknown_235":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5492210142079516672}} 
[2026-04-28 02:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:10:01] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:10:01] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:10:05] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0aa9730012d4bf54006766268001100f32a..."} 
[2026-04-28 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0aa9730012d4bf54006766268001100f32a..."} 
[2026-04-28 02:10:05] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0aa9730012d4bf54006766268001100f32a..."} 
[2026-04-28 02:10:05] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:05] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:05] local.INFO: GPS Element Parsed {"raw_longitude":759952704,"raw_latitude":108421736,"longitude_deg":75.9952704,"latitude_deg":10.8421736,"altitude":17,"angle":243,"satellites":42,"speed":33,"hex_longitude":"2d4bf540","hex_latitude":"06766268","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994514944001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281623642708639744,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5482147411661768704,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777322334000,"timestamp_ms":1777322334000,"timestamp_seconds":1777322334,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0aa9730"} 
[2026-04-28 02:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:05] 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-04-28 02:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994514944001,"66":27343,"235":206,"80":60160,"24":33,"16":281623642708639744,"45":5482147411661768704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994514944001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:10:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:10:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281623642708639744,"km_value":281623642708639.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5482147411661768704,"description":"Unknown IO ID 45"} 
[2026-04-28 02:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994514944001,"power":27343,"unknown_235":206,"unknown_80":60160,"ignition":33,"odometer":null,"unknown_45":5482147411661768704}} 
[2026-04-28 02:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:10:05] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:10:05] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:10:36] local.INFO: TCP Data received {"connection_id":56169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0aaba58012d4bdb0006765228001200e729..."} 
[2026-04-28 02:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0aaba58012d4bdb0006765228001200e729..."} 
[2026-04-28 02:10:36] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0aaba58012d4bdb0006765228001200e729..."} 
[2026-04-28 02:10:36] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:36] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:10:36] local.INFO: GPS Element Parsed {"raw_longitude":759945984,"raw_latitude":108417576,"longitude_deg":75.9945984,"latitude_deg":10.8417576,"altitude":18,"angle":231,"satellites":41,"speed":35,"hex_longitude":"2d4bdb00","hex_latitude":"06765228","is_valid_coordinates":true} 
[2026-04-28 02:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994517504001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281624020665761792,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5473351318638848000,"note":"Value kept but may cause issues"} 
[2026-04-28 02:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777322343000,"timestamp_ms":1777322343000,"timestamp_seconds":1777322343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0aaba58"} 
[2026-04-28 02:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:10:36] 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-04-28 02:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994517504001,"66":27484,"235":206,"80":60160,"24":35,"16":281624020665761792,"45":5473351318638848000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994517504001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:10:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:10:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281624020665761792,"km_value":281624020665761.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5473351318638848000,"description":"Unknown IO ID 45"} 
[2026-04-28 02:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994517504001,"power":27484,"unknown_235":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5473351318638848000}} 
[2026-04-28 02:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:10:36] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:10:36] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:10:55] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:55] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:55] local.INFO: IMEI packet received {"connection_id":56895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:10:58] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:58] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:10:58] local.INFO: IMEI packet received {"connection_id":56895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":56895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:11:00] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:00] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:00] local.INFO: IMEI packet received {"connection_id":56895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":56895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:11:00] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0aad998012d4bc64006763d80001300dc2b..."} 
[2026-04-28 02:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0aad998012d4bc64006763d80001300dc2b..."} 
[2026-04-28 02:11:00] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0aad998012d4bc64006763d80001300dc2b..."} 
[2026-04-28 02:11:00] local.INFO: Packet analysis {"connection_id":56895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:11:00] local.INFO: Extracted packet for processing {"connection_id":56895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0aa"} 
[2026-04-28 02:11:00] local.INFO: GPS Element Parsed {"raw_longitude":759940672,"raw_latitude":108412288,"longitude_deg":75.9940672,"latitude_deg":10.8412288,"altitude":19,"angle":220,"satellites":43,"speed":38,"hex_longitude":"2d4bc640","hex_latitude":"06763d80","is_valid_coordinates":true} 
[2026-04-28 02:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994519808001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281624381443014656,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5465962600499128320,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322351000,"timestamp_ms":1777322351000,"timestamp_seconds":1777322351,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0aad998"} 
[2026-04-28 02:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 02:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994519808001,"66":27484,"235":206,"80":60160,"24":38,"16":281624381443014656,"45":5465962600499128320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994519808001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:11:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:11:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281624381443014656,"km_value":281624381443014.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5465962600499128320,"description":"Unknown IO ID 45"} 
[2026-04-28 02:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994519808001,"power":27484,"unknown_235":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5465962600499128320}} 
[2026-04-28 02:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:11:00] local.INFO: GPS data processed {"connection_id":56895,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:11:00] local.INFO: Acknowledgment sent {"connection_id":56895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:11:06] local.INFO: TCP Data received {"connection_id":56170,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:06] local.INFO: Processing buffer {"connection_id":56170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:06] local.INFO: IMEI packet received {"connection_id":56170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":56170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:11:31] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ac25a0012d4ac8c00674fe20000a00d928..."} 
[2026-04-28 02:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ac25a0012d4ac8c00674fe20000a00d928..."} 
[2026-04-28 02:11:31] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ac25a0012d4ac8c00674fe20000a00d928..."} 
[2026-04-28 02:11:31] local.INFO: Packet analysis {"connection_id":56895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:11:31] local.INFO: Extracted packet for processing {"connection_id":56895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":759875776,"raw_latitude":108330528,"longitude_deg":75.9875776,"latitude_deg":10.8330528,"altitude":10,"angle":217,"satellites":40,"speed":49,"hex_longitude":"2d4ac8c0","hex_latitude":"0674fe20","is_valid_coordinates":true} 
[2026-04-28 02:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994541568001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281629406554750976,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5395312381324417024,"note":"Value kept but may cause issues"} 
[2026-04-28 02:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322436000,"timestamp_ms":1777322436000,"timestamp_seconds":1777322436,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ac25a0"} 
[2026-04-28 02:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994541568001,"66":27397,"236":206,"80":60160,"24":49,"16":281629406554750976,"45":5395312381324417024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-28 02:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994541568001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:11:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 02:11:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281629406554750976,"km_value":281629406554751.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5395312381324417024,"description":"Unknown IO ID 45"} 
[2026-04-28 02:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994541568001,"power":27397,"unknown_236":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5395312381324417024}} 
[2026-04-28 02:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":56895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:11:31] local.INFO: GPS data processed {"connection_id":56895,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:11:31] local.INFO: Acknowledgment sent {"connection_id":56895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:11:35] local.INFO: TCP Data received {"connection_id":56171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:35] local.INFO: Processing buffer {"connection_id":56171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:11:35] local.INFO: IMEI packet received {"connection_id":56171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:11:57] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:57] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:11:57] local.INFO: IMEI packet received {"connection_id":56014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":56014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:12:00] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:00] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:00] local.INFO: IMEI packet received {"connection_id":56014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":56014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:12:04] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:04] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:04] local.INFO: IMEI packet received {"connection_id":56014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":56014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:12:04] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ac44e0012d4aafc00674df28000a00db29..."} 
[2026-04-28 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ac44e0012d4aafc00674df28000a00db29..."} 
[2026-04-28 02:12:04] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ac44e0012d4aafc00674df28000a00db29..."} 
[2026-04-28 02:12:04] local.INFO: Packet analysis {"connection_id":56014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:04] local.INFO: Extracted packet for processing {"connection_id":56014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":759869376,"raw_latitude":108322600,"longitude_deg":75.9869376,"latitude_deg":10.83226,"altitude":10,"angle":219,"satellites":41,"speed":50,"hex_longitude":"2d4aafc0","hex_latitude":"0674df28","is_valid_coordinates":true} 
[2026-04-28 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994543616001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281629900475990016,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5388768088113946624,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777322444000,"timestamp_ms":1777322444000,"timestamp_seconds":1777322444,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ac44e0"} 
[2026-04-28 02:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:12: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-04-28 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12: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-04-28 02:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994543616001,"66":27343,"236":206,"80":60160,"24":50,"16":281629900475990016,"45":5388768088113946624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-28 02:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994543616001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281629900475990016,"km_value":281629900475990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5388768088113946624,"description":"Unknown IO ID 45"} 
[2026-04-28 02:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994543616001,"power":27343,"unknown_236":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5388768088113946624}} 
[2026-04-28 02:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":56014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:12:04] local.INFO: GPS data processed {"connection_id":56014,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:12:04] local.INFO: Acknowledgment sent {"connection_id":56014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:12:05] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ac6038012d4a99800674c418000a00db2a..."} 
[2026-04-28 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ac6038012d4a99800674c418000a00db2a..."} 
[2026-04-28 02:12:05] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ac6038012d4a99800674c418000a00db2a..."} 
[2026-04-28 02:12:05] local.INFO: Packet analysis {"connection_id":56014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:05] local.INFO: Extracted packet for processing {"connection_id":56014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:05] local.INFO: GPS Element Parsed {"raw_longitude":759863680,"raw_latitude":108315672,"longitude_deg":75.986368,"latitude_deg":10.8315672,"altitude":10,"angle":219,"satellites":42,"speed":51,"hex_longitude":"2d4a9980","hex_latitude":"0674c418","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994545664001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281630329972719616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5381731213694150656,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777322451000,"timestamp_ms":1777322451000,"timestamp_seconds":1777322451,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ac6038"} 
[2026-04-28 02:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12:05] 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-04-28 02:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994545664001,"66":27332,"236":206,"80":60160,"24":51,"16":281630329972719616,"45":5381731213694150656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-28 02:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994545664001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 02:12:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281630329972719616,"km_value":281630329972719.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5381731213694150656,"description":"Unknown IO ID 45"} 
[2026-04-28 02:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994545664001,"power":27332,"unknown_236":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5381731213694150656}} 
[2026-04-28 02:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":56014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:12:05] local.INFO: GPS data processed {"connection_id":56014,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:12:05] local.INFO: Acknowledgment sent {"connection_id":56014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:12:36] local.INFO: TCP Data received {"connection_id":56014,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ac7b90012d4a82800674a820000900db2a..."} 
[2026-04-28 02:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ac7b90012d4a82800674a820000900db2a..."} 
[2026-04-28 02:12:36] local.INFO: Processing buffer {"connection_id":56014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ac7b90012d4a82800674a820000900db2a..."} 
[2026-04-28 02:12:36] local.INFO: Packet analysis {"connection_id":56014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:36] local.INFO: Extracted packet for processing {"connection_id":56014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:12:36] local.INFO: GPS Element Parsed {"raw_longitude":759857792,"raw_latitude":108308512,"longitude_deg":75.9857792,"latitude_deg":10.8308512,"altitude":9,"angle":219,"satellites":42,"speed":52,"hex_longitude":"2d4a8280","hex_latitude":"0674a820","is_valid_coordinates":true} 
[2026-04-28 02:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994547456001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281630776649318400,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5375468395460564992,"note":"Value kept but may cause issues"} 
[2026-04-28 02:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777322458000,"timestamp_ms":1777322458000,"timestamp_seconds":1777322458,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ac7b90"} 
[2026-04-28 02:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 02:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:12:36] 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-04-28 02:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994547456001,"66":27463,"236":206,"80":60160,"24":52,"16":281630776649318400,"45":5375468395460564992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-28 02:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994547456001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:12:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 02:12:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281630776649318400,"km_value":281630776649318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5375468395460564992,"description":"Unknown IO ID 45"} 
[2026-04-28 02:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994547456001,"power":27463,"unknown_236":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5375468395460564992}} 
[2026-04-28 02:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":56014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:12:36] local.INFO: GPS data processed {"connection_id":56014,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:12:36] local.INFO: Acknowledgment sent {"connection_id":56014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:12:55] local.INFO: TCP Data received {"connection_id":56173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:55] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:12:55] local.INFO: IMEI packet received {"connection_id":56173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":56173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:13:00] local.INFO: TCP Data received {"connection_id":56173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:00] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:00] local.INFO: IMEI packet received {"connection_id":56173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":56173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:13:01] local.INFO: TCP Data received {"connection_id":56173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ac96e8012d4a6b0006748c10000900db2a..."} 
[2026-04-28 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ac96e8012d4a6b0006748c10000900db2a..."} 
[2026-04-28 02:13:01] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ac96e8012d4a6b0006748c10000900db2a..."} 
[2026-04-28 02:13:01] local.INFO: Packet analysis {"connection_id":56173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:13:01] local.INFO: Extracted packet for processing {"connection_id":56173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:13:01] local.INFO: GPS Element Parsed {"raw_longitude":759851776,"raw_latitude":108301328,"longitude_deg":75.9851776,"latitude_deg":10.8301328,"altitude":9,"angle":219,"satellites":42,"speed":53,"hex_longitude":"2d4a6b00","hex_latitude":"06748c10","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994549248001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281631227620884480,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5368994470994386944,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322465000,"timestamp_ms":1777322465000,"timestamp_seconds":1777322465,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ac96e8"} 
[2026-04-28 02:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:13:01] 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-04-28 02: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-04-28 02:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:13: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-04-28 02:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994549248001,"66":27267,"236":206,"80":60160,"24":53,"16":281631227620884480,"45":5368994470994386944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-28 02:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994549248001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 02:13:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281631227620884480,"km_value":281631227620884.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5368994470994386944,"description":"Unknown IO ID 45"} 
[2026-04-28 02:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994549248001,"power":27267,"unknown_236":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5368994470994386944}} 
[2026-04-28 02:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:13:01] local.INFO: GPS data processed {"connection_id":56173,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:13:01] local.INFO: Acknowledgment sent {"connection_id":56173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:13:32] local.INFO: TCP Data received {"connection_id":56173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0acb240012d4a530006746fb0000900db2a..."} 
[2026-04-28 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0acb240012d4a530006746fb0000900db2a..."} 
[2026-04-28 02:13:32] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0acb240012d4a530006746fb0000900db2a..."} 
[2026-04-28 02:13:32] local.INFO: Packet analysis {"connection_id":56173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:13:32] local.INFO: Extracted packet for processing {"connection_id":56173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":759845632,"raw_latitude":108294064,"longitude_deg":75.9845632,"latitude_deg":10.8294064,"altitude":9,"angle":219,"satellites":42,"speed":54,"hex_longitude":"2d4a5300","hex_latitude":"06746fb0","is_valid_coordinates":true} 
[2026-04-28 02:13: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-04-28 02:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994551040001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281631682887417856,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362379809039847424,"note":"Value kept but may cause issues"} 
[2026-04-28 02:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777322472000,"timestamp_ms":1777322472000,"timestamp_seconds":1777322472,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0acb240"} 
[2026-04-28 02:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:13: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-04-28 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 02:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:13: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-04-28 02:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:13:32] 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-04-28 02:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994551040001,"66":27397,"218":206,"80":60160,"24":54,"16":281631682887417856,"45":5362379809039847424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994551040001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:13:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:13:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281631682887417856,"km_value":281631682887417.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362379809039847424,"description":"Unknown IO ID 45"} 
[2026-04-28 02:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994551040001,"power":27397,"unknown_218":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5362379809039847424}} 
[2026-04-28 02:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":56173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:13:32] local.INFO: GPS data processed {"connection_id":56173,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:13:32] local.INFO: Acknowledgment sent {"connection_id":56173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:13:55] local.INFO: TCP Data received {"connection_id":56015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:55] local.INFO: Processing buffer {"connection_id":56015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:55] local.INFO: IMEI packet received {"connection_id":56015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":56015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:13:59] local.INFO: TCP Data received {"connection_id":56015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:59] local.INFO: Processing buffer {"connection_id":56015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:13:59] local.INFO: IMEI packet received {"connection_id":56015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:14:00] local.INFO: TCP Data received {"connection_id":56015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0accd98012d4a3b8006745378000900db2a..."} 
[2026-04-28 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0accd98012d4a3b8006745378000900db2a..."} 
[2026-04-28 02:14:00] local.INFO: Processing buffer {"connection_id":56015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0accd98012d4a3b8006745378000900db2a..."} 
[2026-04-28 02:14:00] local.INFO: Packet analysis {"connection_id":56015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:14:00] local.INFO: Extracted packet for processing {"connection_id":56015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":759839616,"raw_latitude":108286840,"longitude_deg":75.9839616,"latitude_deg":10.828684,"altitude":9,"angle":219,"satellites":42,"speed":53,"hex_longitude":"2d4a3b80","hex_latitude":"06745378","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994552832001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281632138153951232,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5355624409596932096,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322479000,"timestamp_ms":1777322479000,"timestamp_seconds":1777322479,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0accd98"} 
[2026-04-28 02:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994552832001,"66":27245,"218":206,"80":60160,"24":53,"16":281632138153951232,"45":5355624409596932096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994552832001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:14:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:14:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281632138153951232,"km_value":281632138153951.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5355624409596932096,"description":"Unknown IO ID 45"} 
[2026-04-28 02:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994552832001,"power":27245,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5355624409596932096}} 
[2026-04-28 02:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":56015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:14:00] local.INFO: GPS data processed {"connection_id":56015,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:14:00] local.INFO: Acknowledgment sent {"connection_id":56015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:14:31] local.INFO: TCP Data received {"connection_id":56015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ace8f0012d4a240006743740000900db2a..."} 
[2026-04-28 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ace8f0012d4a240006743740000900db2a..."} 
[2026-04-28 02:14:31] local.INFO: Processing buffer {"connection_id":56015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ace8f0012d4a240006743740000900db2a..."} 
[2026-04-28 02:14:31] local.INFO: Packet analysis {"connection_id":56015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:14:31] local.INFO: Extracted packet for processing {"connection_id":56015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ac"} 
[2026-04-28 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":759833600,"raw_latitude":108279616,"longitude_deg":75.98336,"latitude_deg":10.8279616,"altitude":9,"angle":219,"satellites":42,"speed":53,"hex_longitude":"2d4a2400","hex_latitude":"06743740","is_valid_coordinates":true} 
[2026-04-28 02:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994554624001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281632589125517312,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5349009747642382336,"note":"Value kept but may cause issues"} 
[2026-04-28 02:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322486000,"timestamp_ms":1777322486000,"timestamp_seconds":1777322486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ace8f0"} 
[2026-04-28 02:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 02:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994554624001,"66":27169,"218":206,"80":60160,"24":53,"16":281632589125517312,"45":5349009747642382336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994554624001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:14:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:14:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281632589125517312,"km_value":281632589125517.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5349009747642382336,"description":"Unknown IO ID 45"} 
[2026-04-28 02:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994554624001,"power":27169,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5349009747642382336}} 
[2026-04-28 02:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":56015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:14:31] local.INFO: GPS data processed {"connection_id":56015,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:14:31] local.INFO: Acknowledgment sent {"connection_id":56015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:14:55] local.INFO: TCP Data received {"connection_id":56174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:14:55] local.INFO: Processing buffer {"connection_id":56174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:14:55] local.INFO: IMEI packet received {"connection_id":56174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":56174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:14:59] local.INFO: TCP Data received {"connection_id":56174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:00] local.INFO: Processing buffer {"connection_id":56174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:00] local.INFO: IMEI packet received {"connection_id":56174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":56174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:15:00] local.INFO: TCP Data received {"connection_id":56174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ad0448012d4a0d0006741ad8000800da29..."} 
[2026-04-28 02:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ad0448012d4a0d0006741ad8000800da29..."} 
[2026-04-28 02:15:00] local.INFO: Processing buffer {"connection_id":56174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ad0448012d4a0d0006741ad8000800da29..."} 
[2026-04-28 02:15:00] local.INFO: Packet analysis {"connection_id":56174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:15:00] local.INFO: Extracted packet for processing {"connection_id":56174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:15:00] local.INFO: GPS Element Parsed {"raw_longitude":759827712,"raw_latitude":108272344,"longitude_deg":75.9827712,"latitude_deg":10.8272344,"altitude":8,"angle":218,"satellites":41,"speed":53,"hex_longitude":"2d4a0d00","hex_latitude":"06741ad8","is_valid_coordinates":true} 
[2026-04-28 02:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994556416001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281633040097083392,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5342395085687832576,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322493000,"timestamp_ms":1777322493000,"timestamp_seconds":1777322493,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ad0448"} 
[2026-04-28 02:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:15: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-04-28 02:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 02:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994556416001,"66":27300,"218":206,"80":60160,"24":53,"16":281633040097083392,"45":5342395085687832576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994556416001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:15:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:15:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281633040097083392,"km_value":281633040097083.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5342395085687832576,"description":"Unknown IO ID 45"} 
[2026-04-28 02:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994556416001,"power":27300,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5342395085687832576}} 
[2026-04-28 02:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":56174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:15:00] local.INFO: GPS data processed {"connection_id":56174,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:15:00] local.INFO: Acknowledgment sent {"connection_id":56174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:15:31] local.INFO: TCP Data received {"connection_id":56174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ad1fa0012d49f6000673fe40000800da29..."} 
[2026-04-28 02:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ad1fa0012d49f6000673fe40000800da29..."} 
[2026-04-28 02:15:31] local.INFO: Processing buffer {"connection_id":56174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ad1fa0012d49f6000673fe40000800da29..."} 
[2026-04-28 02:15:31] local.INFO: Packet analysis {"connection_id":56174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:15:31] local.INFO: Extracted packet for processing {"connection_id":56174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:15:31] local.INFO: GPS Element Parsed {"raw_longitude":759821824,"raw_latitude":108265024,"longitude_deg":75.9821824,"latitude_deg":10.8265024,"altitude":8,"angle":218,"satellites":41,"speed":53,"hex_longitude":"2d49f600","hex_latitude":"0673fe40","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994558208001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281633491068649472,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335921161221625856,"note":"Value kept but may cause issues"} 
[2026-04-28 02:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322500000,"timestamp_ms":1777322500000,"timestamp_seconds":1777322500,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ad1fa0"} 
[2026-04-28 02:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:15: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-04-28 02:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 02:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994558208001,"66":27343,"218":206,"80":60160,"24":53,"16":281633491068649472,"45":5335921161221625856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994558208001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:15:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:15:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281633491068649472,"km_value":281633491068649.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335921161221625856,"description":"Unknown IO ID 45"} 
[2026-04-28 02:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994558208001,"power":27343,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5335921161221625856}} 
[2026-04-28 02:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":56174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:15:31] local.INFO: GPS data processed {"connection_id":56174,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:15:31] local.INFO: Acknowledgment sent {"connection_id":56174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:15:54] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:54] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:54] local.INFO: IMEI packet received {"connection_id":56253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":56253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:15:59] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:59] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:15:59] local.INFO: IMEI packet received {"connection_id":56253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:16:00] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ad3af8012d49df400673e1d8000700da2b..."} 
[2026-04-28 02:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ad3af8012d49df400673e1d8000700da2b..."} 
[2026-04-28 02:16:00] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ad3af8012d49df400673e1d8000700da2b..."} 
[2026-04-28 02:16:00] local.INFO: Packet analysis {"connection_id":56253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:16:00] local.INFO: Extracted packet for processing {"connection_id":56253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:16:00] local.INFO: GPS Element Parsed {"raw_longitude":759816000,"raw_latitude":108257752,"longitude_deg":75.9816,"latitude_deg":10.8257752,"altitude":7,"angle":218,"satellites":43,"speed":51,"hex_longitude":"2d49df40","hex_latitude":"0673e1d8","is_valid_coordinates":true} 
[2026-04-28 02:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994560000001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281633942040215552,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5329447236755406848,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322507000,"timestamp_ms":1777322507000,"timestamp_seconds":1777322507,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ad3af8"} 
[2026-04-28 02:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994560000001,"66":27234,"218":206,"80":60160,"24":51,"16":281633942040215552,"45":5329447236755406848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994560000001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:16:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:16:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281633942040215552,"km_value":281633942040215.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5329447236755406848,"description":"Unknown IO ID 45"} 
[2026-04-28 02:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994560000001,"power":27234,"unknown_218":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5329447236755406848}} 
[2026-04-28 02:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":56253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:16:00] local.INFO: GPS data processed {"connection_id":56253,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:16:00] local.INFO: Acknowledgment sent {"connection_id":56253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:16:31] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ad5a38012d49c7400673c468000700da2d..."} 
[2026-04-28 02:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ad5a38012d49c7400673c468000700da2d..."} 
[2026-04-28 02:16:31] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ad5a38012d49c7400673c468000700da2d..."} 
[2026-04-28 02:16:31] local.INFO: Packet analysis {"connection_id":56253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:16:31] local.INFO: Extracted packet for processing {"connection_id":56253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:16:31] local.INFO: GPS Element Parsed {"raw_longitude":759809856,"raw_latitude":108250216,"longitude_deg":75.9809856,"latitude_deg":10.8250216,"altitude":7,"angle":218,"satellites":45,"speed":43,"hex_longitude":"2d49c740","hex_latitude":"0673c468","is_valid_coordinates":true} 
[2026-04-28 02:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994561792001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281634410191650816,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323043681033377792,"note":"Value kept but may cause issues"} 
[2026-04-28 02:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322515000,"timestamp_ms":1777322515000,"timestamp_seconds":1777322515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ad5a38"} 
[2026-04-28 02:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:16: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-04-28 02:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 02:16:31] 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-04-28 02:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994561792001,"66":27397,"218":206,"80":60160,"24":43,"16":281634410191650816,"45":5323043681033377792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994561792001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:16:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:16:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281634410191650816,"km_value":281634410191650.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323043681033377792,"description":"Unknown IO ID 45"} 
[2026-04-28 02:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994561792001,"power":27397,"unknown_218":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5323043681033377792}} 
[2026-04-28 02:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":56253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:16:31] local.INFO: GPS data processed {"connection_id":56253,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:16:31] local.INFO: Acknowledgment sent {"connection_id":56253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:16:51] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:16:51] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:16:51] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:16:54] local.INFO: TCP Data received {"connection_id":56897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:54] local.INFO: Processing buffer {"connection_id":56897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:54] local.INFO: IMEI packet received {"connection_id":56897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":56897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:16:59] local.INFO: TCP Data received {"connection_id":56897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:59] local.INFO: Processing buffer {"connection_id":56897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:16:59] local.INFO: IMEI packet received {"connection_id":56897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:17:00] local.INFO: TCP Data received {"connection_id":56897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ad8530012d49b1000673a860000700da2c..."} 
[2026-04-28 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ad8530012d49b1000673a860000700da2c..."} 
[2026-04-28 02:17:00] local.INFO: Processing buffer {"connection_id":56897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ad8530012d49b1000673a860000700da2c..."} 
[2026-04-28 02:17:00] local.INFO: Packet analysis {"connection_id":56897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:17:00] local.INFO: Extracted packet for processing {"connection_id":56897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:17:00] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108243040,"longitude_deg":75.980416,"latitude_deg":10.824304,"altitude":7,"angle":218,"satellites":44,"speed":22,"hex_longitude":"2d49b100","hex_latitude":"0673a860","is_valid_coordinates":true} 
[2026-04-28 02:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994563840001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281634852573282304,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5316288281590392832,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322526000,"timestamp_ms":1777322526000,"timestamp_seconds":1777322526,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ad8530"} 
[2026-04-28 02:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994563840001,"66":27604,"218":206,"80":60160,"24":22,"16":281634852573282304,"45":5316288281590392832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994563840001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:17:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:17:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281634852573282304,"km_value":281634852573282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5316288281590392832,"description":"Unknown IO ID 45"} 
[2026-04-28 02:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994563840001,"power":27604,"unknown_218":206,"unknown_80":60160,"ignition":22,"odometer":null,"unknown_45":5316288281590392832}} 
[2026-04-28 02:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":56897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:17:00] local.INFO: GPS data processed {"connection_id":56897,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:17:00] local.INFO: Acknowledgment sent {"connection_id":56897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:17:31] local.INFO: TCP Data received {"connection_id":56897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:17:31] local.INFO: Processing buffer {"connection_id":56897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:17:31] local.INFO: Packet analysis {"connection_id":56897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:17:31] local.INFO: Extracted packet for processing {"connection_id":56897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:17:31] local.INFO: GPS Element Parsed {"raw_longitude":759800256,"raw_latitude":108237784,"longitude_deg":75.9800256,"latitude_deg":10.8237784,"altitude":8,"angle":203,"satellites":44,"speed":9,"hex_longitude":"2d49a1c0","hex_latitude":"067393d8","is_valid_coordinates":true} 
[2026-04-28 02:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994566656001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463356743680,"note":"Value kept but may cause issues"} 
[2026-04-28 02:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322543000,"timestamp_ms":1777322543000,"timestamp_seconds":1777322543,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0adc798"} 
[2026-04-28 02:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02: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-04-28 02:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 02:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994566656001,"66":27767,"218":206,"80":60160,"24":9,"16":281635166105894912,"45":5310025463356743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994566656001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:17:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:17:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463356743680,"description":"Unknown IO ID 45"} 
[2026-04-28 02:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994566656001,"power":27767,"unknown_218":206,"unknown_80":60160,"ignition":9,"odometer":null,"unknown_45":5310025463356743680}} 
[2026-04-28 02:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":56897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:17:31] local.INFO: GPS data processed {"connection_id":56897,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:17:31] local.INFO: Acknowledgment sent {"connection_id":56897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:17:36] local.INFO: TCP Data received {"connection_id":56016,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:17:36] local.INFO: Processing buffer {"connection_id":56016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:17:36] local.INFO: IMEI packet received {"connection_id":56016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":56016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:17:54] local.INFO: TCP Data received {"connection_id":56254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:17:54] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:17:54] local.INFO: IMEI packet received {"connection_id":56254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":56254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:18:00] local.INFO: TCP Data received {"connection_id":56254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:00] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:00] local.INFO: IMEI packet received {"connection_id":56254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:18:01] local.INFO: TCP Data received {"connection_id":56254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:18:01] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0adc798012d49a1c0067393d8000800cb2c..."} 
[2026-04-28 02:18:01] local.INFO: Packet analysis {"connection_id":56254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:18:01] local.INFO: Extracted packet for processing {"connection_id":56254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:18:01] local.INFO: GPS Element Parsed {"raw_longitude":759800256,"raw_latitude":108237784,"longitude_deg":75.9800256,"latitude_deg":10.8237784,"altitude":8,"angle":203,"satellites":44,"speed":9,"hex_longitude":"2d49a1c0","hex_latitude":"067393d8","is_valid_coordinates":true} 
[2026-04-28 02:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305732969960560640,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322543000,"timestamp_ms":1777322543000,"timestamp_seconds":1777322543,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0adc798"} 
[2026-04-28 02:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 02:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994571008001,"66":27767,"218":206,"80":60160,"24":9,"16":281635166105894912,"45":5305732969960560640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:18:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:18:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305732969960560640,"description":"Unknown IO ID 45"} 
[2026-04-28 02:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994571008001,"power":27767,"unknown_218":206,"unknown_80":60160,"ignition":9,"odometer":null,"unknown_45":5305732969960560640}} 
[2026-04-28 02:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":56254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:18:01] local.INFO: GPS data processed {"connection_id":56254,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:18:01] local.INFO: Acknowledgment sent {"connection_id":56254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:18:31] local.INFO: TCP Data received {"connection_id":56254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0add738012d49a08006739110000800da2c..."} 
[2026-04-28 02:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0add738012d49a08006739110000800da2c..."} 
[2026-04-28 02:18:31] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0add738012d49a08006739110000800da2c..."} 
[2026-04-28 02:18:31] local.INFO: Packet analysis {"connection_id":56254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:18:31] local.INFO: Extracted packet for processing {"connection_id":56254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ad"} 
[2026-04-28 02:18:31] local.INFO: GPS Element Parsed {"raw_longitude":759799936,"raw_latitude":108237072,"longitude_deg":75.9799936,"latitude_deg":10.8237072,"altitude":8,"angle":218,"satellites":44,"speed":6,"hex_longitude":"2d49a080","hex_latitude":"06739110","is_valid_coordinates":true} 
[2026-04-28 02:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305732969960560640,"note":"Value kept but may cause issues"} 
[2026-04-28 02:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322547000,"timestamp_ms":1777322547000,"timestamp_seconds":1777322547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0add738"} 
[2026-04-28 02:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 02:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994571008001,"66":27104,"218":206,"80":60160,"24":6,"16":281635166105894912,"45":5305732969960560640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:18:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:18:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305732969960560640,"description":"Unknown IO ID 45"} 
[2026-04-28 02:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994571008001,"power":27104,"unknown_218":206,"unknown_80":60160,"ignition":6,"odometer":null,"unknown_45":5305732969960560640}} 
[2026-04-28 02:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":56254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:18:31] local.INFO: GPS data processed {"connection_id":56254,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:18:31] local.INFO: Acknowledgment sent {"connection_id":56254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:18:55] local.INFO: TCP Data received {"connection_id":56018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:55] local.INFO: Processing buffer {"connection_id":56018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:18:55] local.INFO: IMEI packet received {"connection_id":56018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":56018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:19:00] local.INFO: TCP Data received {"connection_id":56018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:00] local.INFO: Processing buffer {"connection_id":56018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:00] local.INFO: IMEI packet received {"connection_id":56018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":56018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:19:01] local.INFO: TCP Data received {"connection_id":56018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:01] local.INFO: Processing buffer {"connection_id":56018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:01] local.INFO: Packet analysis {"connection_id":56018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:19:01] local.INFO: Extracted packet for processing {"connection_id":56018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":56018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:19:01] local.INFO: GPS data processed {"connection_id":56018,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:19:01] local.INFO: Acknowledgment sent {"connection_id":56018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:19:31] local.INFO: TCP Data received {"connection_id":56018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:31] local.INFO: Processing buffer {"connection_id":56018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:19:31] local.INFO: Packet analysis {"connection_id":56018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:19:31] local.INFO: Extracted packet for processing {"connection_id":56018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:19:31] 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-04-28 02:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:19:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:19:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":56018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:19:31] local.INFO: GPS data processed {"connection_id":56018,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:19:31] local.INFO: Acknowledgment sent {"connection_id":56018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:19:55] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:55] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:19:55] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:20:00] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:00] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:00] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:20:01] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:01] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:01] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:20:01] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:20:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:20:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:20:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:20:01] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:20:01] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:20:31] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:31] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:20:31] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:20:31] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:20:31] 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-04-28 02:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:20:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:20:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:20:31] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:20:31] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:20:54] local.INFO: TCP Data received {"connection_id":56175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:54] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:20:54] local.INFO: IMEI packet received {"connection_id":56175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:21:00] local.INFO: TCP Data received {"connection_id":56175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:00] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:00] local.INFO: IMEI packet received {"connection_id":56175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":56175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:21:01] local.INFO: TCP Data received {"connection_id":56175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:01] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:01] local.INFO: Packet analysis {"connection_id":56175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:21:01] local.INFO: Extracted packet for processing {"connection_id":56175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:21:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:21:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:21:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":56175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:21:01] local.INFO: GPS data processed {"connection_id":56175,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:21:01] local.INFO: Acknowledgment sent {"connection_id":56175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:21:31] local.INFO: TCP Data received {"connection_id":56175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:31] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:21:31] local.INFO: Packet analysis {"connection_id":56175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:21:31] local.INFO: Extracted packet for processing {"connection_id":56175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:21:31] 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-04-28 02:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:21:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:21:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":56175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:21:31] local.INFO: GPS data processed {"connection_id":56175,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:21:31] local.INFO: Acknowledgment sent {"connection_id":56175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:21:55] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:55] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:55] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:21:59] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:59] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:21:59] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:22:00] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:00] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:00] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:22:00] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:22:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:22: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-04-28 02: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:22:00] 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-04-28 02: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-04-28 02:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:22:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:22:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:22:00] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:22:00] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:22:31] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:31] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:22:31] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:22:31] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:22:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:22:31] 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-04-28 02: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-04-28 02:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:22:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:22:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:22:31] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:22:31] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:22:51] local.INFO: TCP Data received {"connection_id":56021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:22:51] local.INFO: Processing buffer {"connection_id":56021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:22:51] local.INFO: IMEI packet received {"connection_id":56021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":56021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:22:59] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:22:59] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:22:59] local.INFO: IMEI packet received {"connection_id":56255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":56255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:23:05] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:05] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:05] local.INFO: IMEI packet received {"connection_id":56255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":56255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:23:06] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:23:06] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b26f00012d49a00006739058000800da2a..."} 
[2026-04-28 02:23:06] local.INFO: Packet analysis {"connection_id":56255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:23:06] local.INFO: Extracted packet for processing {"connection_id":56255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b2"} 
[2026-04-28 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305381126239490048,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777322848000,"timestamp_ms":1777322848000,"timestamp_seconds":1777322848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b26f00"} 
[2026-04-28 02:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 02:23:06] 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-04-28 02:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994572032001,"66":25495,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305381126239490048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:23:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:23:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305381126239490048,"description":"Unknown IO ID 45"} 
[2026-04-28 02:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994572032001,"power":25495,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305381126239490048}} 
[2026-04-28 02:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":56255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:23:06] local.INFO: GPS data processed {"connection_id":56255,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:23:06] local.INFO: Acknowledgment sent {"connection_id":56255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:23:07] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:07] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:07] local.INFO: Packet analysis {"connection_id":56255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:23:07] local.INFO: Extracted packet for processing {"connection_id":56255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:23:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:23:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":56255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:23:07] local.INFO: GPS data processed {"connection_id":56255,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:23:07] local.INFO: Acknowledgment sent {"connection_id":56255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:23:38] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:38] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:23:38] local.INFO: Packet analysis {"connection_id":56255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:23:38] local.INFO: Extracted packet for processing {"connection_id":56255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:23:38] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:23:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:23:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":56255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:23:38] local.INFO: GPS data processed {"connection_id":56255,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:23:38] local.INFO: Acknowledgment sent {"connection_id":56255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:23:41] local.INFO: TCP Data received {"connection_id":56177,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:23:41] local.INFO: Processing buffer {"connection_id":56177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:23:41] local.INFO: IMEI packet received {"connection_id":56177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":56177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:23:54] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:54] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:54] local.INFO: IMEI packet received {"connection_id":56256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":56256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:23:59] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:59] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:23:59] local.INFO: IMEI packet received {"connection_id":56256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:24:00] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:00] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:00] local.INFO: Packet analysis {"connection_id":56256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:24:00] local.INFO: Extracted packet for processing {"connection_id":56256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:24: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-04-28 02:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:24:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:24:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:24:00] local.INFO: GPS data processed {"connection_id":56256,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:24:00] local.INFO: Acknowledgment sent {"connection_id":56256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:24:31] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:31] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:24:31] local.INFO: Packet analysis {"connection_id":56256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:24:31] local.INFO: Extracted packet for processing {"connection_id":56256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:24:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:24:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:24:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":56256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:24:31] local.INFO: GPS data processed {"connection_id":56256,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:24:31] local.INFO: Acknowledgment sent {"connection_id":56256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:24:55] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:24:55] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:24:55] local.INFO: IMEI packet received {"connection_id":56901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":56901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:25:00] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:00] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:00] local.INFO: IMEI packet received {"connection_id":56901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:25:01] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:01] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:01] local.INFO: Packet analysis {"connection_id":56901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:25:01] local.INFO: Extracted packet for processing {"connection_id":56901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:25:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:25: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-04-28 02:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:25:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:25:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:25:01] local.INFO: GPS data processed {"connection_id":56901,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:25:01] local.INFO: Acknowledgment sent {"connection_id":56901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:25:31] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:31] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:25:31] local.INFO: Packet analysis {"connection_id":56901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:25:31] local.INFO: Extracted packet for processing {"connection_id":56901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:25:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:25:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":56901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:25:31] local.INFO: GPS data processed {"connection_id":56901,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:25:31] local.INFO: Acknowledgment sent {"connection_id":56901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:25:54] local.INFO: TCP Data received {"connection_id":56024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:54] local.INFO: Processing buffer {"connection_id":56024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:54] local.INFO: IMEI packet received {"connection_id":56024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":56024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:25:59] local.INFO: TCP Data received {"connection_id":56024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:59] local.INFO: Processing buffer {"connection_id":56024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:25:59] local.INFO: IMEI packet received {"connection_id":56024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:26:00] local.INFO: TCP Data received {"connection_id":56024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:00] local.INFO: Processing buffer {"connection_id":56024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:00] local.INFO: Packet analysis {"connection_id":56024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:26:00] local.INFO: Extracted packet for processing {"connection_id":56024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:26: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-04-28 02: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-04-28 02:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:26:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:26:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:26:00] local.INFO: GPS data processed {"connection_id":56024,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:26:00] local.INFO: Acknowledgment sent {"connection_id":56024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:26:31] local.INFO: TCP Data received {"connection_id":56024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:31] local.INFO: Processing buffer {"connection_id":56024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:26:31] local.INFO: Packet analysis {"connection_id":56024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:26:31] local.INFO: Extracted packet for processing {"connection_id":56024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:26:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:26:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":56024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:26:31] local.INFO: GPS data processed {"connection_id":56024,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:26:31] local.INFO: Acknowledgment sent {"connection_id":56024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:26:54] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:26:54] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:26:54] local.INFO: IMEI packet received {"connection_id":56257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":56257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:27:00] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:00] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:00] local.INFO: IMEI packet received {"connection_id":56257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:27:01] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:01] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:01] local.INFO: Packet analysis {"connection_id":56257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:27:01] local.INFO: Extracted packet for processing {"connection_id":56257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:27:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:27: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-04-28 02:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:27:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:27:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":56257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:27:01] local.INFO: GPS data processed {"connection_id":56257,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:27:01] local.INFO: Acknowledgment sent {"connection_id":56257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:27:32] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:32] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:27:32] local.INFO: Packet analysis {"connection_id":56257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:27:32] local.INFO: Extracted packet for processing {"connection_id":56257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:27:32] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:27:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:27:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":56257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:27:32] local.INFO: GPS data processed {"connection_id":56257,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:27:32] local.INFO: Acknowledgment sent {"connection_id":56257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:27:59] local.INFO: TCP Data received {"connection_id":56025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:59] local.INFO: Processing buffer {"connection_id":56025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:27:59] local.INFO: IMEI packet received {"connection_id":56025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:28:04] local.INFO: TCP Data received {"connection_id":56025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:04] local.INFO: Processing buffer {"connection_id":56025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:04] local.INFO: IMEI packet received {"connection_id":56025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":56025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:28:05] local.INFO: TCP Data received {"connection_id":56025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:28:05] local.INFO: Processing buffer {"connection_id":56025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0b706c8012d49a00006739058000800da2e..."} 
[2026-04-28 02:28:05] local.INFO: Packet analysis {"connection_id":56025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:28:05] local.INFO: Extracted packet for processing {"connection_id":56025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0b7"} 
[2026-04-28 02:28:05] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994649088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777323149000,"timestamp_ms":1777323149000,"timestamp_seconds":1777323149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0b706c8"} 
[2026-04-28 02:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 02:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994649088001,"66":25299,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994649088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:28:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:28:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994649088001,"power":25299,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":56025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:28:05] local.INFO: GPS data processed {"connection_id":56025,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:28:05] local.INFO: Acknowledgment sent {"connection_id":56025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:28:08] local.INFO: TCP Data received {"connection_id":56025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:08] local.INFO: Processing buffer {"connection_id":56025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:08] local.INFO: Packet analysis {"connection_id":56025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:28:08] local.INFO: Extracted packet for processing {"connection_id":56025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:28:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:28:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":56025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:28:08] local.INFO: GPS data processed {"connection_id":56025,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:28:08] local.INFO: Acknowledgment sent {"connection_id":56025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:28:38] local.INFO: TCP Data received {"connection_id":56025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:38] local.INFO: Processing buffer {"connection_id":56025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:28:38] local.INFO: Packet analysis {"connection_id":56025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:28:38] local.INFO: Extracted packet for processing {"connection_id":56025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:28:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:28:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":56025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:28:38] local.INFO: GPS data processed {"connection_id":56025,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:28:38] local.INFO: Acknowledgment sent {"connection_id":56025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:28:54] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:54] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:28:54] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:29:00] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:00] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:00] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:29:01] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:01] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:01] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:29:01] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:29:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:29:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:29:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:29:01] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:29:01] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:29:01] local.INFO: TCP Data received {"connection_id":56179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:01] local.INFO: Processing buffer {"connection_id":56179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:01] local.INFO: IMEI packet received {"connection_id":56179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":56179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:29:31] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:31] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:29:31] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:29:31] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:29:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:29:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:29:31] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:29:31] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:29:35] local.INFO: TCP Data received {"connection_id":56258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:35] local.INFO: Processing buffer {"connection_id":56258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:29:35] local.INFO: IMEI packet received {"connection_id":56258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:29:54] local.INFO: TCP Data received {"connection_id":56259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:54] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:54] local.INFO: IMEI packet received {"connection_id":56259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":56259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:29:59] local.INFO: TCP Data received {"connection_id":56259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:59] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:29:59] local.INFO: IMEI packet received {"connection_id":56259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:30:00] local.INFO: TCP Data received {"connection_id":56259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:00] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:00] local.INFO: Packet analysis {"connection_id":56259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:30:00] local.INFO: Extracted packet for processing {"connection_id":56259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:30:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:30: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-04-28 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:30:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:30:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":56259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:30:00] local.INFO: GPS data processed {"connection_id":56259,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:30:00] local.INFO: Acknowledgment sent {"connection_id":56259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:30:31] local.INFO: TCP Data received {"connection_id":56259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:31] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:30:31] local.INFO: Packet analysis {"connection_id":56259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:30:31] local.INFO: Extracted packet for processing {"connection_id":56259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:30:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:30:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:30:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":56259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:30:31] local.INFO: GPS data processed {"connection_id":56259,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:30:31] local.INFO: Acknowledgment sent {"connection_id":56259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:30:55] local.INFO: TCP Data received {"connection_id":56180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:30:55] local.INFO: Processing buffer {"connection_id":56180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:30:55] local.INFO: IMEI packet received {"connection_id":56180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":56180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:31:00] local.INFO: TCP Data received {"connection_id":56180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:00] local.INFO: Processing buffer {"connection_id":56180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:00] local.INFO: IMEI packet received {"connection_id":56180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":56180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:31:01] local.INFO: TCP Data received {"connection_id":56180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:01] local.INFO: Processing buffer {"connection_id":56180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:01] local.INFO: Packet analysis {"connection_id":56180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:31:01] local.INFO: Extracted packet for processing {"connection_id":56180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:31:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:31:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:31:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":56180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:31:01] local.INFO: GPS data processed {"connection_id":56180,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:31:01] local.INFO: Acknowledgment sent {"connection_id":56180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:31:31] local.INFO: TCP Data received {"connection_id":56180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:31] local.INFO: Processing buffer {"connection_id":56180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:31:31] local.INFO: Packet analysis {"connection_id":56180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:31:31] local.INFO: Extracted packet for processing {"connection_id":56180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:31:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:31:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":56180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:31:31] local.INFO: GPS data processed {"connection_id":56180,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:31:31] local.INFO: Acknowledgment sent {"connection_id":56180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:31:55] local.INFO: TCP Data received {"connection_id":56260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:55] local.INFO: Processing buffer {"connection_id":56260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:55] local.INFO: IMEI packet received {"connection_id":56260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":56260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:31:59] local.INFO: TCP Data received {"connection_id":56260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:59] local.INFO: Processing buffer {"connection_id":56260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:31:59] local.INFO: IMEI packet received {"connection_id":56260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:32:00] local.INFO: TCP Data received {"connection_id":56260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:00] local.INFO: Processing buffer {"connection_id":56260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:00] local.INFO: Packet analysis {"connection_id":56260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:32:00] local.INFO: Extracted packet for processing {"connection_id":56260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:32:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:32:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":56260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:32:00] local.INFO: GPS data processed {"connection_id":56260,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:32:00] local.INFO: Acknowledgment sent {"connection_id":56260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:32:31] local.INFO: TCP Data received {"connection_id":56260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:31] local.INFO: Processing buffer {"connection_id":56260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:32:31] local.INFO: Packet analysis {"connection_id":56260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:32:31] local.INFO: Extracted packet for processing {"connection_id":56260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:32:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:32:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":56260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:32:31] local.INFO: GPS data processed {"connection_id":56260,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:32:31] local.INFO: Acknowledgment sent {"connection_id":56260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:32:54] local.INFO: TCP Data received {"connection_id":56261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:32:54] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:32:54] local.INFO: IMEI packet received {"connection_id":56261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:33:00] local.INFO: TCP Data received {"connection_id":56261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:00] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:00] local.INFO: IMEI packet received {"connection_id":56261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:33:01] local.INFO: TCP Data received {"connection_id":56261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:33:01] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0bb9e90012d49a00006739058000800da2b..."} 
[2026-04-28 02:33:01] local.INFO: Packet analysis {"connection_id":56261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:33:01] local.INFO: Extracted packet for processing {"connection_id":56261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0bb"} 
[2026-04-28 02:33:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994726144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323450000,"timestamp_ms":1777323450000,"timestamp_seconds":1777323450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0bb9e90"} 
[2026-04-28 02:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 02:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994726144001,"66":25234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994726144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:33:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:33:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994726144001,"power":25234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":56261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:33:01] local.INFO: GPS data processed {"connection_id":56261,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:33:01] local.INFO: Acknowledgment sent {"connection_id":56261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:33:31] local.INFO: TCP Data received {"connection_id":56261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:33:31] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:33:31] local.INFO: Packet analysis {"connection_id":56261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:33:31] local.INFO: Extracted packet for processing {"connection_id":56261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:33:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994803200001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323751000,"timestamp_ms":1777323751000,"timestamp_seconds":1777323751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c03658"} 
[2026-04-28 02:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 02:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994803200001,"66":25375,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994803200001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:33:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:33:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994803200001,"power":25375,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":56261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:33:31] local.INFO: GPS data processed {"connection_id":56261,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:33:31] local.INFO: Acknowledgment sent {"connection_id":56261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:33:54] local.INFO: TCP Data received {"connection_id":56183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:54] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:54] local.INFO: IMEI packet received {"connection_id":56183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:33:59] local.INFO: TCP Data received {"connection_id":56183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:59] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:33:59] local.INFO: IMEI packet received {"connection_id":56183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:34:00] local.INFO: TCP Data received {"connection_id":56183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:00] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:00] local.INFO: Packet analysis {"connection_id":56183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:34:00] local.INFO: Extracted packet for processing {"connection_id":56183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994803200001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777323751000,"timestamp_ms":1777323751000,"timestamp_seconds":1777323751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c03658"} 
[2026-04-28 02:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 02:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994803200001,"66":25375,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994803200001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:34:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:34:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994803200001,"power":25375,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":56183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:34:00] local.INFO: GPS data processed {"connection_id":56183,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:34:00] local.INFO: Acknowledgment sent {"connection_id":56183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:34:31] local.INFO: TCP Data received {"connection_id":56183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:31] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:34:31] local.INFO: Packet analysis {"connection_id":56183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:34:31] local.INFO: Extracted packet for processing {"connection_id":56183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994803200001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323751000,"timestamp_ms":1777323751000,"timestamp_seconds":1777323751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c03658"} 
[2026-04-28 02:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 02:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994803200001,"66":25375,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994803200001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:34:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994803200001,"power":25375,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":56183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:34:31] local.INFO: GPS data processed {"connection_id":56183,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:34:31] local.INFO: Acknowledgment sent {"connection_id":56183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:35:00] local.INFO: TCP Data received {"connection_id":56262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:00] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:00] local.INFO: IMEI packet received {"connection_id":56262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:35:01] local.INFO: TCP Data received {"connection_id":56262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:35:01] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c03658012d49a00006739058000800da2c..."} 
[2026-04-28 02:35:01] local.INFO: Packet analysis {"connection_id":56262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:35:01] local.INFO: Extracted packet for processing {"connection_id":56262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c0"} 
[2026-04-28 02:35:01] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994803200001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323751000,"timestamp_ms":1777323751000,"timestamp_seconds":1777323751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c03658"} 
[2026-04-28 02:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 02:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994803200001,"66":25375,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994803200001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:35:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:35:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994803200001,"power":25375,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":56262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:35:01] local.INFO: GPS data processed {"connection_id":56262,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:35:01] local.INFO: Acknowledgment sent {"connection_id":56262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:35:06] local.INFO: TCP Data received {"connection_id":56905,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:06] local.INFO: Processing buffer {"connection_id":56905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:06] local.INFO: IMEI packet received {"connection_id":56905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":56905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:35:31] local.INFO: TCP Data received {"connection_id":56262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c1f790012d49a00006739058000800da2b..."} 
[2026-04-28 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c1f790012d49a00006739058000800da2b..."} 
[2026-04-28 02:35:31] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c1f790012d49a00006739058000800da2b..."} 
[2026-04-28 02:35:31] local.INFO: Packet analysis {"connection_id":56262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c1"} 
[2026-04-28 02:35:31] local.INFO: Extracted packet for processing {"connection_id":56262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c1"} 
[2026-04-28 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":759799808,"raw_latitude":108236888,"longitude_deg":75.9799808,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d49a000","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994880256001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777323866000,"timestamp_ms":1777323866000,"timestamp_seconds":1777323866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c1f790"} 
[2026-04-28 02:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 02:35:31] 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-04-28 02:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994880256001,"66":25321,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994880256001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:35:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:35:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994880256001,"power":25321,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":56262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:35:31] local.INFO: GPS data processed {"connection_id":56262,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:35:31] local.INFO: Acknowledgment sent {"connection_id":56262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:35:35] local.INFO: TCP Data received {"connection_id":56028,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:35] local.INFO: Processing buffer {"connection_id":56028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:35:35] local.INFO: IMEI packet received {"connection_id":56028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":56028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:35:58] local.INFO: TCP Data received {"connection_id":56184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:58] local.INFO: Processing buffer {"connection_id":56184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:58] local.INFO: IMEI packet received {"connection_id":56184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":56184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:35:59] local.INFO: TCP Data received {"connection_id":56184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:59] local.INFO: Processing buffer {"connection_id":56184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:35:59] local.INFO: IMEI packet received {"connection_id":56184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:36:05] local.INFO: TCP Data received {"connection_id":56184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:36:05] local.INFO: Processing buffer {"connection_id":56184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:36:05] local.INFO: IMEI packet received {"connection_id":56184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":56184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:36:14] local.INFO: TCP Data received {"connection_id":56184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c24d80012d499fc006739058000800da2b..."} 
[2026-04-28 02:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c24d80012d499fc006739058000800da2b..."} 
[2026-04-28 02:36:14] local.INFO: Processing buffer {"connection_id":56184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c24d80012d499fc006739058000800da2b..."} 
[2026-04-28 02:36:14] local.INFO: Packet analysis {"connection_id":56184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:36:14] local.INFO: Extracted packet for processing {"connection_id":56184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:36:14] local.INFO: GPS Element Parsed {"raw_longitude":759799744,"raw_latitude":108236888,"longitude_deg":75.9799744,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d499fc0","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994909696001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305240388751087616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777323888000,"timestamp_ms":1777323888000,"timestamp_seconds":1777323888,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c24d80"} 
[2026-04-28 02:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:36: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-04-28 02:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 02:36:14] 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-04-28 02:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994909696001,"66":27234,"218":206,"80":60160,"24":0,"16":281635166105894912,"45":5305240388751087616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-28 02:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994909696001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:36:14] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 02:36:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305240388751087616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994909696001,"power":27234,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305240388751087616}} 
[2026-04-28 02:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":56184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:36:14] local.INFO: GPS data processed {"connection_id":56184,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:36:14] local.INFO: Acknowledgment sent {"connection_id":56184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:37:06] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: IMEI packet received {"connection_id":56906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":56906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:37:06] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:06] local.INFO: IMEI packet received {"connection_id":56906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":56906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:37:07] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c29f88012d499fc006739058000800da2d..."} 
[2026-04-28 02:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c29f88012d499fc006739058000800da2d..."} 
[2026-04-28 02:37:07] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c29f88012d499fc006739058000800da2d..."} 
[2026-04-28 02:37:07] local.INFO: Packet analysis {"connection_id":56906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:07] local.INFO: Extracted packet for processing {"connection_id":56906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":759799744,"raw_latitude":108236888,"longitude_deg":75.9799744,"latitude_deg":10.8236888,"altitude":8,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d499fc0","hex_latitude":"06739058","is_valid_coordinates":true} 
[2026-04-28 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994915328001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635166105894912,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305170020006909952,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777323909000,"timestamp_ms":1777323909000,"timestamp_seconds":1777323909,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c29f88"} 
[2026-04-28 02:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:37: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-04-28 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 02:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994915328001,"66":27365,"81":206,"80":60160,"24":0,"16":281635166105894912,"45":5305170020006909952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-28 02:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994915328001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-28 02:37:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635166105894912,"km_value":281635166105894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305170020006909952,"description":"Unknown IO ID 45"} 
[2026-04-28 02:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994915328001,"power":27365,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5305170020006909952}} 
[2026-04-28 02:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":56906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:37:07] local.INFO: GPS data processed {"connection_id":56906,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:37:07] local.INFO: Acknowledgment sent {"connection_id":56906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:37:08] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c2bec8012d499e8006738f10000c00ed2b..."} 
[2026-04-28 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c2bec8012d499e8006738f10000c00ed2b..."} 
[2026-04-28 02:37:08] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c2bec8012d499e8006738f10000c00ed2b..."} 
[2026-04-28 02:37:08] local.INFO: Packet analysis {"connection_id":56906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:08] local.INFO: Extracted packet for processing {"connection_id":56906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":759799424,"raw_latitude":108236560,"longitude_deg":75.9799424,"latitude_deg":10.823656,"altitude":12,"angle":237,"satellites":43,"speed":8,"hex_longitude":"2d499e80","hex_latitude":"06738f10","is_valid_coordinates":true} 
[2026-04-28 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994920704001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635187580731392,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5305170020006909952,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777323917000,"timestamp_ms":1777323917000,"timestamp_seconds":1777323917,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c2bec8"} 
[2026-04-28 02:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 02:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994920704001,"66":27321,"81":206,"80":60160,"24":8,"16":281635187580731392,"45":5305170020006909952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-28 02:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994920704001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-28 02:37:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635187580731392,"km_value":281635187580731.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5305170020006909952,"description":"Unknown IO ID 45"} 
[2026-04-28 02:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994920704001,"power":27321,"unknown_81":206,"unknown_80":60160,"ignition":8,"odometer":null,"unknown_45":5305170020006909952}} 
[2026-04-28 02:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":56906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:37:08] local.INFO: GPS data processed {"connection_id":56906,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:37:08] local.INFO: Acknowledgment sent {"connection_id":56906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:37:43] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c2ca80012d499bc006738d40000c00e12c..."} 
[2026-04-28 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c2ca80012d499bc006738d40000c00e12c..."} 
[2026-04-28 02:37:43] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c2ca80012d499bc006738d40000c00e12c..."} 
[2026-04-28 02:37:43] local.INFO: Packet analysis {"connection_id":56906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:43] local.INFO: Extracted packet for processing {"connection_id":56906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c2"} 
[2026-04-28 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":759798720,"raw_latitude":108236096,"longitude_deg":75.979872,"latitude_deg":10.8236096,"altitude":12,"angle":225,"satellites":44,"speed":13,"hex_longitude":"2d499bc0","hex_latitude":"06738d40","is_valid_coordinates":true} 
[2026-04-28 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994922752001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635230530404352,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5304818176285937664,"note":"Value kept but may cause issues"} 
[2026-04-28 02:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777323920000,"timestamp_ms":1777323920000,"timestamp_seconds":1777323920,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c2ca80"} 
[2026-04-28 02:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:37:43] 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-04-28 02:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994922752001,"66":27267,"81":206,"80":60160,"24":13,"16":281635230530404352,"45":5304818176285937664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-28 02:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994922752001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635230530404352,"km_value":281635230530404.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5304818176285937664,"description":"Unknown IO ID 45"} 
[2026-04-28 02:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994922752001,"power":27267,"unknown_81":206,"unknown_80":60160,"ignition":13,"odometer":null,"unknown_45":5304818176285937664}} 
[2026-04-28 02:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":56906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:37:43] local.INFO: GPS data processed {"connection_id":56906,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:37:43] local.INFO: Acknowledgment sent {"connection_id":56906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:37:54] local.INFO: TCP Data received {"connection_id":56265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:54] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:37:54] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:38:00] local.INFO: TCP Data received {"connection_id":56265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:38:00] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:38:00] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:38:01] local.INFO: TCP Data received {"connection_id":56265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c30ce8012d4984c006737218000e00da2c..."} 
[2026-04-28 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c30ce8012d4984c006737218000e00da2c..."} 
[2026-04-28 02:38:01] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c30ce8012d4984c006737218000e00da2c..."} 
[2026-04-28 02:38:01] local.INFO: Packet analysis {"connection_id":56265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c3"} 
[2026-04-28 02:38:01] local.INFO: Extracted packet for processing {"connection_id":56265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c3"} 
[2026-04-28 02:38:01] local.INFO: GPS Element Parsed {"raw_longitude":759792832,"raw_latitude":108229144,"longitude_deg":75.9792832,"latitude_deg":10.8229144,"altitude":14,"angle":218,"satellites":44,"speed":25,"hex_longitude":"2d4984c0","hex_latitude":"06737218","is_valid_coordinates":true} 
[2026-04-28 02:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994923520001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281635668617068544,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5304044120099864576,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777323937000,"timestamp_ms":1777323937000,"timestamp_seconds":1777323937,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c30ce8"} 
[2026-04-28 02:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 02:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994923520001,"66":27397,"81":206,"80":60160,"24":25,"16":281635668617068544,"45":5304044120099864576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-28 02:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994923520001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-28 02:38:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281635668617068544,"km_value":281635668617068.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5304044120099864576,"description":"Unknown IO ID 45"} 
[2026-04-28 02:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994923520001,"power":27397,"unknown_81":206,"unknown_80":60160,"ignition":25,"odometer":null,"unknown_45":5304044120099864576}} 
[2026-04-28 02:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":56265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:38:01] local.INFO: GPS data processed {"connection_id":56265,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:38:01] local.INFO: Acknowledgment sent {"connection_id":56265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:38:32] local.INFO: TCP Data received {"connection_id":56265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c4e1a8012d484e4006720948001000dc2d..."} 
[2026-04-28 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c4e1a8012d484e4006720948001000dc2d..."} 
[2026-04-28 02:38:32] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c4e1a8012d484e4006720948001000dc2d..."} 
[2026-04-28 02:38:32] local.INFO: Packet analysis {"connection_id":56265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c4"} 
[2026-04-28 02:38:32] local.INFO: Extracted packet for processing {"connection_id":56265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c4"} 
[2026-04-28 02:38:32] local.INFO: GPS Element Parsed {"raw_longitude":759713344,"raw_latitude":108136776,"longitude_deg":75.9713344,"latitude_deg":10.8136776,"altitude":16,"angle":220,"satellites":45,"speed":52,"hex_longitude":"2d484e40","hex_latitude":"06720948","is_valid_coordinates":true} 
[2026-04-28 02:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994956800001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281641535542394880,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5216646139807504384,"note":"Value kept but may cause issues"} 
[2026-04-28 02:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777324057000,"timestamp_ms":1777324057000,"timestamp_seconds":1777324057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c4e1a8"} 
[2026-04-28 02:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 02:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994956800001,"66":27539,"38":206,"80":60160,"24":52,"16":281641535542394880,"45":5216646139807504384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-04-28 02:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994956800001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:38:32] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 02:38:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281641535542394880,"km_value":281641535542394.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5216646139807504384,"description":"Unknown IO ID 45"} 
[2026-04-28 02:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994956800001,"power":27539,"unknown_38":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5216646139807504384}} 
[2026-04-28 02:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":56265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:38:32] local.INFO: GPS data processed {"connection_id":56265,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:38:32] local.INFO: Acknowledgment sent {"connection_id":56265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:39:05] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:39:05] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:05] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:39:10] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:10] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:10] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:39:11] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c4fd00012d4836000671ecf8000e00dd2d..."} 
[2026-04-28 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c4fd00012d4836000671ecf8000e00dd2d..."} 
[2026-04-28 02:39:11] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c4fd00012d4836000671ecf8000e00dd2d..."} 
[2026-04-28 02:39:11] local.INFO: Packet analysis {"connection_id":56907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c4"} 
[2026-04-28 02:39:11] local.INFO: Extracted packet for processing {"connection_id":56907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c4"} 
[2026-04-28 02:39:11] local.INFO: GPS Element Parsed {"raw_longitude":759707136,"raw_latitude":108129528,"longitude_deg":75.9707136,"latitude_deg":10.8129528,"altitude":14,"angle":221,"satellites":45,"speed":55,"hex_longitude":"2d483600","hex_latitude":"0671ecf8","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994958592001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281641995103895552,"note":"Value kept but may cause issues"} 
[2026-04-28 02:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5210172215341434880,"note":"Value kept but may cause issues"} 
[2026-04-28 02:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777324064000,"timestamp_ms":1777324064000,"timestamp_seconds":1777324064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c4fd00"} 
[2026-04-28 02:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 02:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994958592001,"66":27571,"38":206,"80":60160,"24":55,"16":281641995103895552,"45":5210172215341434880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-04-28 02:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994958592001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:39:11] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 02:39:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281641995103895552,"km_value":281641995103895.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5210172215341434880,"description":"Unknown IO ID 45"} 
[2026-04-28 02:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994958592001,"power":27571,"unknown_38":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5210172215341434880}} 
[2026-04-28 02:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":56907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:39:11] local.INFO: GPS data processed {"connection_id":56907,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:39:11] local.INFO: Acknowledgment sent {"connection_id":56907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:39:59] local.INFO: TCP Data received {"connection_id":56185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:59] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:39:59] local.INFO: IMEI packet received {"connection_id":56185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:40:02] local.INFO: TCP Data received {"connection_id":56185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:02] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:02] local.INFO: IMEI packet received {"connection_id":56185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":56185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:40:03] local.INFO: TCP Data received {"connection_id":56185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c63198012d471bc00670c090000900db2d..."} 
[2026-04-28 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c63198012d471bc00670c090000900db2d..."} 
[2026-04-28 02:40:03] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c63198012d471bc00670c090000900db2d..."} 
[2026-04-28 02:40:03] local.INFO: Packet analysis {"connection_id":56185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:03] local.INFO: Extracted packet for processing {"connection_id":56185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":759634880,"raw_latitude":108052624,"longitude_deg":75.963488,"latitude_deg":10.8052624,"altitude":9,"angle":219,"satellites":45,"speed":55,"hex_longitude":"2d471bc0","hex_latitude":"0670c090","is_valid_coordinates":true} 
[2026-04-28 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994978816001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281647071755239424,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5131007378121881600,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777324143000,"timestamp_ms":1777324143000,"timestamp_seconds":1777324143,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c63198"} 
[2026-04-28 02:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:40:03] 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-04-28 02:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994978816001,"66":27289,"196":206,"80":60160,"24":55,"16":281647071755239424,"45":5131007378121881600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-04-28 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994978816001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:40:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 02:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281647071755239424,"km_value":281647071755239.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5131007378121881600,"description":"Unknown IO ID 45"} 
[2026-04-28 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994978816001,"power":27289,"unknown_196":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5131007378121881600}} 
[2026-04-28 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":56185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:40:03] local.INFO: GPS data processed {"connection_id":56185,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:40:03] local.INFO: Acknowledgment sent {"connection_id":56185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:40:05] local.INFO: TCP Data received {"connection_id":56185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c64cf0012d4703400670a270000900da2c..."} 
[2026-04-28 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c64cf0012d4703400670a270000900da2c..."} 
[2026-04-28 02:40:05] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c64cf0012d4703400670a270000900da2c..."} 
[2026-04-28 02:40:05] local.INFO: Packet analysis {"connection_id":56185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:05] local.INFO: Extracted packet for processing {"connection_id":56185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:05] local.INFO: GPS Element Parsed {"raw_longitude":759628608,"raw_latitude":108044912,"longitude_deg":75.9628608,"latitude_deg":10.8044912,"altitude":9,"angle":218,"satellites":44,"speed":55,"hex_longitude":"2d470340","hex_latitude":"0670a270","is_valid_coordinates":true} 
[2026-04-28 02:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994980608001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281647548496609280,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5123900134958075904,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324150000,"timestamp_ms":1777324150000,"timestamp_seconds":1777324150,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c64cf0"} 
[2026-04-28 02:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 02:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994980608001,"66":26560,"196":206,"80":60160,"24":55,"16":281647548496609280,"45":5123900134958075904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-04-28 02:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994980608001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:40:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 02:40:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281647548496609280,"km_value":281647548496609.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5123900134958075904,"description":"Unknown IO ID 45"} 
[2026-04-28 02:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994980608001,"power":26560,"unknown_196":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5123900134958075904}} 
[2026-04-28 02:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":56185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:40:05] local.INFO: GPS data processed {"connection_id":56185,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:40:05] local.INFO: Acknowledgment sent {"connection_id":56185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:40:36] local.INFO: TCP Data received {"connection_id":56185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c66848012d46ec00067084c8000b00d82a..."} 
[2026-04-28 02:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c66848012d46ec00067084c8000b00d82a..."} 
[2026-04-28 02:40:36] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c66848012d46ec00067084c8000b00d82a..."} 
[2026-04-28 02:40:36] local.INFO: Packet analysis {"connection_id":56185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:36] local.INFO: Extracted packet for processing {"connection_id":56185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:40:36] local.INFO: GPS Element Parsed {"raw_longitude":759622656,"raw_latitude":108037320,"longitude_deg":75.9622656,"latitude_deg":10.803732,"altitude":11,"angle":216,"satellites":42,"speed":52,"hex_longitude":"2d46ec00","hex_latitude":"067084c8","is_valid_coordinates":true} 
[2026-04-28 02:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994982400001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281648012353077248,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117003998026690560,"note":"Value kept but may cause issues"} 
[2026-04-28 02:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777324157000,"timestamp_ms":1777324157000,"timestamp_seconds":1777324157,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c66848"} 
[2026-04-28 02:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-28 02:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994982400001,"66":27484,"196":206,"80":60160,"24":52,"16":281648012353077248,"45":5117003998026690560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-04-28 02:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994982400001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:40:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 02:40:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281648012353077248,"km_value":281648012353077.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117003998026690560,"description":"Unknown IO ID 45"} 
[2026-04-28 02:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994982400001,"power":27484,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5117003998026690560}} 
[2026-04-28 02:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":56185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:40:36] local.INFO: GPS data processed {"connection_id":56185,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:40:36] local.INFO: Acknowledgment sent {"connection_id":56185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:40:51] local.INFO: TCP Data received {"connection_id":56908,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:40:51] local.INFO: Processing buffer {"connection_id":56908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:40:51] local.INFO: IMEI packet received {"connection_id":56908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":56908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:40:52] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:52] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:52] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:40:55] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:55] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:55] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:40:59] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:59] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:40:59] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:41:00] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c683a0012d46d68006706838000c00d82b..."} 
[2026-04-28 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c683a0012d46d68006706838000c00d82b..."} 
[2026-04-28 02:41:00] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c683a0012d46d68006706838000c00d82b..."} 
[2026-04-28 02:41:00] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:41:00] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:41:00] local.INFO: GPS Element Parsed {"raw_longitude":759617152,"raw_latitude":108030008,"longitude_deg":75.9617152,"latitude_deg":10.8030008,"altitude":12,"angle":216,"satellites":43,"speed":51,"hex_longitude":"2d46d680","hex_latitude":"06706838","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994984192001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281648454734708736,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5110459704816224256,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324164000,"timestamp_ms":1777324164000,"timestamp_seconds":1777324164,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c683a0"} 
[2026-04-28 02:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:41: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-04-28 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 02:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994984192001,"66":27332,"196":206,"80":60160,"24":51,"16":281648454734708736,"45":5110459704816224256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-04-28 02:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994984192001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:41:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 02:41:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281648454734708736,"km_value":281648454734708.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5110459704816224256,"description":"Unknown IO ID 45"} 
[2026-04-28 02:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994984192001,"power":27332,"unknown_196":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5110459704816224256}} 
[2026-04-28 02:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:41:00] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:41:00] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:41:31] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c69ef8012d46c14006704b78000b00d82b..."} 
[2026-04-28 02:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c69ef8012d46c14006704b78000b00d82b..."} 
[2026-04-28 02:41:31] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c69ef8012d46c14006704b78000b00d82b..."} 
[2026-04-28 02:41:31] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:41:31] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c6"} 
[2026-04-28 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":759611712,"raw_latitude":108022648,"longitude_deg":75.9611712,"latitude_deg":10.8022648,"altitude":11,"angle":216,"satellites":43,"speed":51,"hex_longitude":"2d46c140","hex_latitude":"06704b78","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454994985984001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281648892821372928,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5104407992815073280,"note":"Value kept but may cause issues"} 
[2026-04-28 02:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777324171000,"timestamp_ms":1777324171000,"timestamp_seconds":1777324171,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c69ef8"} 
[2026-04-28 02:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 02:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454994985984001,"66":27343,"196":206,"80":60160,"24":51,"16":281648892821372928,"45":5104407992815073280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-04-28 02:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454994985984001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:41:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 02:41:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281648892821372928,"km_value":281648892821372.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5104407992815073280,"description":"Unknown IO ID 45"} 
[2026-04-28 02:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454994985984001,"power":27343,"unknown_196":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5104407992815073280}} 
[2026-04-28 02:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:41:31] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:41:31] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:41:35] local.INFO: TCP Data received {"connection_id":56030,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:41:35] local.INFO: Processing buffer {"connection_id":56030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:41:35] local.INFO: IMEI packet received {"connection_id":56030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:41:59] local.INFO: TCP Data received {"connection_id":56186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:41:59] local.INFO: Processing buffer {"connection_id":56186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:41:59] local.INFO: IMEI packet received {"connection_id":56186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:42:00] local.INFO: TCP Data received {"connection_id":56186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:00] local.INFO: Processing buffer {"connection_id":56186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:00] local.INFO: IMEI packet received {"connection_id":56186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":56186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:42:04] local.INFO: TCP Data received {"connection_id":56186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:04] local.INFO: Processing buffer {"connection_id":56186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:04] local.INFO: IMEI packet received {"connection_id":56186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":56186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:42:05] local.INFO: TCP Data received {"connection_id":56186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c7d778012d45b540066f1bd8000700d62c..."} 
[2026-04-28 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c7d778012d45b540066f1bd8000700d62c..."} 
[2026-04-28 02:42:05] local.INFO: Processing buffer {"connection_id":56186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c7d778012d45b540066f1bd8000700d62c..."} 
[2026-04-28 02:42:05] local.INFO: Packet analysis {"connection_id":56186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c7"} 
[2026-04-28 02:42:05] local.INFO: Extracted packet for processing {"connection_id":56186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c7"} 
[2026-04-28 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":759543104,"raw_latitude":107944920,"longitude_deg":75.9543104,"latitude_deg":10.794492,"altitude":7,"angle":214,"satellites":44,"speed":56,"hex_longitude":"2d45b540","hex_latitude":"066f1bd8","is_valid_coordinates":true} 
[2026-04-28 02:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995006464001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281653905048207360,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5029183805269409792,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324251000,"timestamp_ms":1777324251000,"timestamp_seconds":1777324251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c7d778"} 
[2026-04-28 02:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 02:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995006464001,"66":27376,"78":206,"80":60160,"24":56,"16":281653905048207360,"45":5029183805269409792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-04-28 02:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995006464001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:42:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 02:42:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281653905048207360,"km_value":281653905048207.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5029183805269409792,"description":"Unknown IO ID 45"} 
[2026-04-28 02:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995006464001,"power":27376,"unknown_78":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5029183805269409792}} 
[2026-04-28 02:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":56186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:42:05] local.INFO: GPS data processed {"connection_id":56186,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:42:05] local.INFO: Acknowledgment sent {"connection_id":56186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:42:36] local.INFO: TCP Data received {"connection_id":56186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c7f2d0012d459ec0066efa80000700d52d..."} 
[2026-04-28 02:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c7f2d0012d459ec0066efa80000700d52d..."} 
[2026-04-28 02:42:36] local.INFO: Processing buffer {"connection_id":56186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c7f2d0012d459ec0066efa80000700d52d..."} 
[2026-04-28 02:42:36] local.INFO: Packet analysis {"connection_id":56186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c7"} 
[2026-04-28 02:42:36] local.INFO: Extracted packet for processing {"connection_id":56186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c7"} 
[2026-04-28 02:42:36] local.INFO: GPS Element Parsed {"raw_longitude":759537344,"raw_latitude":107936384,"longitude_deg":75.9537344,"latitude_deg":10.7936384,"altitude":7,"angle":213,"satellites":45,"speed":59,"hex_longitude":"2d459ec0","hex_latitude":"066efa80","is_valid_coordinates":true} 
[2026-04-28 02:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995008256001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281654403264413696,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5022991355779733504,"note":"Value kept but may cause issues"} 
[2026-04-28 02:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777324258000,"timestamp_ms":1777324258000,"timestamp_seconds":1777324258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c7f2d0"} 
[2026-04-28 02:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:42: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-04-28 02:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995008256001,"66":27571,"78":206,"80":60160,"24":59,"16":281654403264413696,"45":5022991355779733504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-04-28 02:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995008256001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:42:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 02:42:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281654403264413696,"km_value":281654403264413.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5022991355779733504,"description":"Unknown IO ID 45"} 
[2026-04-28 02:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995008256001,"power":27571,"unknown_78":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5022991355779733504}} 
[2026-04-28 02:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":56186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:42:36] local.INFO: GPS data processed {"connection_id":56186,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:42:36] local.INFO: Acknowledgment sent {"connection_id":56186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:42:54] local.INFO: TCP Data received {"connection_id":56032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:54] local.INFO: Processing buffer {"connection_id":56032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:42:54] local.INFO: IMEI packet received {"connection_id":56032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":56032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:43:00] local.INFO: TCP Data received {"connection_id":56032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:43:00] local.INFO: Processing buffer {"connection_id":56032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:43:00] local.INFO: IMEI packet received {"connection_id":56032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":56032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:43:01] local.INFO: TCP Data received {"connection_id":56032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c80a40012d458b80066edd30000800d42d..."} 
[2026-04-28 02:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c80a40012d458b80066edd30000800d42d..."} 
[2026-04-28 02:43:01] local.INFO: Processing buffer {"connection_id":56032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c80a40012d458b80066edd30000800d42d..."} 
[2026-04-28 02:43:01] local.INFO: Packet analysis {"connection_id":56032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c8"} 
[2026-04-28 02:43:01] local.INFO: Extracted packet for processing {"connection_id":56032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c8"} 
[2026-04-28 02:43:01] local.INFO: GPS Element Parsed {"raw_longitude":759532416,"raw_latitude":107928880,"longitude_deg":75.9532416,"latitude_deg":10.792888,"altitude":8,"angle":212,"satellites":45,"speed":59,"hex_longitude":"2d458b80","hex_latitude":"066edd30","is_valid_coordinates":true} 
[2026-04-28 02:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995010048001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281654832761143296,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5016658168801558528,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777324264000,"timestamp_ms":1777324264000,"timestamp_seconds":1777324264,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c80a40"} 
[2026-04-28 02:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 02:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995010048001,"66":27343,"78":206,"80":60160,"24":59,"16":281654832761143296,"45":5016658168801558528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-04-28 02:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995010048001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:43:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-28 02:43:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-28 02:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281654832761143296,"km_value":281654832761143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5016658168801558528,"description":"Unknown IO ID 45"} 
[2026-04-28 02:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995010048001,"power":27343,"unknown_78":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5016658168801558528}} 
[2026-04-28 02:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":56032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:43:01] local.INFO: GPS data processed {"connection_id":56032,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:43:01] local.INFO: Acknowledgment sent {"connection_id":56032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:43:32] local.INFO: TCP Data received {"connection_id":56032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c97d58012d445dc0066d67e0000e00db2b..."} 
[2026-04-28 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c97d58012d445dc0066d67e0000e00db2b..."} 
[2026-04-28 02:43:32] local.INFO: Processing buffer {"connection_id":56032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c97d58012d445dc0066d67e0000e00db2b..."} 
[2026-04-28 02:43:32] local.INFO: Packet analysis {"connection_id":56032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:43:32] local.INFO: Extracted packet for processing {"connection_id":56032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:43:32] local.INFO: GPS Element Parsed {"raw_longitude":759455168,"raw_latitude":107833312,"longitude_deg":75.9455168,"latitude_deg":10.7833312,"altitude":14,"angle":219,"satellites":43,"speed":53,"hex_longitude":"2d445dc0","hex_latitude":"066d67e0","is_valid_coordinates":true} 
[2026-04-28 02:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995034112001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281660755521044480,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4932708256972998656,"note":"Value kept but may cause issues"} 
[2026-04-28 02:43:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,80,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 02:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777324359000,"timestamp_ms":1777324359000,"timestamp_seconds":1777324359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c97d58"} 
[2026-04-28 02:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 02:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995034112001,"66":27343,"24":53,"80":60416,"16":281660755521044480,"45":4932708256972998656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,80,16,45]} 
[2026-04-28 02:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995034112001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:43:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281660755521044480,"km_value":281660755521044.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4932708256972998656,"description":"Unknown IO ID 45"} 
[2026-04-28 02:43:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454995034112001,"power":27343,"ignition":53,"unknown_80":60416,"odometer":null,"unknown_45":4932708256972998656}} 
[2026-04-28 02:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":56032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:43:32] local.INFO: GPS data processed {"connection_id":56032,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:43:32] local.INFO: Acknowledgment sent {"connection_id":56032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:44:00] local.INFO: TCP Data received {"connection_id":56269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:00] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:00] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:44:06] local.INFO: TCP Data received {"connection_id":56269,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 02:44:06] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 02:44:06] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:44:10] local.INFO: TCP Data received {"connection_id":56269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:10] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 02:44:10] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:44:11] local.INFO: TCP Data received {"connection_id":56269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c998b0012d444480066d4a10000b00db2c..."} 
[2026-04-28 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c998b0012d444480066d4a10000b00db2c..."} 
[2026-04-28 02:44:11] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 02:44:11] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:44:11] local.INFO: TCP Data received {"connection_id":56269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c9b408012d442a40066d2ad0000800db29..."} 
[2026-04-28 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c9b408012d442a40066d2ad0000800db29..."} 
[2026-04-28 02:44:11] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd0c998b0012d444480066d4a10000b00db2c..."} 
[2026-04-28 02:44:11] local.INFO: Packet analysis {"connection_id":56269,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:44:11] local.INFO: Extracted packet for processing {"connection_id":56269,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":759448704,"raw_latitude":107825680,"longitude_deg":75.9448704,"latitude_deg":10.782568,"altitude":11,"angle":219,"satellites":44,"speed":58,"hex_longitude":"2d444480","hex_latitude":"066d4a10","is_valid_coordinates":true} 
[2026-04-28 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995035904001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281661240852348928,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4926304701251051520,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,80,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 02:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777324366000,"timestamp_ms":1777324366000,"timestamp_seconds":1777324366,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c998b0"} 
[2026-04-28 02:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:44:11] 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-04-28 02:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995035904001,"66":27463,"24":58,"80":60416,"16":281661240852348928,"45":4926304701251051520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,80,16,45]} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995035904001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281661240852348928,"km_value":281661240852348.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4926304701251051520,"description":"Unknown IO ID 45"} 
[2026-04-28 02:44:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454995035904001,"power":27463,"ignition":58,"unknown_80":60416,"odometer":null,"unknown_45":4926304701251051520}} 
[2026-04-28 02:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":56269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:44:11] local.INFO: GPS data processed {"connection_id":56269,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:44:11] local.INFO: Acknowledgment sent {"connection_id":56269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:44:11] local.INFO: Packet analysis {"connection_id":56269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:44:11] local.INFO: Extracted packet for processing {"connection_id":56269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":759441984,"raw_latitude":107817680,"longitude_deg":75.9441984,"latitude_deg":10.781768,"altitude":8,"angle":219,"satellites":41,"speed":60,"hex_longitude":"2d442a40","hex_latitude":"066d2ad0","is_valid_coordinates":true} 
[2026-04-28 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995037696001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281661743363522560,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4919197458087153664,"note":"Value kept but may cause issues"} 
[2026-04-28 02:44:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,80,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 02:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777324373000,"timestamp_ms":1777324373000,"timestamp_seconds":1777324373,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c9b408"} 
[2026-04-28 02:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:44:11] 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-04-28 02:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995037696001,"66":27397,"24":60,"80":60416,"16":281661743363522560,"45":4919197458087153664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,80,16,45]} 
[2026-04-28 02:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995037696001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281661743363522560,"km_value":281661743363522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4919197458087153664,"description":"Unknown IO ID 45"} 
[2026-04-28 02:44:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454995037696001,"power":27397,"ignition":60,"unknown_80":60416,"odometer":null,"unknown_45":4919197458087153664}} 
[2026-04-28 02:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":56269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:44:11] local.INFO: GPS data processed {"connection_id":56269,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:44:11] local.INFO: Acknowledgment sent {"connection_id":56269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:44:55] local.INFO: TCP Data received {"connection_id":56187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: IMEI packet received {"connection_id":56187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":56187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:44:55] local.INFO: TCP Data received {"connection_id":56187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:44:55] local.INFO: IMEI packet received {"connection_id":56187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":56187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:45:00] local.INFO: TCP Data received {"connection_id":56187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:00] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:00] local.INFO: IMEI packet received {"connection_id":56187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":56187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:45:04] local.INFO: TCP Data received {"connection_id":56187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0c9cb78012d441340066d0f40000600dc28..."} 
[2026-04-28 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0c9cb78012d441340066d0f40000600dc28..."} 
[2026-04-28 02:45:04] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0c9cb78012d441340066d0f40000600dc28..."} 
[2026-04-28 02:45:04] local.INFO: Packet analysis {"connection_id":56187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:45:04] local.INFO: Extracted packet for processing {"connection_id":56187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0c9"} 
[2026-04-28 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":759436096,"raw_latitude":107810624,"longitude_deg":75.9436096,"latitude_deg":10.7810624,"altitude":6,"angle":220,"satellites":40,"speed":60,"hex_longitude":"2d441340","hex_latitude":"066d0f40","is_valid_coordinates":true} 
[2026-04-28 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995039488001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281662181450186752,"note":"Value kept but may cause issues"} 
[2026-04-28 02:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4911808739946450944,"note":"Value kept but may cause issues"} 
[2026-04-28 02:45:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,80,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 02:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777324379000,"timestamp_ms":1777324379000,"timestamp_seconds":1777324379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0c9cb78"} 
[2026-04-28 02:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995039488001,"66":27343,"24":60,"80":60416,"16":281662181450186752,"45":4911808739946450944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,80,16,45]} 
[2026-04-28 02:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995039488001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281662181450186752,"km_value":281662181450186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4911808739946450944,"description":"Unknown IO ID 45"} 
[2026-04-28 02:45:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454995039488001,"power":27343,"ignition":60,"unknown_80":60416,"odometer":null,"unknown_45":4911808739946450944}} 
[2026-04-28 02:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":56187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:45:04] local.INFO: GPS data processed {"connection_id":56187,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:45:04] local.INFO: Acknowledgment sent {"connection_id":56187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:45:56] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:56] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:56] local.INFO: IMEI packet received {"connection_id":56912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":56912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:45:59] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:59] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:45:59] local.INFO: IMEI packet received {"connection_id":56912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:46:05] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:05] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:05] local.INFO: IMEI packet received {"connection_id":56912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":56912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:46:05] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cb6988012d42a240066b7028000600de28..."} 
[2026-04-28 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cb6988012d42a240066b7028000600de28..."} 
[2026-04-28 02:46:05] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cb6988012d42a240066b7028000600de28..."} 
[2026-04-28 02:46:05] local.INFO: Packet analysis {"connection_id":56912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:05] local.INFO: Extracted packet for processing {"connection_id":56912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:05] local.INFO: GPS Element Parsed {"raw_longitude":759341632,"raw_latitude":107704360,"longitude_deg":75.9341632,"latitude_deg":10.770436,"altitude":6,"angle":222,"satellites":40,"speed":49,"hex_longitude":"2d42a240","hex_latitude":"066b7028","is_valid_coordinates":true} 
[2026-04-28 02:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995066368001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 02:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281669027628056576,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4808437054722072576,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-28 02:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324485000,"timestamp_ms":1777324485000,"timestamp_seconds":1777324485,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cb6988"} 
[2026-04-28 02:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995066368001,"66":27343,"200":0,"80":60416,"24":49,"16":281669027628056576,"45":4808437054722072576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-04-28 02:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995066368001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:46:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281669027628056576,"km_value":281669027628056.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4808437054722072576,"description":"Unknown IO ID 45"} 
[2026-04-28 02:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995066368001,"power":27343,"gsm_signal":0,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":4808437054722072576}} 
[2026-04-28 02:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":56912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:46:05] local.INFO: GPS data processed {"connection_id":56912,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:46:05] local.INFO: Acknowledgment sent {"connection_id":56912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:46:06] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cb88c8012d428840066b5420000600df2b..."} 
[2026-04-28 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cb88c8012d428840066b5420000600df2b..."} 
[2026-04-28 02:46:06] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cb88c8012d428840066b5420000600df2b..."} 
[2026-04-28 02:46:06] local.INFO: Packet analysis {"connection_id":56912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:06] local.INFO: Extracted packet for processing {"connection_id":56912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":759334976,"raw_latitude":107697184,"longitude_deg":75.9334976,"latitude_deg":10.7697184,"altitude":6,"angle":223,"satellites":43,"speed":48,"hex_longitude":"2d428840","hex_latitude":"066b5420","is_valid_coordinates":true} 
[2026-04-28 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995068160001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281669500074459136,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4801470549046863872,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777324493000,"timestamp_ms":1777324493000,"timestamp_seconds":1777324493,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cb88c8"} 
[2026-04-28 02:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995068160001,"66":27376,"96":206,"80":60416,"24":48,"16":281669500074459136,"45":4801470549046863872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-04-28 02:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995068160001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:46:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 02:46:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281669500074459136,"km_value":281669500074459.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4801470549046863872,"description":"Unknown IO ID 45"} 
[2026-04-28 02:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995068160001,"power":27376,"unknown_96":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4801470549046863872}} 
[2026-04-28 02:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":56912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:46:06] local.INFO: GPS data processed {"connection_id":56912,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:46:06] local.INFO: Acknowledgment sent {"connection_id":56912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:46:37] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cba808012d426ec0066b37d8000900dc29..."} 
[2026-04-28 02:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cba808012d426ec0066b37d8000900dc29..."} 
[2026-04-28 02:46:37] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cba808012d426ec0066b37d8000900dc29..."} 
[2026-04-28 02:46:37] local.INFO: Packet analysis {"connection_id":56912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:37] local.INFO: Extracted packet for processing {"connection_id":56912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":759328448,"raw_latitude":107689944,"longitude_deg":75.9328448,"latitude_deg":10.7689944,"altitude":9,"angle":220,"satellites":41,"speed":46,"hex_longitude":"2d426ec0","hex_latitude":"066b37d8","is_valid_coordinates":true} 
[2026-04-28 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995070208001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281669968225894400,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4794152199650549760,"note":"Value kept but may cause issues"} 
[2026-04-28 02:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777324501000,"timestamp_ms":1777324501000,"timestamp_seconds":1777324501,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cba808"} 
[2026-04-28 02:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995070208001,"66":27343,"96":206,"80":60416,"24":46,"16":281669968225894400,"45":4794152199650549760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-04-28 02:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995070208001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281669968225894400,"km_value":281669968225894.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4794152199650549760,"description":"Unknown IO ID 45"} 
[2026-04-28 02:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995070208001,"power":27343,"unknown_96":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4794152199650549760}} 
[2026-04-28 02:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":56912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:46:37] local.INFO: GPS data processed {"connection_id":56912,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:46:37] local.INFO: Acknowledgment sent {"connection_id":56912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:46:51] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:46:51] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:46:51] local.INFO: IMEI packet received {"connection_id":56913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":56913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:46:54] local.INFO: TCP Data received {"connection_id":56188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:54] local.INFO: Processing buffer {"connection_id":56188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:54] local.INFO: IMEI packet received {"connection_id":56188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:46:57] local.INFO: TCP Data received {"connection_id":56188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:57] local.INFO: Processing buffer {"connection_id":56188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:46:57] local.INFO: IMEI packet received {"connection_id":56188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":56188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:47:01] local.INFO: TCP Data received {"connection_id":56188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cbc748012d425880066b1c88000b00da29..."} 
[2026-04-28 02:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cbc748012d425880066b1c88000b00da29..."} 
[2026-04-28 02:47:01] local.INFO: Processing buffer {"connection_id":56188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cbc748012d425880066b1c88000b00da29..."} 
[2026-04-28 02:47:01] local.INFO: Packet analysis {"connection_id":56188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:47:01] local.INFO: Extracted packet for processing {"connection_id":56188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cb"} 
[2026-04-28 02:47:01] local.INFO: GPS Element Parsed {"raw_longitude":759322752,"raw_latitude":107682952,"longitude_deg":75.9322752,"latitude_deg":10.7682952,"altitude":11,"angle":218,"satellites":41,"speed":43,"hex_longitude":"2d425880","hex_latitude":"066b1c88","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995072256001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281670402017591296,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4786974587742574592,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777324509000,"timestamp_ms":1777324509000,"timestamp_seconds":1777324509,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cbc748"} 
[2026-04-28 02:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995072256001,"66":27397,"96":206,"80":60416,"24":43,"16":281670402017591296,"45":4786974587742574592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-04-28 02:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995072256001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:47:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 02:47:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281670402017591296,"km_value":281670402017591.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4786974587742574592,"description":"Unknown IO ID 45"} 
[2026-04-28 02:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995072256001,"power":27397,"unknown_96":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4786974587742574592}} 
[2026-04-28 02:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":56188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:47:02] local.INFO: GPS data processed {"connection_id":56188,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:47:02] local.INFO: Acknowledgment sent {"connection_id":56188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:47:32] local.INFO: TCP Data received {"connection_id":56188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cd22f0012d41d90006698de8000900a12c..."} 
[2026-04-28 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cd22f0012d41d90006698de8000900a12c..."} 
[2026-04-28 02:47:32] local.INFO: Processing buffer {"connection_id":56188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cd22f0012d41d90006698de8000900a12c..."} 
[2026-04-28 02:47:32] local.INFO: Packet analysis {"connection_id":56188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:47:32] local.INFO: Extracted packet for processing {"connection_id":56188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:47:32] local.INFO: GPS Element Parsed {"raw_longitude":759290112,"raw_latitude":107580904,"longitude_deg":75.9290112,"latitude_deg":10.7580904,"altitude":9,"angle":161,"satellites":44,"speed":64,"hex_longitude":"2d41d900","hex_latitude":"06698de8","is_valid_coordinates":true} 
[2026-04-28 02:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995095552001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281675998359977984,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4741446010234015744,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777324598000,"timestamp_ms":1777324598000,"timestamp_seconds":1777324598,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cd22f0"} 
[2026-04-28 02:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995095552001,"66":27397,"223":206,"80":60416,"24":64,"16":281675998359977984,"45":4741446010234015744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-28 02:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995095552001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:47:32] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-28 02:47:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281675998359977984,"km_value":281675998359978.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4741446010234015744,"description":"Unknown IO ID 45"} 
[2026-04-28 02:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995095552001,"power":27397,"unknown_223":206,"unknown_80":60416,"ignition":64,"odometer":null,"unknown_45":4741446010234015744}} 
[2026-04-28 02:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:47:32] local.INFO: GPS data processed {"connection_id":56188,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:47:32] local.INFO: Acknowledgment sent {"connection_id":56188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:47:35] local.INFO: TCP Data received {"connection_id":56033,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:47:35] local.INFO: Processing buffer {"connection_id":56033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:47:35] local.INFO: IMEI packet received {"connection_id":56033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:47:54] local.INFO: TCP Data received {"connection_id":56034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:54] local.INFO: Processing buffer {"connection_id":56034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:54] local.INFO: IMEI packet received {"connection_id":56034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":56034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:47:58] local.INFO: TCP Data received {"connection_id":56034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:58] local.INFO: Processing buffer {"connection_id":56034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:47:58] local.INFO: IMEI packet received {"connection_id":56034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":56034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:47:59] local.INFO: TCP Data received {"connection_id":56034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cd3a60012d41e5c0066969f8000700a02a..."} 
[2026-04-28 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cd3a60012d41e5c0066969f8000700a02a..."} 
[2026-04-28 02:47:59] local.INFO: Processing buffer {"connection_id":56034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cd3a60012d41e5c0066969f8000700a02a..."} 
[2026-04-28 02:47:59] local.INFO: Packet analysis {"connection_id":56034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:47:59] local.INFO: Extracted packet for processing {"connection_id":56034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":759293376,"raw_latitude":107571704,"longitude_deg":75.9293376,"latitude_deg":10.7571704,"altitude":7,"angle":160,"satellites":42,"speed":65,"hex_longitude":"2d41e5c0","hex_latitude":"066969f8","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995097088001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281676470806380544,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4744823709952239616,"note":"Value kept but may cause issues"} 
[2026-04-28 02:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777324604000,"timestamp_ms":1777324604000,"timestamp_seconds":1777324604,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cd3a60"} 
[2026-04-28 02:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:47: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-04-28 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995097088001,"66":27376,"223":206,"80":60416,"24":65,"16":281676470806380544,"45":4744823709952239616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-28 02:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995097088001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:47:59] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-28 02:47:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281676470806380544,"km_value":281676470806380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4744823709952239616,"description":"Unknown IO ID 45"} 
[2026-04-28 02:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995097088001,"power":27376,"unknown_223":206,"unknown_80":60416,"ignition":65,"odometer":null,"unknown_45":4744823709952239616}} 
[2026-04-28 02:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":56034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:47:59] local.INFO: GPS data processed {"connection_id":56034,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:47:59] local.INFO: Acknowledgment sent {"connection_id":56034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:48:31] local.INFO: TCP Data received {"connection_id":56034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cd51d0012d41f28006694648000700a02c..."} 
[2026-04-28 02:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cd51d0012d41f28006694648000700a02c..."} 
[2026-04-28 02:48:31] local.INFO: Processing buffer {"connection_id":56034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cd51d0012d41f28006694648000700a02c..."} 
[2026-04-28 02:48:31] local.INFO: Packet analysis {"connection_id":56034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:48:31] local.INFO: Extracted packet for processing {"connection_id":56034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cd"} 
[2026-04-28 02:48:31] local.INFO: GPS Element Parsed {"raw_longitude":759296640,"raw_latitude":107562568,"longitude_deg":75.929664,"latitude_deg":10.7562568,"altitude":7,"angle":160,"satellites":44,"speed":63,"hex_longitude":"2d41f280","hex_latitude":"06694648","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995098624001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281676938957815808,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4748412515902945280,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777324610000,"timestamp_ms":1777324610000,"timestamp_seconds":1777324610,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cd51d0"} 
[2026-04-28 02:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995098624001,"66":27397,"223":206,"80":60416,"24":63,"16":281676938957815808,"45":4748412515902945280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-28 02:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995098624001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:48:31] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-28 02:48:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281676938957815808,"km_value":281676938957815.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4748412515902945280,"description":"Unknown IO ID 45"} 
[2026-04-28 02:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995098624001,"power":27397,"unknown_223":206,"unknown_80":60416,"ignition":63,"odometer":null,"unknown_45":4748412515902945280}} 
[2026-04-28 02:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":56034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:48:31] local.INFO: GPS data processed {"connection_id":56034,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:48:31] local.INFO: Acknowledgment sent {"connection_id":56034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:48:54] local.INFO: TCP Data received {"connection_id":56035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:54] local.INFO: Processing buffer {"connection_id":56035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:54] local.INFO: IMEI packet received {"connection_id":56035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":56035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:48:56] local.INFO: TCP Data received {"connection_id":56035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:56] local.INFO: Processing buffer {"connection_id":56035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:48:56] local.INFO: IMEI packet received {"connection_id":56035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":56035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:48:57] local.INFO: TCP Data received {"connection_id":56035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:48:57] local.INFO: Processing buffer {"connection_id":56035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:48:57] local.INFO: Packet analysis {"connection_id":56035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:48:57] local.INFO: Extracted packet for processing {"connection_id":56035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:48:57] local.INFO: GPS Element Parsed {"raw_longitude":759335296,"raw_latitude":107463048,"longitude_deg":75.9335296,"latitude_deg":10.7463048,"altitude":8,"angle":146,"satellites":44,"speed":59,"hex_longitude":"2d428980","hex_latitude":"0667c188","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995117056001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281682105803472896,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4790070812430346240,"note":"Value kept but may cause issues"} 
[2026-04-28 02:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777324682000,"timestamp_ms":1777324682000,"timestamp_seconds":1777324682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ce6b10"} 
[2026-04-28 02:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:48: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-04-28 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 02:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995117056001,"66":26767,"222":206,"80":60416,"24":59,"16":281682105803472896,"45":4790070812430346240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-28 02:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995117056001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:48:57] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-28 02:48:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281682105803472896,"km_value":281682105803472.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4790070812430346240,"description":"Unknown IO ID 45"} 
[2026-04-28 02:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995117056001,"power":26767,"unknown_222":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4790070812430346240}} 
[2026-04-28 02:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":56035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:48:57] local.INFO: GPS data processed {"connection_id":56035,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:48:57] local.INFO: Acknowledgment sent {"connection_id":56035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:49:00] local.INFO: TCP Data received {"connection_id":56035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:49:00] local.INFO: Processing buffer {"connection_id":56035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ce6b10012d4289800667c188000800922c..."} 
[2026-04-28 02:49:00] local.INFO: Packet analysis {"connection_id":56035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:49:00] local.INFO: Extracted packet for processing {"connection_id":56035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":759335296,"raw_latitude":107463048,"longitude_deg":75.9335296,"latitude_deg":10.7463048,"altitude":8,"angle":146,"satellites":44,"speed":59,"hex_longitude":"2d428980","hex_latitude":"0667c188","is_valid_coordinates":true} 
[2026-04-28 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995118592001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281682105803472896,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4794504043311499264,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324682000,"timestamp_ms":1777324682000,"timestamp_seconds":1777324682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ce6b10"} 
[2026-04-28 02:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-04-28 02:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995118592001,"66":26767,"222":206,"80":60416,"24":59,"16":281682105803472896,"45":4794504043311499264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-28 02:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995118592001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:49:00] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-28 02:49:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281682105803472896,"km_value":281682105803472.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4794504043311499264,"description":"Unknown IO ID 45"} 
[2026-04-28 02:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995118592001,"power":26767,"unknown_222":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4794504043311499264}} 
[2026-04-28 02:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:49:00] local.INFO: GPS data processed {"connection_id":56035,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:49:00] local.INFO: Acknowledgment sent {"connection_id":56035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:49:32] local.INFO: TCP Data received {"connection_id":56035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ce7e98012d429cc00667aaf0000800862b..."} 
[2026-04-28 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ce7e98012d429cc00667aaf0000800862b..."} 
[2026-04-28 02:49:32] local.INFO: Processing buffer {"connection_id":56035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ce7e98012d429cc00667aaf0000800862b..."} 
[2026-04-28 02:49:32] local.INFO: Packet analysis {"connection_id":56035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:49:32] local.INFO: Extracted packet for processing {"connection_id":56035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":759340224,"raw_latitude":107457264,"longitude_deg":75.9340224,"latitude_deg":10.7457264,"altitude":8,"angle":134,"satellites":43,"speed":59,"hex_longitude":"2d429cc0","hex_latitude":"0667aaf0","is_valid_coordinates":true} 
[2026-04-28 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995118592001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281682470875693056,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4794504043311499264,"note":"Value kept but may cause issues"} 
[2026-04-28 02:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777324687000,"timestamp_ms":1777324687000,"timestamp_seconds":1777324687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ce7e98"} 
[2026-04-28 02:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-04-28 02:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995118592001,"66":27310,"222":206,"80":60416,"24":59,"16":281682470875693056,"45":4794504043311499264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-28 02:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995118592001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:49:32] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-28 02:49:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281682470875693056,"km_value":281682470875693.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4794504043311499264,"description":"Unknown IO ID 45"} 
[2026-04-28 02:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995118592001,"power":27310,"unknown_222":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4794504043311499264}} 
[2026-04-28 02:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:49:32] local.INFO: GPS data processed {"connection_id":56035,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:49:32] local.INFO: Acknowledgment sent {"connection_id":56035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:49:54] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:54] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:54] local.INFO: IMEI packet received {"connection_id":56192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":56192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:49:57] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:58] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:49:58] local.INFO: IMEI packet received {"connection_id":56192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":56192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:50:00] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:00] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:00] local.INFO: IMEI packet received {"connection_id":56192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:50:02] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ce9220012d42b340066798a80008007a29..."} 
[2026-04-28 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ce9220012d42b340066798a80008007a29..."} 
[2026-04-28 02:50:02] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ce9220012d42b340066798a80008007a29..."} 
[2026-04-28 02:50:02] local.INFO: Packet analysis {"connection_id":56192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:50:02] local.INFO: Extracted packet for processing {"connection_id":56192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:50:02] local.INFO: GPS Element Parsed {"raw_longitude":759345984,"raw_latitude":107452584,"longitude_deg":75.9345984,"latitude_deg":10.7452584,"altitude":8,"angle":122,"satellites":41,"speed":58,"hex_longitude":"2d42b340","hex_latitude":"066798a8","is_valid_coordinates":true} 
[2026-04-28 02:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995119872001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281682827357978624,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4799922436611698688,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777324692000,"timestamp_ms":1777324692000,"timestamp_seconds":1777324692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ce9220"} 
[2026-04-28 02:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 02:50:02] 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-04-28 02:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995119872001,"66":27343,"222":206,"80":60416,"24":58,"16":281682827357978624,"45":4799922436611698688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-28 02:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995119872001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:50:02] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-28 02:50:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281682827357978624,"km_value":281682827357978.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4799922436611698688,"description":"Unknown IO ID 45"} 
[2026-04-28 02:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995119872001,"power":27343,"unknown_222":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4799922436611698688}} 
[2026-04-28 02:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":56192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:50:02] local.INFO: GPS data processed {"connection_id":56192,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:50:02] local.INFO: Acknowledgment sent {"connection_id":56192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:50:05] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cea990012d42d18006678a10000a006e2d..."} 
[2026-04-28 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cea990012d42d18006678a10000a006e2d..."} 
[2026-04-28 02:50:05] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cea990012d42d18006678a10000a006e2d..."} 
[2026-04-28 02:50:05] local.INFO: Packet analysis {"connection_id":56192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:50:05] local.INFO: Extracted packet for processing {"connection_id":56192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ce"} 
[2026-04-28 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":759353728,"raw_latitude":107448848,"longitude_deg":75.9353728,"latitude_deg":10.7448848,"altitude":10,"angle":110,"satellites":45,"speed":53,"hex_longitude":"2d42d180","hex_latitude":"06678a10","is_valid_coordinates":true} 
[2026-04-28 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995121152001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281683239674839040,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4806255623586490368,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324698000,"timestamp_ms":1777324698000,"timestamp_seconds":1777324698,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cea990"} 
[2026-04-28 02:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995121152001,"66":27463,"222":206,"80":60416,"24":53,"16":281683239674839040,"45":4806255623586490368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-28 02:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995121152001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:50:05] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-28 02:50:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281683239674839040,"km_value":281683239674839.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4806255623586490368,"description":"Unknown IO ID 45"} 
[2026-04-28 02:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995121152001,"power":27463,"unknown_222":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4806255623586490368}} 
[2026-04-28 02:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":56192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:50:05] local.INFO: GPS data processed {"connection_id":56192,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:50:05] local.INFO: Acknowledgment sent {"connection_id":56192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:50:36] local.INFO: TCP Data received {"connection_id":56192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0cfedc8012d4415800666aab0000b009c2a..."} 
[2026-04-28 02:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0cfedc8012d4415800666aab0000b009c2a..."} 
[2026-04-28 02:50:36] local.INFO: Processing buffer {"connection_id":56192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0cfedc8012d4415800666aab0000b009c2a..."} 
[2026-04-28 02:50:36] local.INFO: Packet analysis {"connection_id":56192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0cf"} 
[2026-04-28 02:50:36] local.INFO: Extracted packet for processing {"connection_id":56192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0cf"} 
[2026-04-28 02:50:36] local.INFO: GPS Element Parsed {"raw_longitude":759436672,"raw_latitude":107391664,"longitude_deg":75.9436672,"latitude_deg":10.7391664,"altitude":11,"angle":156,"satellites":42,"speed":56,"hex_longitude":"2d441580","hex_latitude":"0666aab0","is_valid_coordinates":true} 
[2026-04-28 02:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995142144001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281688440880234496,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4901183059468826624,"note":"Value kept but may cause issues"} 
[2026-04-28 02:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777324781000,"timestamp_ms":1777324781000,"timestamp_seconds":1777324781,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0cfedc8"} 
[2026-04-28 02:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 02:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995142144001,"66":27332,"235":206,"80":60416,"24":56,"16":281688440880234496,"45":4901183059468826624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995142144001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:50:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:50:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281688440880234496,"km_value":281688440880234.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4901183059468826624,"description":"Unknown IO ID 45"} 
[2026-04-28 02:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995142144001,"power":27332,"unknown_235":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4901183059468826624}} 
[2026-04-28 02:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":56192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:50:36] local.INFO: GPS data processed {"connection_id":56192,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:50:36] local.INFO: Acknowledgment sent {"connection_id":56192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:50:59] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:59] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:50:59] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:51:03] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:03] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:03] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:51:05] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d00920012d4422c0066685a0000a00a32b..."} 
[2026-04-28 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d00920012d4422c0066685a0000a00a32b..."} 
[2026-04-28 02:51:05] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d00920012d4422c0066685a0000a00a32b..."} 
[2026-04-28 02:51:05] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:05] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:05] local.INFO: GPS Element Parsed {"raw_longitude":759440064,"raw_latitude":107382176,"longitude_deg":75.9440064,"latitude_deg":10.7382176,"altitude":10,"angle":163,"satellites":43,"speed":58,"hex_longitude":"2d4422c0","hex_latitude":"066685a0","is_valid_coordinates":true} 
[2026-04-28 02:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995143936001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281688926211538944,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4905968134070644736,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324788000,"timestamp_ms":1777324788000,"timestamp_seconds":1777324788,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d00920"} 
[2026-04-28 02:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 02:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995143936001,"66":27213,"235":206,"80":60416,"24":58,"16":281688926211538944,"45":4905968134070644736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995143936001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281688926211538944,"km_value":281688926211538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4905968134070644736,"description":"Unknown IO ID 45"} 
[2026-04-28 02:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995143936001,"power":27213,"unknown_235":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4905968134070644736}} 
[2026-04-28 02:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:51:05] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:51:05] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:51:05] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d02478012d442d8006665f28000a00a42d..."} 
[2026-04-28 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d02478012d442d8006665f28000a00a42d..."} 
[2026-04-28 02:51:05] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d02478012d442d8006665f28000a00a42d..."} 
[2026-04-28 02:51:05] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:05] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:05] local.INFO: GPS Element Parsed {"raw_longitude":759442816,"raw_latitude":107372328,"longitude_deg":75.9442816,"latitude_deg":10.7372328,"altitude":10,"angle":164,"satellites":45,"speed":57,"hex_longitude":"2d442d80","hex_latitude":"06665f28","is_valid_coordinates":true} 
[2026-04-28 02:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995145728001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281689424427745280,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4909697677509632000,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777324795000,"timestamp_ms":1777324795000,"timestamp_seconds":1777324795,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d02478"} 
[2026-04-28 02:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 02:51:05] 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-04-28 02:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995145728001,"66":27245,"235":206,"80":60416,"24":57,"16":281689424427745280,"45":4909697677509632000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995145728001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281689424427745280,"km_value":281689424427745.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4909697677509632000,"description":"Unknown IO ID 45"} 
[2026-04-28 02:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995145728001,"power":27245,"unknown_235":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4909697677509632000}} 
[2026-04-28 02:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:51:05] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:51:05] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:51:36] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d03fd0012d44380006663a98000a00a12b..."} 
[2026-04-28 02:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d03fd0012d44380006663a98000a00a12b..."} 
[2026-04-28 02:51:36] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d03fd0012d44380006663a98000a00a12b..."} 
[2026-04-28 02:51:36] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:36] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":759445504,"raw_latitude":107362968,"longitude_deg":75.9445504,"latitude_deg":10.7362968,"altitude":10,"angle":161,"satellites":43,"speed":54,"hex_longitude":"2d443800","hex_latitude":"06663a98","is_valid_coordinates":true} 
[2026-04-28 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995147520001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281689892579180544,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4912723533506750464,"note":"Value kept but may cause issues"} 
[2026-04-28 02:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777324802000,"timestamp_ms":1777324802000,"timestamp_seconds":1777324802,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d03fd0"} 
[2026-04-28 02:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 02:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995147520001,"66":27376,"235":206,"80":60416,"24":54,"16":281689892579180544,"45":4912723533506750464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995147520001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:51:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:51:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281689892579180544,"km_value":281689892579180.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4912723533506750464,"description":"Unknown IO ID 45"} 
[2026-04-28 02:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995147520001,"power":27376,"unknown_235":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4912723533506750464}} 
[2026-04-28 02:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:51:36] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:51:36] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:51:53] local.INFO: TCP Data received {"connection_id":56036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:53] local.INFO: Processing buffer {"connection_id":56036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:53] local.INFO: IMEI packet received {"connection_id":56036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":56036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:51:54] local.INFO: TCP Data received {"connection_id":56036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:54] local.INFO: Processing buffer {"connection_id":56036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:54] local.INFO: IMEI packet received {"connection_id":56036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":56036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:51:59] local.INFO: TCP Data received {"connection_id":56036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:59] local.INFO: Processing buffer {"connection_id":56036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:51:59] local.INFO: IMEI packet received {"connection_id":56036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:52:00] local.INFO: TCP Data received {"connection_id":56036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d05b28012d44440006661908000a009f2e..."} 
[2026-04-28 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d05b28012d44440006661908000a009f2e..."} 
[2026-04-28 02:52:00] local.INFO: Processing buffer {"connection_id":56036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d05b28012d44440006661908000a009f2e..."} 
[2026-04-28 02:52:00] local.INFO: Packet analysis {"connection_id":56036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:52:00] local.INFO: Extracted packet for processing {"connection_id":56036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d0"} 
[2026-04-28 02:52:00] local.INFO: GPS Element Parsed {"raw_longitude":759448576,"raw_latitude":107354376,"longitude_deg":75.9448576,"latitude_deg":10.7354376,"altitude":10,"angle":159,"satellites":46,"speed":49,"hex_longitude":"2d444400","hex_latitude":"06661908","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995149312001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281690334960812032,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4915679020759816192,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324809000,"timestamp_ms":1777324809000,"timestamp_seconds":1777324809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d05b28"} 
[2026-04-28 02:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:52: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-04-28 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:52:00] 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-04-28 02: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-04-28 02:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995149312001,"66":27267,"235":206,"80":60416,"24":49,"16":281690334960812032,"45":4915679020759816192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-28 02:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995149312001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:52:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 02:52:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281690334960812032,"km_value":281690334960812.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4915679020759816192,"description":"Unknown IO ID 45"} 
[2026-04-28 02:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995149312001,"power":27267,"unknown_235":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":4915679020759816192}} 
[2026-04-28 02:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":56036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:52:00] local.INFO: GPS data processed {"connection_id":56036,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:52:00] local.INFO: Acknowledgment sent {"connection_id":56036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:52:31] local.INFO: TCP Data received {"connection_id":56036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d1a730012d44e98006649a30000a009e2c..."} 
[2026-04-28 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d1a730012d44e98006649a30000a009e2c..."} 
[2026-04-28 02:52:31] local.INFO: Processing buffer {"connection_id":56036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d1a730012d44e98006649a30000a009e2c..."} 
[2026-04-28 02:52:31] local.INFO: Packet analysis {"connection_id":56036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:52:31] local.INFO: Extracted packet for processing {"connection_id":56036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":759490944,"raw_latitude":107256368,"longitude_deg":75.9490944,"latitude_deg":10.7256368,"altitude":10,"angle":158,"satellites":44,"speed":61,"hex_longitude":"2d44e980","hex_latitude":"06649a30","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995171328001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281695501806469120,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4961840916915331072,"note":"Value kept but may cause issues"} 
[2026-04-28 02:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777324894000,"timestamp_ms":1777324894000,"timestamp_seconds":1777324894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d1a730"} 
[2026-04-28 02:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 02:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995171328001,"66":27115,"205":206,"80":60416,"24":61,"16":281695501806469120,"45":4961840916915331072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-28 02:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995171328001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:52:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281695501806469120,"km_value":281695501806469.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4961840916915331072,"description":"Unknown IO ID 45"} 
[2026-04-28 02:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995171328001,"power":27115,"cell_id":206,"unknown_80":60416,"ignition":61,"odometer":null,"unknown_45":4961840916915331072}} 
[2026-04-28 02:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":56036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:52:31] local.INFO: GPS data processed {"connection_id":56036,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:52:31] local.INFO: Acknowledgment sent {"connection_id":56036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:52:53] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:53] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:53] local.INFO: IMEI packet received {"connection_id":56271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:52:54] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:54] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:54] local.INFO: IMEI packet received {"connection_id":56271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":56271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:52:59] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:59] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:52:59] local.INFO: IMEI packet received {"connection_id":56271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:53:00] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d1bea0012d44f580066478d8000b00a12d..."} 
[2026-04-28 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d1bea0012d44f580066478d8000b00a12d..."} 
[2026-04-28 02:53:00] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d1bea0012d44f580066478d8000b00a12d..."} 
[2026-04-28 02:53:00] local.INFO: Packet analysis {"connection_id":56271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:53:00] local.INFO: Extracted packet for processing {"connection_id":56271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:53:00] local.INFO: GPS Element Parsed {"raw_longitude":759494016,"raw_latitude":107247832,"longitude_deg":75.9494016,"latitude_deg":10.7247832,"altitude":11,"angle":161,"satellites":45,"speed":58,"hex_longitude":"2d44f580","hex_latitude":"066478d8","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995172864001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281695939893133312,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965640829098668032,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324900000,"timestamp_ms":1777324900000,"timestamp_seconds":1777324900,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d1bea0"} 
[2026-04-28 02:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:53: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-04-28 02: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-04-28 02:53:00] 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-04-28 02: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-04-28 02:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995172864001,"66":27300,"205":206,"80":60416,"24":58,"16":281695939893133312,"45":4965640829098668032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-28 02:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995172864001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:53:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281695939893133312,"km_value":281695939893133.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965640829098668032,"description":"Unknown IO ID 45"} 
[2026-04-28 02:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995172864001,"power":27300,"cell_id":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4965640829098668032}} 
[2026-04-28 02:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:53:00] local.INFO: GPS data processed {"connection_id":56271,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:53:00] local.INFO: Acknowledgment sent {"connection_id":56271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:53:01] local.INFO: TCP Data received {"connection_id":56270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:01] local.INFO: Processing buffer {"connection_id":56270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:01] local.INFO: IMEI packet received {"connection_id":56270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":56270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:53:31] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d1d9f8012d45020006645408000b00a02e..."} 
[2026-04-28 02:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d1d9f8012d45020006645408000b00a02e..."} 
[2026-04-28 02:53:31] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d1d9f8012d45020006645408000b00a02e..."} 
[2026-04-28 02:53:31] local.INFO: Packet analysis {"connection_id":56271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:53:31] local.INFO: Extracted packet for processing {"connection_id":56271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d1"} 
[2026-04-28 02:53:31] local.INFO: GPS Element Parsed {"raw_longitude":759497216,"raw_latitude":107238408,"longitude_deg":75.9497216,"latitude_deg":10.7238408,"altitude":11,"angle":160,"satellites":46,"speed":54,"hex_longitude":"2d450200","hex_latitude":"06645408","is_valid_coordinates":true} 
[2026-04-28 02:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995174400001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281696420929470464,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969018528817010688,"note":"Value kept but may cause issues"} 
[2026-04-28 02:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777324907000,"timestamp_ms":1777324907000,"timestamp_seconds":1777324907,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d1d9f8"} 
[2026-04-28 02:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 02:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995174400001,"66":27343,"205":206,"80":60416,"24":54,"16":281696420929470464,"45":4969018528817010688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-28 02:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995174400001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:53:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281696420929470464,"km_value":281696420929470.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4969018528817010688,"description":"Unknown IO ID 45"} 
[2026-04-28 02:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995174400001,"power":27343,"cell_id":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4969018528817010688}} 
[2026-04-28 02:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":56271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:53:31] local.INFO: GPS data processed {"connection_id":56271,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:53:31] local.INFO: Acknowledgment sent {"connection_id":56271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:53:41] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:41] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:53:41] local.INFO: IMEI packet received {"connection_id":56916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":56916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:53:54] local.INFO: TCP Data received {"connection_id":56037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:54] local.INFO: Processing buffer {"connection_id":56037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:54] local.INFO: IMEI packet received {"connection_id":56037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":56037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:53:57] local.INFO: TCP Data received {"connection_id":56037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:57] local.INFO: Processing buffer {"connection_id":56037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:53:57] local.INFO: IMEI packet received {"connection_id":56037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":56037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:54:00] local.INFO: TCP Data received {"connection_id":56037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:00] local.INFO: Processing buffer {"connection_id":56037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:00] local.INFO: IMEI packet received {"connection_id":56037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":56037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:54:00] local.INFO: TCP Data received {"connection_id":56037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d30aa8012d4595c00662d9e0000b00932c..."} 
[2026-04-28 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d30aa8012d4595c00662d9e0000b00932c..."} 
[2026-04-28 02:54:00] local.INFO: Processing buffer {"connection_id":56037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d30aa8012d4595c00662d9e0000b00932c..."} 
[2026-04-28 02:54:00] local.INFO: Packet analysis {"connection_id":56037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:54:00] local.INFO: Extracted packet for processing {"connection_id":56037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":759535040,"raw_latitude":107141600,"longitude_deg":75.953504,"latitude_deg":10.71416,"altitude":11,"angle":147,"satellites":44,"speed":58,"hex_longitude":"2d4595c0","hex_latitude":"0662d9e0","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995194624001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281701463221075968,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5008917606740537344,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324985000,"timestamp_ms":1777324985000,"timestamp_seconds":1777324985,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d30aa8"} 
[2026-04-28 02:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:54: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-04-28 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:54:00] 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-04-28 02: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-04-28 02:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995194624001,"66":27397,"206":206,"80":60416,"24":58,"16":281701463221075968,"45":5008917606740537344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995194624001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:54:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:54:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281701463221075968,"km_value":281701463221075.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5008917606740537344,"description":"Unknown IO ID 45"} 
[2026-04-28 02:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995194624001,"power":27397,"unknown_206":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":5008917606740537344}} 
[2026-04-28 02:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":56037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:54:00] local.INFO: GPS data processed {"connection_id":56037,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:54:00] local.INFO: Acknowledgment sent {"connection_id":56037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:54:31] local.INFO: TCP Data received {"connection_id":56037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d32600012d45aa800662b860000b00942c..."} 
[2026-04-28 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d32600012d45aa800662b860000b00942c..."} 
[2026-04-28 02:54:31] local.INFO: Processing buffer {"connection_id":56037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d32600012d45aa800662b860000b00942c..."} 
[2026-04-28 02:54:31] local.INFO: Packet analysis {"connection_id":56037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:54:31] local.INFO: Extracted packet for processing {"connection_id":56037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":759540352,"raw_latitude":107133024,"longitude_deg":75.9540352,"latitude_deg":10.7133024,"altitude":11,"angle":148,"satellites":44,"speed":55,"hex_longitude":"2d45aa80","hex_latitude":"0662b860","is_valid_coordinates":true} 
[2026-04-28 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995196160001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281701948552380416,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5014124893807697920,"note":"Value kept but may cause issues"} 
[2026-04-28 02:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777324992000,"timestamp_ms":1777324992000,"timestamp_seconds":1777324992,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d32600"} 
[2026-04-28 02:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995196160001,"66":27321,"206":206,"80":60416,"24":55,"16":281701948552380416,"45":5014124893807697920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995196160001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:54:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:54:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281701948552380416,"km_value":281701948552380.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5014124893807697920,"description":"Unknown IO ID 45"} 
[2026-04-28 02:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995196160001,"power":27321,"unknown_206":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5014124893807697920}} 
[2026-04-28 02:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":56037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:54:31] local.INFO: GPS data processed {"connection_id":56037,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:54:31] local.INFO: Acknowledgment sent {"connection_id":56037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:54:54] local.INFO: TCP Data received {"connection_id":56195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:54] local.INFO: Processing buffer {"connection_id":56195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:54] local.INFO: IMEI packet received {"connection_id":56195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:54:59] local.INFO: TCP Data received {"connection_id":56195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:59] local.INFO: Processing buffer {"connection_id":56195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:54:59] local.INFO: IMEI packet received {"connection_id":56195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:55:00] local.INFO: TCP Data received {"connection_id":56195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d34158012d45bec0066297d0000b00942d..."} 
[2026-04-28 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d34158012d45bec0066297d0000b00942d..."} 
[2026-04-28 02:55:00] local.INFO: Processing buffer {"connection_id":56195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d34158012d45bec0066297d0000b00942d..."} 
[2026-04-28 02:55:00] local.INFO: Packet analysis {"connection_id":56195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:55:00] local.INFO: Extracted packet for processing {"connection_id":56195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:55:00] local.INFO: GPS Element Parsed {"raw_longitude":759545536,"raw_latitude":107124688,"longitude_deg":75.9545536,"latitude_deg":10.7124688,"altitude":11,"angle":148,"satellites":45,"speed":56,"hex_longitude":"2d45bec0","hex_latitude":"066297d0","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995197952001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281702420998782976,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5019965499572248576,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777324999000,"timestamp_ms":1777324999000,"timestamp_seconds":1777324999,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d34158"} 
[2026-04-28 02:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 02:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995197952001,"66":27376,"206":206,"80":60416,"24":56,"16":281702420998782976,"45":5019965499572248576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995197952001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:55:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:55:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281702420998782976,"km_value":281702420998783.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5019965499572248576,"description":"Unknown IO ID 45"} 
[2026-04-28 02:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995197952001,"power":27376,"unknown_206":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5019965499572248576}} 
[2026-04-28 02:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:55:00] local.INFO: GPS data processed {"connection_id":56195,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:55:00] local.INFO: Acknowledgment sent {"connection_id":56195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:55:32] local.INFO: TCP Data received {"connection_id":56195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d35cb0012d45d200066275b0000b00982a..."} 
[2026-04-28 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d35cb0012d45d200066275b0000b00982a..."} 
[2026-04-28 02:55:32] local.INFO: Processing buffer {"connection_id":56195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d35cb0012d45d200066275b0000b00982a..."} 
[2026-04-28 02:55:32] local.INFO: Packet analysis {"connection_id":56195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:55:32] local.INFO: Extracted packet for processing {"connection_id":56195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d3"} 
[2026-04-28 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":759550464,"raw_latitude":107115952,"longitude_deg":75.9550464,"latitude_deg":10.7115952,"altitude":11,"angle":152,"satellites":42,"speed":57,"hex_longitude":"2d45d200","hex_latitude":"066275b0","is_valid_coordinates":true} 
[2026-04-28 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995199744001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281702906330087424,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5025665367848505344,"note":"Value kept but may cause issues"} 
[2026-04-28 02:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325006000,"timestamp_ms":1777325006000,"timestamp_seconds":1777325006,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d35cb0"} 
[2026-04-28 02:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 02:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995199744001,"66":27180,"206":206,"80":60416,"24":57,"16":281702906330087424,"45":5025665367848505344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995199744001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:55:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:55:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281702906330087424,"km_value":281702906330087.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5025665367848505344,"description":"Unknown IO ID 45"} 
[2026-04-28 02:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995199744001,"power":27180,"unknown_206":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":5025665367848505344}} 
[2026-04-28 02:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":56195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:55:32] local.INFO: GPS data processed {"connection_id":56195,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:55:32] local.INFO: Acknowledgment sent {"connection_id":56195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:55:55] local.INFO: TCP Data received {"connection_id":56038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:55] local.INFO: Processing buffer {"connection_id":56038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:55] local.INFO: IMEI packet received {"connection_id":56038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":56038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:55:56] local.INFO: TCP Data received {"connection_id":56038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:56] local.INFO: Processing buffer {"connection_id":56038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:56] local.INFO: IMEI packet received {"connection_id":56038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":56038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:55:59] local.INFO: TCP Data received {"connection_id":56038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:59] local.INFO: Processing buffer {"connection_id":56038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:55:59] local.INFO: IMEI packet received {"connection_id":56038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:56:01] local.INFO: TCP Data received {"connection_id":56038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d49530012d4677c00660fee8000a009e2a..."} 
[2026-04-28 02:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d49530012d4677c00660fee8000a009e2a..."} 
[2026-04-28 02:56:01] local.INFO: Processing buffer {"connection_id":56038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d49530012d4677c00660fee8000a009e2a..."} 
[2026-04-28 02:56:01] local.INFO: Packet analysis {"connection_id":56038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d4"} 
[2026-04-28 02:56:01] local.INFO: Extracted packet for processing {"connection_id":56038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d4"} 
[2026-04-28 02:56:01] local.INFO: GPS Element Parsed {"raw_longitude":759592896,"raw_latitude":107020008,"longitude_deg":75.9592896,"latitude_deg":10.7020008,"altitude":10,"angle":158,"satellites":42,"speed":49,"hex_longitude":"2d4677c0","hex_latitude":"0660fee8","is_valid_coordinates":true} 
[2026-04-28 02:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995220224001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281707978686464000,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5074079063818067968,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777325086000,"timestamp_ms":1777325086000,"timestamp_seconds":1777325086,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d49530"} 
[2026-04-28 02:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 02:56:01] 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-04-28 02:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995220224001,"66":27397,"206":206,"80":60416,"24":49,"16":281707978686464000,"45":5074079063818067968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995220224001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:56:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:56:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281707978686464000,"km_value":281707978686464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5074079063818067968,"description":"Unknown IO ID 45"} 
[2026-04-28 02:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995220224001,"power":27397,"unknown_206":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":5074079063818067968}} 
[2026-04-28 02:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":56038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:56:01] local.INFO: GPS data processed {"connection_id":56038,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:56:01] local.INFO: Acknowledgment sent {"connection_id":56038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:56:33] local.INFO: TCP Data received {"connection_id":56038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d4b470012d4684c00660dbf8000d00a02e..."} 
[2026-04-28 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d4b470012d4684c00660dbf8000d00a02e..."} 
[2026-04-28 02:56:33] local.INFO: Processing buffer {"connection_id":56038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d4b470012d4684c00660dbf8000d00a02e..."} 
[2026-04-28 02:56:33] local.INFO: Packet analysis {"connection_id":56038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d4"} 
[2026-04-28 02:56:33] local.INFO: Extracted packet for processing {"connection_id":56038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d4"} 
[2026-04-28 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":759596224,"raw_latitude":107011064,"longitude_deg":75.9596224,"latitude_deg":10.7011064,"altitude":13,"angle":160,"satellites":46,"speed":45,"hex_longitude":"2d4684c0","hex_latitude":"0660dbf8","is_valid_coordinates":true} 
[2026-04-28 02:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995222016001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281708442542931968,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5077738238513178624,"note":"Value kept but may cause issues"} 
[2026-04-28 02:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777325094000,"timestamp_ms":1777325094000,"timestamp_seconds":1777325094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d4b470"} 
[2026-04-28 02:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 02:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995222016001,"66":27365,"206":206,"80":60416,"24":45,"16":281708442542931968,"45":5077738238513178624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-28 02:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995222016001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:56:33] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-28 02:56:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281708442542931968,"km_value":281708442542931.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5077738238513178624,"description":"Unknown IO ID 45"} 
[2026-04-28 02:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995222016001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":5077738238513178624}} 
[2026-04-28 02:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":56038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:56:33] local.INFO: GPS data processed {"connection_id":56038,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:56:33] local.INFO: Acknowledgment sent {"connection_id":56038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:57:10] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:10] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:10] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:57:12] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:12] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:12] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:57:15] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:15] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:15] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:57:15] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d5ecf0012d470840065f5988000a00952c..."} 
[2026-04-28 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d5ecf0012d470840065f5988000a00952c..."} 
[2026-04-28 02:57:15] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d5ecf0012d470840065f5988000a00952c..."} 
[2026-04-28 02:57:15] local.INFO: Packet analysis {"connection_id":56918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d5"} 
[2026-04-28 02:57:15] local.INFO: Extracted packet for processing {"connection_id":56918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d5"} 
[2026-04-28 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":759629888,"raw_latitude":106912136,"longitude_deg":75.9629888,"latitude_deg":10.6912136,"altitude":10,"angle":149,"satellites":44,"speed":52,"hex_longitude":"2d470840","hex_latitude":"065f5988","is_valid_coordinates":true} 
[2026-04-28 02:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995242752001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281713523489243136,"note":"Value kept but may cause issues"} 
[2026-04-28 02:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5113204085553186816,"note":"Value kept but may cause issues"} 
[2026-04-28 02:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777325174000,"timestamp_ms":1777325174000,"timestamp_seconds":1777325174,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d5ecf0"} 
[2026-04-28 02:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 02:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:57: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-04-28 02:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995242752001,"66":27365,"241":206,"80":60416,"24":52,"16":281713523489243136,"45":5113204085553186816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-04-28 02:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995242752001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:57:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-04-28 02:57:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281713523489243136,"km_value":281713523489243.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5113204085553186816,"description":"Unknown IO ID 45"} 
[2026-04-28 02:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995242752001,"power":27365,"unknown_241":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5113204085553186816}} 
[2026-04-28 02:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":56918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:57:15] local.INFO: GPS data processed {"connection_id":56918,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:57:15] local.INFO: Acknowledgment sent {"connection_id":56918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:57:54] local.INFO: TCP Data received {"connection_id":56039,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: Processing buffer {"connection_id":56039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: IMEI packet received {"connection_id":56039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:57:54] local.INFO: TCP Data received {"connection_id":56039,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: Processing buffer {"connection_id":56039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:54] local.INFO: IMEI packet received {"connection_id":56039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:57:59] local.INFO: TCP Data received {"connection_id":56039,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:59] local.INFO: Processing buffer {"connection_id":56039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:57:59] local.INFO: IMEI packet received {"connection_id":56039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:58:01] local.INFO: TCP Data received {"connection_id":56039,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d60848012d471b40065f3960000b00952b..."} 
[2026-04-28 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d60848012d471b40065f3960000b00952b..."} 
[2026-04-28 02:58:01] local.INFO: Processing buffer {"connection_id":56039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d60848012d471b40065f3960000b00952b..."} 
[2026-04-28 02:58:01] local.INFO: Packet analysis {"connection_id":56039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d6"} 
[2026-04-28 02:58:01] local.INFO: Extracted packet for processing {"connection_id":56039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d6"} 
[2026-04-28 02:58:01] local.INFO: GPS Element Parsed {"raw_longitude":759634752,"raw_latitude":106903904,"longitude_deg":75.9634752,"latitude_deg":10.6903904,"altitude":11,"angle":149,"satellites":43,"speed":54,"hex_longitude":"2d471b40","hex_latitude":"065f3960","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281713983050743808,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5118411372620253184,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777325181000,"timestamp_ms":1777325181000,"timestamp_seconds":1777325181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d60848"} 
[2026-04-28 02:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 02:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995244544001,"66":27365,"241":206,"80":60416,"24":54,"16":281713983050743808,"45":5118411372620253184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-04-28 02:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:58:01] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-04-28 02:58:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-28 02:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281713983050743808,"km_value":281713983050743.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5118411372620253184,"description":"Unknown IO ID 45"} 
[2026-04-28 02:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995244544001,"power":27365,"unknown_241":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5118411372620253184}} 
[2026-04-28 02:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:58:01] local.INFO: GPS data processed {"connection_id":56039,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:58:01] local.INFO: Acknowledgment sent {"connection_id":56039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:58:32] local.INFO: TCP Data received {"connection_id":56039,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d73128012d47ce00065dc1a0000d009b2b..."} 
[2026-04-28 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d73128012d47ce00065dc1a0000d009b2b..."} 
[2026-04-28 02:58:32] local.INFO: Processing buffer {"connection_id":56039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d73128012d47ce00065dc1a0000d009b2b..."} 
[2026-04-28 02:58:32] local.INFO: Packet analysis {"connection_id":56039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:58:32] local.INFO: Extracted packet for processing {"connection_id":56039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":759680512,"raw_latitude":106807712,"longitude_deg":75.9680512,"latitude_deg":10.6807712,"altitude":13,"angle":155,"satellites":43,"speed":50,"hex_longitude":"2d47ce00","hex_latitude":"065dc1a0","is_valid_coordinates":true} 
[2026-04-28 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995264000001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281719137011499008,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5169569449612759040,"note":"Value kept but may cause issues"} 
[2026-04-28 02:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325257000,"timestamp_ms":1777325257000,"timestamp_seconds":1777325257,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d73128"} 
[2026-04-28 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 02:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995264000001,"66":27441,"114":206,"78":62464,"24":50,"16":281719137011499008,"45":5169569449612759040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-04-28 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995264000001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:58:32] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-28 02:58:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281719137011499008,"km_value":281719137011499.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5169569449612759040,"description":"Unknown IO ID 45"} 
[2026-04-28 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995264000001,"power":27441,"unknown_114":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5169569449612759040}} 
[2026-04-28 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:58:32] local.INFO: GPS data processed {"connection_id":56039,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:58:32] local.INFO: Acknowledgment sent {"connection_id":56039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:58:54] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:54] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:54] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:58:59] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:59] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:58:59] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:59:00] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d75068012d47de40065d9f30000f009b2d..."} 
[2026-04-28 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d75068012d47de40065d9f30000f009b2d..."} 
[2026-04-28 02:59:00] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d75068012d47de40065d9f30000f009b2d..."} 
[2026-04-28 02:59:00] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:59:00] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":759684672,"raw_latitude":106798896,"longitude_deg":75.9684672,"latitude_deg":10.6798896,"altitude":15,"angle":155,"satellites":45,"speed":47,"hex_longitude":"2d47de40","hex_latitude":"065d9f30","is_valid_coordinates":true} 
[2026-04-28 02: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-04-28 02:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995265792001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281719609457901568,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5174073049238052864,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777325265000,"timestamp_ms":1777325265000,"timestamp_seconds":1777325265,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d75068"} 
[2026-04-28 02:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-28 02:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02: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-04-28 02:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995265792001,"66":27343,"114":206,"78":62464,"24":47,"16":281719609457901568,"45":5174073049238052864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-04-28 02:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995265792001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:59:00] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-28 02:59:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 02:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281719609457901568,"km_value":281719609457901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5174073049238052864,"description":"Unknown IO ID 45"} 
[2026-04-28 02:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995265792001,"power":27343,"unknown_114":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5174073049238052864}} 
[2026-04-28 02:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:59:00] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:59:00] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:59:06] local.INFO: TCP Data received {"connection_id":56274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:06] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:06] local.INFO: IMEI packet received {"connection_id":56274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":56274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:59:31] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d76fa8012d47ee40065d7da80011009a2c..."} 
[2026-04-28 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d76fa8012d47ee40065d7da80011009a2c..."} 
[2026-04-28 02:59:31] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d76fa8012d47ee40065d7da80011009a2c..."} 
[2026-04-28 02:59:31] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:59:31] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":759688768,"raw_latitude":106790312,"longitude_deg":75.9688768,"latitude_deg":10.6790312,"altitude":17,"angle":154,"satellites":44,"speed":47,"hex_longitude":"2d47ee40","hex_latitude":"065d7da8","is_valid_coordinates":true} 
[2026-04-28 02:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 02:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995267840001,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281720069019402240,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5178647017607344128,"note":"Value kept but may cause issues"} 
[2026-04-28 02:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 02:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777325273000,"timestamp_ms":1777325273000,"timestamp_seconds":1777325273,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d76fa8"} 
[2026-04-28 02:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 02:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 02:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 02:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 02:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 02:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 02:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 02:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 02:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 02:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 02:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 02:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995267840001,"66":27397,"114":206,"78":62464,"24":47,"16":281720069019402240,"45":5178647017607344128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-04-28 02:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 02:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 02:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995267840001,"description":"Unknown IO ID 0"} 
[2026-04-28 02:59:31] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-28 02:59:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 02:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281720069019402240,"km_value":281720069019402.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 02:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5178647017607344128,"description":"Unknown IO ID 45"} 
[2026-04-28 02:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995267840001,"power":27397,"unknown_114":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5178647017607344128}} 
[2026-04-28 02:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 02:59:31] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 02:59:31] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 02:59:41] local.INFO: TCP Data received {"connection_id":56196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:41] local.INFO: Processing buffer {"connection_id":56196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 02:59:41] local.INFO: IMEI packet received {"connection_id":56196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 02:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":56196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:59:55] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 02:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 02:59:55] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:55] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 02:59:59] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:59] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 02:59:59] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 02:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:00:00] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d78ee8012d47fec0065d5b900011009a2c..."} 
[2026-04-28 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d78ee8012d47fec0065d5b900011009a2c..."} 
[2026-04-28 03:00:00] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d78ee8012d47fec0065d5b900011009a2c..."} 
[2026-04-28 03:00:00] local.INFO: Packet analysis {"connection_id":56197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 03:00:00] local.INFO: Extracted packet for processing {"connection_id":56197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d7"} 
[2026-04-28 03:00:00] local.INFO: GPS Element Parsed {"raw_longitude":759692992,"raw_latitude":106781584,"longitude_deg":75.9692992,"latitude_deg":10.6781584,"altitude":17,"angle":154,"satellites":44,"speed":49,"hex_longitude":"2d47fec0","hex_latitude":"065d5b90","is_valid_coordinates":true} 
[2026-04-28 03:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995269888001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281720537170837504,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5183150617232517120,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777325281000,"timestamp_ms":1777325281000,"timestamp_seconds":1777325281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d78ee8"} 
[2026-04-28 03:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:00: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-04-28 03:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995269888001,"66":27463,"114":206,"78":62464,"24":49,"16":281720537170837504,"45":5183150617232517120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-04-28 03:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995269888001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:00:00] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-28 03:00:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281720537170837504,"km_value":281720537170837.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5183150617232517120,"description":"Unknown IO ID 45"} 
[2026-04-28 03:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995269888001,"power":27463,"unknown_114":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5183150617232517120}} 
[2026-04-28 03:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":56197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:00:00] local.INFO: GPS data processed {"connection_id":56197,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:00:00] local.INFO: Acknowledgment sent {"connection_id":56197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:00:32] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d8f260012d48c640065ba6c0000a00902b..."} 
[2026-04-28 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d8f260012d48c640065ba6c0000a00902b..."} 
[2026-04-28 03:00:32] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d8f260012d48c640065ba6c0000a00902b..."} 
[2026-04-28 03:00:32] local.INFO: Packet analysis {"connection_id":56197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d8"} 
[2026-04-28 03:00:32] local.INFO: Extracted packet for processing {"connection_id":56197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d8"} 
[2026-04-28 03:00:32] local.INFO: GPS Element Parsed {"raw_longitude":759744064,"raw_latitude":106669760,"longitude_deg":75.9744064,"latitude_deg":10.666976,"altitude":10,"angle":144,"satellites":43,"speed":50,"hex_longitude":"2d48c640","hex_latitude":"065ba6c0","is_valid_coordinates":true} 
[2026-04-28 03:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995293440001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281726554420019200,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5237897500173764608,"note":"Value kept but may cause issues"} 
[2026-04-28 03:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325372000,"timestamp_ms":1777325372000,"timestamp_seconds":1777325372,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d8f260"} 
[2026-04-28 03:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995293440001,"66":27397,"64":206,"78":62464,"24":50,"16":281726554420019200,"45":5237897500173764608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-04-28 03:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995293440001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:00:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 03:00:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281726554420019200,"km_value":281726554420019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5237897500173764608,"description":"Unknown IO ID 45"} 
[2026-04-28 03:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995293440001,"power":27397,"unknown_64":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5237897500173764608}} 
[2026-04-28 03:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":56197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:00:32] local.INFO: GPS data processed {"connection_id":56197,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:00:32] local.INFO: Acknowledgment sent {"connection_id":56197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:01:03] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:03] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:03] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:01:04] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:04] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:04] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:01:10] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:10] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:10] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:01:13] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0d911a0012d48dd80065b87880009008e2c..."} 
[2026-04-28 03:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0d911a0012d48dd80065b87880009008e2c..."} 
[2026-04-28 03:01:13] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0d911a0012d48dd80065b87880009008e2c..."} 
[2026-04-28 03:01:13] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0d9"} 
[2026-04-28 03:01:13] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0d9"} 
[2026-04-28 03:01:13] local.INFO: GPS Element Parsed {"raw_longitude":759750016,"raw_latitude":106661768,"longitude_deg":75.9750016,"latitude_deg":10.6661768,"altitude":9,"angle":142,"satellites":44,"speed":47,"hex_longitude":"2d48dd80","hex_latitude":"065b8788","is_valid_coordinates":true} 
[2026-04-28 03:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995295232001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281727031161389056,"note":"Value kept but may cause issues"} 
[2026-04-28 03:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5243949212171157504,"note":"Value kept but may cause issues"} 
[2026-04-28 03:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777325380000,"timestamp_ms":1777325380000,"timestamp_seconds":1777325380,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0d911a0"} 
[2026-04-28 03:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:01: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-04-28 03:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995295232001,"66":27343,"64":206,"78":62464,"24":47,"16":281727031161389056,"45":5243949212171157504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-04-28 03:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995295232001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:01:13] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 03:01:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281727031161389056,"km_value":281727031161389.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5243949212171157504,"description":"Unknown IO ID 45"} 
[2026-04-28 03:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995295232001,"power":27343,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5243949212171157504}} 
[2026-04-28 03:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:01:13] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:01:13] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:01:54] local.INFO: TCP Data received {"connection_id":56198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:54] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:54] local.INFO: IMEI packet received {"connection_id":56198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":56198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:01:57] local.INFO: TCP Data received {"connection_id":56198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:57] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:57] local.INFO: IMEI packet received {"connection_id":56198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":56198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:01:59] local.INFO: TCP Data received {"connection_id":56198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:59] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:01:59] local.INFO: IMEI packet received {"connection_id":56198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":56198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:02:02] local.INFO: TCP Data received {"connection_id":56198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0da32b0012d495140065a3760000d00a42e..."} 
[2026-04-28 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0da32b0012d495140065a3760000d00a42e..."} 
[2026-04-28 03:02:02] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0da32b0012d495140065a3760000d00a42e..."} 
[2026-04-28 03:02:02] local.INFO: Packet analysis {"connection_id":56198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:02:02] local.INFO: Extracted packet for processing {"connection_id":56198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:02:02] local.INFO: GPS Element Parsed {"raw_longitude":759779648,"raw_latitude":106575712,"longitude_deg":75.9779648,"latitude_deg":10.6575712,"altitude":13,"angle":164,"satellites":46,"speed":43,"hex_longitude":"2d495140","hex_latitude":"065a3760","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995316224001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281731536582082560,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283074233909862400,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777325454000,"timestamp_ms":1777325454000,"timestamp_seconds":1777325454,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0da32b0"} 
[2026-04-28 03:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 03:02:02] 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-04-28 03:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995316224001,"66":27310,"131":206,"78":62464,"24":43,"16":281731536582082560,"45":5283074233909862400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-04-28 03:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995316224001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:02:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 03:02:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281731536582082560,"km_value":281731536582082.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283074233909862400,"description":"Unknown IO ID 45"} 
[2026-04-28 03:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995316224001,"power":27310,"unknown_131":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5283074233909862400}} 
[2026-04-28 03:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":56198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:02:02] local.INFO: GPS data processed {"connection_id":56198,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:02:02] local.INFO: Acknowledgment sent {"connection_id":56198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:02:34] local.INFO: TCP Data received {"connection_id":56198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0da4e08012d495cc0065a1ca0000f00982d..."} 
[2026-04-28 03:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0da4e08012d495cc0065a1ca0000f00982d..."} 
[2026-04-28 03:02:34] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0da4e08012d495cc0065a1ca0000f00982d..."} 
[2026-04-28 03:02:34] local.INFO: Packet analysis {"connection_id":56198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:02:34] local.INFO: Extracted packet for processing {"connection_id":56198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:02:34] local.INFO: GPS Element Parsed {"raw_longitude":759782592,"raw_latitude":106568864,"longitude_deg":75.9782592,"latitude_deg":10.6568864,"altitude":15,"angle":152,"satellites":45,"speed":40,"hex_longitude":"2d495cc0","hex_latitude":"065a1ca0","is_valid_coordinates":true} 
[2026-04-28 03:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995316224001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281731897359335424,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283074233909862400,"note":"Value kept but may cause issues"} 
[2026-04-28 03:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777325461000,"timestamp_ms":1777325461000,"timestamp_seconds":1777325461,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0da4e08"} 
[2026-04-28 03:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 03:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995316224001,"66":27463,"131":206,"78":62464,"24":40,"16":281731897359335424,"45":5283074233909862400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-04-28 03:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995316224001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:02:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 03:02:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281731897359335424,"km_value":281731897359335.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283074233909862400,"description":"Unknown IO ID 45"} 
[2026-04-28 03:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995316224001,"power":27463,"unknown_131":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5283074233909862400}} 
[2026-04-28 03:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":56198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:02:34] local.INFO: GPS data processed {"connection_id":56198,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:02:34] local.INFO: Acknowledgment sent {"connection_id":56198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:02:56] local.INFO: TCP Data received {"connection_id":56275,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:56] local.INFO: Processing buffer {"connection_id":56275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:56] local.INFO: IMEI packet received {"connection_id":56275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":56275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:02:57] local.INFO: TCP Data received {"connection_id":56275,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:57] local.INFO: Processing buffer {"connection_id":56275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:57] local.INFO: IMEI packet received {"connection_id":56275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:02:59] local.INFO: TCP Data received {"connection_id":56275,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:59] local.INFO: Processing buffer {"connection_id":56275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:02:59] local.INFO: IMEI packet received {"connection_id":56275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:03:00] local.INFO: TCP Data received {"connection_id":56275,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0da7130012d496fc00659fea8001100922c..."} 
[2026-04-28 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0da7130012d496fc00659fea8001100922c..."} 
[2026-04-28 03:03:00] local.INFO: Processing buffer {"connection_id":56275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0da7130012d496fc00659fea8001100922c..."} 
[2026-04-28 03:03:00] local.INFO: Packet analysis {"connection_id":56275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:03:00] local.INFO: Extracted packet for processing {"connection_id":56275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0da"} 
[2026-04-28 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":759787456,"raw_latitude":106561192,"longitude_deg":75.9787456,"latitude_deg":10.6561192,"altitude":17,"angle":146,"satellites":44,"speed":39,"hex_longitude":"2d496fc0","hex_latitude":"0659fea8","is_valid_coordinates":true} 
[2026-04-28 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995318016001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281732335445999616,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5286311196140281856,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777325470000,"timestamp_ms":1777325470000,"timestamp_seconds":1777325470,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0da7130"} 
[2026-04-28 03:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:03: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-04-28 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995318016001,"66":27343,"131":206,"78":62464,"24":39,"16":281732335445999616,"45":5286311196140281856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-04-28 03:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995318016001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:03:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 03:03:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281732335445999616,"km_value":281732335445999.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5286311196140281856,"description":"Unknown IO ID 45"} 
[2026-04-28 03:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995318016001,"power":27343,"unknown_131":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5286311196140281856}} 
[2026-04-28 03:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":56275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:03:01] local.INFO: GPS data processed {"connection_id":56275,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:03:01] local.INFO: Acknowledgment sent {"connection_id":56275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:03:32] local.INFO: TCP Data received {"connection_id":56275,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dbccd8012d4a448006587948000a00982c..."} 
[2026-04-28 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dbccd8012d4a448006587948000a00982c..."} 
[2026-04-28 03:03:32] local.INFO: Processing buffer {"connection_id":56275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dbccd8012d4a448006587948000a00982c..."} 
[2026-04-28 03:03:32] local.INFO: Packet analysis {"connection_id":56275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0db"} 
[2026-04-28 03:03:32] local.INFO: Extracted packet for processing {"connection_id":56275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0db"} 
[2026-04-28 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":759841920,"raw_latitude":106461512,"longitude_deg":75.984192,"latitude_deg":10.6461512,"altitude":10,"angle":152,"satellites":44,"speed":52,"hex_longitude":"2d4a4480","hex_latitude":"06587948","is_valid_coordinates":true} 
[2026-04-28 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995341312001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281737824414203904,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5346828316107661312,"note":"Value kept but may cause issues"} 
[2026-04-28 03:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325559000,"timestamp_ms":1777325559000,"timestamp_seconds":1777325559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dbccd8"} 
[2026-04-28 03:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 03:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995341312001,"66":27365,"130":206,"78":62464,"24":52,"16":281737824414203904,"45":5346828316107661312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-04-28 03:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995341312001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:03:32] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 03:03:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281737824414203904,"km_value":281737824414203.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5346828316107661312,"description":"Unknown IO ID 45"} 
[2026-04-28 03:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995341312001,"power":27365,"unknown_130":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5346828316107661312}} 
[2026-04-28 03:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":56275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:03:32] local.INFO: GPS data processed {"connection_id":56275,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:03:32] local.INFO: Acknowledgment sent {"connection_id":56275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:03:58] local.INFO: TCP Data received {"connection_id":56200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:58] local.INFO: Processing buffer {"connection_id":56200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:58] local.INFO: IMEI packet received {"connection_id":56200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":56200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:03:59] local.INFO: TCP Data received {"connection_id":56200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:59] local.INFO: Processing buffer {"connection_id":56200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:03:59] local.INFO: IMEI packet received {"connection_id":56200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:04:07] local.INFO: TCP Data received {"connection_id":56200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:04:07] local.INFO: Processing buffer {"connection_id":56200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:04:07] local.INFO: IMEI packet received {"connection_id":56200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":56200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:04:08] local.INFO: TCP Data received {"connection_id":56200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dbe830012d4a558006585988000a00972c..."} 
[2026-04-28 03:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dbe830012d4a558006585988000a00972c..."} 
[2026-04-28 03:04:08] local.INFO: Processing buffer {"connection_id":56200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dbe830012d4a558006585988000a00972c..."} 
[2026-04-28 03:04:08] local.INFO: Packet analysis {"connection_id":56200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0db"} 
[2026-04-28 03:04:08] local.INFO: Extracted packet for processing {"connection_id":56200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0db"} 
[2026-04-28 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":759846272,"raw_latitude":106453384,"longitude_deg":75.9846272,"latitude_deg":10.6453384,"altitude":10,"angle":151,"satellites":44,"speed":52,"hex_longitude":"2d4a5580","hex_latitude":"06585988","is_valid_coordinates":true} 
[2026-04-28 03:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995343104001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281738271090802688,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5351543021965494272,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777325566000,"timestamp_ms":1777325566000,"timestamp_seconds":1777325566,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dbe830"} 
[2026-04-28 03:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995343104001,"66":27376,"130":206,"78":62464,"24":52,"16":281738271090802688,"45":5351543021965494272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-04-28 03:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995343104001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:04:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 03:04:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281738271090802688,"km_value":281738271090802.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5351543021965494272,"description":"Unknown IO ID 45"} 
[2026-04-28 03:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995343104001,"power":27376,"unknown_130":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5351543021965494272}} 
[2026-04-28 03:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":56200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:04:08] local.INFO: GPS data processed {"connection_id":56200,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:04:08] local.INFO: Acknowledgment sent {"connection_id":56200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:04:10] local.INFO: TCP Data received {"connection_id":56200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dc0388012d4a65c006583960000a009a2d..."} 
[2026-04-28 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dc0388012d4a65c006583960000a009a2d..."} 
[2026-04-28 03:04:10] local.INFO: Processing buffer {"connection_id":56200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dc0388012d4a65c006583960000a009a2d..."} 
[2026-04-28 03:04:10] local.INFO: Packet analysis {"connection_id":56200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0dc"} 
[2026-04-28 03:04:10] local.INFO: Extracted packet for processing {"connection_id":56200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0dc"} 
[2026-04-28 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":759850432,"raw_latitude":106445152,"longitude_deg":75.9850432,"latitude_deg":10.6445152,"altitude":10,"angle":154,"satellites":45,"speed":52,"hex_longitude":"2d4a65c0","hex_latitude":"06583960","is_valid_coordinates":true} 
[2026-04-28 03:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995344896001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281738717767401472,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5356328096567494656,"note":"Value kept but may cause issues"} 
[2026-04-28 03:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777325573000,"timestamp_ms":1777325573000,"timestamp_seconds":1777325573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dc0388"} 
[2026-04-28 03:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:04:10] 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-04-28 03:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995344896001,"66":27397,"130":206,"78":62464,"24":52,"16":281738717767401472,"45":5356328096567494656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-04-28 03:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995344896001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:04:10] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 03:04:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281738717767401472,"km_value":281738717767401.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5356328096567494656,"description":"Unknown IO ID 45"} 
[2026-04-28 03:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995344896001,"power":27397,"unknown_130":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5356328096567494656}} 
[2026-04-28 03:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":56200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:04:10] local.INFO: GPS data processed {"connection_id":56200,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:04:10] local.INFO: Acknowledgment sent {"connection_id":56200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:04:59] local.INFO: TCP Data received {"connection_id":56201,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:04:59] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:04:59] local.INFO: IMEI packet received {"connection_id":56201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:05:02] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:02] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:02] local.INFO: IMEI packet received {"connection_id":56922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":56922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:05:04] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:04] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:04] local.INFO: IMEI packet received {"connection_id":56922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":56922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:05:08] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:08] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:08] local.INFO: IMEI packet received {"connection_id":56922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":56922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:05:10] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dd4ba8012d4b14400656cb38000b00992b..."} 
[2026-04-28 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dd4ba8012d4b14400656cb38000b00992b..."} 
[2026-04-28 03:05:10] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dd4ba8012d4b14400656cb38000b00992b..."} 
[2026-04-28 03:05:10] local.INFO: Packet analysis {"connection_id":56922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:05:10] local.INFO: Extracted packet for processing {"connection_id":56922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":759895104,"raw_latitude":106351416,"longitude_deg":75.9895104,"latitude_deg":10.6351416,"altitude":11,"angle":153,"satellites":43,"speed":57,"hex_longitude":"2d4b1440","hex_latitude":"0656cb38","is_valid_coordinates":true} 
[2026-04-28 03:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995366400001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281743738584170496,"note":"Value kept but may cause issues"} 
[2026-04-28 03:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5405234373747095552,"note":"Value kept but may cause issues"} 
[2026-04-28 03:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777325657000,"timestamp_ms":1777325657000,"timestamp_seconds":1777325657,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dd4ba8"} 
[2026-04-28 03:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:05:10] 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-04-28 03:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995366400001,"66":27332,"63":206,"78":62464,"24":57,"16":281743738584170496,"45":5405234373747095552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-04-28 03:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995366400001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:05:10] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 03:05:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281743738584170496,"km_value":281743738584170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5405234373747095552,"description":"Unknown IO ID 45"} 
[2026-04-28 03:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995366400001,"power":27332,"unknown_63":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5405234373747095552}} 
[2026-04-28 03:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":56922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:05:10] local.INFO: GPS data processed {"connection_id":56922,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:05:10] local.INFO: Acknowledgment sent {"connection_id":56922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:05:35] local.INFO: TCP Data received {"connection_id":56041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:05:35] local.INFO: Processing buffer {"connection_id":56041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:05:35] local.INFO: IMEI packet received {"connection_id":56041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:05:54] local.INFO: TCP Data received {"connection_id":56277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:54] local.INFO: Processing buffer {"connection_id":56277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:54] local.INFO: IMEI packet received {"connection_id":56277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":56277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:05:59] local.INFO: TCP Data received {"connection_id":56277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:59] local.INFO: Processing buffer {"connection_id":56277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:05:59] local.INFO: IMEI packet received {"connection_id":56277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:06:00] local.INFO: TCP Data received {"connection_id":56277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dd6700012d4b26000656a798000a009a2c..."} 
[2026-04-28 03:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dd6700012d4b26000656a798000a009a2c..."} 
[2026-04-28 03:06:00] local.INFO: Processing buffer {"connection_id":56277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dd6700012d4b26000656a798000a009a2c..."} 
[2026-04-28 03:06:00] local.INFO: Packet analysis {"connection_id":56277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:06:00] local.INFO: Extracted packet for processing {"connection_id":56277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:06:00] local.INFO: GPS Element Parsed {"raw_longitude":759899648,"raw_latitude":106342296,"longitude_deg":75.9899648,"latitude_deg":10.6342296,"altitude":10,"angle":154,"satellites":44,"speed":56,"hex_longitude":"2d4b2600","hex_latitude":"0656a798","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995368192001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281744228210442240,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5410019448348948480,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777325664000,"timestamp_ms":1777325664000,"timestamp_seconds":1777325664,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dd6700"} 
[2026-04-28 03:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:06: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-04-28 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995368192001,"66":27343,"63":206,"78":62464,"24":56,"16":281744228210442240,"45":5410019448348948480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-04-28 03:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995368192001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:06:00] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 03:06:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281744228210442240,"km_value":281744228210442.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5410019448348948480,"description":"Unknown IO ID 45"} 
[2026-04-28 03:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995368192001,"power":27343,"unknown_63":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5410019448348948480}} 
[2026-04-28 03:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":56277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:06:00] local.INFO: GPS data processed {"connection_id":56277,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:06:00] local.INFO: Acknowledgment sent {"connection_id":56277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:06:31] local.INFO: TCP Data received {"connection_id":56277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0dd8258012d4b3600065684d8000b009f2b..."} 
[2026-04-28 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0dd8258012d4b3600065684d8000b009f2b..."} 
[2026-04-28 03:06:32] local.INFO: Processing buffer {"connection_id":56277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0dd8258012d4b3600065684d8000b009f2b..."} 
[2026-04-28 03:06:32] local.INFO: Packet analysis {"connection_id":56277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:06:32] local.INFO: Extracted packet for processing {"connection_id":56277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0dd"} 
[2026-04-28 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":759903744,"raw_latitude":106333400,"longitude_deg":75.9903744,"latitude_deg":10.63334,"altitude":11,"angle":159,"satellites":43,"speed":53,"hex_longitude":"2d4b3600","hex_latitude":"065684d8","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995369984001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281744704951812096,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5415015629183227904,"note":"Value kept but may cause issues"} 
[2026-04-28 03:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325671000,"timestamp_ms":1777325671000,"timestamp_seconds":1777325671,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0dd8258"} 
[2026-04-28 03:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995369984001,"66":27365,"145":206,"78":62464,"24":53,"16":281744704951812096,"45":5415015629183227904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-04-28 03:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995369984001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:06:32] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-04-28 03:06:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281744704951812096,"km_value":281744704951812.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5415015629183227904,"description":"Unknown IO ID 45"} 
[2026-04-28 03:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995369984001,"power":27365,"unknown_145":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5415015629183227904}} 
[2026-04-28 03:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":56277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:06:32] local.INFO: GPS data processed {"connection_id":56277,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:06:32] local.INFO: Acknowledgment sent {"connection_id":56277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:06:54] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:54] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:54] local.INFO: IMEI packet received {"connection_id":56042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":56042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:06:59] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:59] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:06:59] local.INFO: IMEI packet received {"connection_id":56042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:07:00] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:00] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:00] local.INFO: IMEI packet received {"connection_id":56042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":56042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:07:05] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:05] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:05] local.INFO: IMEI packet received {"connection_id":56042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":56042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:07:06] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0debad8012d4bddc006551020000a00972b..."} 
[2026-04-28 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0debad8012d4bddc006551020000a00972b..."} 
[2026-04-28 03:07:06] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0debad8012d4bddc006551020000a00972b..."} 
[2026-04-28 03:07:06] local.INFO: Packet analysis {"connection_id":56042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:06] local.INFO: Extracted packet for processing {"connection_id":56042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":759946688,"raw_latitude":106237984,"longitude_deg":75.9946688,"latitude_deg":10.6237984,"altitude":10,"angle":151,"satellites":43,"speed":45,"hex_longitude":"2d4bddc0","hex_latitude":"06551020","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995390208001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281749794488057856,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461599737804285952,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777325751000,"timestamp_ms":1777325751000,"timestamp_seconds":1777325751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0debad8"} 
[2026-04-28 03:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:07:06] 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-04-28 03: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-04-28 03:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07: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-04-28 03:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995390208001,"66":27267,"145":206,"78":62464,"24":45,"16":281749794488057856,"45":5461599737804285952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-04-28 03:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995390208001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:07:06] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-04-28 03:07:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281749794488057856,"km_value":281749794488057.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461599737804285952,"description":"Unknown IO ID 45"} 
[2026-04-28 03:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995390208001,"power":27267,"unknown_145":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5461599737804285952}} 
[2026-04-28 03:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":56042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:07:06] local.INFO: GPS data processed {"connection_id":56042,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:07:06] local.INFO: Acknowledgment sent {"connection_id":56042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:07:07] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0deda18012d4bef000654ef80000a00992c..."} 
[2026-04-28 03:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0deda18012d4bef000654ef80000a00992c..."} 
[2026-04-28 03:07:07] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0deda18012d4bef000654ef80000a00992c..."} 
[2026-04-28 03:07:07] local.INFO: Packet analysis {"connection_id":56042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:07] local.INFO: Extracted packet for processing {"connection_id":56042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:07] local.INFO: GPS Element Parsed {"raw_longitude":759951104,"raw_latitude":106229632,"longitude_deg":75.9951104,"latitude_deg":10.6229632,"altitude":10,"angle":153,"satellites":44,"speed":47,"hex_longitude":"2d4bef00","hex_latitude":"0654ef80","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995392256001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281750249754591232,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5466736656127107072,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777325759000,"timestamp_ms":1777325759000,"timestamp_seconds":1777325759,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0deda18"} 
[2026-04-28 03:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:07: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-04-28 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 03:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995392256001,"66":27300,"145":206,"78":62464,"24":47,"16":281750249754591232,"45":5466736656127107072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-04-28 03:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995392256001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:07:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-04-28 03:07:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281750249754591232,"km_value":281750249754591.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5466736656127107072,"description":"Unknown IO ID 45"} 
[2026-04-28 03:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995392256001,"power":27300,"unknown_145":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5466736656127107072}} 
[2026-04-28 03:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":56042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:07:07] local.INFO: GPS data processed {"connection_id":56042,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:07:07] local.INFO: Acknowledgment sent {"connection_id":56042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:07:10] local.INFO: TCP Data received {"connection_id":56042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0def958012d4c01400654ce00000a00972e..."} 
[2026-04-28 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0def958012d4c01400654ce00000a00972e..."} 
[2026-04-28 03:07:10] local.INFO: Processing buffer {"connection_id":56042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0def958012d4c01400654ce00000a00972e..."} 
[2026-04-28 03:07:10] local.INFO: Packet analysis {"connection_id":56042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:10] local.INFO: Extracted packet for processing {"connection_id":56042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0de"} 
[2026-04-28 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":759955776,"raw_latitude":106221056,"longitude_deg":75.9955776,"latitude_deg":10.6221056,"altitude":10,"angle":151,"satellites":46,"speed":49,"hex_longitude":"2d4c0140","hex_latitude":"0654ce00","is_valid_coordinates":true} 
[2026-04-28 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995394304001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281750722200993792,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5471592099473227776,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777325767000,"timestamp_ms":1777325767000,"timestamp_seconds":1777325767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0def958"} 
[2026-04-28 03:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 03:07:10] 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-04-28 03:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995394304001,"66":27365,"247":206,"78":62464,"24":49,"16":281750722200993792,"45":5471592099473227776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-28 03:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995394304001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:07:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281750722200993792,"km_value":281750722200993.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5471592099473227776,"description":"Unknown IO ID 45"} 
[2026-04-28 03:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995394304001,"power":27365,"internal_battery_voltage":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5471592099473227776}} 
[2026-04-28 03:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":56042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:07:10] local.INFO: GPS data processed {"connection_id":56042,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:07:10] local.INFO: Acknowledgment sent {"connection_id":56042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:07:54] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:54] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:54] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:07:57] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:57] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:07:57] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:07:58] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0df1898012d4c14800654ab88000900952b..."} 
[2026-04-28 03:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0df1898012d4c14800654ab88000900952b..."} 
[2026-04-28 03:07:58] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0df1898012d4c14800654ab88000900952b..."} 
[2026-04-28 03:07:58] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0df"} 
[2026-04-28 03:07:58] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0df"} 
[2026-04-28 03:07:58] local.INFO: GPS Element Parsed {"raw_longitude":759960704,"raw_latitude":106212232,"longitude_deg":75.9960704,"latitude_deg":10.6212232,"altitude":9,"angle":149,"satellites":43,"speed":51,"hex_longitude":"2d4c1480","hex_latitude":"0654ab88","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995396352001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281751207532298240,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5476729017796001792,"note":"Value kept but may cause issues"} 
[2026-04-28 03:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777325775000,"timestamp_ms":1777325775000,"timestamp_seconds":1777325775,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0df1898"} 
[2026-04-28 03:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995396352001,"66":27376,"247":206,"78":62464,"24":51,"16":281751207532298240,"45":5476729017796001792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-28 03:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995396352001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:07:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281751207532298240,"km_value":281751207532298.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5476729017796001792,"description":"Unknown IO ID 45"} 
[2026-04-28 03:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995396352001,"power":27376,"internal_battery_voltage":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5476729017796001792}} 
[2026-04-28 03:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:07:58] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:07:58] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:08:30] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e04d30012d4cd5c006537978000a00902b..."} 
[2026-04-28 03:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e04d30012d4cd5c006537978000a00902b..."} 
[2026-04-28 03:08:30] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e04d30012d4cd5c006537978000a00902b..."} 
[2026-04-28 03:08:30] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:08:30] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:08:30] local.INFO: GPS Element Parsed {"raw_longitude":760010176,"raw_latitude":106133880,"longitude_deg":76.0010176,"latitude_deg":10.613388,"altitude":10,"angle":144,"satellites":43,"speed":57,"hex_longitude":"2d4cd5c0","hex_latitude":"06537978","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995416832001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281755712952991744,"note":"Value kept but may cause issues"} 
[2026-04-28 03:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5530138894606524416,"note":"Value kept but may cause issues"} 
[2026-04-28 03:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777325854000,"timestamp_ms":1777325854000,"timestamp_seconds":1777325854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e04d30"} 
[2026-04-28 03:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-28 03:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995416832001,"66":27234,"245":206,"78":62464,"24":57,"16":281755712952991744,"45":5530138894606524416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,78,24,16,45]} 
[2026-04-28 03:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995416832001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:08:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281755712952991744,"km_value":281755712952991.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5530138894606524416,"description":"Unknown IO ID 45"} 
[2026-04-28 03:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995416832001,"power":27234,"geofence_id":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5530138894606524416}} 
[2026-04-28 03:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:08:30] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:08:30] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:08:55] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: IMEI packet received {"connection_id":56203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":56203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:08:55] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:55] local.INFO: IMEI packet received {"connection_id":56203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":56203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:08:59] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:59] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:08:59] local.INFO: IMEI packet received {"connection_id":56203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":56203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:09:01] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e06888012d4ced4006535a400009008f2c..."} 
[2026-04-28 03:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e06888012d4ced4006535a400009008f2c..."} 
[2026-04-28 03:09:01] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e06888012d4ced4006535a400009008f2c..."} 
[2026-04-28 03:09:01] local.INFO: Packet analysis {"connection_id":56203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:09:01] local.INFO: Extracted packet for processing {"connection_id":56203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:09:01] local.INFO: GPS Element Parsed {"raw_longitude":760016192,"raw_latitude":106125888,"longitude_deg":76.0016192,"latitude_deg":10.6125888,"altitude":9,"angle":143,"satellites":44,"speed":55,"hex_longitude":"2d4ced40","hex_latitude":"06535a40","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995418624001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281756193989328896,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536542450324699136,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777325861000,"timestamp_ms":1777325861000,"timestamp_seconds":1777325861,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e06888"} 
[2026-04-28 03:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 03:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995418624001,"66":27463,"61":206,"78":62464,"24":55,"16":281756193989328896,"45":5536542450324699136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995418624001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:09:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:09:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281756193989328896,"km_value":281756193989328.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536542450324699136,"description":"Unknown IO ID 45"} 
[2026-04-28 03:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995418624001,"power":27463,"unknown_61":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5536542450324699136}} 
[2026-04-28 03:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":56203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:09:01] local.INFO: GPS data processed {"connection_id":56203,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:09:01] local.INFO: Acknowledgment sent {"connection_id":56203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:09:33] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e083e0012d4d044006533cf80009008e2d..."} 
[2026-04-28 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e083e0012d4d044006533cf80009008e2d..."} 
[2026-04-28 03:09:33] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e083e0012d4d044006533cf80009008e2d..."} 
[2026-04-28 03:09:33] local.INFO: Packet analysis {"connection_id":56203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:09:33] local.INFO: Extracted packet for processing {"connection_id":56203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:09:33] local.INFO: GPS Element Parsed {"raw_longitude":760022080,"raw_latitude":106118392,"longitude_deg":76.002208,"latitude_deg":10.6118392,"altitude":9,"angle":142,"satellites":45,"speed":52,"hex_longitude":"2d4d0440","hex_latitude":"06533cf8","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995420416001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281756653550829568,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5543157112275353600,"note":"Value kept but may cause issues"} 
[2026-04-28 03:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777325868000,"timestamp_ms":1777325868000,"timestamp_seconds":1777325868,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e083e0"} 
[2026-04-28 03:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:09:33] 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-04-28 03: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-04-28 03:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995420416001,"66":27397,"61":206,"78":62464,"24":52,"16":281756653550829568,"45":5543157112275353600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995420416001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:09:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:09:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281756653550829568,"km_value":281756653550829.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5543157112275353600,"description":"Unknown IO ID 45"} 
[2026-04-28 03:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995420416001,"power":27397,"unknown_61":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5543157112275353600}} 
[2026-04-28 03:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":56203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:09:33] local.INFO: GPS data processed {"connection_id":56203,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:09:33] local.INFO: Acknowledgment sent {"connection_id":56203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:09:59] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:09:59] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:09:59] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:10:00] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:00] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:00] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:10:05] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:05] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:05] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:10:06] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e0a320012d4d1ac006531d18000a00932d..."} 
[2026-04-28 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e0a320012d4d1ac006531d18000a00932d..."} 
[2026-04-28 03:10:06] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e0a320012d4d1ac006531d18000a00932d..."} 
[2026-04-28 03:10:06] local.INFO: Packet analysis {"connection_id":56204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:10:06] local.INFO: Extracted packet for processing {"connection_id":56204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e0"} 
[2026-04-28 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":760027840,"raw_latitude":106110232,"longitude_deg":76.002784,"latitude_deg":10.6110232,"altitude":10,"angle":147,"satellites":45,"speed":47,"hex_longitude":"2d4d1ac0","hex_latitude":"06531d18","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995422208001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281757134587166720,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5549631036737779712,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777325876000,"timestamp_ms":1777325876000,"timestamp_seconds":1777325876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e0a320"} 
[2026-04-28 03:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:10: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-04-28 03:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995422208001,"66":27441,"61":206,"78":62464,"24":47,"16":281757134587166720,"45":5549631036737779712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995422208001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:10:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:10:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281757134587166720,"km_value":281757134587166.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5549631036737779712,"description":"Unknown IO ID 45"} 
[2026-04-28 03:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995422208001,"power":27441,"unknown_61":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5549631036737779712}} 
[2026-04-28 03:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":56204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:10:06] local.INFO: GPS data processed {"connection_id":56204,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:10:06] local.INFO: Acknowledgment sent {"connection_id":56204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:10:37] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e229c0012d4df68006516d000007009d2c..."} 
[2026-04-28 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e229c0012d4df68006516d000007009d2c..."} 
[2026-04-28 03:10:37] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e229c0012d4df68006516d000007009d2c..."} 
[2026-04-28 03:10:37] local.INFO: Packet analysis {"connection_id":56204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:10:37] local.INFO: Extracted packet for processing {"connection_id":56204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":760084096,"raw_latitude":105999616,"longitude_deg":76.0084096,"latitude_deg":10.5999616,"altitude":7,"angle":157,"satellites":44,"speed":54,"hex_longitude":"2d4df680","hex_latitude":"06516d00","is_valid_coordinates":true} 
[2026-04-28 03:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995448064001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281763138951446528,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613666593911373824,"note":"Value kept but may cause issues"} 
[2026-04-28 03:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777325976000,"timestamp_ms":1777325976000,"timestamp_seconds":1777325976,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e229c0"} 
[2026-04-28 03:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-04-28 03:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995448064001,"66":27321,"61":206,"78":62464,"24":54,"16":281763138951446528,"45":5613666593911373824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995448064001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:10:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:10:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281763138951446528,"km_value":281763138951446.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613666593911373824,"description":"Unknown IO ID 45"} 
[2026-04-28 03:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995448064001,"power":27321,"unknown_61":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5613666593911373824}} 
[2026-04-28 03:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":56204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:10:37] local.INFO: GPS data processed {"connection_id":56204,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:10:37] local.INFO: Acknowledgment sent {"connection_id":56204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:10:55] local.INFO: TCP Data received {"connection_id":56279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: IMEI packet received {"connection_id":56279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:10:55] local.INFO: TCP Data received {"connection_id":56279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:55] local.INFO: IMEI packet received {"connection_id":56279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:10:59] local.INFO: TCP Data received {"connection_id":56279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:59] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:10:59] local.INFO: IMEI packet received {"connection_id":56279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:11:00] local.INFO: TCP Data received {"connection_id":56279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e24518012d4e044006514b580007009d2c..."} 
[2026-04-28 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e24518012d4e044006514b580007009d2c..."} 
[2026-04-28 03:11:00] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e24518012d4e044006514b580007009d2c..."} 
[2026-04-28 03:11:00] local.INFO: Packet analysis {"connection_id":56279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:11:00] local.INFO: Extracted packet for processing {"connection_id":56279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:11:00] local.INFO: GPS Element Parsed {"raw_longitude":760087616,"raw_latitude":105991000,"longitude_deg":76.0087616,"latitude_deg":10.5991,"altitude":7,"angle":157,"satellites":44,"speed":51,"hex_longitude":"2d4e0440","hex_latitude":"06514b58","is_valid_coordinates":true} 
[2026-04-28 03:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995449856001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281763585628045312,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617818349815529472,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777325983000,"timestamp_ms":1777325983000,"timestamp_seconds":1777325983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e24518"} 
[2026-04-28 03:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:11: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-04-28 03:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995449856001,"66":27300,"61":206,"78":62464,"24":51,"16":281763585628045312,"45":5617818349815529472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995449856001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:11:00] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:11:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281763585628045312,"km_value":281763585628045.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617818349815529472,"description":"Unknown IO ID 45"} 
[2026-04-28 03:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995449856001,"power":27300,"unknown_61":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5617818349815529472}} 
[2026-04-28 03:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:11:00] local.INFO: GPS data processed {"connection_id":56279,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:11:00] local.INFO: Acknowledgment sent {"connection_id":56279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:11:06] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:06] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:06] local.INFO: IMEI packet received {"connection_id":56926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":56926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:11:32] local.INFO: TCP Data received {"connection_id":56279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e26458012d4e1300065127780008009d2c..."} 
[2026-04-28 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e26458012d4e1300065127780008009d2c..."} 
[2026-04-28 03:11:32] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e26458012d4e1300065127780008009d2c..."} 
[2026-04-28 03:11:32] local.INFO: Packet analysis {"connection_id":56279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:11:32] local.INFO: Extracted packet for processing {"connection_id":56279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e2"} 
[2026-04-28 03:11:32] local.INFO: GPS Element Parsed {"raw_longitude":760091392,"raw_latitude":105981816,"longitude_deg":76.0091392,"latitude_deg":10.5981816,"altitude":8,"angle":157,"satellites":44,"speed":47,"hex_longitude":"2d4e1300","hex_latitude":"06512778","is_valid_coordinates":true} 
[2026-04-28 03:11: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-04-28 03:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995451648001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281764066664382464,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5621688630743095296,"note":"Value kept but may cause issues"} 
[2026-04-28 03:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777325991000,"timestamp_ms":1777325991000,"timestamp_seconds":1777325991,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e26458"} 
[2026-04-28 03:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 03:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:11: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-04-28 03:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995451648001,"66":27300,"61":206,"78":62464,"24":47,"16":281764066664382464,"45":5621688630743095296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-28 03:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995451648001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:11:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 03:11:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281764066664382464,"km_value":281764066664382.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5621688630743095296,"description":"Unknown IO ID 45"} 
[2026-04-28 03:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995451648001,"power":27300,"unknown_61":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5621688630743095296}} 
[2026-04-28 03:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":56279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:11:32] local.INFO: GPS data processed {"connection_id":56279,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:11:32] local.INFO: Acknowledgment sent {"connection_id":56279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:11:35] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:35] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:11:35] local.INFO: IMEI packet received {"connection_id":56927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:12:04] local.INFO: TCP Data received {"connection_id":56928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:04] local.INFO: Processing buffer {"connection_id":56928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:04] local.INFO: IMEI packet received {"connection_id":56928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":56928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:12:09] local.INFO: TCP Data received {"connection_id":56928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:09] local.INFO: Processing buffer {"connection_id":56928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:09] local.INFO: IMEI packet received {"connection_id":56928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":56928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:12:10] local.INFO: TCP Data received {"connection_id":56928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:10] local.INFO: Processing buffer {"connection_id":56928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:10] local.INFO: IMEI packet received {"connection_id":56928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":56928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:12:22] local.INFO: TCP Data received {"connection_id":56928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:22] local.INFO: Processing buffer {"connection_id":56928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:12:22] local.INFO: IMEI packet received {"connection_id":56928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":56928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:17:01] local.INFO: TCP Data received {"connection_id":56044,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:01] local.INFO: Processing buffer {"connection_id":56044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:01] local.INFO: IMEI packet received {"connection_id":56044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":56044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:17:14] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:17:14] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:17:14] local.INFO: IMEI packet received {"connection_id":56206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:17:15] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e6e0c8012d505700064e49b8000e007e2a..."} 
[2026-04-28 03:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e6e0c8012d505700064e49b8000e007e2a..."} 
[2026-04-28 03:17:15] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e6e0c8012d505700064e49b8000e007e2a..."} 
[2026-04-28 03:17:15] local.INFO: Packet analysis {"connection_id":56206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e6"} 
[2026-04-28 03:17:15] local.INFO: Extracted packet for processing {"connection_id":56206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e6"} 
[2026-04-28 03:17:15] local.INFO: GPS Element Parsed {"raw_longitude":760239872,"raw_latitude":105793976,"longitude_deg":76.0239872,"latitude_deg":10.5793976,"altitude":14,"angle":126,"satellites":42,"speed":35,"hex_longitude":"2d505700","hex_latitude":"064e49b8","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995526400001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281777552861691904,"note":"Value kept but may cause issues"} 
[2026-04-28 03:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782903423605053440,"note":"Value kept but may cause issues"} 
[2026-04-28 03:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777326285000,"timestamp_ms":1777326285000,"timestamp_seconds":1777326285,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e6e0c8"} 
[2026-04-28 03:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 03:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:17: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-04-28 03:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995526400001,"66":27397,"53":206,"78":62464,"24":35,"16":281777552861691904,"45":5782903423605053440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-04-28 03:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995526400001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:17:15] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-28 03:17:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281777552861691904,"km_value":281777552861691.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782903423605053440,"description":"Unknown IO ID 45"} 
[2026-04-28 03:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995526400001,"power":27397,"unknown_53":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5782903423605053440}} 
[2026-04-28 03:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":56206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:17:15] local.INFO: GPS data processed {"connection_id":56206,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:17:15] local.INFO: Acknowledgment sent {"connection_id":56206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:17:35] local.INFO: TCP Data received {"connection_id":56045,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:35] local.INFO: Processing buffer {"connection_id":56045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:17:35] local.INFO: IMEI packet received {"connection_id":56045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:18:00] local.INFO: TCP Data received {"connection_id":56282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:00] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:00] local.INFO: IMEI packet received {"connection_id":56282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:18:01] local.INFO: TCP Data received {"connection_id":56282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:01] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:01] local.INFO: IMEI packet received {"connection_id":56282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":56282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:18:04] local.INFO: TCP Data received {"connection_id":56282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:04] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:04] local.INFO: IMEI packet received {"connection_id":56282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":56282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:18:06] local.INFO: TCP Data received {"connection_id":56282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e703f0012d5072c0064e3370000d00892b..."} 
[2026-04-28 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e703f0012d5072c0064e3370000d00892b..."} 
[2026-04-28 03:18:06] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e703f0012d5072c0064e3370000d00892b..."} 
[2026-04-28 03:18:06] local.INFO: Packet analysis {"connection_id":56282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e7"} 
[2026-04-28 03:18:06] local.INFO: Extracted packet for processing {"connection_id":56282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e7"} 
[2026-04-28 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":760246976,"raw_latitude":105788272,"longitude_deg":76.0246976,"latitude_deg":10.5788272,"altitude":13,"angle":137,"satellites":43,"speed":41,"hex_longitude":"2d5072c0","hex_latitude":"064e3370","is_valid_coordinates":true} 
[2026-04-28 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995528960001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281777990948356096,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5789095873091319808,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777326294000,"timestamp_ms":1777326294000,"timestamp_seconds":1777326294,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e703f0"} 
[2026-04-28 03:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:18: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-04-28 03:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995528960001,"66":27463,"53":206,"78":62464,"24":41,"16":281777990948356096,"45":5789095873091319808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-04-28 03:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995528960001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:18:06] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-28 03:18:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281777990948356096,"km_value":281777990948356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5789095873091319808,"description":"Unknown IO ID 45"} 
[2026-04-28 03:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995528960001,"power":27463,"unknown_53":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":5789095873091319808}} 
[2026-04-28 03:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":56282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:18:06] local.INFO: GPS data processed {"connection_id":56282,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:18:06] local.INFO: Acknowledgment sent {"connection_id":56282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:18:10] local.INFO: TCP Data received {"connection_id":56282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e71778012d507e40064e2468000b00952c..."} 
[2026-04-28 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e71778012d507e40064e2468000b00952c..."} 
[2026-04-28 03:18:10] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e71778012d507e40064e2468000b00952c..."} 
[2026-04-28 03:18:10] local.INFO: Packet analysis {"connection_id":56282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e7"} 
[2026-04-28 03:18:10] local.INFO: Extracted packet for processing {"connection_id":56282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e7"} 
[2026-04-28 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":760249920,"raw_latitude":105784424,"longitude_deg":76.024992,"latitude_deg":10.5784424,"altitude":11,"angle":149,"satellites":44,"speed":34,"hex_longitude":"2d507e40","hex_latitude":"064e2468","is_valid_coordinates":true} 
[2026-04-28 03:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995531264001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281778227171557376,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796906803693580288,"note":"Value kept but may cause issues"} 
[2026-04-28 03:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777326299000,"timestamp_ms":1777326299000,"timestamp_seconds":1777326299,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e71778"} 
[2026-04-28 03:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:18:10] 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-04-28 03:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995531264001,"66":27343,"53":206,"78":62464,"24":34,"16":281778227171557376,"45":5796906803693580288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-04-28 03:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995531264001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:18:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-28 03:18:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281778227171557376,"km_value":281778227171557.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796906803693580288,"description":"Unknown IO ID 45"} 
[2026-04-28 03:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995531264001,"power":27343,"unknown_53":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5796906803693580288}} 
[2026-04-28 03:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":56282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:18:10] local.INFO: GPS data processed {"connection_id":56282,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:18:10] local.INFO: Acknowledgment sent {"connection_id":56282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:18:59] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:59] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:18:59] local.INFO: IMEI packet received {"connection_id":56933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:19:05] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:05] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:05] local.INFO: IMEI packet received {"connection_id":56933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":56933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:19:06] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e99c00012d511cc0064cdae00009009b2c..."} 
[2026-04-28 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e99c00012d511cc0064cdae00009009b2c..."} 
[2026-04-28 03:19:06] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e99c00012d511cc0064cdae00009009b2c..."} 
[2026-04-28 03:19:06] local.INFO: Packet analysis {"connection_id":56933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:06] local.INFO: Extracted packet for processing {"connection_id":56933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":760290496,"raw_latitude":105700064,"longitude_deg":76.0290496,"latitude_deg":10.5700064,"altitude":9,"angle":155,"satellites":44,"speed":35,"hex_longitude":"2d511cc0","hex_latitude":"064cdae0","is_valid_coordinates":true} 
[2026-04-28 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995572224001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281782792721793024,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840324318830647296,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777326464000,"timestamp_ms":1777326464000,"timestamp_seconds":1777326464,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e99c00"} 
[2026-04-28 03:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 03:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19: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-04-28 03:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995572224001,"66":27365,"49":206,"78":62464,"24":35,"16":281782792721793024,"45":5840324318830647296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-04-28 03:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995572224001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:19:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 03:19:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281782792721793024,"km_value":281782792721793.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840324318830647296,"description":"Unknown IO ID 45"} 
[2026-04-28 03:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995572224001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5840324318830647296}} 
[2026-04-28 03:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":56933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:19:06] local.INFO: GPS data processed {"connection_id":56933,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:19:06] local.INFO: Acknowledgment sent {"connection_id":56933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:19:38] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e9c310012d512d00064cb948000a00992b..."} 
[2026-04-28 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e9c310012d512d00064cb948000a00992b..."} 
[2026-04-28 03:19:38] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e9c310012d512d00064cb948000a00992b..."} 
[2026-04-28 03:19:38] local.INFO: Packet analysis {"connection_id":56933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:38] local.INFO: Extracted packet for processing {"connection_id":56933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:38] local.INFO: GPS Element Parsed {"raw_longitude":760294656,"raw_latitude":105691464,"longitude_deg":76.0294656,"latitude_deg":10.5691464,"altitude":10,"angle":153,"satellites":43,"speed":40,"hex_longitude":"2d512d00","hex_latitude":"064cb948","is_valid_coordinates":true} 
[2026-04-28 03:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995574784001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281783256578260992,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844757549711810560,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777326474000,"timestamp_ms":1777326474000,"timestamp_seconds":1777326474,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e9c310"} 
[2026-04-28 03:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995574784001,"66":27365,"49":206,"78":62464,"24":40,"16":281783256578260992,"45":5844757549711810560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-04-28 03:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995574784001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:19:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-28 03:19:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281783256578260992,"km_value":281783256578261.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844757549711810560,"description":"Unknown IO ID 45"} 
[2026-04-28 03:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995574784001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5844757549711810560}} 
[2026-04-28 03:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":56933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:19:38] local.INFO: GPS data processed {"connection_id":56933,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:19:38] local.INFO: Acknowledgment sent {"connection_id":56933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:19:55] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:55] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:55] local.INFO: IMEI packet received {"connection_id":56208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":56208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:19:57] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:57] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:19:57] local.INFO: IMEI packet received {"connection_id":56208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":56208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:19:58] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0e9e638012d514040064c9948000800902c..."} 
[2026-04-28 03:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0e9e638012d514040064c9948000800902c..."} 
[2026-04-28 03:19:58] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0e9e638012d514040064c9948000800902c..."} 
[2026-04-28 03:19:58] local.INFO: Packet analysis {"connection_id":56208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:58] local.INFO: Extracted packet for processing {"connection_id":56208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0e9"} 
[2026-04-28 03:19:58] local.INFO: GPS Element Parsed {"raw_longitude":760299584,"raw_latitude":105683272,"longitude_deg":76.0299584,"latitude_deg":10.5683272,"altitude":8,"angle":144,"satellites":44,"speed":45,"hex_longitude":"2d514040","hex_latitude":"064c9948","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995577344001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281783720434728960,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5849331518081157120,"note":"Value kept but may cause issues"} 
[2026-04-28 03:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777326483000,"timestamp_ms":1777326483000,"timestamp_seconds":1777326483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0e9e638"} 
[2026-04-28 03:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:19: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-04-28 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995577344001,"66":27343,"50":206,"78":62464,"24":45,"16":281783720434728960,"45":5849331518081157120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-04-28 03:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995577344001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:19:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 03:19:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281783720434728960,"km_value":281783720434728.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5849331518081157120,"description":"Unknown IO ID 45"} 
[2026-04-28 03:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995577344001,"power":27343,"unknown_50":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5849331518081157120}} 
[2026-04-28 03:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":56208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:19:58] local.INFO: GPS data processed {"connection_id":56208,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:19:58] local.INFO: Acknowledgment sent {"connection_id":56208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:20:29] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ea0578012d5155c0064c7b78000500972c..."} 
[2026-04-28 03:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ea0578012d5155c0064c7b78000500972c..."} 
[2026-04-28 03:20:29] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ea0578012d5155c0064c7b78000500972c..."} 
[2026-04-28 03:20:29] local.INFO: Packet analysis {"connection_id":56208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ea"} 
[2026-04-28 03:20:29] local.INFO: Extracted packet for processing {"connection_id":56208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ea"} 
[2026-04-28 03:20:29] local.INFO: GPS Element Parsed {"raw_longitude":760305088,"raw_latitude":105675640,"longitude_deg":76.0305088,"latitude_deg":10.567564,"altitude":5,"angle":151,"satellites":44,"speed":47,"hex_longitude":"2d5155c0","hex_latitude":"064c7b78","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995579648001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281784171406295040,"note":"Value kept but may cause issues"} 
[2026-04-28 03:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854749911380740096,"note":"Value kept but may cause issues"} 
[2026-04-28 03:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777326491000,"timestamp_ms":1777326491000,"timestamp_seconds":1777326491,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ea0578"} 
[2026-04-28 03:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:20:29] 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-04-28 03: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-04-28 03:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995579648001,"66":27376,"50":206,"78":62464,"24":47,"16":281784171406295040,"45":5854749911380740096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-04-28 03:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995579648001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:20:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 03:20:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-28 03:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281784171406295040,"km_value":281784171406295.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854749911380740096,"description":"Unknown IO ID 45"} 
[2026-04-28 03:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995579648001,"power":27376,"unknown_50":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5854749911380740096}} 
[2026-04-28 03:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":56208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:20:29] local.INFO: GPS data processed {"connection_id":56208,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:20:29] local.INFO: Acknowledgment sent {"connection_id":56208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:20:54] local.INFO: TCP Data received {"connection_id":56934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:54] local.INFO: Processing buffer {"connection_id":56934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:54] local.INFO: IMEI packet received {"connection_id":56934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:20:59] local.INFO: TCP Data received {"connection_id":56934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:59] local.INFO: Processing buffer {"connection_id":56934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:20:59] local.INFO: IMEI packet received {"connection_id":56934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:21:00] local.INFO: TCP Data received {"connection_id":56934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0eb8c18012d521440064b1390000700962a..."} 
[2026-04-28 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0eb8c18012d521440064b1390000700962a..."} 
[2026-04-28 03:21:00] local.INFO: Processing buffer {"connection_id":56934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0eb8c18012d521440064b1390000700962a..."} 
[2026-04-28 03:21:00] local.INFO: Packet analysis {"connection_id":56934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:21:00] local.INFO: Extracted packet for processing {"connection_id":56934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:21:00] local.INFO: GPS Element Parsed {"raw_longitude":760353856,"raw_latitude":105583504,"longitude_deg":76.0353856,"latitude_deg":10.5583504,"altitude":7,"angle":150,"satellites":42,"speed":52,"hex_longitude":"2d521440","hex_latitude":"064b1390","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995605504001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281789226582802432,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5909215319350708224,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777326591000,"timestamp_ms":1777326591000,"timestamp_seconds":1777326591,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0eb8c18"} 
[2026-04-28 03:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:21: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-04-28 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995605504001,"66":27365,"95":206,"78":38912,"24":52,"16":281789226582802432,"45":5909215319350708224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-28 03:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995605504001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:21:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-28 03:21:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281789226582802432,"km_value":281789226582802.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5909215319350708224,"description":"Unknown IO ID 45"} 
[2026-04-28 03:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995605504001,"power":27365,"unknown_95":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":5909215319350708224}} 
[2026-04-28 03:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":56934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:21:00] local.INFO: GPS data processed {"connection_id":56934,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:21:00] local.INFO: Acknowledgment sent {"connection_id":56934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:21:31] local.INFO: TCP Data received {"connection_id":56934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0eba770012d522600064af338000900972c..."} 
[2026-04-28 03:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0eba770012d522600064af338000900972c..."} 
[2026-04-28 03:21:31] local.INFO: Processing buffer {"connection_id":56934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0eba770012d522600064af338000900972c..."} 
[2026-04-28 03:21:31] local.INFO: Packet analysis {"connection_id":56934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:21:31] local.INFO: Extracted packet for processing {"connection_id":56934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":760358400,"raw_latitude":105575224,"longitude_deg":76.03584,"latitude_deg":10.5575224,"altitude":9,"angle":151,"satellites":44,"speed":54,"hex_longitude":"2d522600","hex_latitude":"064af338","is_valid_coordinates":true} 
[2026-04-28 03:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995607296001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281789681849335808,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5914422606417858560,"note":"Value kept but may cause issues"} 
[2026-04-28 03:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777326598000,"timestamp_ms":1777326598000,"timestamp_seconds":1777326598,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0eba770"} 
[2026-04-28 03:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995607296001,"66":27332,"95":206,"78":38912,"24":54,"16":281789681849335808,"45":5914422606417858560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-28 03:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995607296001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:21:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-28 03:21:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281789681849335808,"km_value":281789681849335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5914422606417858560,"description":"Unknown IO ID 45"} 
[2026-04-28 03:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995607296001,"power":27332,"unknown_95":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":5914422606417858560}} 
[2026-04-28 03:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":56934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:21:31] local.INFO: GPS data processed {"connection_id":56934,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:21:31] local.INFO: Acknowledgment sent {"connection_id":56934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:22:00] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:00] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:00] local.INFO: IMEI packet received {"connection_id":56209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":56209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:22:05] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:05] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:05] local.INFO: IMEI packet received {"connection_id":56209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":56209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:22:06] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ebc2c8012d5236c0064ad418000c00982a..."} 
[2026-04-28 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ebc2c8012d5236c0064ad418000c00982a..."} 
[2026-04-28 03:22:06] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ebc2c8012d5236c0064ad418000c00982a..."} 
[2026-04-28 03:22:06] local.INFO: Packet analysis {"connection_id":56209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:22:06] local.INFO: Extracted packet for processing {"connection_id":56209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0eb"} 
[2026-04-28 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":760362688,"raw_latitude":105567256,"longitude_deg":76.0362688,"latitude_deg":10.5567256,"altitude":12,"angle":152,"satellites":42,"speed":51,"hex_longitude":"2d5236c0","hex_latitude":"064ad418","is_valid_coordinates":true} 
[2026-04-28 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995609088001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281790119936000000,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5919418787252353024,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777326605000,"timestamp_ms":1777326605000,"timestamp_seconds":1777326605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ebc2c8"} 
[2026-04-28 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:22:06] 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-04-28 03:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:22: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-04-28 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995609088001,"66":27376,"93":206,"78":38912,"24":51,"16":281790119936000000,"45":5919418787252353024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-28 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995609088001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:22:06] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-28 03:22:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281790119936000000,"km_value":281790119936000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5919418787252353024,"description":"Unknown IO ID 45"} 
[2026-04-28 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995609088001,"power":27376,"unknown_93":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":5919418787252353024}} 
[2026-04-28 03:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":56209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:22:06] local.INFO: GPS data processed {"connection_id":56209,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:22:06] local.INFO: Acknowledgment sent {"connection_id":56209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:22:36] local.INFO: TCP Data received {"connection_id":56209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ed2640012d53220006498e500005008f2b..."} 
[2026-04-28 03:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ed2640012d53220006498e500005008f2b..."} 
[2026-04-28 03:22:36] local.INFO: Processing buffer {"connection_id":56209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ed2640012d53220006498e500005008f2b..."} 
[2026-04-28 03:22:36] local.INFO: Packet analysis {"connection_id":56209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:22:36] local.INFO: Extracted packet for processing {"connection_id":56209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:22:36] local.INFO: GPS Element Parsed {"raw_longitude":760422912,"raw_latitude":105483856,"longitude_deg":76.0422912,"latitude_deg":10.5483856,"altitude":5,"angle":143,"satellites":43,"speed":45,"hex_longitude":"2d532200","hex_latitude":"06498e50","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995632128001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281795114982965248,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984017294385899520,"note":"Value kept but may cause issues"} 
[2026-04-28 03:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777326696000,"timestamp_ms":1777326696000,"timestamp_seconds":1777326696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ed2640"} 
[2026-04-28 03:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995632128001,"66":27321,"193":206,"78":38912,"24":45,"16":281795114982965248,"45":5984017294385899520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-28 03:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995632128001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:22:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-28 03:22:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281795114982965248,"km_value":281795114982965.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984017294385899520,"description":"Unknown IO ID 45"} 
[2026-04-28 03:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995632128001,"power":27321,"unknown_193":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":5984017294385899520}} 
[2026-04-28 03:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":56209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:22:36] local.INFO: GPS data processed {"connection_id":56209,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:22:36] local.INFO: Acknowledgment sent {"connection_id":56209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:22:54] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:54] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:54] local.INFO: IMEI packet received {"connection_id":56936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":56936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:22:55] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:55] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:22:55] local.INFO: IMEI packet received {"connection_id":56936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":56936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:22:56] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:22:56] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:22:56] local.INFO: IMEI packet received {"connection_id":56210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":56210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:23:01] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:01] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:01] local.INFO: IMEI packet received {"connection_id":56936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":56936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:23:02] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ed4580012d53378006497140000600902c..."} 
[2026-04-28 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ed4580012d53378006497140000600902c..."} 
[2026-04-28 03:23:02] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ed4580012d53378006497140000600902c..."} 
[2026-04-28 03:23:02] local.INFO: Packet analysis {"connection_id":56936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:23:02] local.INFO: Extracted packet for processing {"connection_id":56936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:23:02] local.INFO: GPS Element Parsed {"raw_longitude":760428416,"raw_latitude":105476416,"longitude_deg":76.0428416,"latitude_deg":10.5476416,"altitude":6,"angle":144,"satellites":44,"speed":46,"hex_longitude":"2d533780","hex_latitude":"06497140","is_valid_coordinates":true} 
[2026-04-28 03:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995634176001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281795561659564032,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990350481360048128,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777326704000,"timestamp_ms":1777326704000,"timestamp_seconds":1777326704,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ed4580"} 
[2026-04-28 03:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995634176001,"66":27376,"193":206,"78":38912,"24":46,"16":281795561659564032,"45":5990350481360048128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-28 03:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995634176001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:23:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-28 03:23:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281795561659564032,"km_value":281795561659564.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990350481360048128,"description":"Unknown IO ID 45"} 
[2026-04-28 03:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995634176001,"power":27376,"unknown_193":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":5990350481360048128}} 
[2026-04-28 03:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":56936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:23:02] local.INFO: GPS data processed {"connection_id":56936,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:23:02] local.INFO: Acknowledgment sent {"connection_id":56936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:23:33] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ed64c0012d534c40064952c0000700932d..."} 
[2026-04-28 03:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ed64c0012d534c40064952c0000700932d..."} 
[2026-04-28 03:23:33] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ed64c0012d534c40064952c0000700932d..."} 
[2026-04-28 03:23:33] local.INFO: Packet analysis {"connection_id":56936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:23:33] local.INFO: Extracted packet for processing {"connection_id":56936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:23:33] local.INFO: GPS Element Parsed {"raw_longitude":760433728,"raw_latitude":105468608,"longitude_deg":76.0433728,"latitude_deg":10.5468608,"altitude":7,"angle":147,"satellites":45,"speed":47,"hex_longitude":"2d534c40","hex_latitude":"064952c0","is_valid_coordinates":true} 
[2026-04-28 03:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995636224001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281796016926097408,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5996402193357422592,"note":"Value kept but may cause issues"} 
[2026-04-28 03:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777326712000,"timestamp_ms":1777326712000,"timestamp_seconds":1777326712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ed64c0"} 
[2026-04-28 03:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995636224001,"66":27245,"193":206,"78":38912,"24":47,"16":281796016926097408,"45":5996402193357422592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-28 03:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995636224001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:23:33] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-28 03:23:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281796016926097408,"km_value":281796016926097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5996402193357422592,"description":"Unknown IO ID 45"} 
[2026-04-28 03:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995636224001,"power":27245,"unknown_193":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":5996402193357422592}} 
[2026-04-28 03:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":56936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:23:33] local.INFO: GPS data processed {"connection_id":56936,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:23:33] local.INFO: Acknowledgment sent {"connection_id":56936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:23:35] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:23:35] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:23:35] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:23:58] local.INFO: TCP Data received {"connection_id":56283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:58] local.INFO: Processing buffer {"connection_id":56283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:58] local.INFO: IMEI packet received {"connection_id":56283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":56283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:23:59] local.INFO: TCP Data received {"connection_id":56283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:59] local.INFO: Processing buffer {"connection_id":56283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:23:59] local.INFO: IMEI packet received {"connection_id":56283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:24:05] local.INFO: TCP Data received {"connection_id":56283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:05] local.INFO: Processing buffer {"connection_id":56283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:05] local.INFO: IMEI packet received {"connection_id":56283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":56283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:24:05] local.INFO: TCP Data received {"connection_id":56283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ed8400012d536040064932d0000700952c..."} 
[2026-04-28 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ed8400012d536040064932d0000700952c..."} 
[2026-04-28 03:24:05] local.INFO: Processing buffer {"connection_id":56283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ed8400012d536040064932d0000700952c..."} 
[2026-04-28 03:24:05] local.INFO: Packet analysis {"connection_id":56283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:24:05] local.INFO: Extracted packet for processing {"connection_id":56283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ed"} 
[2026-04-28 03:24:05] local.INFO: GPS Element Parsed {"raw_longitude":760438848,"raw_latitude":105460432,"longitude_deg":76.0438848,"latitude_deg":10.5460432,"altitude":7,"angle":149,"satellites":44,"speed":48,"hex_longitude":"2d536040","hex_latitude":"064932d0","is_valid_coordinates":true} 
[2026-04-28 03:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995638272001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281796485077532672,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6002242799122169856,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777326720000,"timestamp_ms":1777326720000,"timestamp_seconds":1777326720,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ed8400"} 
[2026-04-28 03:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 03:24:05] 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-04-28 03:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995638272001,"66":27267,"193":206,"78":38912,"24":48,"16":281796485077532672,"45":6002242799122169856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-28 03:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995638272001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:24:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-28 03:24:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281796485077532672,"km_value":281796485077532.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6002242799122169856,"description":"Unknown IO ID 45"} 
[2026-04-28 03:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995638272001,"power":27267,"unknown_193":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6002242799122169856}} 
[2026-04-28 03:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":56283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:24:05] local.INFO: GPS data processed {"connection_id":56283,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:24:05] local.INFO: Acknowledgment sent {"connection_id":56283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:24:36] local.INFO: TCP Data received {"connection_id":56283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ef3980012d53df000647b958000700d22d..."} 
[2026-04-28 03:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ef3980012d53df000647b958000700d22d..."} 
[2026-04-28 03:24:36] local.INFO: Processing buffer {"connection_id":56283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ef3980012d53df000647b958000700d22d..."} 
[2026-04-28 03:24:36] local.INFO: Packet analysis {"connection_id":56283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:24:36] local.INFO: Extracted packet for processing {"connection_id":56283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:24:36] local.INFO: GPS Element Parsed {"raw_longitude":760471296,"raw_latitude":105363800,"longitude_deg":76.0471296,"latitude_deg":10.53638,"altitude":7,"angle":210,"satellites":45,"speed":16,"hex_longitude":"2d53df00","hex_latitude":"0647b958","is_valid_coordinates":true} 
[2026-04-28 03:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995668224001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281801527369138176,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044041833137154048,"note":"Value kept but may cause issues"} 
[2026-04-28 03:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777326832000,"timestamp_ms":1777326832000,"timestamp_seconds":1777326832,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ef3980"} 
[2026-04-28 03:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995668224001,"66":27267,"99":206,"78":38912,"24":16,"16":281801527369138176,"45":6044041833137154048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-28 03:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995668224001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:24:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-28 03:24:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281801527369138176,"km_value":281801527369138.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044041833137154048,"description":"Unknown IO ID 45"} 
[2026-04-28 03:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995668224001,"power":27267,"unknown_99":206,"unknown_78":38912,"ignition":16,"odometer":null,"unknown_45":6044041833137154048}} 
[2026-04-28 03:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":56283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:24:36] local.INFO: GPS data processed {"connection_id":56283,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:24:36] local.INFO: Acknowledgment sent {"connection_id":56283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:24:54] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:54] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:24:54] local.INFO: IMEI packet received {"connection_id":56939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":56939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:25:00] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:00] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:00] local.INFO: IMEI packet received {"connection_id":56939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:25:01] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ef4920012d53db400647b308000700c72c..."} 
[2026-04-28 03:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ef4920012d53db400647b308000700c72c..."} 
[2026-04-28 03:25:01] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ef4920012d53db400647b308000700c72c..."} 
[2026-04-28 03:25:01] local.INFO: Packet analysis {"connection_id":56939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:25:01] local.INFO: Extracted packet for processing {"connection_id":56939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:25:01] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105362184,"longitude_deg":76.0470336,"latitude_deg":10.5362184,"altitude":7,"angle":199,"satellites":44,"speed":19,"hex_longitude":"2d53db40","hex_latitude":"0647b308","is_valid_coordinates":true} 
[2026-04-28 03:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995668992001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281801617563451392,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043549251927627776,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777326836000,"timestamp_ms":1777326836000,"timestamp_seconds":1777326836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ef4920"} 
[2026-04-28 03:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 03:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995668992001,"66":27365,"99":206,"78":38912,"24":19,"16":281801617563451392,"45":6043549251927627776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-28 03:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995668992001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:25:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-28 03:25:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281801617563451392,"km_value":281801617563451.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043549251927627776,"description":"Unknown IO ID 45"} 
[2026-04-28 03:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995668992001,"power":27365,"unknown_99":206,"unknown_78":38912,"ignition":19,"odometer":null,"unknown_45":6043549251927627776}} 
[2026-04-28 03:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:25:01] local.INFO: GPS data processed {"connection_id":56939,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:25:01] local.INFO: Acknowledgment sent {"connection_id":56939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:25:32] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ef50f0012d53dac00647af20000700b62d..."} 
[2026-04-28 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ef50f0012d53dac00647af20000700b62d..."} 
[2026-04-28 03:25:32] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ef50f0012d53dac00647af20000700b62d..."} 
[2026-04-28 03:25:32] local.INFO: Packet analysis {"connection_id":56939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:25:32] local.INFO: Extracted packet for processing {"connection_id":56939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105361184,"longitude_deg":76.0470208,"latitude_deg":10.5361184,"altitude":7,"angle":182,"satellites":45,"speed":21,"hex_longitude":"2d53dac0","hex_latitude":"0647af20","is_valid_coordinates":true} 
[2026-04-28 03:25: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-04-28 03:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995670016001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281801669103058944,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720764549120,"note":"Value kept but may cause issues"} 
[2026-04-28 03:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777326838000,"timestamp_ms":1777326838000,"timestamp_seconds":1777326838,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ef50f0"} 
[2026-04-28 03:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:25: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-04-28 03:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995670016001,"66":27321,"99":206,"78":38912,"24":21,"16":281801669103058944,"45":6042493720764549120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-28 03:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995670016001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:25:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-28 03:25:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281801669103058944,"km_value":281801669103058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720764549120,"description":"Unknown IO ID 45"} 
[2026-04-28 03:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995670016001,"power":27321,"unknown_99":206,"unknown_78":38912,"ignition":21,"odometer":null,"unknown_45":6042493720764549120}} 
[2026-04-28 03:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":56939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:25:32] local.INFO: GPS data processed {"connection_id":56939,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:25:32] local.INFO: Acknowledgment sent {"connection_id":56939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:25:55] local.INFO: TCP Data received {"connection_id":56048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:55] local.INFO: Processing buffer {"connection_id":56048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:55] local.INFO: IMEI packet received {"connection_id":56048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":56048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:25:59] local.INFO: TCP Data received {"connection_id":56048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:59] local.INFO: Processing buffer {"connection_id":56048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:25:59] local.INFO: IMEI packet received {"connection_id":56048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:26:00] local.INFO: TCP Data received {"connection_id":56048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ef8b88012d53dac006478a80000800b22d..."} 
[2026-04-28 03:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ef8b88012d53dac006478a80000800b22d..."} 
[2026-04-28 03:26:00] local.INFO: Processing buffer {"connection_id":56048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0ef8b88012d53dac006478a80000800b22d..."} 
[2026-04-28 03:26:00] local.INFO: Packet analysis {"connection_id":56048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:26:00] local.INFO: Extracted packet for processing {"connection_id":56048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:26:00] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105351808,"longitude_deg":76.0470208,"latitude_deg":10.5351808,"altitude":8,"angle":178,"satellites":45,"speed":25,"hex_longitude":"2d53dac0","hex_latitude":"06478a80","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995670528001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281802124369592320,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983275937792,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777326853000,"timestamp_ms":1777326853000,"timestamp_seconds":1777326853,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ef8b88"} 
[2026-04-28 03:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995670528001,"66":27321,"99":206,"78":38912,"24":25,"16":281802124369592320,"45":6042352983275937792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-28 03:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995670528001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:26:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-28 03:26:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281802124369592320,"km_value":281802124369592.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983275937792,"description":"Unknown IO ID 45"} 
[2026-04-28 03:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995670528001,"power":27321,"unknown_99":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":6042352983275937792}} 
[2026-04-28 03:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:26:00] local.INFO: GPS data processed {"connection_id":56048,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:26:00] local.INFO: Acknowledgment sent {"connection_id":56048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:26:36] local.INFO: TCP Data received {"connection_id":56048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0efc238012d53db8006476688000a00b12c..."} 
[2026-04-28 03:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0efc238012d53db8006476688000a00b12c..."} 
[2026-04-28 03:26:36] local.INFO: Processing buffer {"connection_id":56048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0efc238012d53db8006476688000a00b12c..."} 
[2026-04-28 03:26:36] local.INFO: Packet analysis {"connection_id":56048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:26:36] local.INFO: Extracted packet for processing {"connection_id":56048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105342600,"longitude_deg":76.04704,"latitude_deg":10.53426,"altitude":10,"angle":177,"satellites":44,"speed":24,"hex_longitude":"2d53db80","hex_latitude":"06476688","is_valid_coordinates":true} 
[2026-04-28 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995674368001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281802571046191104,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983273537536,"note":"Value kept but may cause issues"} 
[2026-04-28 03:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777326867000,"timestamp_ms":1777326867000,"timestamp_seconds":1777326867,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0efc238"} 
[2026-04-28 03:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:26:36] 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-04-28 03:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995674368001,"66":27343,"99":206,"78":38912,"24":24,"16":281802571046191104,"45":6042352983273537536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-28 03:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995674368001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:26:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-28 03:26:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281802571046191104,"km_value":281802571046191.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983273537536,"description":"Unknown IO ID 45"} 
[2026-04-28 03:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995674368001,"power":27343,"unknown_99":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6042352983273537536}} 
[2026-04-28 03:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":56048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:26:36] local.INFO: GPS data processed {"connection_id":56048,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:26:36] local.INFO: Acknowledgment sent {"connection_id":56048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:26:54] local.INFO: TCP Data received {"connection_id":56286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:26:55] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:26:55] local.INFO: IMEI packet received {"connection_id":56286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":56286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:27:00] local.INFO: TCP Data received {"connection_id":56286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:27:00] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:27:00] local.INFO: IMEI packet received {"connection_id":56286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:27:01] local.INFO: TCP Data received {"connection_id":56286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0effcd0012d53db40064741f0000d00b42c..."} 
[2026-04-28 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0effcd0012d53db40064741f0000d00b42c..."} 
[2026-04-28 03:27:01] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0effcd0012d53db40064741f0000d00b42c..."} 
[2026-04-28 03:27:01] local.INFO: Packet analysis {"connection_id":56286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:27:01] local.INFO: Extracted packet for processing {"connection_id":56286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ef"} 
[2026-04-28 03:27:01] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105333232,"longitude_deg":76.0470336,"latitude_deg":10.5333232,"altitude":13,"angle":180,"satellites":44,"speed":27,"hex_longitude":"2d53db40","hex_latitude":"064741f0","is_valid_coordinates":true} 
[2026-04-28 03:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995677952001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281803026312724480,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089503713280,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777326882000,"timestamp_ms":1777326882000,"timestamp_seconds":1777326882,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0effcd0"} 
[2026-04-28 03:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995677952001,"66":27397,"101":206,"78":38912,"24":27,"16":281803026312724480,"45":6042564089503713280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-04-28 03:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995677952001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:27:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-28 03:27:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281803026312724480,"km_value":281803026312724.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089503713280,"description":"Unknown IO ID 45"} 
[2026-04-28 03:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995677952001,"power":27397,"unknown_101":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6042564089503713280}} 
[2026-04-28 03:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":56286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:27:01] local.INFO: GPS data processed {"connection_id":56286,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:27:01] local.INFO: Acknowledgment sent {"connection_id":56286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:27:32] local.INFO: TCP Data received {"connection_id":56286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f02bb0012d53db4006471d18000e00b32b..."} 
[2026-04-28 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f02bb0012d53db4006471d18000e00b32b..."} 
[2026-04-28 03:27:32] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f02bb0012d53db4006471d18000e00b32b..."} 
[2026-04-28 03:27:32] local.INFO: Packet analysis {"connection_id":56286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f0"} 
[2026-04-28 03:27:32] local.INFO: Extracted packet for processing {"connection_id":56286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f0"} 
[2026-04-28 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105323800,"longitude_deg":76.0470336,"latitude_deg":10.53238,"altitude":14,"angle":179,"satellites":43,"speed":35,"hex_longitude":"2d53db40","hex_latitude":"06471d18","is_valid_coordinates":true} 
[2026-04-28 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995681792001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281803481579257856,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720757137408,"note":"Value kept but may cause issues"} 
[2026-04-28 03:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777326894000,"timestamp_ms":1777326894000,"timestamp_seconds":1777326894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f02bb0"} 
[2026-04-28 03:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995681792001,"66":27539,"101":206,"78":38912,"24":35,"16":281803481579257856,"45":6042493720757137408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-04-28 03:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995681792001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:27:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-28 03:27:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281803481579257856,"km_value":281803481579257.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720757137408,"description":"Unknown IO ID 45"} 
[2026-04-28 03:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995681792001,"power":27539,"unknown_101":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":6042493720757137408}} 
[2026-04-28 03:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":56286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:27:32] local.INFO: GPS data processed {"connection_id":56286,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:27:32] local.INFO: Acknowledgment sent {"connection_id":56286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:28:00] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: IMEI packet received {"connection_id":56212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:28:00] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:00] local.INFO: IMEI packet received {"connection_id":56212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:28:05] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:05] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:05] local.INFO: IMEI packet received {"connection_id":56212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":56212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:28:06] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f1e130012d5457000645d718000900982d..."} 
[2026-04-28 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f1e130012d5457000645d718000900982d..."} 
[2026-04-28 03:28:06] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f1e130012d5457000645d718000900982d..."} 
[2026-04-28 03:28:06] local.INFO: Packet analysis {"connection_id":56212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f1"} 
[2026-04-28 03:28:06] local.INFO: Extracted packet for processing {"connection_id":56212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f1"} 
[2026-04-28 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":760502016,"raw_latitude":105240344,"longitude_deg":76.0502016,"latitude_deg":10.5240344,"altitude":9,"angle":152,"satellites":45,"speed":35,"hex_longitude":"2d545700","hex_latitude":"0645d718","is_valid_coordinates":true} 
[2026-04-28 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995710720001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281807896805638144,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6072259699522666496,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777327006000,"timestamp_ms":1777327006000,"timestamp_seconds":1777327006,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f1e130"} 
[2026-04-28 03:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 03:28:06] 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-04-28 03:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:28: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-04-28 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995710720001,"66":27517,"232":206,"78":38912,"24":35,"16":281807896805638144,"45":6072259699522666496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-04-28 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995710720001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:28:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 03:28:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281807896805638144,"km_value":281807896805638.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6072259699522666496,"description":"Unknown IO ID 45"} 
[2026-04-28 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995710720001,"power":27517,"unknown_232":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":6072259699522666496}} 
[2026-04-28 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":56212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:28:06] local.INFO: GPS data processed {"connection_id":56212,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:28:06] local.INFO: Acknowledgment sent {"connection_id":56212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:28:10] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f20840012d5468c00645b688000800982e..."} 
[2026-04-28 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f20840012d5468c00645b688000800982e..."} 
[2026-04-28 03:28:10] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f20840012d5468c00645b688000800982e..."} 
[2026-04-28 03:28:10] local.INFO: Packet analysis {"connection_id":56212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:28:10] local.INFO: Extracted packet for processing {"connection_id":56212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":760506560,"raw_latitude":105232008,"longitude_deg":76.050656,"latitude_deg":10.5232008,"altitude":8,"angle":152,"satellites":46,"speed":40,"hex_longitude":"2d5468c0","hex_latitude":"0645b688","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995713536001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281808356367138816,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6077326249101301760,"note":"Value kept but may cause issues"} 
[2026-04-28 03:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777327016000,"timestamp_ms":1777327016000,"timestamp_seconds":1777327016,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f20840"} 
[2026-04-28 03:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 03:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995713536001,"66":27365,"232":206,"78":38912,"24":40,"16":281808356367138816,"45":6077326249101301760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-04-28 03:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995713536001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:28:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-28 03:28:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281808356367138816,"km_value":281808356367138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6077326249101301760,"description":"Unknown IO ID 45"} 
[2026-04-28 03:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995713536001,"power":27365,"unknown_232":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":6077326249101301760}} 
[2026-04-28 03:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":56212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:28:10] local.INFO: GPS data processed {"connection_id":56212,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:28:10] local.INFO: Acknowledgment sent {"connection_id":56212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:28:54] local.INFO: TCP Data received {"connection_id":56287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:54] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:54] local.INFO: IMEI packet received {"connection_id":56287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:28:59] local.INFO: TCP Data received {"connection_id":56287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:59] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:28:59] local.INFO: IMEI packet received {"connection_id":56287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:29:00] local.INFO: TCP Data received {"connection_id":56287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f22b68012d547a8006459640000700962e..."} 
[2026-04-28 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f22b68012d547a8006459640000700962e..."} 
[2026-04-28 03:29:00] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f22b68012d547a8006459640000700962e..."} 
[2026-04-28 03:29:00] local.INFO: Packet analysis {"connection_id":56287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:29:00] local.INFO: Extracted packet for processing {"connection_id":56287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:29:00] local.INFO: GPS Element Parsed {"raw_longitude":760511104,"raw_latitude":105223744,"longitude_deg":76.0511104,"latitude_deg":10.5223744,"altitude":7,"angle":150,"satellites":46,"speed":43,"hex_longitude":"2d547a80","hex_latitude":"06459640","is_valid_coordinates":true} 
[2026-04-28 03:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995716096001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281808811633672192,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6082322429935781888,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777327025000,"timestamp_ms":1777327025000,"timestamp_seconds":1777327025,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f22b68"} 
[2026-04-28 03:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995716096001,"66":27300,"217":206,"78":38912,"24":43,"16":281808811633672192,"45":6082322429935781888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-28 03:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995716096001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:29:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 03:29:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281808811633672192,"km_value":281808811633672.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6082322429935781888,"description":"Unknown IO ID 45"} 
[2026-04-28 03:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995716096001,"power":27300,"unknown_217":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6082322429935781888}} 
[2026-04-28 03:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":56287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:29:00] local.INFO: GPS data processed {"connection_id":56287,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:29:00] local.INFO: Acknowledgment sent {"connection_id":56287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:29:01] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:01] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:01] local.INFO: IMEI packet received {"connection_id":56940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":56940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:29:32] local.INFO: TCP Data received {"connection_id":56287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f24e90012d548cc006457490000700982c..."} 
[2026-04-28 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f24e90012d548cc006457490000700982c..."} 
[2026-04-28 03:29:32] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f24e90012d548cc006457490000700982c..."} 
[2026-04-28 03:29:32] local.INFO: Packet analysis {"connection_id":56287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:29:32] local.INFO: Extracted packet for processing {"connection_id":56287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f2"} 
[2026-04-28 03:29:32] local.INFO: GPS Element Parsed {"raw_longitude":760515776,"raw_latitude":105215120,"longitude_deg":76.0515776,"latitude_deg":10.521512,"altitude":7,"angle":152,"satellites":44,"speed":41,"hex_longitude":"2d548cc0","hex_latitude":"06457490","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995718400001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281809288375042048,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6087318610770280448,"note":"Value kept but may cause issues"} 
[2026-04-28 03:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777327034000,"timestamp_ms":1777327034000,"timestamp_seconds":1777327034,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f24e90"} 
[2026-04-28 03:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:29: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-04-28 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 03:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995718400001,"66":27343,"217":206,"78":38912,"24":41,"16":281809288375042048,"45":6087318610770280448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-28 03:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995718400001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:29:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 03:29:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281809288375042048,"km_value":281809288375042.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6087318610770280448,"description":"Unknown IO ID 45"} 
[2026-04-28 03:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995718400001,"power":27343,"unknown_217":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6087318610770280448}} 
[2026-04-28 03:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":56287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:29:32] local.INFO: GPS data processed {"connection_id":56287,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:29:32] local.INFO: Acknowledgment sent {"connection_id":56287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:29:35] local.INFO: TCP Data received {"connection_id":56941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:35] local.INFO: Processing buffer {"connection_id":56941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:29:35] local.INFO: IMEI packet received {"connection_id":56941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:29:58] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:29:58] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:29:58] local.INFO: IMEI packet received {"connection_id":56942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":56942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:30:00] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:00] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:00] local.INFO: IMEI packet received {"connection_id":56942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":56942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:30:04] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:04] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:04] local.INFO: IMEI packet received {"connection_id":56942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":56942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:30:05] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f3fc40012d554e00064415b0000900a42b..."} 
[2026-04-28 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f3fc40012d554e00064415b0000900a42b..."} 
[2026-04-28 03:30:05] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f3fc40012d554e00064415b0000900a42b..."} 
[2026-04-28 03:30:05] local.INFO: Packet analysis {"connection_id":56942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f3"} 
[2026-04-28 03:30:05] local.INFO: Extracted packet for processing {"connection_id":56942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f3"} 
[2026-04-28 03:30:05] local.INFO: GPS Element Parsed {"raw_longitude":760565248,"raw_latitude":105125296,"longitude_deg":76.0565248,"latitude_deg":10.5125296,"altitude":9,"angle":164,"satellites":43,"speed":24,"hex_longitude":"2d554e00","hex_latitude":"064415b0","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995746048001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281814249062268928,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6142417337438380032,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777327144000,"timestamp_ms":1777327144000,"timestamp_seconds":1777327144,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f3fc40"} 
[2026-04-28 03:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:30:05] 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-04-28 03:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995746048001,"66":27365,"216":206,"78":38912,"24":24,"16":281814249062268928,"45":6142417337438380032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995746048001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:30:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:30:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281814249062268928,"km_value":281814249062268.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6142417337438380032,"description":"Unknown IO ID 45"} 
[2026-04-28 03:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995746048001,"power":27365,"unknown_216":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6142417337438380032}} 
[2026-04-28 03:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":56942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:30:05] local.INFO: GPS data processed {"connection_id":56942,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:30:05] local.INFO: Acknowledgment sent {"connection_id":56942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:30:08] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f407f8012d55508006440f28000900962b..."} 
[2026-04-28 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f407f8012d55508006440f28000900962b..."} 
[2026-04-28 03:30:08] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f407f8012d55508006440f28000900962b..."} 
[2026-04-28 03:30:08] local.INFO: Packet analysis {"connection_id":56942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:30:08] local.INFO: Extracted packet for processing {"connection_id":56942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:30:08] local.INFO: GPS Element Parsed {"raw_longitude":760565888,"raw_latitude":105123624,"longitude_deg":76.0565888,"latitude_deg":10.5123624,"altitude":9,"angle":150,"satellites":43,"speed":23,"hex_longitude":"2d555080","hex_latitude":"06440f28","is_valid_coordinates":true} 
[2026-04-28 03:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281814334961614848,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146850568319381504,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777327147000,"timestamp_ms":1777327147000,"timestamp_seconds":1777327147,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f407f8"} 
[2026-04-28 03:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995748864001,"66":27376,"216":206,"78":38912,"24":23,"16":281814334961614848,"45":6146850568319381504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:30:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:30:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281814334961614848,"km_value":281814334961614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146850568319381504,"description":"Unknown IO ID 45"} 
[2026-04-28 03:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995748864001,"power":27376,"unknown_216":206,"unknown_78":38912,"ignition":23,"odometer":null,"unknown_45":6146850568319381504}} 
[2026-04-28 03:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":56942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:30:08] local.INFO: GPS data processed {"connection_id":56942,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:30:08] local.INFO: Acknowledgment sent {"connection_id":56942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:30:39] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f43ac0012d5563400643f1d8000800962d..."} 
[2026-04-28 03:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f43ac0012d5563400643f1d8000800962d..."} 
[2026-04-28 03:30:39] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f43ac0012d5563400643f1d8000800962d..."} 
[2026-04-28 03:30:39] local.INFO: Packet analysis {"connection_id":56942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:30:39] local.INFO: Extracted packet for processing {"connection_id":56942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":760570688,"raw_latitude":105116120,"longitude_deg":76.0570688,"latitude_deg":10.511612,"altitude":8,"angle":150,"satellites":45,"speed":31,"hex_longitude":"2d556340","hex_latitude":"0643f1d8","is_valid_coordinates":true} 
[2026-04-28 03:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995749632001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281814764458344448,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6147554255760730112,"note":"Value kept but may cause issues"} 
[2026-04-28 03:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777327160000,"timestamp_ms":1777327160000,"timestamp_seconds":1777327160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f43ac0"} 
[2026-04-28 03:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995749632001,"66":27310,"216":206,"78":38912,"24":31,"16":281814764458344448,"45":6147554255760730112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995749632001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:30:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:30:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281814764458344448,"km_value":281814764458344.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6147554255760730112,"description":"Unknown IO ID 45"} 
[2026-04-28 03:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995749632001,"power":27310,"unknown_216":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6147554255760730112}} 
[2026-04-28 03:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":56942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:30:39] local.INFO: GPS data processed {"connection_id":56942,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:30:39] local.INFO: Acknowledgment sent {"connection_id":56942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:30:52] local.INFO: TCP Data received {"connection_id":56213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:52] local.INFO: Processing buffer {"connection_id":56213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:52] local.INFO: IMEI packet received {"connection_id":56213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":56213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:30:54] local.INFO: TCP Data received {"connection_id":56213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:54] local.INFO: Processing buffer {"connection_id":56213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:54] local.INFO: IMEI packet received {"connection_id":56213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:30:59] local.INFO: TCP Data received {"connection_id":56213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:59] local.INFO: Processing buffer {"connection_id":56213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:30:59] local.INFO: IMEI packet received {"connection_id":56213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:31:00] local.INFO: TCP Data received {"connection_id":56213,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f461d0012d5575800643d3c8000800952d..."} 
[2026-04-28 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f461d0012d5575800643d3c8000800952d..."} 
[2026-04-28 03:31:00] local.INFO: Processing buffer {"connection_id":56213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f461d0012d5575800643d3c8000800952d..."} 
[2026-04-28 03:31:00] local.INFO: Packet analysis {"connection_id":56213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:31:00] local.INFO: Extracted packet for processing {"connection_id":56213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:31:00] local.INFO: GPS Element Parsed {"raw_longitude":760575360,"raw_latitude":105108424,"longitude_deg":76.057536,"latitude_deg":10.5108424,"altitude":8,"angle":149,"satellites":45,"speed":38,"hex_longitude":"2d557580","hex_latitude":"0643d3c8","is_valid_coordinates":true} 
[2026-04-28 03:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995752960001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281815198250041344,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152831911572133888,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777327170000,"timestamp_ms":1777327170000,"timestamp_seconds":1777327170,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f461d0"} 
[2026-04-28 03:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:31: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-04-28 03:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 03:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995752960001,"66":27376,"216":206,"78":38912,"24":38,"16":281815198250041344,"45":6152831911572133888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995752960001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:31:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:31:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281815198250041344,"km_value":281815198250041.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152831911572133888,"description":"Unknown IO ID 45"} 
[2026-04-28 03:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995752960001,"power":27376,"unknown_216":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6152831911572133888}} 
[2026-04-28 03:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":56213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:31:00] local.INFO: GPS data processed {"connection_id":56213,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:31:00] local.INFO: Acknowledgment sent {"connection_id":56213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:31:31] local.INFO: TCP Data received {"connection_id":56213,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f488e0012d5589400643b358000800952d..."} 
[2026-04-28 03:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f488e0012d5589400643b358000800952d..."} 
[2026-04-28 03:31:31] local.INFO: Processing buffer {"connection_id":56213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f488e0012d5589400643b358000800952d..."} 
[2026-04-28 03:31:31] local.INFO: Packet analysis {"connection_id":56213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:31:31] local.INFO: Extracted packet for processing {"connection_id":56213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:31:31] local.INFO: GPS Element Parsed {"raw_longitude":760580416,"raw_latitude":105100120,"longitude_deg":76.0580416,"latitude_deg":10.510012,"altitude":8,"angle":149,"satellites":45,"speed":38,"hex_longitude":"2d558940","hex_latitude":"0643b358","is_valid_coordinates":true} 
[2026-04-28 03:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995755520001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281815670696443904,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6157968829895133184,"note":"Value kept but may cause issues"} 
[2026-04-28 03:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777327180000,"timestamp_ms":1777327180000,"timestamp_seconds":1777327180,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f488e0"} 
[2026-04-28 03:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995755520001,"66":26539,"216":206,"78":38912,"24":38,"16":281815670696443904,"45":6157968829895133184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995755520001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:31:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:31:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281815670696443904,"km_value":281815670696443.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6157968829895133184,"description":"Unknown IO ID 45"} 
[2026-04-28 03:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995755520001,"power":26539,"unknown_216":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6157968829895133184}} 
[2026-04-28 03:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":56213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:31:31] local.INFO: GPS data processed {"connection_id":56213,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:31:31] local.INFO: Acknowledgment sent {"connection_id":56213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:31:59] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:31:59] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:31:59] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:32:01] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:32:01] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:32:01] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:32:02] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f4ac08012d559b8006439480000800972a..."} 
[2026-04-28 03:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f4ac08012d559b8006439480000800972a..."} 
[2026-04-28 03:32:02] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f4ac08012d559b8006439480000800972a..."} 
[2026-04-28 03:32:02] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:02] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:02] local.INFO: GPS Element Parsed {"raw_longitude":760585088,"raw_latitude":105092224,"longitude_deg":76.0585088,"latitude_deg":10.5092224,"altitude":8,"angle":151,"satellites":42,"speed":41,"hex_longitude":"2d559b80","hex_latitude":"06439480","is_valid_coordinates":true} 
[2026-04-28 03:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995758080001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281816113078075392,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163527960683042816,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777327189000,"timestamp_ms":1777327189000,"timestamp_seconds":1777327189,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f4ac08"} 
[2026-04-28 03:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:32: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-04-28 03:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-04-28 03:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995758080001,"66":27223,"216":206,"78":38912,"24":41,"16":281816113078075392,"45":6163527960683042816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995758080001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:32:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:32:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281816113078075392,"km_value":281816113078075.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163527960683042816,"description":"Unknown IO ID 45"} 
[2026-04-28 03:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995758080001,"power":27223,"unknown_216":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6163527960683042816}} 
[2026-04-28 03:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:32:02] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:32:02] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:32:05] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f4cf30012d55ad00064372f80009009929..."} 
[2026-04-28 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f4cf30012d55ad00064372f80009009929..."} 
[2026-04-28 03:32:05] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f4cf30012d55ad00064372f80009009929..."} 
[2026-04-28 03:32:05] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:05] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:05] local.INFO: GPS Element Parsed {"raw_longitude":760589568,"raw_latitude":105083640,"longitude_deg":76.0589568,"latitude_deg":10.508364,"altitude":9,"angle":153,"satellites":41,"speed":43,"hex_longitude":"2d55ad00","hex_latitude":"064372f8","is_valid_coordinates":true} 
[2026-04-28 03:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995760384001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281816581229510656,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6168664879005990912,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777327198000,"timestamp_ms":1777327198000,"timestamp_seconds":1777327198,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f4cf30"} 
[2026-04-28 03:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-28 03:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995760384001,"66":27397,"216":206,"78":38912,"24":43,"16":281816581229510656,"45":6168664879005990912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995760384001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:32:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:32:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281816581229510656,"km_value":281816581229510.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6168664879005990912,"description":"Unknown IO ID 45"} 
[2026-04-28 03:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995760384001,"power":27397,"unknown_216":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6168664879005990912}} 
[2026-04-28 03:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:32:05] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:32:05] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:32:36] local.INFO: TCP Data received {"connection_id":56214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f4f258012d55be00064350100009009a29..."} 
[2026-04-28 03:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f4f258012d55be00064350100009009a29..."} 
[2026-04-28 03:32:36] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f4f258012d55be00064350100009009a29..."} 
[2026-04-28 03:32:36] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:36] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f4"} 
[2026-04-28 03:32:36] local.INFO: GPS Element Parsed {"raw_longitude":760593920,"raw_latitude":105074704,"longitude_deg":76.059392,"latitude_deg":10.5074704,"altitude":9,"angle":154,"satellites":41,"speed":44,"hex_longitude":"2d55be00","hex_latitude":"06435010","is_valid_coordinates":true} 
[2026-04-28 03:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995762688001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281817062265847808,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6173590691096229888,"note":"Value kept but may cause issues"} 
[2026-04-28 03:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777327207000,"timestamp_ms":1777327207000,"timestamp_seconds":1777327207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f4f258"} 
[2026-04-28 03:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995762688001,"66":27343,"216":206,"78":38912,"24":44,"16":281817062265847808,"45":6173590691096229888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-28 03:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995762688001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:32:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 03:32:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281817062265847808,"km_value":281817062265847.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6173590691096229888,"description":"Unknown IO ID 45"} 
[2026-04-28 03:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995762688001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":44,"odometer":null,"unknown_45":6173590691096229888}} 
[2026-04-28 03:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:32:36] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:32:36] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:33:00] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:33:00] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:00] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:33:04] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:04] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:04] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:33:05] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f6abc0012d567b400641ed00000a00982d..."} 
[2026-04-28 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f6abc0012d567b400641ed00000a00982d..."} 
[2026-04-28 03:33:05] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f6abc0012d567b400641ed00000a00982d..."} 
[2026-04-28 03:33:05] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f6"} 
[2026-04-28 03:33:05] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f6"} 
[2026-04-28 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":760642368,"raw_latitude":104983808,"longitude_deg":76.0642368,"latitude_deg":10.4983808,"altitude":10,"angle":152,"satellites":45,"speed":36,"hex_longitude":"2d567b40","hex_latitude":"0641ed00","is_valid_coordinates":true} 
[2026-04-28 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995791360001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281822044427911168,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6226367249206069248,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777327320000,"timestamp_ms":1777327320000,"timestamp_seconds":1777327320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f6abc0"} 
[2026-04-28 03:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995791360001,"66":27376,"250":206,"78":38912,"24":36,"16":281822044427911168,"45":6226367249206069248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,78,24,16,45]} 
[2026-04-28 03:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995791360001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:33:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 03:33:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281822044427911168,"km_value":281822044427911.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6226367249206069248,"description":"Unknown IO ID 45"} 
[2026-04-28 03:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995791360001,"power":27376,"unknown_250":206,"unknown_78":38912,"ignition":36,"odometer":null,"unknown_45":6226367249206069248}} 
[2026-04-28 03:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:33:05] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:33:05] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:33:36] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0f6d2d0012d568b400641ce080009009a2b..."} 
[2026-04-28 03:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0f6d2d0012d568b400641ce080009009a2b..."} 
[2026-04-28 03:33:36] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0f6d2d0012d568b400641ce080009009a2b..."} 
[2026-04-28 03:33:36] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0f6"} 
[2026-04-28 03:33:36] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0f6"} 
[2026-04-28 03:33:36] local.INFO: GPS Element Parsed {"raw_longitude":760646464,"raw_latitude":104975880,"longitude_deg":76.0646464,"latitude_deg":10.497588,"altitude":9,"angle":154,"satellites":43,"speed":34,"hex_longitude":"2d568b40","hex_latitude":"0641ce08","is_valid_coordinates":true} 
[2026-04-28 03:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995793920001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281822473924640768,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231644905017245696,"note":"Value kept but may cause issues"} 
[2026-04-28 03:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777327330000,"timestamp_ms":1777327330000,"timestamp_seconds":1777327330,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0f6d2d0"} 
[2026-04-28 03:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995793920001,"66":27397,"250":206,"78":38912,"24":34,"16":281822473924640768,"45":6231644905017245696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,78,24,16,45]} 
[2026-04-28 03:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995793920001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:33:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 03:33:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-28 03:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281822473924640768,"km_value":281822473924640.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231644905017245696,"description":"Unknown IO ID 45"} 
[2026-04-28 03:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995793920001,"power":27397,"unknown_250":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6231644905017245696}} 
[2026-04-28 03:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:33:36] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:33:36] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:33:54] local.INFO: TCP Data received {"connection_id":56290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:54] local.INFO: Processing buffer {"connection_id":56290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:54] local.INFO: IMEI packet received {"connection_id":56290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:33:55] local.INFO: TCP Data received {"connection_id":56290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:55] local.INFO: Processing buffer {"connection_id":56290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:55] local.INFO: IMEI packet received {"connection_id":56290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":56290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:33:58] local.INFO: TCP Data received {"connection_id":56290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: Processing buffer {"connection_id":56290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: IMEI packet received {"connection_id":56290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:33:58] local.INFO: TCP Data received {"connection_id":56290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: Processing buffer {"connection_id":56290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:33:58] local.INFO: IMEI packet received {"connection_id":56290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:35:01] local.INFO: TCP Data received {"connection_id":56215,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:01] local.INFO: Processing buffer {"connection_id":56215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:01] local.INFO: IMEI packet received {"connection_id":56215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":56215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:35:35] local.INFO: TCP Data received {"connection_id":56049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:35] local.INFO: Processing buffer {"connection_id":56049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:35:35] local.INFO: IMEI packet received {"connection_id":56049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":56049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:39:00] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:00] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:00] local.INFO: IMEI packet received {"connection_id":56946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":56946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:39:01] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fb14a8012d58d780063dedf8000a008f29..."} 
[2026-04-28 03:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fb14a8012d58d780063dedf8000a008f29..."} 
[2026-04-28 03:39:01] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fb14a8012d58d780063dedf8000a008f29..."} 
[2026-04-28 03:39:01] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fb"} 
[2026-04-28 03:39:01] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fb"} 
[2026-04-28 03:39:01] local.INFO: GPS Element Parsed {"raw_longitude":760797056,"raw_latitude":104721912,"longitude_deg":76.0797056,"latitude_deg":10.4721912,"altitude":10,"angle":143,"satellites":41,"speed":36,"hex_longitude":"2d58d780","hex_latitude":"063dedf8","is_valid_coordinates":true} 
[2026-04-28 03:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995866880001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281836857770115072,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6398348459907848192,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777327609000,"timestamp_ms":1777327609000,"timestamp_seconds":1777327609,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fb14a8"} 
[2026-04-28 03:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:39:01] 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-04-28 03:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995866880001,"66":27180,"104":206,"78":38656,"24":36,"16":281836857770115072,"45":6398348459907848192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,78,24,16,45]} 
[2026-04-28 03:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995866880001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:39:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-04-28 03:39:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281836857770115072,"km_value":281836857770115.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6398348459907848192,"description":"Unknown IO ID 45"} 
[2026-04-28 03:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995866880001,"power":27180,"unknown_104":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6398348459907848192}} 
[2026-04-28 03:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:39:01] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:39:01] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:39:32] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fcc258012d596400063ca0e0000b009d2b..."} 
[2026-04-28 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fcc258012d596400063ca0e0000b009d2b..."} 
[2026-04-28 03:39:32] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fcc258012d596400063ca0e0000b009d2b..."} 
[2026-04-28 03:39:32] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:39:32] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:39:32] local.INFO: GPS Element Parsed {"raw_longitude":760833024,"raw_latitude":104636640,"longitude_deg":76.0833024,"latitude_deg":10.463664,"altitude":11,"angle":157,"satellites":43,"speed":47,"hex_longitude":"2d596400","hex_latitude":"063ca0e0","is_valid_coordinates":true} 
[2026-04-28 03:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995894016001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281841397550546944,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6437192006673522688,"note":"Value kept but may cause issues"} 
[2026-04-28 03:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777327719000,"timestamp_ms":1777327719000,"timestamp_seconds":1777327719,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fcc258"} 
[2026-04-28 03:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:39:32] 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-04-28 03:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995894016001,"66":27463,"173":206,"78":38656,"24":47,"16":281841397550546944,"45":6437192006673522688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-04-28 03:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995894016001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:39:32] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-28 03:39:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281841397550546944,"km_value":281841397550546.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6437192006673522688,"description":"Unknown IO ID 45"} 
[2026-04-28 03:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995894016001,"power":27463,"unknown_173":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6437192006673522688}} 
[2026-04-28 03:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:39:32] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:39:32] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:39:55] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: IMEI packet received {"connection_id":56947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":56947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:39:55] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:39:55] local.INFO: IMEI packet received {"connection_id":56947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":56947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:40:00] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:00] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:00] local.INFO: IMEI packet received {"connection_id":56947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:40:00] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fce198012d597400063c7d40000b009a2b..."} 
[2026-04-28 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fce198012d597400063c7d40000b009a2b..."} 
[2026-04-28 03:40:00] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fce198012d597400063c7d40000b009a2b..."} 
[2026-04-28 03:40:00] local.INFO: Packet analysis {"connection_id":56947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:40:00] local.INFO: Extracted packet for processing {"connection_id":56947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760837120,"raw_latitude":104627520,"longitude_deg":76.083712,"latitude_deg":10.462752,"altitude":11,"angle":154,"satellites":43,"speed":50,"hex_longitude":"2d597400","hex_latitude":"063c7d40","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995896064001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281841878586884096,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6441273393833631744,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777327727000,"timestamp_ms":1777327727000,"timestamp_seconds":1777327727,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fce198"} 
[2026-04-28 03:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995896064001,"66":27376,"173":206,"78":38656,"24":50,"16":281841878586884096,"45":6441273393833631744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-04-28 03:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995896064001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:40:00] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-28 03:40:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281841878586884096,"km_value":281841878586884.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6441273393833631744,"description":"Unknown IO ID 45"} 
[2026-04-28 03:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995896064001,"power":27376,"unknown_173":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6441273393833631744}} 
[2026-04-28 03:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:40:00] local.INFO: GPS data processed {"connection_id":56947,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:40:00] local.INFO: Acknowledgment sent {"connection_id":56947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:40:31] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fcfcf0012d598300063c5d70000b009a2a..."} 
[2026-04-28 03:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fcfcf0012d598300063c5d70000b009a2a..."} 
[2026-04-28 03:40:31] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fcfcf0012d598300063c5d70000b009a2a..."} 
[2026-04-28 03:40:31] local.INFO: Packet analysis {"connection_id":56947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:40:31] local.INFO: Extracted packet for processing {"connection_id":56947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fc"} 
[2026-04-28 03:40:31] local.INFO: GPS Element Parsed {"raw_longitude":760840960,"raw_latitude":104619376,"longitude_deg":76.084096,"latitude_deg":10.4619376,"altitude":11,"angle":154,"satellites":42,"speed":51,"hex_longitude":"2d598300","hex_latitude":"063c5d70","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995898112001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281842316673548288,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6445776993458667520,"note":"Value kept but may cause issues"} 
[2026-04-28 03:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777327734000,"timestamp_ms":1777327734000,"timestamp_seconds":1777327734,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fcfcf0"} 
[2026-04-28 03:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995898112001,"66":27484,"173":206,"78":38656,"24":51,"16":281842316673548288,"45":6445776993458667520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-04-28 03:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995898112001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:40:31] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-28 03:40:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281842316673548288,"km_value":281842316673548.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6445776993458667520,"description":"Unknown IO ID 45"} 
[2026-04-28 03:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995898112001,"power":27484,"unknown_173":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6445776993458667520}} 
[2026-04-28 03:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":56947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:40:31] local.INFO: GPS data processed {"connection_id":56947,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:40:31] local.INFO: Acknowledgment sent {"connection_id":56947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:40:54] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:54] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:40:54] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:40:56] local.INFO: TCP Data received {"connection_id":56218,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:40:56] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:40:56] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:41:00] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:00] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:00] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:41:00] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fd1848012d599240063c3d38000a009a2a..."} 
[2026-04-28 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fd1848012d599240063c3d38000a009a2a..."} 
[2026-04-28 03:41:00] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fd1848012d599240063c3d38000a009a2a..."} 
[2026-04-28 03:41:00] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fd"} 
[2026-04-28 03:41:00] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fd"} 
[2026-04-28 03:41:00] local.INFO: GPS Element Parsed {"raw_longitude":760844864,"raw_latitude":104611128,"longitude_deg":76.0844864,"latitude_deg":10.4611128,"altitude":10,"angle":154,"satellites":42,"speed":51,"hex_longitude":"2d599240","hex_latitude":"063c3d38","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995899904001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281842759055179776,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6449999118107242496,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777327741000,"timestamp_ms":1777327741000,"timestamp_seconds":1777327741,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fd1848"} 
[2026-04-28 03:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:41: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-04-28 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 03:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995899904001,"66":27376,"25":206,"78":38656,"24":51,"16":281842759055179776,"45":6449999118107242496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-28 03:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995899904001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:41:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-28 03:41:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281842759055179776,"km_value":281842759055179.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6449999118107242496,"description":"Unknown IO ID 45"} 
[2026-04-28 03:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995899904001,"power":27376,"unknown_25":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6449999118107242496}} 
[2026-04-28 03:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:41:00] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:41:00] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:41:32] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fe7bc0012d5a4e40063ac1d00009009728..."} 
[2026-04-28 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fe7bc0012d5a4e40063ac1d00009009728..."} 
[2026-04-28 03:41:32] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fe7bc0012d5a4e40063ac1d00009009728..."} 
[2026-04-28 03:41:32] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:41:32] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":760892992,"raw_latitude":104514000,"longitude_deg":76.0892992,"latitude_deg":10.4514,"altitude":9,"angle":151,"satellites":40,"speed":45,"hex_longitude":"2d5a4e40","hex_latitude":"063ac1d0","is_valid_coordinates":true} 
[2026-04-28 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995922688001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281848059044823040,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501860882541434880,"note":"Value kept but may cause issues"} 
[2026-04-28 03:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777327832000,"timestamp_ms":1777327832000,"timestamp_seconds":1777327832,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fe7bc0"} 
[2026-04-28 03:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995922688001,"66":27343,"23":206,"78":38656,"24":45,"16":281848059044823040,"45":6501860882541434880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-28 03:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995922688001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:41:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-28 03:41:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281848059044823040,"km_value":281848059044823.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501860882541434880,"description":"Unknown IO ID 45"} 
[2026-04-28 03:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995922688001,"power":27343,"unknown_23":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6501860882541434880}} 
[2026-04-28 03:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:41:32] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:41:32] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:41:35] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:41:35] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:41:35] local.INFO: IMEI packet received {"connection_id":56948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:41:57] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:57] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:57] local.INFO: IMEI packet received {"connection_id":56220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":56220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:41:59] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:59] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:41:59] local.INFO: IMEI packet received {"connection_id":56220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:42:01] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:01] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:01] local.INFO: IMEI packet received {"connection_id":56220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":56220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:42:05] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:05] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:05] local.INFO: IMEI packet received {"connection_id":56220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":56220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:42:06] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fe9b00012d5a5ec0063aa1e00009009c2b..."} 
[2026-04-28 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fe9b00012d5a5ec0063aa1e00009009c2b..."} 
[2026-04-28 03:42:06] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fe9b00012d5a5ec0063aa1e00009009c2b..."} 
[2026-04-28 03:42:06] local.INFO: Packet analysis {"connection_id":56220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:42:06] local.INFO: Extracted packet for processing {"connection_id":56220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":760897216,"raw_latitude":104505824,"longitude_deg":76.0897216,"latitude_deg":10.4505824,"altitude":9,"angle":156,"satellites":43,"speed":45,"hex_longitude":"2d5a5ec0","hex_latitude":"063aa1e0","is_valid_coordinates":true} 
[2026-04-28 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995924992001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281848505721421824,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6507208907096707072,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777327840000,"timestamp_ms":1777327840000,"timestamp_seconds":1777327840,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fe9b00"} 
[2026-04-28 03:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:42: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-04-28 03:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995924992001,"66":26984,"23":206,"78":38656,"24":45,"16":281848505721421824,"45":6507208907096707072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-28 03:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995924992001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:42:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-28 03:42:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281848505721421824,"km_value":281848505721421.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6507208907096707072,"description":"Unknown IO ID 45"} 
[2026-04-28 03:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995924992001,"power":26984,"unknown_23":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6507208907096707072}} 
[2026-04-28 03:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":56220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:42:06] local.INFO: GPS data processed {"connection_id":56220,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:42:06] local.INFO: Acknowledgment sent {"connection_id":56220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:42:10] local.INFO: TCP Data received {"connection_id":56220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0feba40012d5a6c80063a80e00008009d29..."} 
[2026-04-28 03:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0feba40012d5a6c80063a80e00008009d29..."} 
[2026-04-28 03:42:10] local.INFO: Processing buffer {"connection_id":56220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0feba40012d5a6c80063a80e00008009d29..."} 
[2026-04-28 03:42:10] local.INFO: Packet analysis {"connection_id":56220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:42:10] local.INFO: Extracted packet for processing {"connection_id":56220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0fe"} 
[2026-04-28 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":760900736,"raw_latitude":104497376,"longitude_deg":76.0900736,"latitude_deg":10.4497376,"altitude":8,"angle":157,"satellites":41,"speed":44,"hex_longitude":"2d5a6c80","hex_latitude":"063a80e0","is_valid_coordinates":true} 
[2026-04-28 03:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995927040001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281848948103053312,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6511853244210339840,"note":"Value kept but may cause issues"} 
[2026-04-28 03:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777327848000,"timestamp_ms":1777327848000,"timestamp_seconds":1777327848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0feba40"} 
[2026-04-28 03:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 03:42:10] 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-04-28 03:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995927040001,"66":27343,"23":206,"78":38656,"24":44,"16":281848948103053312,"45":6511853244210339840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-28 03:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995927040001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:42:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-28 03:42:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281848948103053312,"km_value":281848948103053.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6511853244210339840,"description":"Unknown IO ID 45"} 
[2026-04-28 03:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995927040001,"power":27343,"unknown_23":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6511853244210339840}} 
[2026-04-28 03:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":56220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:42:10] local.INFO: GPS data processed {"connection_id":56220,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:42:10] local.INFO: Acknowledgment sent {"connection_id":56220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:42:58] local.INFO: TCP Data received {"connection_id":56055,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:58] local.INFO: Processing buffer {"connection_id":56055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:42:58] local.INFO: IMEI packet received {"connection_id":56055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":56055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:43:02] local.INFO: TCP Data received {"connection_id":56055,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:02] local.INFO: Processing buffer {"connection_id":56055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:02] local.INFO: IMEI packet received {"connection_id":56055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":56055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:43:24] local.INFO: TCP Data received {"connection_id":56055,"ip":"42.106.6.15","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 03:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56055,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 03:43:24] local.INFO: Processing buffer {"connection_id":56055,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd0..."} 
[2026-04-28 03:43:24] local.INFO: IMEI packet received {"connection_id":56055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":56055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:43:25] local.INFO: TCP Data received {"connection_id":56055,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0ffcf98012d5ac8c00639cf080009009b28..."} 
[2026-04-28 03:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0ffcf98012d5ac8c00639cf080009009b28..."} 
[2026-04-28 03:43:25] local.INFO: Processing buffer {"connection_id":56055,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd0ffa4a0012d5ab8c00639f1200008009b27..."} 
[2026-04-28 03:43:25] local.INFO: Packet analysis {"connection_id":56055,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:25] local.INFO: Extracted packet for processing {"connection_id":56055,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760920256,"raw_latitude":104460576,"longitude_deg":76.0920256,"latitude_deg":10.4460576,"altitude":8,"angle":155,"satellites":39,"speed":33,"hex_longitude":"2d5ab8c0","hex_latitude":"0639f120","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995941376001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281851035457159168,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6533245342430994432,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777327908000,"timestamp_ms":1777327908000,"timestamp_seconds":1777327908,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ffa4a0"} 
[2026-04-28 03:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:43: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-04-28 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43: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-04-28 03:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995941376001,"66":27300,"85":206,"78":38656,"24":33,"16":281851035457159168,"45":6533245342430994432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995941376001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281851035457159168,"km_value":281851035457159.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6533245342430994432,"description":"Unknown IO ID 45"} 
[2026-04-28 03:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995941376001,"power":27300,"unknown_85":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6533245342430994432}} 
[2026-04-28 03:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":56055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:43:25] local.INFO: GPS data processed {"connection_id":56055,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:43:25] local.INFO: Acknowledgment sent {"connection_id":56055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:43:25] local.INFO: Packet analysis {"connection_id":56055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:25] local.INFO: Extracted packet for processing {"connection_id":56055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760924352,"raw_latitude":104451848,"longitude_deg":76.0924352,"latitude_deg":10.4451848,"altitude":9,"angle":155,"satellites":40,"speed":34,"hex_longitude":"2d5ac8c0","hex_latitude":"0639cf08","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995944448001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281851503608594432,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6537185992102715392,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777327919000,"timestamp_ms":1777327919000,"timestamp_seconds":1777327919,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0ffcf98"} 
[2026-04-28 03:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:43: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-04-28 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 03:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43: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-04-28 03:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995944448001,"66":27234,"85":206,"78":38656,"24":34,"16":281851503608594432,"45":6537185992102715392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-28 03:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995944448001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281851503608594432,"km_value":281851503608594.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6537185992102715392,"description":"Unknown IO ID 45"} 
[2026-04-28 03:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995944448001,"power":27234,"unknown_85":206,"unknown_78":38656,"ignition":34,"odometer":null,"unknown_45":6537185992102715392}} 
[2026-04-28 03:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":56055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:43:25] local.INFO: GPS data processed {"connection_id":56055,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:43:25] local.INFO: Acknowledgment sent {"connection_id":56055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:43:26] local.INFO: TCP Data received {"connection_id":56055,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd0fffa90012d5ad8400639ac500008009b29..."} 
[2026-04-28 03:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd0fffa90012d5ad8400639ac500008009b29..."} 
[2026-04-28 03:43:26] local.INFO: Processing buffer {"connection_id":56055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd0fffa90012d5ad8400639ac500008009b29..."} 
[2026-04-28 03:43:26] local.INFO: Packet analysis {"connection_id":56055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:26] local.INFO: Extracted packet for processing {"connection_id":56055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd0ff"} 
[2026-04-28 03:43:26] local.INFO: GPS Element Parsed {"raw_longitude":760928320,"raw_latitude":104442960,"longitude_deg":76.092832,"latitude_deg":10.444296,"altitude":8,"angle":155,"satellites":41,"speed":35,"hex_longitude":"2d5ad840","hex_latitude":"0639ac50","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995947264001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281851976054996992,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6541689591727851520,"note":"Value kept but may cause issues"} 
[2026-04-28 03:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777327930000,"timestamp_ms":1777327930000,"timestamp_seconds":1777327930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd0fffa90"} 
[2026-04-28 03:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:43: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-04-28 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 03:43:26] 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-04-28 03: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-04-28 03:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995947264001,"66":27376,"85":206,"78":38656,"24":35,"16":281851976054996992,"45":6541689591727851520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-28 03:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995947264001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 03:43:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281851976054996992,"km_value":281851976054997.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6541689591727851520,"description":"Unknown IO ID 45"} 
[2026-04-28 03:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995947264001,"power":27376,"unknown_85":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6541689591727851520}} 
[2026-04-28 03:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":56055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:43:26] local.INFO: GPS data processed {"connection_id":56055,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:43:26] local.INFO: Acknowledgment sent {"connection_id":56055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:43:55] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:55] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:43:55] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:44:00] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:44:00] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:44:00] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:44:01] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10021a0012d5ae6c006398b680006009b2b..."} 
[2026-04-28 03:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10021a0012d5ae6c006398b680006009b2b..."} 
[2026-04-28 03:44:01] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10021a0012d5ae6c006398b680006009b2b..."} 
[2026-04-28 03:44:01] local.INFO: Packet analysis {"connection_id":56221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:44:01] local.INFO: Extracted packet for processing {"connection_id":56221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:44:01] local.INFO: GPS Element Parsed {"raw_longitude":760932032,"raw_latitude":104434536,"longitude_deg":76.0932032,"latitude_deg":10.4434536,"altitude":6,"angle":155,"satellites":43,"speed":32,"hex_longitude":"2d5ae6c0","hex_latitude":"06398b68","is_valid_coordinates":true} 
[2026-04-28 03:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995950080001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281852418436628480,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546052453864591360,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777327940000,"timestamp_ms":1777327940000,"timestamp_seconds":1777327940,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10021a0"} 
[2026-04-28 03:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995950080001,"66":27397,"85":206,"78":38656,"24":32,"16":281852418436628480,"45":6546052453864591360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-28 03:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995950080001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 03:44:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281852418436628480,"km_value":281852418436628.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546052453864591360,"description":"Unknown IO ID 45"} 
[2026-04-28 03:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995950080001,"power":27397,"unknown_85":206,"unknown_78":38656,"ignition":32,"odometer":null,"unknown_45":6546052453864591360}} 
[2026-04-28 03:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":56221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:44:01] local.INFO: GPS data processed {"connection_id":56221,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:44:01] local.INFO: Acknowledgment sent {"connection_id":56221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:44:35] local.INFO: TCP Data received {"connection_id":56221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1004c98012d5af5c0063969800006009b2b..."} 
[2026-04-28 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1004c98012d5af5c0063969800006009b2b..."} 
[2026-04-28 03:44:35] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1004c98012d5af5c0063969800006009b2b..."} 
[2026-04-28 03:44:35] local.INFO: Packet analysis {"connection_id":56221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:44:35] local.INFO: Extracted packet for processing {"connection_id":56221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":760935872,"raw_latitude":104425856,"longitude_deg":76.0935872,"latitude_deg":10.4425856,"altitude":6,"angle":155,"satellites":43,"speed":35,"hex_longitude":"2d5af5c0","hex_latitude":"06396980","is_valid_coordinates":true} 
[2026-04-28 03:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995952640001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281852877998129152,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6550133841024739328,"note":"Value kept but may cause issues"} 
[2026-04-28 03:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777327951000,"timestamp_ms":1777327951000,"timestamp_seconds":1777327951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1004c98"} 
[2026-04-28 03:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:44: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-04-28 03:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995952640001,"66":27343,"85":206,"78":38656,"24":35,"16":281852877998129152,"45":6550133841024739328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-28 03:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995952640001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 03:44:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281852877998129152,"km_value":281852877998129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6550133841024739328,"description":"Unknown IO ID 45"} 
[2026-04-28 03:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995952640001,"power":27343,"unknown_85":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6550133841024739328}} 
[2026-04-28 03:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":56221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:44:35] local.INFO: GPS data processed {"connection_id":56221,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:44:35] local.INFO: Acknowledgment sent {"connection_id":56221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:45:08] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:08] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:08] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:45:14] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:14] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:14] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:45:15] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:15] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:15] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:45:15] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1007790012d5b054006394a10000700942b..."} 
[2026-04-28 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1007790012d5b054006394a10000700942b..."} 
[2026-04-28 03:45:15] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1007790012d5b054006394a10000700942b..."} 
[2026-04-28 03:45:15] local.INFO: Packet analysis {"connection_id":56293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:45:15] local.INFO: Extracted packet for processing {"connection_id":56293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:45:15] local.INFO: GPS Element Parsed {"raw_longitude":760939840,"raw_latitude":104417808,"longitude_deg":76.093984,"latitude_deg":10.4417808,"altitude":7,"angle":148,"satellites":43,"speed":29,"hex_longitude":"2d5b0540","hex_latitude":"06394a10","is_valid_coordinates":true} 
[2026-04-28 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995955456001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281853311789826048,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6554355965673177088,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777327962000,"timestamp_ms":1777327962000,"timestamp_seconds":1777327962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1007790"} 
[2026-04-28 03:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:45:15] 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-04-28 03:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:45: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-04-28 03:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995955456001,"66":27376,"83":206,"78":38656,"24":29,"16":281853311789826048,"45":6554355965673177088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,78,24,16,45]} 
[2026-04-28 03:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995955456001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 03:45:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281853311789826048,"km_value":281853311789826.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6554355965673177088,"description":"Unknown IO ID 45"} 
[2026-04-28 03:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995955456001,"power":27376,"unknown_83":206,"unknown_78":38656,"ignition":29,"odometer":null,"unknown_45":6554355965673177088}} 
[2026-04-28 03:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":56293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:45:15] local.INFO: GPS data processed {"connection_id":56293,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:45:15] local.INFO: Acknowledgment sent {"connection_id":56293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:45:16] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd100a288012d5b194006392c980009009429..."} 
[2026-04-28 03:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd100a288012d5b194006392c980009009429..."} 
[2026-04-28 03:45:16] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd100a288012d5b194006392c980009009429..."} 
[2026-04-28 03:45:16] local.INFO: Packet analysis {"connection_id":56293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:45:16] local.INFO: Extracted packet for processing {"connection_id":56293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd100"} 
[2026-04-28 03:45:16] local.INFO: GPS Element Parsed {"raw_longitude":760944960,"raw_latitude":104410264,"longitude_deg":76.094496,"latitude_deg":10.4410264,"altitude":9,"angle":148,"satellites":41,"speed":35,"hex_longitude":"2d5b1940","hex_latitude":"06392c98","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995958272001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281853749876490240,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6558718827810131968,"note":"Value kept but may cause issues"} 
[2026-04-28 03:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777327973000,"timestamp_ms":1777327973000,"timestamp_seconds":1777327973,"priority":1,"record_length":96,"hex_timestamp":"0000019dd100a288"} 
[2026-04-28 03:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:45: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-04-28 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:45:16] 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-04-28 03: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-04-28 03:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:45: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-04-28 03:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995958272001,"66":27376,"84":206,"78":38656,"24":35,"16":281853749876490240,"45":6558718827810131968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-04-28 03:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995958272001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:45:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-04-28 03:45:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281853749876490240,"km_value":281853749876490.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6558718827810131968,"description":"Unknown IO ID 45"} 
[2026-04-28 03:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995958272001,"power":27376,"unknown_84":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6558718827810131968}} 
[2026-04-28 03:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":56293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:45:16] local.INFO: GPS data processed {"connection_id":56293,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:45:16] local.INFO: Acknowledgment sent {"connection_id":56293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:45:54] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:54] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:45:54] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:46:00] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:46:00] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:46:00] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:46:01] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1023cb0012d5bd3000637d1980007009b2a..."} 
[2026-04-28 03:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1023cb0012d5bd3000637d1980007009b2a..."} 
[2026-04-28 03:46:01] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1023cb0012d5bd3000637d1980007009b2a..."} 
[2026-04-28 03:46:01] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:46:01] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:46:01] local.INFO: GPS Element Parsed {"raw_longitude":760992512,"raw_latitude":104321432,"longitude_deg":76.0992512,"latitude_deg":10.4321432,"altitude":7,"angle":155,"satellites":42,"speed":47,"hex_longitude":"2d5bd300","hex_latitude":"0637d198","is_valid_coordinates":true} 
[2026-04-28 03:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995985920001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281858650434174976,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6612269442106869760,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777328078000,"timestamp_ms":1777328078000,"timestamp_seconds":1777328078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1023cb0"} 
[2026-04-28 03:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:46: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-04-28 03:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995985920001,"66":27332,"220":206,"78":38656,"24":47,"16":281858650434174976,"45":6612269442106869760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-04-28 03:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995985920001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:46:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-04-28 03:46:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281858650434174976,"km_value":281858650434175.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6612269442106869760,"description":"Unknown IO ID 45"} 
[2026-04-28 03:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995985920001,"power":27332,"unknown_220":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6612269442106869760}} 
[2026-04-28 03:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:46:01] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:46:01] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:46:31] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1025bf0012d5be3000637b0b0000700992c..."} 
[2026-04-28 03:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1025bf0012d5be3000637b0b0000700992c..."} 
[2026-04-28 03:46:31] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1025bf0012d5be3000637b0b0000700992c..."} 
[2026-04-28 03:46:31] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:46:31] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:46:31] local.INFO: GPS Element Parsed {"raw_longitude":760996608,"raw_latitude":104313008,"longitude_deg":76.0996608,"latitude_deg":10.4313008,"altitude":7,"angle":153,"satellites":44,"speed":43,"hex_longitude":"2d5be300","hex_latitude":"0637b0b0","is_valid_coordinates":true} 
[2026-04-28 03:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995987968001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281859105700708352,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6616632304243677184,"note":"Value kept but may cause issues"} 
[2026-04-28 03:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777328086000,"timestamp_ms":1777328086000,"timestamp_seconds":1777328086,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1025bf0"} 
[2026-04-28 03:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995987968001,"66":27321,"220":206,"78":38656,"24":43,"16":281859105700708352,"45":6616632304243677184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-04-28 03:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995987968001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:46:31] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-04-28 03:46:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281859105700708352,"km_value":281859105700708.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6616632304243677184,"description":"Unknown IO ID 45"} 
[2026-04-28 03:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995987968001,"power":27321,"unknown_220":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6616632304243677184}} 
[2026-04-28 03:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:46:31] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:46:31] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:46:55] local.INFO: TCP Data received {"connection_id":56222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:46:55] local.INFO: Processing buffer {"connection_id":56222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:46:55] local.INFO: IMEI packet received {"connection_id":56222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":56222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:47:00] local.INFO: TCP Data received {"connection_id":56057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: Processing buffer {"connection_id":56057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: IMEI packet received {"connection_id":56057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:47:00] local.INFO: TCP Data received {"connection_id":56057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: Processing buffer {"connection_id":56057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:00] local.INFO: IMEI packet received {"connection_id":56057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:47:05] local.INFO: TCP Data received {"connection_id":56057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:05] local.INFO: Processing buffer {"connection_id":56057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:05] local.INFO: IMEI packet received {"connection_id":56057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":56057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:47:06] local.INFO: TCP Data received {"connection_id":56057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1027f18012d5bf20006378ff80009009c2b..."} 
[2026-04-28 03:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1027f18012d5bf20006378ff80009009c2b..."} 
[2026-04-28 03:47:06] local.INFO: Processing buffer {"connection_id":56057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1027f18012d5bf20006378ff80009009c2b..."} 
[2026-04-28 03:47:06] local.INFO: Packet analysis {"connection_id":56057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:47:06] local.INFO: Extracted packet for processing {"connection_id":56057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":761000448,"raw_latitude":104304632,"longitude_deg":76.1000448,"latitude_deg":10.4304632,"altitude":9,"angle":156,"satellites":43,"speed":40,"hex_longitude":"2d5bf200","hex_latitude":"06378ff8","is_valid_coordinates":true} 
[2026-04-28 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995990016001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281859548082339840,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6621135903868891136,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777328095000,"timestamp_ms":1777328095000,"timestamp_seconds":1777328095,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1027f18"} 
[2026-04-28 03:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:47:06] 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-04-28 03:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:47: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-04-28 03:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995990016001,"66":27463,"220":206,"78":38656,"24":40,"16":281859548082339840,"45":6621135903868891136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-04-28 03:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995990016001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:47:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-04-28 03:47:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281859548082339840,"km_value":281859548082339.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6621135903868891136,"description":"Unknown IO ID 45"} 
[2026-04-28 03:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995990016001,"power":27463,"unknown_220":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6621135903868891136}} 
[2026-04-28 03:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":56057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:47:06] local.INFO: GPS data processed {"connection_id":56057,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:47:06] local.INFO: Acknowledgment sent {"connection_id":56057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:47:09] local.INFO: TCP Data received {"connection_id":56057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd102a240012d5c0100063770100009009c28..."} 
[2026-04-28 03:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd102a240012d5c0100063770100009009c28..."} 
[2026-04-28 03:47:09] local.INFO: Processing buffer {"connection_id":56057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd102a240012d5c0100063770100009009c28..."} 
[2026-04-28 03:47:09] local.INFO: Packet analysis {"connection_id":56057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:47:09] local.INFO: Extracted packet for processing {"connection_id":56057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd102"} 
[2026-04-28 03:47:09] local.INFO: GPS Element Parsed {"raw_longitude":761004288,"raw_latitude":104296464,"longitude_deg":76.1004288,"latitude_deg":10.4296464,"altitude":9,"angle":156,"satellites":40,"speed":37,"hex_longitude":"2d5c0100","hex_latitude":"06377010","is_valid_coordinates":true} 
[2026-04-28 03:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454995992320001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281859986169004032,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6625358028517406720,"note":"Value kept but may cause issues"} 
[2026-04-28 03:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777328104000,"timestamp_ms":1777328104000,"timestamp_seconds":1777328104,"priority":1,"record_length":96,"hex_timestamp":"0000019dd102a240"} 
[2026-04-28 03:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 03:47:09] 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-04-28 03:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454995992320001,"66":27397,"220":206,"78":38656,"24":37,"16":281859986169004032,"45":6625358028517406720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-04-28 03:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454995992320001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:47:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-04-28 03:47:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281859986169004032,"km_value":281859986169004.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6625358028517406720,"description":"Unknown IO ID 45"} 
[2026-04-28 03:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454995992320001,"power":27397,"unknown_220":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6625358028517406720}} 
[2026-04-28 03:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":56057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:47:09] local.INFO: GPS data processed {"connection_id":56057,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:47:09] local.INFO: Acknowledgment sent {"connection_id":56057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:47:35] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:47:35] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:47:35] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:47:54] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:54] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:54] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:47:55] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:55] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:47:55] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:48:00] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:00] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:00] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:48:02] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1041558012d5c744006368258000a009b29..."} 
[2026-04-28 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1041558012d5c744006368258000a009b29..."} 
[2026-04-28 03:48:02] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1041558012d5c744006368258000a009b29..."} 
[2026-04-28 03:48:02] local.INFO: Packet analysis {"connection_id":56223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:48:02] local.INFO: Extracted packet for processing {"connection_id":56223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:48:02] local.INFO: GPS Element Parsed {"raw_longitude":761033792,"raw_latitude":104235608,"longitude_deg":76.1033792,"latitude_deg":10.4235608,"altitude":10,"angle":155,"satellites":41,"speed":45,"hex_longitude":"2d5c7440","hex_latitude":"06368258","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996016896001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281863271818985472,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6657727650823540736,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777328199000,"timestamp_ms":1777328199000,"timestamp_seconds":1777328199,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1041558"} 
[2026-04-28 03:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996016896001,"66":27321,"175":206,"78":38656,"24":45,"16":281863271818985472,"45":6657727650823540736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-28 03:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996016896001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:48:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 03:48:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281863271818985472,"km_value":281863271818985.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6657727650823540736,"description":"Unknown IO ID 45"} 
[2026-04-28 03:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996016896001,"power":27321,"unknown_175":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6657727650823540736}} 
[2026-04-28 03:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":56223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:48:02] local.INFO: GPS data processed {"connection_id":56223,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:48:02] local.INFO: Acknowledgment sent {"connection_id":56223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:48:33] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1043498012d5c8440063660b8000a009b29..."} 
[2026-04-28 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1043498012d5c8440063660b8000a009b29..."} 
[2026-04-28 03:48:33] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1043498012d5c8440063660b8000a009b29..."} 
[2026-04-28 03:48:33] local.INFO: Packet analysis {"connection_id":56223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:48:33] local.INFO: Extracted packet for processing {"connection_id":56223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":761037888,"raw_latitude":104227000,"longitude_deg":76.1037888,"latitude_deg":10.4227,"altitude":10,"angle":155,"satellites":41,"speed":47,"hex_longitude":"2d5c8440","hex_latitude":"063660b8","is_valid_coordinates":true} 
[2026-04-28 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996018944001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281863731380486144,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6662020144216299520,"note":"Value kept but may cause issues"} 
[2026-04-28 03:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777328207000,"timestamp_ms":1777328207000,"timestamp_seconds":1777328207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1043498"} 
[2026-04-28 03:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:48:33] 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-04-28 03:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996018944001,"66":27397,"175":206,"78":38656,"24":47,"16":281863731380486144,"45":6662020144216299520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-28 03:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996018944001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:48:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 03:48:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281863731380486144,"km_value":281863731380486.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6662020144216299520,"description":"Unknown IO ID 45"} 
[2026-04-28 03:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996018944001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6662020144216299520}} 
[2026-04-28 03:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":56223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:48:33] local.INFO: GPS data processed {"connection_id":56223,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:48:33] local.INFO: Acknowledgment sent {"connection_id":56223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:48:55] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: IMEI packet received {"connection_id":56294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":56294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:48:55] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:48:55] local.INFO: IMEI packet received {"connection_id":56294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":56294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:49:00] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:00] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:00] local.INFO: IMEI packet received {"connection_id":56294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":56294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:49:01] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10453d8012d5c950006363e90000a00992a..."} 
[2026-04-28 03:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10453d8012d5c950006363e90000a00992a..."} 
[2026-04-28 03:49:01] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10453d8012d5c950006363e90000a00992a..."} 
[2026-04-28 03:49:01] local.INFO: Packet analysis {"connection_id":56294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:49:01] local.INFO: Extracted packet for processing {"connection_id":56294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd104"} 
[2026-04-28 03:49:01] local.INFO: GPS Element Parsed {"raw_longitude":761042176,"raw_latitude":104218256,"longitude_deg":76.1042176,"latitude_deg":10.4218256,"altitude":10,"angle":153,"satellites":42,"speed":48,"hex_longitude":"2d5c9500","hex_latitude":"06363e90","is_valid_coordinates":true} 
[2026-04-28 03:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996020992001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281864203826888704,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6666523743841466368,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777328215000,"timestamp_ms":1777328215000,"timestamp_seconds":1777328215,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10453d8"} 
[2026-04-28 03:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996020992001,"66":27397,"175":206,"78":38656,"24":48,"16":281864203826888704,"45":6666523743841466368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-28 03:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996020992001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:49:01] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 03:49:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281864203826888704,"km_value":281864203826888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6666523743841466368,"description":"Unknown IO ID 45"} 
[2026-04-28 03:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996020992001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6666523743841466368}} 
[2026-04-28 03:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":56294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:49:01] local.INFO: GPS data processed {"connection_id":56294,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:49:01] local.INFO: Acknowledgment sent {"connection_id":56294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:49:33] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd105d690012d5d90c00634a680000d009a2b..."} 
[2026-04-28 03:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd105d690012d5d90c00634a680000d009a2b..."} 
[2026-04-28 03:49:33] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd105d690012d5d90c00634a680000d009a2b..."} 
[2026-04-28 03:49:33] local.INFO: Packet analysis {"connection_id":56294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd105"} 
[2026-04-28 03:49:33] local.INFO: Extracted packet for processing {"connection_id":56294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd105"} 
[2026-04-28 03:49:33] local.INFO: GPS Element Parsed {"raw_longitude":761106624,"raw_latitude":104113792,"longitude_deg":76.1106624,"latitude_deg":10.4113792,"altitude":13,"angle":154,"satellites":43,"speed":50,"hex_longitude":"2d5d90c0","hex_latitude":"0634a680","is_valid_coordinates":true} 
[2026-04-28 03:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996046336001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281870148061626368,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6737244331713294336,"note":"Value kept but may cause issues"} 
[2026-04-28 03:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777328314000,"timestamp_ms":1777328314000,"timestamp_seconds":1777328314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd105d690"} 
[2026-04-28 03:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-04-28 03:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996046336001,"66":27376,"190":206,"78":38656,"24":50,"16":281870148061626368,"45":6737244331713294336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-28 03:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996046336001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:49:33] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-28 03:49:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281870148061626368,"km_value":281870148061626.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6737244331713294336,"description":"Unknown IO ID 45"} 
[2026-04-28 03:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996046336001,"power":27376,"unknown_190":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6737244331713294336}} 
[2026-04-28 03:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":56294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:49:33] local.INFO: GPS data processed {"connection_id":56294,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:49:33] local.INFO: Acknowledgment sent {"connection_id":56294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:49:56] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:56] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:49:56] local.INFO: IMEI packet received {"connection_id":56225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":56225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:50:00] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:00] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:00] local.INFO: IMEI packet received {"connection_id":56225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:50:05] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:05] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:05] local.INFO: IMEI packet received {"connection_id":56225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":56225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:50:07] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd105f1e8012d5da040063486f8000a00992b..."} 
[2026-04-28 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd105f1e8012d5da040063486f8000a00992b..."} 
[2026-04-28 03:50:07] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd105f1e8012d5da040063486f8000a00992b..."} 
[2026-04-28 03:50:07] local.INFO: Packet analysis {"connection_id":56225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd105"} 
[2026-04-28 03:50:07] local.INFO: Extracted packet for processing {"connection_id":56225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd105"} 
[2026-04-28 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":761110592,"raw_latitude":104105720,"longitude_deg":76.1110592,"latitude_deg":10.410572,"altitude":10,"angle":153,"satellites":43,"speed":52,"hex_longitude":"2d5da040","hex_latitude":"063486f8","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996048384001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281870581853323264,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6742099775059296256,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777328321000,"timestamp_ms":1777328321000,"timestamp_seconds":1777328321,"priority":1,"record_length":96,"hex_timestamp":"0000019dd105f1e8"} 
[2026-04-28 03:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:50: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-04-28 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:50:07] 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-04-28 03: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-04-28 03:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996048384001,"66":27397,"190":206,"78":38656,"24":52,"16":281870581853323264,"45":6742099775059296256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-28 03:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996048384001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:50:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-28 03:50:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281870581853323264,"km_value":281870581853323.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6742099775059296256,"description":"Unknown IO ID 45"} 
[2026-04-28 03:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996048384001,"power":27397,"unknown_190":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6742099775059296256}} 
[2026-04-28 03:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":56225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:50:07] local.INFO: GPS data processed {"connection_id":56225,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:50:07] local.INFO: Acknowledgment sent {"connection_id":56225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:50:08] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1060d40012d5db10006346590000700982c..."} 
[2026-04-28 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1060d40012d5db10006346590000700982c..."} 
[2026-04-28 03:50:08] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1060d40012d5db10006346590000700982c..."} 
[2026-04-28 03:50:08] local.INFO: Packet analysis {"connection_id":56225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:50:08] local.INFO: Extracted packet for processing {"connection_id":56225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":761114880,"raw_latitude":104097168,"longitude_deg":76.111488,"latitude_deg":10.4097168,"altitude":7,"angle":152,"satellites":44,"speed":55,"hex_longitude":"2d5db100","hex_latitude":"06346590","is_valid_coordinates":true} 
[2026-04-28 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996050176001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281871045709791232,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6746462637196244992,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777328328000,"timestamp_ms":1777328328000,"timestamp_seconds":1777328328,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1060d40"} 
[2026-04-28 03:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996050176001,"66":27321,"190":206,"78":38656,"24":55,"16":281871045709791232,"45":6746462637196244992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-28 03:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996050176001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:50:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-28 03:50:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281871045709791232,"km_value":281871045709791.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6746462637196244992,"description":"Unknown IO ID 45"} 
[2026-04-28 03:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996050176001,"power":27321,"unknown_190":206,"unknown_78":38656,"ignition":55,"odometer":null,"unknown_45":6746462637196244992}} 
[2026-04-28 03:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":56225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:50:08] local.INFO: GPS data processed {"connection_id":56225,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:50:08] local.INFO: Acknowledgment sent {"connection_id":56225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:50:39] local.INFO: TCP Data received {"connection_id":56225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1062898012d5dc500063446600007008f2a..."} 
[2026-04-28 03:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1062898012d5dc500063446600007008f2a..."} 
[2026-04-28 03:50:39] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1062898012d5dc500063446600007008f2a..."} 
[2026-04-28 03:50:39] local.INFO: Packet analysis {"connection_id":56225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:50:39] local.INFO: Extracted packet for processing {"connection_id":56225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":761120000,"raw_latitude":104089184,"longitude_deg":76.112,"latitude_deg":10.4089184,"altitude":7,"angle":143,"satellites":42,"speed":52,"hex_longitude":"2d5dc500","hex_latitude":"06344660","is_valid_coordinates":true} 
[2026-04-28 03:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996051968001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281871505271291904,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6751177343053959168,"note":"Value kept but may cause issues"} 
[2026-04-28 03:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777328335000,"timestamp_ms":1777328335000,"timestamp_seconds":1777328335,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1062898"} 
[2026-04-28 03:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:50:39] 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-04-28 03:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996051968001,"66":27365,"190":206,"78":38656,"24":52,"16":281871505271291904,"45":6751177343053959168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-28 03:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996051968001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:50:39] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-28 03:50:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281871505271291904,"km_value":281871505271291.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6751177343053959168,"description":"Unknown IO ID 45"} 
[2026-04-28 03:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996051968001,"power":27365,"unknown_190":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6751177343053959168}} 
[2026-04-28 03:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":56225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:50:39] local.INFO: GPS data processed {"connection_id":56225,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:50:39] local.INFO: Acknowledgment sent {"connection_id":56225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:50:54] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:54] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:54] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:50:58] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:58] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:50:58] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:51:00] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10647d8012d5ddac0063425c00008009628..."} 
[2026-04-28 03:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10647d8012d5ddac0063425c00008009628..."} 
[2026-04-28 03:51:00] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10647d8012d5ddac0063425c00008009628..."} 
[2026-04-28 03:51:00] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:51:00] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd106"} 
[2026-04-28 03:51:00] local.INFO: GPS Element Parsed {"raw_longitude":761125568,"raw_latitude":104080832,"longitude_deg":76.1125568,"latitude_deg":10.4080832,"altitude":8,"angle":150,"satellites":40,"speed":47,"hex_longitude":"2d5ddac0","hex_latitude":"063425c0","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996053760001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281871986307629056,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6756806842586128384,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777328343000,"timestamp_ms":1777328343000,"timestamp_seconds":1777328343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10647d8"} 
[2026-04-28 03:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:51: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-04-28 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 03:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996053760001,"66":27463,"205":206,"78":38656,"24":47,"16":281871986307629056,"45":6756806842586128384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-04-28 03:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996053760001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:51:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281871986307629056,"km_value":281871986307629.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6756806842586128384,"description":"Unknown IO ID 45"} 
[2026-04-28 03:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996053760001,"power":27463,"cell_id":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6756806842586128384}} 
[2026-04-28 03:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:51:00] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:51:00] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:51:31] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd107af38012d5e9600063293f8000800982a..."} 
[2026-04-28 03:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd107af38012d5e9600063293f8000800982a..."} 
[2026-04-28 03:51:31] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd107af38012d5e9600063293f8000800982a..."} 
[2026-04-28 03:51:31] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:51:31] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":761173504,"raw_latitude":103977976,"longitude_deg":76.1173504,"latitude_deg":10.3977976,"altitude":8,"angle":152,"satellites":42,"speed":57,"hex_longitude":"2d5e9600","hex_latitude":"063293f8","is_valid_coordinates":true} 
[2026-04-28 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996077568001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281877479570800640,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6810568563111655424,"note":"Value kept but may cause issues"} 
[2026-04-28 03:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777328435000,"timestamp_ms":1777328435000,"timestamp_seconds":1777328435,"priority":1,"record_length":96,"hex_timestamp":"0000019dd107af38"} 
[2026-04-28 03:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996077568001,"66":27376,"143":206,"78":38656,"24":57,"16":281877479570800640,"45":6810568563111655424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-04-28 03:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996077568001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:51:31] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-28 03:51:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281877479570800640,"km_value":281877479570800.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6810568563111655424,"description":"Unknown IO ID 45"} 
[2026-04-28 03:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996077568001,"power":27376,"unknown_143":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6810568563111655424}} 
[2026-04-28 03:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:51:31] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:51:31] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:51:59] local.INFO: TCP Data received {"connection_id":56227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:51:59] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:51:59] local.INFO: IMEI packet received {"connection_id":56227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:52:00] local.INFO: TCP Data received {"connection_id":56227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:00] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:00] local.INFO: IMEI packet received {"connection_id":56227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:52:09] local.INFO: TCP Data received {"connection_id":56227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:09] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:09] local.INFO: IMEI packet received {"connection_id":56227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":56227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:52:10] local.INFO: TCP Data received {"connection_id":56227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd107ca90012d5ea780063272080008009829..."} 
[2026-04-28 03:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd107ca90012d5ea780063272080008009829..."} 
[2026-04-28 03:52:10] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd107ca90012d5ea780063272080008009829..."} 
[2026-04-28 03:52:10] local.INFO: Packet analysis {"connection_id":56227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:52:10] local.INFO: Extracted packet for processing {"connection_id":56227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":761177984,"raw_latitude":103969288,"longitude_deg":76.1177984,"latitude_deg":10.3969288,"altitude":8,"angle":152,"satellites":41,"speed":54,"hex_longitude":"2d5ea780","hex_latitude":"06327208","is_valid_coordinates":true} 
[2026-04-28 03:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996079360001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281877952017203200,"note":"Value kept but may cause issues"} 
[2026-04-28 03:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6815635112690186240,"note":"Value kept but may cause issues"} 
[2026-04-28 03:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777328442000,"timestamp_ms":1777328442000,"timestamp_seconds":1777328442,"priority":1,"record_length":96,"hex_timestamp":"0000019dd107ca90"} 
[2026-04-28 03:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 03:52:10] 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-04-28 03:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996079360001,"66":27332,"143":206,"78":38656,"24":54,"16":281877952017203200,"45":6815635112690186240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-04-28 03:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996079360001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:52:10] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-28 03:52:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281877952017203200,"km_value":281877952017203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6815635112690186240,"description":"Unknown IO ID 45"} 
[2026-04-28 03:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996079360001,"power":27332,"unknown_143":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6815635112690186240}} 
[2026-04-28 03:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":56227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:52:10] local.INFO: GPS data processed {"connection_id":56227,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:52:10] local.INFO: Acknowledgment sent {"connection_id":56227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:52:55] local.INFO: TCP Data received {"connection_id":56295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:55] local.INFO: Processing buffer {"connection_id":56295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:55] local.INFO: IMEI packet received {"connection_id":56295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":56295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:52:55] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:52:55] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:52:55] local.INFO: IMEI packet received {"connection_id":56228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":56228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:52:59] local.INFO: TCP Data received {"connection_id":56295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:59] local.INFO: Processing buffer {"connection_id":56295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:52:59] local.INFO: IMEI packet received {"connection_id":56295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:53:00] local.INFO: TCP Data received {"connection_id":56295,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd107e5e8012d5eb7c0063252000008009a29..."} 
[2026-04-28 03:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd107e5e8012d5eb7c0063252000008009a29..."} 
[2026-04-28 03:53:00] local.INFO: Processing buffer {"connection_id":56295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd107e5e8012d5eb7c0063252000008009a29..."} 
[2026-04-28 03:53:00] local.INFO: Packet analysis {"connection_id":56295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:53:00] local.INFO: Extracted packet for processing {"connection_id":56295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd107"} 
[2026-04-28 03:53:00] local.INFO: GPS Element Parsed {"raw_longitude":761182144,"raw_latitude":103961088,"longitude_deg":76.1182144,"latitude_deg":10.3961088,"altitude":8,"angle":154,"satellites":41,"speed":51,"hex_longitude":"2d5eb7c0","hex_latitude":"06325200","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996081152001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281878398693801984,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6820560924780398592,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777328449000,"timestamp_ms":1777328449000,"timestamp_seconds":1777328449,"priority":1,"record_length":96,"hex_timestamp":"0000019dd107e5e8"} 
[2026-04-28 03:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:53: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-04-28 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996081152001,"66":27397,"143":206,"78":38656,"24":51,"16":281878398693801984,"45":6820560924780398592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-04-28 03:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996081152001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:53:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-28 03:53:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-28 03:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281878398693801984,"km_value":281878398693802.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6820560924780398592,"description":"Unknown IO ID 45"} 
[2026-04-28 03:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996081152001,"power":27397,"unknown_143":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6820560924780398592}} 
[2026-04-28 03:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:53:00] local.INFO: GPS data processed {"connection_id":56295,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:53:00] local.INFO: Acknowledgment sent {"connection_id":56295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:53:30] local.INFO: TCP Data received {"connection_id":56295,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10983f8012d5f09000630b558000900a129..."} 
[2026-04-28 03:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10983f8012d5f09000630b558000900a129..."} 
[2026-04-28 03:53:30] local.INFO: Processing buffer {"connection_id":56295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10983f8012d5f09000630b558000900a129..."} 
[2026-04-28 03:53:30] local.INFO: Packet analysis {"connection_id":56295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:53:30] local.INFO: Extracted packet for processing {"connection_id":56295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:53:30] local.INFO: GPS Element Parsed {"raw_longitude":761202944,"raw_latitude":103855448,"longitude_deg":76.1202944,"latitude_deg":10.3855448,"altitude":9,"angle":161,"satellites":41,"speed":53,"hex_longitude":"2d5f0900","hex_latitude":"0630b558","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996108288001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281883707273379840,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6844697404006500352,"note":"Value kept but may cause issues"} 
[2026-04-28 03:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777328555000,"timestamp_ms":1777328555000,"timestamp_seconds":1777328555,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10983f8"} 
[2026-04-28 03:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03: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-04-28 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996108288001,"66":27332,"209":206,"79":20992,"24":53,"16":281883707273379840,"45":6844697404006500352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-28 03:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996108288001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:53:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 03:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281883707273379840,"km_value":281883707273379.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6844697404006500352,"description":"Unknown IO ID 45"} 
[2026-04-28 03:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996108288001,"power":27332,"unknown_209":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6844697404006500352}} 
[2026-04-28 03:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":56295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:53:31] local.INFO: GPS data processed {"connection_id":56295,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:53:31] local.INFO: Acknowledgment sent {"connection_id":56295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:53:35] local.INFO: TCP Data received {"connection_id":56296,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:53:35] local.INFO: Processing buffer {"connection_id":56296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:53:35] local.INFO: IMEI packet received {"connection_id":56296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":56296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:53:54] local.INFO: TCP Data received {"connection_id":56059,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:53:54] local.INFO: Processing buffer {"connection_id":56059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:53:54] local.INFO: IMEI packet received {"connection_id":56059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":56059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:54:00] local.INFO: TCP Data received {"connection_id":56059,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:00] local.INFO: Processing buffer {"connection_id":56059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:00] local.INFO: IMEI packet received {"connection_id":56059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":56059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:54:00] local.INFO: TCP Data received {"connection_id":56059,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1099f50012d5f13c006309338000800a32a..."} 
[2026-04-28 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1099f50012d5f13c006309338000800a32a..."} 
[2026-04-28 03:54:00] local.INFO: Processing buffer {"connection_id":56059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1099f50012d5f13c006309338000800a32a..."} 
[2026-04-28 03:54:00] local.INFO: Packet analysis {"connection_id":56059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:54:00] local.INFO: Extracted packet for processing {"connection_id":56059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:54:00] local.INFO: GPS Element Parsed {"raw_longitude":761205696,"raw_latitude":103846712,"longitude_deg":76.1205696,"latitude_deg":10.3846712,"altitude":8,"angle":163,"satellites":42,"speed":51,"hex_longitude":"2d5f13c0","hex_latitude":"06309338","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996110080001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281884149655011328,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6848004734980544512,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777328562000,"timestamp_ms":1777328562000,"timestamp_seconds":1777328562,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1099f50"} 
[2026-04-28 03:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 03:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996110080001,"66":27343,"209":206,"79":20992,"24":51,"16":281884149655011328,"45":6848004734980544512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-28 03:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996110080001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:54:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 03:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281884149655011328,"km_value":281884149655011.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6848004734980544512,"description":"Unknown IO ID 45"} 
[2026-04-28 03:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996110080001,"power":27343,"unknown_209":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6848004734980544512}} 
[2026-04-28 03:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":56059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:54:00] local.INFO: GPS data processed {"connection_id":56059,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:54:00] local.INFO: Acknowledgment sent {"connection_id":56059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:54:31] local.INFO: TCP Data received {"connection_id":56059,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd109be90012d5f1e0006306d70000800a62a..."} 
[2026-04-28 03:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd109be90012d5f1e0006306d70000800a62a..."} 
[2026-04-28 03:54:31] local.INFO: Processing buffer {"connection_id":56059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd109be90012d5f1e0006306d70000800a62a..."} 
[2026-04-28 03:54:31] local.INFO: Packet analysis {"connection_id":56059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:54:31] local.INFO: Extracted packet for processing {"connection_id":56059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":761208320,"raw_latitude":103837040,"longitude_deg":76.120832,"latitude_deg":10.383704,"altitude":8,"angle":166,"satellites":42,"speed":48,"hex_longitude":"2d5f1e00","hex_latitude":"06306d70","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996111872001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281884634986315776,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6851030590977947648,"note":"Value kept but may cause issues"} 
[2026-04-28 03:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777328570000,"timestamp_ms":1777328570000,"timestamp_seconds":1777328570,"priority":1,"record_length":96,"hex_timestamp":"0000019dd109be90"} 
[2026-04-28 03:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:54: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-04-28 03:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996111872001,"66":27343,"209":206,"79":20992,"24":48,"16":281884634986315776,"45":6851030590977947648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-28 03:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996111872001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:54:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 03:54:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281884634986315776,"km_value":281884634986315.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6851030590977947648,"description":"Unknown IO ID 45"} 
[2026-04-28 03:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996111872001,"power":27343,"unknown_209":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6851030590977947648}} 
[2026-04-28 03:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":56059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:54:31] local.INFO: GPS data processed {"connection_id":56059,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:54:31] local.INFO: Acknowledgment sent {"connection_id":56059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:54:55] local.INFO: TCP Data received {"connection_id":56230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:55] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:54:55] local.INFO: IMEI packet received {"connection_id":56230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":56230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:55:00] local.INFO: TCP Data received {"connection_id":56230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:00] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:00] local.INFO: IMEI packet received {"connection_id":56230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":56230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:55:00] local.INFO: TCP Data received {"connection_id":56230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd109ddd0012d5f26c006304990000900a729..."} 
[2026-04-28 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd109ddd0012d5f26c006304990000900a729..."} 
[2026-04-28 03:55:00] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd109ddd0012d5f26c006304990000900a729..."} 
[2026-04-28 03:55:00] local.INFO: Packet analysis {"connection_id":56230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:55:00] local.INFO: Extracted packet for processing {"connection_id":56230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:55:00] local.INFO: GPS Element Parsed {"raw_longitude":761210560,"raw_latitude":103827856,"longitude_deg":76.121056,"latitude_deg":10.3827856,"altitude":9,"angle":167,"satellites":41,"speed":46,"hex_longitude":"2d5f26c0","hex_latitude":"06304990","is_valid_coordinates":true} 
[2026-04-28 03: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-04-28 03:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996113920001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281885094547816448,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6853915709486755840,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777328578000,"timestamp_ms":1777328578000,"timestamp_seconds":1777328578,"priority":1,"record_length":96,"hex_timestamp":"0000019dd109ddd0"} 
[2026-04-28 03:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 03:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03: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-04-28 03:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996113920001,"66":27321,"209":206,"79":20992,"24":46,"16":281885094547816448,"45":6853915709486755840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-28 03:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996113920001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281885094547816448,"km_value":281885094547816.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6853915709486755840,"description":"Unknown IO ID 45"} 
[2026-04-28 03:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996113920001,"power":27321,"unknown_209":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":6853915709486755840}} 
[2026-04-28 03:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:55:00] local.INFO: GPS data processed {"connection_id":56230,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:55:00] local.INFO: Acknowledgment sent {"connection_id":56230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:55:31] local.INFO: TCP Data received {"connection_id":56230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd109fd10012d5f2ec006302538000900a82a..."} 
[2026-04-28 03:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd109fd10012d5f2ec006302538000900a82a..."} 
[2026-04-28 03:55:31] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd109fd10012d5f2ec006302538000900a82a..."} 
[2026-04-28 03:55:31] local.INFO: Packet analysis {"connection_id":56230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:55:31] local.INFO: Extracted packet for processing {"connection_id":56230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd109"} 
[2026-04-28 03:55:31] local.INFO: GPS Element Parsed {"raw_longitude":761212608,"raw_latitude":103818552,"longitude_deg":76.1212608,"latitude_deg":10.3818552,"altitude":9,"angle":168,"satellites":42,"speed":48,"hex_longitude":"2d5f2ec0","hex_latitude":"06302538","is_valid_coordinates":true} 
[2026-04-28 03:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996115968001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281885558404284416,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6856378615530622976,"note":"Value kept but may cause issues"} 
[2026-04-28 03:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777328586000,"timestamp_ms":1777328586000,"timestamp_seconds":1777328586,"priority":1,"record_length":96,"hex_timestamp":"0000019dd109fd10"} 
[2026-04-28 03:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 03:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996115968001,"66":27397,"209":206,"79":20992,"24":48,"16":281885558404284416,"45":6856378615530622976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-28 03:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996115968001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:55:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 03:55:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281885558404284416,"km_value":281885558404284.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6856378615530622976,"description":"Unknown IO ID 45"} 
[2026-04-28 03:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996115968001,"power":27397,"unknown_209":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6856378615530622976}} 
[2026-04-28 03:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":56230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:55:31] local.INFO: GPS data processed {"connection_id":56230,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:55:31] local.INFO: Acknowledgment sent {"connection_id":56230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:55:53] local.INFO: TCP Data received {"connection_id":56060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:53] local.INFO: Processing buffer {"connection_id":56060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:53] local.INFO: IMEI packet received {"connection_id":56060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:55:54] local.INFO: TCP Data received {"connection_id":56060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:54] local.INFO: Processing buffer {"connection_id":56060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:55:54] local.INFO: IMEI packet received {"connection_id":56060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":56060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:56:00] local.INFO: TCP Data received {"connection_id":56060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:00] local.INFO: Processing buffer {"connection_id":56060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:00] local.INFO: IMEI packet received {"connection_id":56060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":56060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:56:00] local.INFO: TCP Data received {"connection_id":56060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10baac0012d5fad80062ea2f0000800ab29..."} 
[2026-04-28 03:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10baac0012d5fad80062ea2f0000800ab29..."} 
[2026-04-28 03:56:00] local.INFO: Processing buffer {"connection_id":56060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10baac0012d5fad80062ea2f0000800ab29..."} 
[2026-04-28 03:56:00] local.INFO: Packet analysis {"connection_id":56060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd10b"} 
[2026-04-28 03:56:00] local.INFO: Extracted packet for processing {"connection_id":56060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd10b"} 
[2026-04-28 03:56:00] local.INFO: GPS Element Parsed {"raw_longitude":761245056,"raw_latitude":103719664,"longitude_deg":76.1245056,"latitude_deg":10.3719664,"altitude":8,"angle":171,"satellites":41,"speed":36,"hex_longitude":"2d5fad80","hex_latitude":"062ea2f0","is_valid_coordinates":true} 
[2026-04-28 03:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996143360001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281890609285824512,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6892618518756718592,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777328696000,"timestamp_ms":1777328696000,"timestamp_seconds":1777328696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10baac0"} 
[2026-04-28 03:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 03:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 03:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996143360001,"66":27180,"211":206,"79":20992,"24":36,"16":281890609285824512,"45":6892618518756718592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-04-28 03:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996143360001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:56:00] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 03:56:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281890609285824512,"km_value":281890609285824.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6892618518756718592,"description":"Unknown IO ID 45"} 
[2026-04-28 03:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996143360001,"power":27180,"unknown_211":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":6892618518756718592}} 
[2026-04-28 03:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":56060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:56:00] local.INFO: GPS data processed {"connection_id":56060,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:56:00] local.INFO: Acknowledgment sent {"connection_id":56060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:56:33] local.INFO: TCP Data received {"connection_id":56060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd10bd1d0012d5fb180062e7de8000800ae2a..."} 
[2026-04-28 03:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd10bd1d0012d5fb180062e7de8000800ae2a..."} 
[2026-04-28 03:56:33] local.INFO: Processing buffer {"connection_id":56060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd10bd1d0012d5fb180062e7de8000800ae2a..."} 
[2026-04-28 03:56:33] local.INFO: Packet analysis {"connection_id":56060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd10b"} 
[2026-04-28 03:56:33] local.INFO: Extracted packet for processing {"connection_id":56060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd10b"} 
[2026-04-28 03:56:33] local.INFO: GPS Element Parsed {"raw_longitude":761246080,"raw_latitude":103710184,"longitude_deg":76.124608,"latitude_deg":10.3710184,"altitude":8,"angle":174,"satellites":42,"speed":38,"hex_longitude":"2d5fb180","hex_latitude":"062e7de8","is_valid_coordinates":true} 
[2026-04-28 03:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 03:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996146176001,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281891073142292480,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6894307368614686720,"note":"Value kept but may cause issues"} 
[2026-04-28 03:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 03:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777328706000,"timestamp_ms":1777328706000,"timestamp_seconds":1777328706,"priority":1,"record_length":96,"hex_timestamp":"0000019dd10bd1d0"} 
[2026-04-28 03:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 03:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 03:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 03:56:33] 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-04-28 03:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 03:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 03:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 03:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 03:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 03:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 03:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 03:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 03:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996146176001,"66":27321,"211":206,"79":20992,"24":38,"16":281891073142292480,"45":6894307368614686720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-04-28 03:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 03:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 03:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996146176001,"description":"Unknown IO ID 0"} 
[2026-04-28 03:56:33] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 03:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 03:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281891073142292480,"km_value":281891073142292.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 03:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6894307368614686720,"description":"Unknown IO ID 45"} 
[2026-04-28 03:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996146176001,"power":27321,"unknown_211":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":6894307368614686720}} 
[2026-04-28 03:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":56060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 03:56:33] local.INFO: GPS data processed {"connection_id":56060,"processed":1,"errors":0,"total":1} 
[2026-04-28 03:56:33] local.INFO: Acknowledgment sent {"connection_id":56060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 03:56:52] local.INFO: TCP Data received {"connection_id":56298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:52] local.INFO: Processing buffer {"connection_id":56298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:52] local.INFO: IMEI packet received {"connection_id":56298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 03:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":56298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:56:53] local.INFO: TCP Data received {"connection_id":56298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:53] local.INFO: Processing buffer {"connection_id":56298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:53] local.INFO: IMEI packet received {"connection_id":56298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:56:54] local.INFO: TCP Data received {"connection_id":56298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:54] local.INFO: Processing buffer {"connection_id":56298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:54] local.INFO: IMEI packet received {"connection_id":56298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":56298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:56:55] local.INFO: TCP Data received {"connection_id":56298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:55] local.INFO: Processing buffer {"connection_id":56298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 03:56:55] local.INFO: IMEI packet received {"connection_id":56298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 03:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":56298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 03:58:56] local.INFO: TCP Data received {"connection_id":56063,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:58:56] local.INFO: Processing buffer {"connection_id":56063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:58:56] local.INFO: IMEI packet received {"connection_id":56063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":56063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 03:59:35] local.INFO: TCP Data received {"connection_id":56065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:59:35] local.INFO: Processing buffer {"connection_id":56065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 03:59:35] local.INFO: IMEI packet received {"connection_id":56065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 03:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:01:59] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:01:59] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:01:59] local.INFO: IMEI packet received {"connection_id":56958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":56958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:02:03] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:03] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:03] local.INFO: IMEI packet received {"connection_id":56958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":56958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:02:07] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:07] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:07] local.INFO: IMEI packet received {"connection_id":56958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":56958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:02:09] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11153f8012d616000062a4a58000800982a..."} 
[2026-04-28 04:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11153f8012d616000062a4a58000800982a..."} 
[2026-04-28 04:02:09] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11153f8012d616000062a4a58000800982a..."} 
[2026-04-28 04:02:09] local.INFO: Packet analysis {"connection_id":56958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:02:09] local.INFO: Extracted packet for processing {"connection_id":56958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:02:09] local.INFO: GPS Element Parsed {"raw_longitude":761356288,"raw_latitude":103434840,"longitude_deg":76.1356288,"latitude_deg":10.343484,"altitude":8,"angle":152,"satellites":42,"speed":41,"hex_longitude":"2d616000","hex_latitude":"062a4a58","is_valid_coordinates":true} 
[2026-04-28 04:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996238848001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281906715413184512,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7012175015041433600,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777329067000,"timestamp_ms":1777329067000,"timestamp_seconds":1777329067,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11153f8"} 
[2026-04-28 04:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:02:09] 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-04-28 04:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996238848001,"66":27365,"90":206,"79":20992,"24":41,"16":281906715413184512,"45":7012175015041433600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-04-28 04:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996238848001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281906715413184512,"km_value":281906715413184.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7012175015041433600,"description":"Unknown IO ID 45"} 
[2026-04-28 04:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996238848001,"power":27365,"unknown_90":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7012175015041433600}} 
[2026-04-28 04:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":56958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:02:09] local.INFO: GPS data processed {"connection_id":56958,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:02:09] local.INFO: Acknowledgment sent {"connection_id":56958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:02:10] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1117720012d617180062a29d80008009629..."} 
[2026-04-28 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1117720012d617180062a29d80008009629..."} 
[2026-04-28 04:02:10] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1117720012d617180062a29d80008009629..."} 
[2026-04-28 04:02:10] local.INFO: Packet analysis {"connection_id":56958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:02:10] local.INFO: Extracted packet for processing {"connection_id":56958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":761360768,"raw_latitude":103426520,"longitude_deg":76.1360768,"latitude_deg":10.342652,"altitude":8,"angle":150,"satellites":41,"speed":42,"hex_longitude":"2d617180","hex_latitude":"062a29d8","is_valid_coordinates":true} 
[2026-04-28 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996241152001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281907174974685184,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7016608245922551808,"note":"Value kept but may cause issues"} 
[2026-04-28 04:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777329076000,"timestamp_ms":1777329076000,"timestamp_seconds":1777329076,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1117720"} 
[2026-04-28 04:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996241152001,"66":27332,"90":206,"79":20992,"24":42,"16":281907174974685184,"45":7016608245922551808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-04-28 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996241152001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:02:10] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 04:02:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281907174974685184,"km_value":281907174974685.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7016608245922551808,"description":"Unknown IO ID 45"} 
[2026-04-28 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996241152001,"power":27332,"unknown_90":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7016608245922551808}} 
[2026-04-28 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":56958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:02:10] local.INFO: GPS data processed {"connection_id":56958,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:02:10] local.INFO: Acknowledgment sent {"connection_id":56958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:02:55] local.INFO: TCP Data received {"connection_id":56067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:55] local.INFO: Processing buffer {"connection_id":56067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:55] local.INFO: IMEI packet received {"connection_id":56067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":56067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:02:59] local.INFO: TCP Data received {"connection_id":56067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:59] local.INFO: Processing buffer {"connection_id":56067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:02:59] local.INFO: IMEI packet received {"connection_id":56067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:03:01] local.INFO: TCP Data received {"connection_id":56067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1119a48012d6183c0062a08a00008009929..."} 
[2026-04-28 04:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1119a48012d6183c0062a08a00008009929..."} 
[2026-04-28 04:03:01] local.INFO: Processing buffer {"connection_id":56067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1119a48012d6183c0062a08a00008009929..."} 
[2026-04-28 04:03:01] local.INFO: Packet analysis {"connection_id":56067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:03:01] local.INFO: Extracted packet for processing {"connection_id":56067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:03:01] local.INFO: GPS Element Parsed {"raw_longitude":761365440,"raw_latitude":103418016,"longitude_deg":76.136544,"latitude_deg":10.3418016,"altitude":8,"angle":153,"satellites":41,"speed":42,"hex_longitude":"2d6183c0","hex_latitude":"062a08a0","is_valid_coordinates":true} 
[2026-04-28 04:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996243456001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281907643126120448,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7021534058012858368,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329085000,"timestamp_ms":1777329085000,"timestamp_seconds":1777329085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1119a48"} 
[2026-04-28 04:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:03: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-04-28 04:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996243456001,"66":26832,"90":206,"79":20992,"24":42,"16":281907643126120448,"45":7021534058012858368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-04-28 04:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996243456001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:03:01] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 04:03:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281907643126120448,"km_value":281907643126120.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7021534058012858368,"description":"Unknown IO ID 45"} 
[2026-04-28 04:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996243456001,"power":26832,"unknown_90":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7021534058012858368}} 
[2026-04-28 04:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":56067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:03:01] local.INFO: GPS data processed {"connection_id":56067,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:03:01] local.INFO: Acknowledgment sent {"connection_id":56067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:03:32] local.INFO: TCP Data received {"connection_id":56067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd111bd70012d6194800629e6700007009c29..."} 
[2026-04-28 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd111bd70012d6194800629e6700007009c29..."} 
[2026-04-28 04:03:32] local.INFO: Processing buffer {"connection_id":56067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd111bd70012d6194800629e6700007009c29..."} 
[2026-04-28 04:03:32] local.INFO: Packet analysis {"connection_id":56067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:03:32] local.INFO: Extracted packet for processing {"connection_id":56067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":761369728,"raw_latitude":103409264,"longitude_deg":76.1369728,"latitude_deg":10.3409264,"altitude":7,"angle":156,"satellites":41,"speed":43,"hex_longitude":"2d619480","hex_latitude":"0629e670","is_valid_coordinates":true} 
[2026-04-28 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996245760001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281908111277555712,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7026670976335650816,"note":"Value kept but may cause issues"} 
[2026-04-28 04:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777329094000,"timestamp_ms":1777329094000,"timestamp_seconds":1777329094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd111bd70"} 
[2026-04-28 04:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-04-28 04:03:32] 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-04-28 04:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996245760001,"66":27180,"90":206,"79":20992,"24":43,"16":281908111277555712,"45":7026670976335650816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-04-28 04:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996245760001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:03:32] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 04:03:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281908111277555712,"km_value":281908111277555.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7026670976335650816,"description":"Unknown IO ID 45"} 
[2026-04-28 04:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996245760001,"power":27180,"unknown_90":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7026670976335650816}} 
[2026-04-28 04:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":56067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:03:32] local.INFO: GPS data processed {"connection_id":56067,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:03:32] local.INFO: Acknowledgment sent {"connection_id":56067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:04:04] local.INFO: TCP Data received {"connection_id":56233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:04] local.INFO: Processing buffer {"connection_id":56233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:04] local.INFO: IMEI packet received {"connection_id":56233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":56233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:04:10] local.INFO: TCP Data received {"connection_id":56233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:10] local.INFO: Processing buffer {"connection_id":56233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:04:10] local.INFO: IMEI packet received {"connection_id":56233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":56233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:04:11] local.INFO: TCP Data received {"connection_id":56233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd111e098012d61a2c00629c4c8000800a02a..."} 
[2026-04-28 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd111e098012d61a2c00629c4c8000800a02a..."} 
[2026-04-28 04:04:11] local.INFO: Processing buffer {"connection_id":56233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd111e098012d61a2c00629c4c8000800a02a..."} 
[2026-04-28 04:04:11] local.INFO: Packet analysis {"connection_id":56233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:04:11] local.INFO: Extracted packet for processing {"connection_id":56233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd111"} 
[2026-04-28 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":761373376,"raw_latitude":103400648,"longitude_deg":76.1373376,"latitude_deg":10.3400648,"altitude":8,"angle":160,"satellites":42,"speed":35,"hex_longitude":"2d61a2c0","hex_latitude":"0629c4c8","is_valid_coordinates":true} 
[2026-04-28 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996248064001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281908566544089088,"note":"Value kept but may cause issues"} 
[2026-04-28 04:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7031385682193313792,"note":"Value kept but may cause issues"} 
[2026-04-28 04:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777329103000,"timestamp_ms":1777329103000,"timestamp_seconds":1777329103,"priority":1,"record_length":96,"hex_timestamp":"0000019dd111e098"} 
[2026-04-28 04:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 04:04:11] 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-04-28 04:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996248064001,"66":27267,"90":206,"79":20992,"24":35,"16":281908566544089088,"45":7031385682193313792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-04-28 04:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996248064001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281908566544089088,"km_value":281908566544089.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7031385682193313792,"description":"Unknown IO ID 45"} 
[2026-04-28 04:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996248064001,"power":27267,"unknown_90":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7031385682193313792}} 
[2026-04-28 04:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":56233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:04:11] local.INFO: GPS data processed {"connection_id":56233,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:04:11] local.INFO: Acknowledgment sent {"connection_id":56233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:04:51] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:04:51] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:04:51] local.INFO: IMEI packet received {"connection_id":56234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":56234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:05:00] local.INFO: TCP Data received {"connection_id":56069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: Processing buffer {"connection_id":56069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: IMEI packet received {"connection_id":56069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":56069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:05:00] local.INFO: TCP Data received {"connection_id":56069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: Processing buffer {"connection_id":56069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:00] local.INFO: IMEI packet received {"connection_id":56069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":56069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:05:01] local.INFO: TCP Data received {"connection_id":56069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1135798012d623080062877e00007009a2a..."} 
[2026-04-28 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1135798012d623080062877e00007009a2a..."} 
[2026-04-28 04:05:01] local.INFO: Processing buffer {"connection_id":56069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1135798012d623080062877e00007009a2a..."} 
[2026-04-28 04:05:01] local.INFO: Packet analysis {"connection_id":56069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:01] local.INFO: Extracted packet for processing {"connection_id":56069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:01] local.INFO: GPS Element Parsed {"raw_longitude":761409664,"raw_latitude":103315424,"longitude_deg":76.1409664,"latitude_deg":10.3315424,"altitude":7,"angle":154,"satellites":42,"speed":36,"hex_longitude":"2d623080","hex_latitude":"062877e0","is_valid_coordinates":true} 
[2026-04-28 04:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996272896001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281913059079880704,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7071144022631761920,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329199000,"timestamp_ms":1777329199000,"timestamp_seconds":1777329199,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1135798"} 
[2026-04-28 04:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996272896001,"66":27397,"229":206,"79":20992,"24":36,"16":281913059079880704,"45":7071144022631761920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-28 04:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996272896001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:05:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-28 04:05:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281913059079880704,"km_value":281913059079880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7071144022631761920,"description":"Unknown IO ID 45"} 
[2026-04-28 04:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996272896001,"power":27397,"unknown_229":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7071144022631761920}} 
[2026-04-28 04:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":56069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:05:01] local.INFO: GPS data processed {"connection_id":56069,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:05:01] local.INFO: Acknowledgment sent {"connection_id":56069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:05:05] local.INFO: TCP Data received {"connection_id":56069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1138a60012d623cc006285980000800ab2a..."} 
[2026-04-28 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1138a60012d623cc006285980000800ab2a..."} 
[2026-04-28 04:05:05] local.INFO: Processing buffer {"connection_id":56069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1138a60012d623cc006285980000800ab2a..."} 
[2026-04-28 04:05:05] local.INFO: Packet analysis {"connection_id":56069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:05] local.INFO: Extracted packet for processing {"connection_id":56069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:05] local.INFO: GPS Element Parsed {"raw_longitude":761412800,"raw_latitude":103307648,"longitude_deg":76.14128,"latitude_deg":10.3307648,"altitude":8,"angle":171,"satellites":42,"speed":20,"hex_longitude":"2d623cc0","hex_latitude":"06285980","is_valid_coordinates":true} 
[2026-04-28 04:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996274944001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281913467101773824,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7075295778536153088,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777329212000,"timestamp_ms":1777329212000,"timestamp_seconds":1777329212,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1138a60"} 
[2026-04-28 04:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996274944001,"66":27332,"229":206,"79":20992,"24":20,"16":281913467101773824,"45":7075295778536153088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-28 04:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996274944001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:05:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-28 04:05:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281913467101773824,"km_value":281913467101773.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7075295778536153088,"description":"Unknown IO ID 45"} 
[2026-04-28 04:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996274944001,"power":27332,"unknown_229":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7075295778536153088}} 
[2026-04-28 04:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":56069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:05:05] local.INFO: GPS data processed {"connection_id":56069,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:05:05] local.INFO: Acknowledgment sent {"connection_id":56069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:05:36] local.INFO: TCP Data received {"connection_id":56069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd113d0b0012d62410006283bc8000700a02b..."} 
[2026-04-28 04:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd113d0b0012d62410006283bc8000700a02b..."} 
[2026-04-28 04:05:36] local.INFO: Processing buffer {"connection_id":56069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd113d0b0012d62410006283bc8000700a02b..."} 
[2026-04-28 04:05:36] local.INFO: Packet analysis {"connection_id":56069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:36] local.INFO: Extracted packet for processing {"connection_id":56069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd113"} 
[2026-04-28 04:05:36] local.INFO: GPS Element Parsed {"raw_longitude":761413888,"raw_latitude":103300040,"longitude_deg":76.1413888,"latitude_deg":10.330004,"altitude":7,"angle":160,"satellites":43,"speed":18,"hex_longitude":"2d624100","hex_latitude":"06283bc8","is_valid_coordinates":true} 
[2026-04-28 04:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996278272001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281913840763928576,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7078743846998867968,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777329230000,"timestamp_ms":1777329230000,"timestamp_seconds":1777329230,"priority":1,"record_length":96,"hex_timestamp":"0000019dd113d0b0"} 
[2026-04-28 04:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996278272001,"66":27343,"229":206,"79":20992,"24":18,"16":281913840763928576,"45":7078743846998867968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-28 04:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996278272001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:05:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-28 04:05:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281913840763928576,"km_value":281913840763928.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7078743846998867968,"description":"Unknown IO ID 45"} 
[2026-04-28 04:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996278272001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7078743846998867968}} 
[2026-04-28 04:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":56069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:05:36] local.INFO: GPS data processed {"connection_id":56069,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:05:36] local.INFO: Acknowledgment sent {"connection_id":56069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:05:41] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:05:41] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:05:41] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:05:55] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: IMEI packet received {"connection_id":56299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":56299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:05:55] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:55] local.INFO: IMEI packet received {"connection_id":56299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":56299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:05:56] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:56] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:05:56] local.INFO: IMEI packet received {"connection_id":56299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":56299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:05:57] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1141318012d624e8006281ab8000700a22b..."} 
[2026-04-28 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1141318012d624e8006281ab8000700a22b..."} 
[2026-04-28 04:05:57] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1141318012d624e8006281ab8000700a22b..."} 
[2026-04-28 04:05:57] local.INFO: Packet analysis {"connection_id":56299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd114"} 
[2026-04-28 04:05:57] local.INFO: Extracted packet for processing {"connection_id":56299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd114"} 
[2026-04-28 04:05:57] local.INFO: GPS Element Parsed {"raw_longitude":761417344,"raw_latitude":103291576,"longitude_deg":76.1417344,"latitude_deg":10.3291576,"altitude":7,"angle":162,"satellites":43,"speed":15,"hex_longitude":"2d624e80","hex_latitude":"06281ab8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996282880001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281914283145560064,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7079940115647940608,"note":"Value kept but may cause issues"} 
[2026-04-28 04:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777329247000,"timestamp_ms":1777329247000,"timestamp_seconds":1777329247,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1141318"} 
[2026-04-28 04:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:05: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-04-28 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:05:57] 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-04-28 04: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-04-28 04:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:05: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-04-28 04:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996282880001,"66":27321,"228":206,"79":20992,"24":15,"16":281914283145560064,"45":7079940115647940608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-28 04:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996282880001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:05:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-28 04:05:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281914283145560064,"km_value":281914283145560.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7079940115647940608,"description":"Unknown IO ID 45"} 
[2026-04-28 04:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996282880001,"power":27321,"unknown_228":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7079940115647940608}} 
[2026-04-28 04:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":56299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:05:57] local.INFO: GPS data processed {"connection_id":56299,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:05:57] local.INFO: Acknowledgment sent {"connection_id":56299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:06:28] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1145198012d625b800627f880000700a02c..."} 
[2026-04-28 04:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1145198012d625b800627f880000700a02c..."} 
[2026-04-28 04:06:28] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1145198012d625b800627f880000700a02c..."} 
[2026-04-28 04:06:28] local.INFO: Packet analysis {"connection_id":56299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd114"} 
[2026-04-28 04:06:28] local.INFO: Extracted packet for processing {"connection_id":56299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd114"} 
[2026-04-28 04:06:28] local.INFO: GPS Element Parsed {"raw_longitude":761420672,"raw_latitude":103282816,"longitude_deg":76.1420672,"latitude_deg":10.3282816,"altitude":7,"angle":160,"satellites":44,"speed":29,"hex_longitude":"2d625b80","hex_latitude":"0627f880","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996287232001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281914738412093440,"note":"Value kept but may cause issues"} 
[2026-04-28 04:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7083740027831367680,"note":"Value kept but may cause issues"} 
[2026-04-28 04:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777329263000,"timestamp_ms":1777329263000,"timestamp_seconds":1777329263,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1145198"} 
[2026-04-28 04:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:06:28] 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-04-28 04: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-04-28 04:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996287232001,"66":27463,"228":206,"79":20992,"24":29,"16":281914738412093440,"45":7083740027831367680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-28 04:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996287232001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:06:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-28 04:06:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281914738412093440,"km_value":281914738412093.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7083740027831367680,"description":"Unknown IO ID 45"} 
[2026-04-28 04:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996287232001,"power":27463,"unknown_228":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7083740027831367680}} 
[2026-04-28 04:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":56299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:06:28] local.INFO: GPS data processed {"connection_id":56299,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:06:28] local.INFO: Acknowledgment sent {"connection_id":56299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:06:54] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:54] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:54] local.INFO: IMEI packet received {"connection_id":56961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":56961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:06:55] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:55] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:06:55] local.INFO: IMEI packet received {"connection_id":56961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":56961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:07:00] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:07:00] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:07:00] local.INFO: IMEI packet received {"connection_id":56961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":56961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:07:01] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd115c4b0012d62c00006272e880008009929..."} 
[2026-04-28 04:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd115c4b0012d62c00006272e880008009929..."} 
[2026-04-28 04:07:01] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd115c4b0012d62c00006272e880008009929..."} 
[2026-04-28 04:07:01] local.INFO: Packet analysis {"connection_id":56961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd115"} 
[2026-04-28 04:07:01] local.INFO: Extracted packet for processing {"connection_id":56961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd115"} 
[2026-04-28 04:07:01] local.INFO: GPS Element Parsed {"raw_longitude":761446400,"raw_latitude":103231112,"longitude_deg":76.14464,"latitude_deg":10.3231112,"altitude":8,"angle":153,"satellites":41,"speed":39,"hex_longitude":"2d62c000","hex_latitude":"06272e88","is_valid_coordinates":true} 
[2026-04-28 04:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996313088001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281917633220050944,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7111254206791546880,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329358000,"timestamp_ms":1777329358000,"timestamp_seconds":1777329358,"priority":1,"record_length":96,"hex_timestamp":"0000019dd115c4b0"} 
[2026-04-28 04:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996313088001,"66":27484,"89":206,"79":20992,"24":39,"16":281917633220050944,"45":7111254206791546880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-04-28 04:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996313088001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:07:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-28 04:07:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281917633220050944,"km_value":281917633220050.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7111254206791546880,"description":"Unknown IO ID 45"} 
[2026-04-28 04:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996313088001,"power":27484,"unknown_89":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7111254206791546880}} 
[2026-04-28 04:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":56961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:07:01] local.INFO: GPS data processed {"connection_id":56961,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:07:01] local.INFO: Acknowledgment sent {"connection_id":56961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:07:32] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd115e3f0012d62cc8006271290000700a629..."} 
[2026-04-28 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd115e3f0012d62cc8006271290000700a629..."} 
[2026-04-28 04:07:32] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd115e3f0012d62cc8006271290000700a629..."} 
[2026-04-28 04:07:32] local.INFO: Packet analysis {"connection_id":56961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd115"} 
[2026-04-28 04:07:32] local.INFO: Extracted packet for processing {"connection_id":56961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd115"} 
[2026-04-28 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":761449600,"raw_latitude":103223952,"longitude_deg":76.14496,"latitude_deg":10.3223952,"altitude":7,"angle":166,"satellites":41,"speed":38,"hex_longitude":"2d62cc80","hex_latitude":"06271290","is_valid_coordinates":true} 
[2026-04-28 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996315648001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281918011177172992,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7115687437672548352,"note":"Value kept but may cause issues"} 
[2026-04-28 04:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777329366000,"timestamp_ms":1777329366000,"timestamp_seconds":1777329366,"priority":1,"record_length":96,"hex_timestamp":"0000019dd115e3f0"} 
[2026-04-28 04:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996315648001,"66":27343,"89":206,"79":20992,"24":38,"16":281918011177172992,"45":7115687437672548352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-04-28 04:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996315648001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:07:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-28 04:07:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281918011177172992,"km_value":281918011177173.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7115687437672548352,"description":"Unknown IO ID 45"} 
[2026-04-28 04:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996315648001,"power":27343,"unknown_89":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7115687437672548352}} 
[2026-04-28 04:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":56961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:07:32] local.INFO: GPS data processed {"connection_id":56961,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:07:32] local.INFO: Acknowledgment sent {"connection_id":56961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:08:00] local.INFO: TCP Data received {"connection_id":56071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:00] local.INFO: Processing buffer {"connection_id":56071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:00] local.INFO: IMEI packet received {"connection_id":56071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:08:09] local.INFO: TCP Data received {"connection_id":56071,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56071,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:08:09] local.INFO: Processing buffer {"connection_id":56071,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:08:09] local.INFO: IMEI packet received {"connection_id":56071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":56071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:08:10] local.INFO: TCP Data received {"connection_id":56071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1160b00012d62d2000626ee70000700aa29..."} 
[2026-04-28 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1160b00012d62d2000626ee70000700aa29..."} 
[2026-04-28 04:08:10] local.INFO: Processing buffer {"connection_id":56071,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd1..."} 
[2026-04-28 04:08:10] local.INFO: IMEI packet received {"connection_id":56071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":56071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:08:10] local.INFO: TCP Data received {"connection_id":56071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1163210012d62d9400626ca00000700a52a..."} 
[2026-04-28 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1163210012d62d9400626ca00000700a52a..."} 
[2026-04-28 04:08:10] local.INFO: Processing buffer {"connection_id":56071,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd1160b00012d62d2000626ee70000700aa29..."} 
[2026-04-28 04:08:10] local.INFO: Packet analysis {"connection_id":56071,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:10] local.INFO: Extracted packet for processing {"connection_id":56071,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":761451008,"raw_latitude":103214704,"longitude_deg":76.1451008,"latitude_deg":10.3214704,"altitude":7,"angle":170,"satellites":41,"speed":36,"hex_longitude":"2d62d200","hex_latitude":"0626ee70","is_valid_coordinates":true} 
[2026-04-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996317696001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281918466443706368,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119205874879598592,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777329376000,"timestamp_ms":1777329376000,"timestamp_seconds":1777329376,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1160b00"} 
[2026-04-28 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:08:10] 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-04-28 04:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996317696001,"66":26984,"75":206,"79":20992,"24":36,"16":281918466443706368,"45":7119205874879598592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996317696001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281918466443706368,"km_value":281918466443706.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119205874879598592,"description":"Unknown IO ID 45"} 
[2026-04-28 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996317696001,"power":26984,"unknown_75":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7119205874879598592}} 
[2026-04-28 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":56071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:08:10] local.INFO: GPS data processed {"connection_id":56071,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:08:10] local.INFO: Acknowledgment sent {"connection_id":56071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:08:10] local.INFO: Packet analysis {"connection_id":56071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:10] local.INFO: Extracted packet for processing {"connection_id":56071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":761452864,"raw_latitude":103205376,"longitude_deg":76.1452864,"latitude_deg":10.3205376,"altitude":7,"angle":165,"satellites":42,"speed":35,"hex_longitude":"2d62d940","hex_latitude":"0626ca00","is_valid_coordinates":true} 
[2026-04-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996320256001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281918926005207040,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120753987249139712,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777329386000,"timestamp_ms":1777329386000,"timestamp_seconds":1777329386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1163210"} 
[2026-04-28 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 04:08:10] 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-04-28 04:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996320256001,"66":27332,"75":206,"79":20992,"24":35,"16":281918926005207040,"45":7120753987249139712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-04-28 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996320256001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281918926005207040,"km_value":281918926005207.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120753987249139712,"description":"Unknown IO ID 45"} 
[2026-04-28 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996320256001,"power":27332,"unknown_75":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7120753987249139712}} 
[2026-04-28 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":56071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:08:10] local.INFO: GPS data processed {"connection_id":56071,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:08:10] local.INFO: Acknowledgment sent {"connection_id":56071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:08:11] local.INFO: TCP Data received {"connection_id":56071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1165d08012d62e3c00626a7e0000900a12a..."} 
[2026-04-28 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1165d08012d62e3c00626a7e0000900a12a..."} 
[2026-04-28 04:08:11] local.INFO: Processing buffer {"connection_id":56071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1165d08012d62e3c00626a7e0000900a12a..."} 
[2026-04-28 04:08:11] local.INFO: Packet analysis {"connection_id":56071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:11] local.INFO: Extracted packet for processing {"connection_id":56071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd116"} 
[2026-04-28 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":761455552,"raw_latitude":103196640,"longitude_deg":76.1455552,"latitude_deg":10.319664,"altitude":9,"angle":161,"satellites":42,"speed":35,"hex_longitude":"2d62e3c0","hex_latitude":"0626a7e0","is_valid_coordinates":true} 
[2026-04-28 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996322816001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281919368386838528,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7122794680827904000,"note":"Value kept but may cause issues"} 
[2026-04-28 04:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777329397000,"timestamp_ms":1777329397000,"timestamp_seconds":1777329397,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1165d08"} 
[2026-04-28 04:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:08:11] 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-04-28 04:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996322816001,"66":27332,"75":206,"79":20992,"24":35,"16":281919368386838528,"45":7122794680827904000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-04-28 04:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996322816001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:08:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-28 04:08:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281919368386838528,"km_value":281919368386838.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7122794680827904000,"description":"Unknown IO ID 45"} 
[2026-04-28 04:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996322816001,"power":27332,"unknown_75":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7122794680827904000}} 
[2026-04-28 04:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":56071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:08:11] local.INFO: GPS data processed {"connection_id":56071,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:08:11] local.INFO: Acknowledgment sent {"connection_id":56071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:08:59] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:59] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:08:59] local.INFO: IMEI packet received {"connection_id":56962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":56962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:09:00] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:00] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:00] local.INFO: IMEI packet received {"connection_id":56962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":56962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:09:04] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:04] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:04] local.INFO: IMEI packet received {"connection_id":56962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":56962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:09:05] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11789d0012d636c4006259810000a009528..."} 
[2026-04-28 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11789d0012d636c4006259810000a009528..."} 
[2026-04-28 04:09:05] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11789d0012d636c4006259810000a009528..."} 
[2026-04-28 04:09:05] local.INFO: Packet analysis {"connection_id":56962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:09:05] local.INFO: Extracted packet for processing {"connection_id":56962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:09:05] local.INFO: GPS Element Parsed {"raw_longitude":761490496,"raw_latitude":103127056,"longitude_deg":76.1490496,"latitude_deg":10.3127056,"altitude":10,"angle":149,"satellites":40,"speed":35,"hex_longitude":"2d636c40","hex_latitude":"06259810","is_valid_coordinates":true} 
[2026-04-28 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996344320001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281923199497666560,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7161919702571354112,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777329474000,"timestamp_ms":1777329474000,"timestamp_seconds":1777329474,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11789d0"} 
[2026-04-28 04:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 04:09:05] 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-04-28 04:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996344320001,"66":27310,"51":206,"79":20992,"24":35,"16":281923199497666560,"45":7161919702571354112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-04-28 04:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996344320001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:09:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 04:09:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281923199497666560,"km_value":281923199497666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7161919702571354112,"description":"Unknown IO ID 45"} 
[2026-04-28 04:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996344320001,"power":27310,"unknown_51":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7161919702571354112}} 
[2026-04-28 04:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":56962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:09:05] local.INFO: GPS data processed {"connection_id":56962,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:09:05] local.INFO: Acknowledgment sent {"connection_id":56962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:09:36] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd117b0e0012d637c0006257800000a009c2a..."} 
[2026-04-28 04:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd117b0e0012d637c0006257800000a009c2a..."} 
[2026-04-28 04:09:36] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd117b0e0012d637c0006257800000a009c2a..."} 
[2026-04-28 04:09:36] local.INFO: Packet analysis {"connection_id":56962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:09:36] local.INFO: Extracted packet for processing {"connection_id":56962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:09:36] local.INFO: GPS Element Parsed {"raw_longitude":761494528,"raw_latitude":103118848,"longitude_deg":76.1494528,"latitude_deg":10.3118848,"altitude":10,"angle":156,"satellites":42,"speed":37,"hex_longitude":"2d637c00","hex_latitude":"06257800","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996345344001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281923641879298048,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7164171502384320512,"note":"Value kept but may cause issues"} 
[2026-04-28 04:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777329484000,"timestamp_ms":1777329484000,"timestamp_seconds":1777329484,"priority":1,"record_length":96,"hex_timestamp":"0000019dd117b0e0"} 
[2026-04-28 04:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 04:09:36] 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-04-28 04: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-04-28 04:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996345344001,"66":27365,"51":206,"79":20992,"24":37,"16":281923641879298048,"45":7164171502384320512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-04-28 04:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996345344001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:09:36] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 04:09:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281923641879298048,"km_value":281923641879298.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7164171502384320512,"description":"Unknown IO ID 45"} 
[2026-04-28 04:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996345344001,"power":27365,"unknown_51":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7164171502384320512}} 
[2026-04-28 04:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":56962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:09:36] local.INFO: GPS data processed {"connection_id":56962,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:09:36] local.INFO: Acknowledgment sent {"connection_id":56962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:09:54] local.INFO: TCP Data received {"connection_id":56300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:54] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:54] local.INFO: IMEI packet received {"connection_id":56300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":56300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:09:59] local.INFO: TCP Data received {"connection_id":56300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:59] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:09:59] local.INFO: IMEI packet received {"connection_id":56300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:10:01] local.INFO: TCP Data received {"connection_id":56300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd117d7f0012d638980062555c80009009e2a..."} 
[2026-04-28 04:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd117d7f0012d638980062555c80009009e2a..."} 
[2026-04-28 04:10:01] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd117d7f0012d638980062555c80009009e2a..."} 
[2026-04-28 04:10:01] local.INFO: Packet analysis {"connection_id":56300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:10:01] local.INFO: Extracted packet for processing {"connection_id":56300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:10:01] local.INFO: GPS Element Parsed {"raw_longitude":761497984,"raw_latitude":103110088,"longitude_deg":76.1497984,"latitude_deg":10.3110088,"altitude":9,"angle":158,"satellites":42,"speed":38,"hex_longitude":"2d638980","hex_latitude":"062555c8","is_valid_coordinates":true} 
[2026-04-28 04:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996347904001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281924097145831424,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7168604733265412096,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329494000,"timestamp_ms":1777329494000,"timestamp_seconds":1777329494,"priority":1,"record_length":96,"hex_timestamp":"0000019dd117d7f0"} 
[2026-04-28 04:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996347904001,"66":27376,"51":206,"79":20992,"24":38,"16":281924097145831424,"45":7168604733265412096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-04-28 04:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996347904001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:10:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 04:10:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281924097145831424,"km_value":281924097145831.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7168604733265412096,"description":"Unknown IO ID 45"} 
[2026-04-28 04:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996347904001,"power":27376,"unknown_51":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7168604733265412096}} 
[2026-04-28 04:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:10:01] local.INFO: GPS data processed {"connection_id":56300,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:10:01] local.INFO: Acknowledgment sent {"connection_id":56300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:10:32] local.INFO: TCP Data received {"connection_id":56300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd117fb18012d6394c0062534f0000800a029..."} 
[2026-04-28 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd117fb18012d6394c0062534f0000800a029..."} 
[2026-04-28 04:10:32] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd117fb18012d6394c0062534f0000800a029..."} 
[2026-04-28 04:10:32] local.INFO: Packet analysis {"connection_id":56300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:10:32] local.INFO: Extracted packet for processing {"connection_id":56300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd117"} 
[2026-04-28 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":761500864,"raw_latitude":103101680,"longitude_deg":76.1500864,"latitude_deg":10.310168,"altitude":8,"angle":160,"satellites":41,"speed":39,"hex_longitude":"2d6394c0","hex_latitude":"062534f0","is_valid_coordinates":true} 
[2026-04-28 04:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996350464001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281924526642561024,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7172404645448763392,"note":"Value kept but may cause issues"} 
[2026-04-28 04:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777329503000,"timestamp_ms":1777329503000,"timestamp_seconds":1777329503,"priority":1,"record_length":96,"hex_timestamp":"0000019dd117fb18"} 
[2026-04-28 04:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996350464001,"66":27343,"51":206,"79":20992,"24":39,"16":281924526642561024,"45":7172404645448763392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-04-28 04:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996350464001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:10:32] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-28 04:10:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281924526642561024,"km_value":281924526642561.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7172404645448763392,"description":"Unknown IO ID 45"} 
[2026-04-28 04:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996350464001,"power":27343,"unknown_51":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7172404645448763392}} 
[2026-04-28 04:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":56300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:10:32] local.INFO: GPS data processed {"connection_id":56300,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:10:32] local.INFO: Acknowledgment sent {"connection_id":56300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:10:55] local.INFO: TCP Data received {"connection_id":56301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:55] local.INFO: Processing buffer {"connection_id":56301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:55] local.INFO: IMEI packet received {"connection_id":56301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:10:59] local.INFO: TCP Data received {"connection_id":56301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:59] local.INFO: Processing buffer {"connection_id":56301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:10:59] local.INFO: IMEI packet received {"connection_id":56301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:11:00] local.INFO: TCP Data received {"connection_id":56301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1181e40012d63a0c006251280000800a02a..."} 
[2026-04-28 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1181e40012d63a0c006251280000800a02a..."} 
[2026-04-28 04:11:00] local.INFO: Processing buffer {"connection_id":56301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1181e40012d63a0c006251280000800a02a..."} 
[2026-04-28 04:11:00] local.INFO: Packet analysis {"connection_id":56301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd118"} 
[2026-04-28 04:11:00] local.INFO: Extracted packet for processing {"connection_id":56301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd118"} 
[2026-04-28 04:11:00] local.INFO: GPS Element Parsed {"raw_longitude":761503936,"raw_latitude":103092864,"longitude_deg":76.1503936,"latitude_deg":10.3092864,"altitude":8,"angle":160,"satellites":42,"speed":40,"hex_longitude":"2d63a0c0","hex_latitude":"06251280","is_valid_coordinates":true} 
[2026-04-28 04:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996352768001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281924977614127104,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7175571238934605824,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777329512000,"timestamp_ms":1777329512000,"timestamp_seconds":1777329512,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1181e40"} 
[2026-04-28 04:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996352768001,"66":27332,"253":206,"79":20992,"24":40,"16":281924977614127104,"45":7175571238934605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-04-28 04:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996352768001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:11:00] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-28 04:11:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281924977614127104,"km_value":281924977614127.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7175571238934605824,"description":"Unknown IO ID 45"} 
[2026-04-28 04:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996352768001,"power":27332,"unknown_253":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7175571238934605824}} 
[2026-04-28 04:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:11:00] local.INFO: GPS data processed {"connection_id":56301,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:11:00] local.INFO: Acknowledgment sent {"connection_id":56301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:11:11] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:11] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:11] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:11:31] local.INFO: TCP Data received {"connection_id":56301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd119eb30012d6401800623b0d8000600a527..."} 
[2026-04-28 04:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd119eb30012d6401800623b0d8000600a527..."} 
[2026-04-28 04:11:31] local.INFO: Processing buffer {"connection_id":56301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd119eb30012d6401800623b0d8000600a527..."} 
[2026-04-28 04:11:31] local.INFO: Packet analysis {"connection_id":56301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd119"} 
[2026-04-28 04:11:31] local.INFO: Extracted packet for processing {"connection_id":56301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd119"} 
[2026-04-28 04:11:31] local.INFO: GPS Element Parsed {"raw_longitude":761528704,"raw_latitude":103002328,"longitude_deg":76.1528704,"latitude_deg":10.3002328,"altitude":6,"angle":165,"satellites":39,"speed":40,"hex_longitude":"2d640180","hex_latitude":"0623b0d8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996382976001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281929538869395456,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7203648367838271488,"note":"Value kept but may cause issues"} 
[2026-04-28 04:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777329630000,"timestamp_ms":1777329630000,"timestamp_seconds":1777329630,"priority":1,"record_length":96,"hex_timestamp":"0000019dd119eb30"} 
[2026-04-28 04:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996382976001,"66":27343,"252":206,"79":20992,"24":40,"16":281929538869395456,"45":7203648367838271488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-04-28 04:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996382976001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:11:31] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-28 04:11:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281929538869395456,"km_value":281929538869395.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7203648367838271488,"description":"Unknown IO ID 45"} 
[2026-04-28 04:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996382976001,"power":27343,"unknown_252":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7203648367838271488}} 
[2026-04-28 04:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":56301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:11:31] local.INFO: GPS data processed {"connection_id":56301,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:11:31] local.INFO: Acknowledgment sent {"connection_id":56301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:11:35] local.INFO: TCP Data received {"connection_id":56964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:35] local.INFO: Processing buffer {"connection_id":56964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:11:35] local.INFO: IMEI packet received {"connection_id":56964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:11:54] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:54] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:54] local.INFO: IMEI packet received {"connection_id":56236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:11:55] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:55] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:11:55] local.INFO: IMEI packet received {"connection_id":56236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":56236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:12:00] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:00] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:00] local.INFO: IMEI packet received {"connection_id":56236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":56236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:12:00] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11a9328012d641f4006234478000600ae25..."} 
[2026-04-28 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11a9328012d641f4006234478000600ae25..."} 
[2026-04-28 04:12:00] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11a9328012d641f4006234478000600ae25..."} 
[2026-04-28 04:12:00] local.INFO: Packet analysis {"connection_id":56236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:12:00] local.INFO: Extracted packet for processing {"connection_id":56236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:12:00] local.INFO: GPS Element Parsed {"raw_longitude":761536320,"raw_latitude":102974584,"longitude_deg":76.153632,"latitude_deg":10.2974584,"altitude":6,"angle":174,"satellites":37,"speed":16,"hex_longitude":"2d641f40","hex_latitude":"06234478","is_valid_coordinates":true} 
[2026-04-28 04:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996396032001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281931033518014464,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214555523176601600,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777329673000,"timestamp_ms":1777329673000,"timestamp_seconds":1777329673,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11a9328"} 
[2026-04-28 04:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-04-28 04:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996396032001,"66":27300,"57":206,"79":20992,"24":16,"16":281931033518014464,"45":7214555523176601600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-04-28 04:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996396032001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:12:00] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-28 04:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281931033518014464,"km_value":281931033518014.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214555523176601600,"description":"Unknown IO ID 45"} 
[2026-04-28 04:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996396032001,"power":27300,"unknown_57":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7214555523176601600}} 
[2026-04-28 04:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":56236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:12:00] local.INFO: GPS data processed {"connection_id":56236,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:12:00] local.INFO: Acknowledgment sent {"connection_id":56236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:12:31] local.INFO: TCP Data received {"connection_id":56236,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11a9710012d641f80062342e0000700a224..."} 
[2026-04-28 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11a9710012d641f80062342e0000700a224..."} 
[2026-04-28 04:12:31] local.INFO: Processing buffer {"connection_id":56236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11a9710012d641f80062342e0000700a224..."} 
[2026-04-28 04:12:31] local.INFO: Packet analysis {"connection_id":56236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:12:31] local.INFO: Extracted packet for processing {"connection_id":56236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:12:31] local.INFO: GPS Element Parsed {"raw_longitude":761536384,"raw_latitude":102974176,"longitude_deg":76.1536384,"latitude_deg":10.2974176,"altitude":7,"angle":162,"satellites":36,"speed":17,"hex_longitude":"2d641f80","hex_latitude":"062342e0","is_valid_coordinates":true} 
[2026-04-28 04:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996396288001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281931054992850944,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214555523176495104,"note":"Value kept but may cause issues"} 
[2026-04-28 04:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777329674000,"timestamp_ms":1777329674000,"timestamp_seconds":1777329674,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11a9710"} 
[2026-04-28 04:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:12: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-04-28 04:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 04:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996396288001,"66":27300,"57":206,"79":20992,"24":17,"16":281931054992850944,"45":7214555523176495104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-04-28 04:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996396288001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:12:31] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-28 04:12:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281931054992850944,"km_value":281931054992850.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214555523176495104,"description":"Unknown IO ID 45"} 
[2026-04-28 04:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996396288001,"power":27300,"unknown_57":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7214555523176495104}} 
[2026-04-28 04:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":56236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:12:31] local.INFO: GPS data processed {"connection_id":56236,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:12:31] local.INFO: Acknowledgment sent {"connection_id":56236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:12:54] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:54] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:54] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:12:59] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:59] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:12:59] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:13:01] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11a9ee0012d64210006233fc00006009525..."} 
[2026-04-28 04:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11a9ee0012d64210006233fc00006009525..."} 
[2026-04-28 04:13:01] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11a9ee0012d64210006233fc00006009525..."} 
[2026-04-28 04:13:01] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:13:01] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11a"} 
[2026-04-28 04:13:01] local.INFO: GPS Element Parsed {"raw_longitude":761536768,"raw_latitude":102973376,"longitude_deg":76.1536768,"latitude_deg":10.2973376,"altitude":6,"angle":149,"satellites":37,"speed":17,"hex_longitude":"2d642100","hex_latitude":"06233fc0","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996396544001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281931097942523904,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214625891920568320,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329676000,"timestamp_ms":1777329676000,"timestamp_seconds":1777329676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11a9ee0"} 
[2026-04-28 04:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":164,"data_length":795,"current_offset":136} 
[2026-04-28 04:13:01] 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-04-28 04: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-04-28 04:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996396544001,"66":27245,"57":206,"79":20992,"24":17,"16":281931097942523904,"45":7214625891920568320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-04-28 04:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996396544001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:13:01] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-28 04:13:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281931097942523904,"km_value":281931097942523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214625891920568320,"description":"Unknown IO ID 45"} 
[2026-04-28 04:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996396544001,"power":27245,"unknown_57":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7214625891920568320}} 
[2026-04-28 04:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:13:01] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:13:01] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:13:31] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11bfa88012d64e5000622aa780006006f28..."} 
[2026-04-28 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11bfa88012d64e5000622aa780006006f28..."} 
[2026-04-28 04:13:31] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11bfa88012d64e5000622aa780006006f28..."} 
[2026-04-28 04:13:31] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11b"} 
[2026-04-28 04:13:31] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11b"} 
[2026-04-28 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":761586944,"raw_latitude":102935160,"longitude_deg":76.1586944,"latitude_deg":10.293516,"altitude":6,"angle":111,"satellites":40,"speed":34,"hex_longitude":"2d64e500","hex_latitude":"0622aa78","is_valid_coordinates":true} 
[2026-04-28 04:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996419328001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281934735779823616,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7268317243718367232,"note":"Value kept but may cause issues"} 
[2026-04-28 04:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777329765000,"timestamp_ms":1777329765000,"timestamp_seconds":1777329765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11bfa88"} 
[2026-04-28 04:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:13: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-04-28 04:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996419328001,"66":27321,"13":206,"79":20992,"24":34,"16":281934735779823616,"45":7268317243718367232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-28 04:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996419328001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:13:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-28 04:13:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281934735779823616,"km_value":281934735779823.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7268317243718367232,"description":"Unknown IO ID 45"} 
[2026-04-28 04:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996419328001,"power":27321,"unknown_13":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7268317243718367232}} 
[2026-04-28 04:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:13:31] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:13:31] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:13:54] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:54] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:54] local.INFO: IMEI packet received {"connection_id":56237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":56237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:13:59] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:59] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:13:59] local.INFO: IMEI packet received {"connection_id":56237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:14:02] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11c0258012d64ebc00622a8e80005006328..."} 
[2026-04-28 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11c0258012d64ebc00622a8e80005006328..."} 
[2026-04-28 04:14:02] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11c0258012d64ebc00622a8e80005006328..."} 
[2026-04-28 04:14:02] local.INFO: Packet analysis {"connection_id":56237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:02] local.INFO: Extracted packet for processing {"connection_id":56237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":761588672,"raw_latitude":102934760,"longitude_deg":76.1588672,"latitude_deg":10.293476,"altitude":5,"angle":99,"satellites":40,"speed":35,"hex_longitude":"2d64ebc0","hex_latitude":"0622a8e8","is_valid_coordinates":true} 
[2026-04-28 04:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996419840001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281934821679169536,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7270217199810934784,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777329767000,"timestamp_ms":1777329767000,"timestamp_seconds":1777329767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11c0258"} 
[2026-04-28 04:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996419840001,"66":27376,"13":206,"79":20992,"24":35,"16":281934821679169536,"45":7270217199810934784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-28 04:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996419840001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:14:02] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-28 04:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281934821679169536,"km_value":281934821679169.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7270217199810934784,"description":"Unknown IO ID 45"} 
[2026-04-28 04:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996419840001,"power":27376,"unknown_13":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7270217199810934784}} 
[2026-04-28 04:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":56237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:14:02] local.INFO: GPS data processed {"connection_id":56237,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:14:02] local.INFO: Acknowledgment sent {"connection_id":56237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:14:03] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11c19c8012d6501400622a7f80004005827..."} 
[2026-04-28 04:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11c19c8012d6501400622a7f80004005827..."} 
[2026-04-28 04:14:03] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11c19c8012d6501400622a7f80004005827..."} 
[2026-04-28 04:14:03] local.INFO: Packet analysis {"connection_id":56237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:03] local.INFO: Extracted packet for processing {"connection_id":56237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":761594176,"raw_latitude":102934520,"longitude_deg":76.1594176,"latitude_deg":10.293452,"altitude":4,"angle":88,"satellites":39,"speed":36,"hex_longitude":"2d650140","hex_latitude":"0622a7f8","is_valid_coordinates":true} 
[2026-04-28 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996420352001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281935083672174592,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7272117155903629312,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777329773000,"timestamp_ms":1777329773000,"timestamp_seconds":1777329773,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11c19c8"} 
[2026-04-28 04:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996420352001,"66":27343,"13":206,"79":20992,"24":36,"16":281935083672174592,"45":7272117155903629312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-28 04:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996420352001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:14:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-28 04:14:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281935083672174592,"km_value":281935083672174.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7272117155903629312,"description":"Unknown IO ID 45"} 
[2026-04-28 04:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996420352001,"power":27343,"unknown_13":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7272117155903629312}} 
[2026-04-28 04:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":56237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:14:03] local.INFO: GPS data processed {"connection_id":56237,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:14:03] local.INFO: Acknowledgment sent {"connection_id":56237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:14:34] local.INFO: TCP Data received {"connection_id":56237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11c3138012d6517400622a6c80005006527..."} 
[2026-04-28 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11c3138012d6517400622a6c80005006527..."} 
[2026-04-28 04:14:34] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11c3138012d6517400622a6c80005006527..."} 
[2026-04-28 04:14:34] local.INFO: Packet analysis {"connection_id":56237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:34] local.INFO: Extracted packet for processing {"connection_id":56237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":761599808,"raw_latitude":102934216,"longitude_deg":76.1599808,"latitude_deg":10.2934216,"altitude":5,"angle":101,"satellites":39,"speed":37,"hex_longitude":"2d651740","hex_latitude":"0622a6c8","is_valid_coordinates":true} 
[2026-04-28 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996421888001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281935354255114240,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7278168867902846976,"note":"Value kept but may cause issues"} 
[2026-04-28 04:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777329779000,"timestamp_ms":1777329779000,"timestamp_seconds":1777329779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11c3138"} 
[2026-04-28 04:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996421888001,"66":27397,"13":206,"79":20992,"24":37,"16":281935354255114240,"45":7278168867902846976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-28 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996421888001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:14:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-28 04:14:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281935354255114240,"km_value":281935354255114.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7278168867902846976,"description":"Unknown IO ID 45"} 
[2026-04-28 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996421888001,"power":27397,"unknown_13":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7278168867902846976}} 
[2026-04-28 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":56237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:14:34] local.INFO: GPS data processed {"connection_id":56237,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:14:34] local.INFO: Acknowledgment sent {"connection_id":56237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:14:54] local.INFO: TCP Data received {"connection_id":56305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:54] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:54] local.INFO: IMEI packet received {"connection_id":56305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":56305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:14:55] local.INFO: TCP Data received {"connection_id":56305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:55] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:55] local.INFO: IMEI packet received {"connection_id":56305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":56305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:14:59] local.INFO: TCP Data received {"connection_id":56305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:59] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:14:59] local.INFO: IMEI packet received {"connection_id":56305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:15:00] local.INFO: TCP Data received {"connection_id":56305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11c5848012d653a0006229c580006006527..."} 
[2026-04-28 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11c5848012d653a0006229c580006006527..."} 
[2026-04-28 04:15:00] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11c5848012d653a0006229c580006006527..."} 
[2026-04-28 04:15:00] local.INFO: Packet analysis {"connection_id":56305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:15:00] local.INFO: Extracted packet for processing {"connection_id":56305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11c"} 
[2026-04-28 04:15:00] local.INFO: GPS Element Parsed {"raw_longitude":761608704,"raw_latitude":102931544,"longitude_deg":76.1608704,"latitude_deg":10.2931544,"altitude":6,"angle":101,"satellites":39,"speed":32,"hex_longitude":"2d653a00","hex_latitude":"06229c58","is_valid_coordinates":true} 
[2026-04-28 04:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996423424001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281935800931713024,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7284361317390403584,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777329789000,"timestamp_ms":1777329789000,"timestamp_seconds":1777329789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11c5848"} 
[2026-04-28 04:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996423424001,"66":27267,"13":206,"79":20992,"24":32,"16":281935800931713024,"45":7284361317390403584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-28 04:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996423424001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:15:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-28 04:15:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281935800931713024,"km_value":281935800931713.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7284361317390403584,"description":"Unknown IO ID 45"} 
[2026-04-28 04:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996423424001,"power":27267,"unknown_13":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7284361317390403584}} 
[2026-04-28 04:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":56305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:15:00] local.INFO: GPS data processed {"connection_id":56305,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:15:00] local.INFO: Acknowledgment sent {"connection_id":56305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:15:31] local.INFO: TCP Data received {"connection_id":56305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11dac20012d66334006223b18000900812a..."} 
[2026-04-28 04:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11dac20012d66334006223b18000900812a..."} 
[2026-04-28 04:15:31] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11dac20012d66334006223b18000900812a..."} 
[2026-04-28 04:15:31] local.INFO: Packet analysis {"connection_id":56305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:15:31] local.INFO: Extracted packet for processing {"connection_id":56305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:15:31] local.INFO: GPS Element Parsed {"raw_longitude":761672512,"raw_latitude":102906648,"longitude_deg":76.1672512,"latitude_deg":10.2906648,"altitude":9,"angle":129,"satellites":42,"speed":38,"hex_longitude":"2d663340","hex_latitude":"06223b18","is_valid_coordinates":true} 
[2026-04-28 04:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996445696001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281939288445157376,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7356911492632307712,"note":"Value kept but may cause issues"} 
[2026-04-28 04:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777329876000,"timestamp_ms":1777329876000,"timestamp_seconds":1777329876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11dac20"} 
[2026-04-28 04:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:15: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-04-28 04:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 04:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996445696001,"66":27321,"12":206,"79":20992,"24":38,"16":281939288445157376,"45":7356911492632307712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-28 04:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996445696001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:15:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 04:15:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281939288445157376,"km_value":281939288445157.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7356911492632307712,"description":"Unknown IO ID 45"} 
[2026-04-28 04:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996445696001,"power":27321,"unknown_12":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7356911492632307712}} 
[2026-04-28 04:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":56305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:15:31] local.INFO: GPS data processed {"connection_id":56305,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:15:31] local.INFO: Acknowledgment sent {"connection_id":56305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:16:00] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:00] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:00] local.INFO: IMEI packet received {"connection_id":56966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":56966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:16:02] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:02] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:02] local.INFO: IMEI packet received {"connection_id":56966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":56966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:16:06] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11dc778012d6645c0062228b0000a008e2a..."} 
[2026-04-28 04:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11dc778012d6645c0062228b0000a008e2a..."} 
[2026-04-28 04:16:06] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11dc778012d6645c0062228b0000a008e2a..."} 
[2026-04-28 04:16:06] local.INFO: Packet analysis {"connection_id":56966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:16:06] local.INFO: Extracted packet for processing {"connection_id":56966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":761677248,"raw_latitude":102901936,"longitude_deg":76.1677248,"latitude_deg":10.2901936,"altitude":10,"angle":142,"satellites":42,"speed":37,"hex_longitude":"2d6645c0","hex_latitude":"062228b0","is_valid_coordinates":true} 
[2026-04-28 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996448256001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281939610567704576,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7364300210769172480,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777329883000,"timestamp_ms":1777329883000,"timestamp_seconds":1777329883,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11dc778"} 
[2026-04-28 04:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:16:06] 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-04-28 04:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16: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-04-28 04:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996448256001,"66":27463,"12":206,"79":20992,"24":37,"16":281939610567704576,"45":7364300210769172480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-28 04:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996448256001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:16:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 04:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281939610567704576,"km_value":281939610567704.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7364300210769172480,"description":"Unknown IO ID 45"} 
[2026-04-28 04:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996448256001,"power":27463,"unknown_12":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7364300210769172480}} 
[2026-04-28 04:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":56966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:16:06] local.INFO: GPS data processed {"connection_id":56966,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:16:06] local.INFO: Acknowledgment sent {"connection_id":56966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:16:07] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11de2d0012d6653c0062212d80009009928..."} 
[2026-04-28 04:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11de2d0012d6653c0062212d80009009928..."} 
[2026-04-28 04:16:07] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11de2d0012d6653c0062212d80009009928..."} 
[2026-04-28 04:16:07] local.INFO: Packet analysis {"connection_id":56966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:16:07] local.INFO: Extracted packet for processing {"connection_id":56966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11d"} 
[2026-04-28 04:16:07] local.INFO: GPS Element Parsed {"raw_longitude":761680832,"raw_latitude":102896344,"longitude_deg":76.1680832,"latitude_deg":10.2896344,"altitude":9,"angle":153,"satellites":40,"speed":37,"hex_longitude":"2d6653c0","hex_latitude":"062212d8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996450048001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281939932690251776,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7369507497837113344,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777329890000,"timestamp_ms":1777329890000,"timestamp_seconds":1777329890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11de2d0"} 
[2026-04-28 04:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:16:07] 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-04-28 04: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-04-28 04:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996450048001,"66":27343,"12":206,"79":20992,"24":37,"16":281939932690251776,"45":7369507497837113344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-28 04:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996450048001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:16:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 04:16:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281939932690251776,"km_value":281939932690251.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7369507497837113344,"description":"Unknown IO ID 45"} 
[2026-04-28 04:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996450048001,"power":27343,"unknown_12":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7369507497837113344}} 
[2026-04-28 04:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":56966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:16:07] local.INFO: GPS data processed {"connection_id":56966,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:16:07] local.INFO: Acknowledgment sent {"connection_id":56966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:16:39] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11e05f8012d6664c00621f5d00009008e25..."} 
[2026-04-28 04:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11e05f8012d6664c00621f5d00009008e25..."} 
[2026-04-28 04:16:39] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11e05f8012d6664c00621f5d00009008e25..."} 
[2026-04-28 04:16:39] local.INFO: Packet analysis {"connection_id":56966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11e"} 
[2026-04-28 04:16:39] local.INFO: Extracted packet for processing {"connection_id":56966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11e"} 
[2026-04-28 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":761685184,"raw_latitude":102888912,"longitude_deg":76.1685184,"latitude_deg":10.2888912,"altitude":9,"angle":142,"satellites":37,"speed":38,"hex_longitude":"2d6664c0","hex_latitude":"0621f5d0","is_valid_coordinates":true} 
[2026-04-28 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996451840001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281940349302079488,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7373448147509630976,"note":"Value kept but may cause issues"} 
[2026-04-28 04:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777329899000,"timestamp_ms":1777329899000,"timestamp_seconds":1777329899,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11e05f8"} 
[2026-04-28 04:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:16: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-04-28 04:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996451840001,"66":27376,"12":206,"79":20992,"24":38,"16":281940349302079488,"45":7373448147509630976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-28 04:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996451840001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:16:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 04:16:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281940349302079488,"km_value":281940349302079.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7373448147509630976,"description":"Unknown IO ID 45"} 
[2026-04-28 04:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996451840001,"power":27376,"unknown_12":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7373448147509630976}} 
[2026-04-28 04:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":56966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:16:39] local.INFO: GPS data processed {"connection_id":56966,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:16:39] local.INFO: Acknowledgment sent {"connection_id":56966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:16:55] local.INFO: TCP Data received {"connection_id":56306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:55] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:16:55] local.INFO: IMEI packet received {"connection_id":56306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":56306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:17:00] local.INFO: TCP Data received {"connection_id":56306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:00] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:00] local.INFO: IMEI packet received {"connection_id":56306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:17:01] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:01] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:01] local.INFO: IMEI packet received {"connection_id":56238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":56238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:17:01] local.INFO: TCP Data received {"connection_id":56306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11e2920012d667c800621db880009008a25..."} 
[2026-04-28 04:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11e2920012d667c800621db880009008a25..."} 
[2026-04-28 04:17:01] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11e2920012d667c800621db880009008a25..."} 
[2026-04-28 04:17:01] local.INFO: Packet analysis {"connection_id":56306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11e"} 
[2026-04-28 04:17:01] local.INFO: Extracted packet for processing {"connection_id":56306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11e"} 
[2026-04-28 04:17:01] local.INFO: GPS Element Parsed {"raw_longitude":761691264,"raw_latitude":102882184,"longitude_deg":76.1691264,"latitude_deg":10.2882184,"altitude":9,"angle":138,"satellites":37,"speed":41,"hex_longitude":"2d667c80","hex_latitude":"0621db88","is_valid_coordinates":true} 
[2026-04-28 04:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996454144001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281940787388743680,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7378233222111809536,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777329908000,"timestamp_ms":1777329908000,"timestamp_seconds":1777329908,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11e2920"} 
[2026-04-28 04:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996454144001,"66":27484,"12":206,"79":20992,"24":41,"16":281940787388743680,"45":7378233222111809536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-28 04:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996454144001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:17:01] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 04:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281940787388743680,"km_value":281940787388743.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7378233222111809536,"description":"Unknown IO ID 45"} 
[2026-04-28 04:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996454144001,"power":27484,"unknown_12":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7378233222111809536}} 
[2026-04-28 04:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":56306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:17:01] local.INFO: GPS data processed {"connection_id":56306,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:17:01] local.INFO: Acknowledgment sent {"connection_id":56306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:17:32] local.INFO: TCP Data received {"connection_id":56306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd11f9468012d66bc4006209af8000600d528..."} 
[2026-04-28 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd11f9468012d66bc4006209af8000600d528..."} 
[2026-04-28 04:17:32] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd11f9468012d66bc4006209af8000600d528..."} 
[2026-04-28 04:17:32] local.INFO: Packet analysis {"connection_id":56306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd11f"} 
[2026-04-28 04:17:32] local.INFO: Extracted packet for processing {"connection_id":56306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd11f"} 
[2026-04-28 04:17:32] local.INFO: GPS Element Parsed {"raw_longitude":761707584,"raw_latitude":102800120,"longitude_deg":76.1707584,"latitude_deg":10.280012,"altitude":6,"angle":213,"satellites":40,"speed":33,"hex_longitude":"2d66bc40","hex_latitude":"06209af8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996479232001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281944962096955392,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404551132412280832,"note":"Value kept but may cause issues"} 
[2026-04-28 04:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777330001000,"timestamp_ms":1777330001000,"timestamp_seconds":1777330001,"priority":1,"record_length":96,"hex_timestamp":"0000019dd11f9468"} 
[2026-04-28 04:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04: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-04-28 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:17:32] 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-04-28 04: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-04-28 04:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996479232001,"66":27463,"94":206,"79":20992,"24":33,"16":281944962096955392,"45":7404551132412280832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-04-28 04:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996479232001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:17:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 04:17:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281944962096955392,"km_value":281944962096955.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404551132412280832,"description":"Unknown IO ID 45"} 
[2026-04-28 04:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996479232001,"power":27463,"unknown_94":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7404551132412280832}} 
[2026-04-28 04:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":56306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:17:32] local.INFO: GPS data processed {"connection_id":56306,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:17:32] local.INFO: Acknowledgment sent {"connection_id":56306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:17:35] local.INFO: TCP Data received {"connection_id":56075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:35] local.INFO: Processing buffer {"connection_id":56075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:17:35] local.INFO: IMEI packet received {"connection_id":56075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:17:56] local.INFO: TCP Data received {"connection_id":56076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: Processing buffer {"connection_id":56076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: IMEI packet received {"connection_id":56076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":56076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:17:56] local.INFO: TCP Data received {"connection_id":56076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: Processing buffer {"connection_id":56076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:56] local.INFO: IMEI packet received {"connection_id":56076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":56076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:17:57] local.INFO: TCP Data received {"connection_id":56076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:57] local.INFO: Processing buffer {"connection_id":56076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:57] local.INFO: IMEI packet received {"connection_id":56076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":56076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:17:58] local.INFO: TCP Data received {"connection_id":56076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:58] local.INFO: Processing buffer {"connection_id":56076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:17:58] local.INFO: IMEI packet received {"connection_id":56076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":56076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:23:00] local.INFO: TCP Data received {"connection_id":56309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:00] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:00] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:23:00] local.INFO: TCP Data received {"connection_id":56309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd122b148012d67fe00061ed2600005009327..."} 
[2026-04-28 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd122b148012d67fe00061ed2600005009327..."} 
[2026-04-28 04:23:00] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd122b148012d67fe00061ed2600005009327..."} 
[2026-04-28 04:23:00] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd122"} 
[2026-04-28 04:23:00] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd122"} 
[2026-04-28 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":761789952,"raw_latitude":102683232,"longitude_deg":76.1789952,"latitude_deg":10.2683232,"altitude":5,"angle":147,"satellites":39,"speed":19,"hex_longitude":"2d67fe00","hex_latitude":"061ed260","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996528128001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281952353735671808,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7487445513024786432,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330205000,"timestamp_ms":1777330205000,"timestamp_seconds":1777330205,"priority":1,"record_length":96,"hex_timestamp":"0000019dd122b148"} 
[2026-04-28 04:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 04:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996528128001,"66":27397,"85":206,"79":20992,"24":19,"16":281952353735671808,"45":7487445513024786432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-28 04:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996528128001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 04:23:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281952353735671808,"km_value":281952353735671.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7487445513024786432,"description":"Unknown IO ID 45"} 
[2026-04-28 04:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996528128001,"power":27397,"unknown_85":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7487445513024786432}} 
[2026-04-28 04:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:23:00] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:23:00] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:23:06] local.INFO: TCP Data received {"connection_id":56240,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:06] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:06] local.INFO: IMEI packet received {"connection_id":56240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":56240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:23:32] local.INFO: TCP Data received {"connection_id":56309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd124cc58012d68c400061d55b0000600a424..."} 
[2026-04-28 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd124cc58012d68c400061d55b0000600a424..."} 
[2026-04-28 04:23:32] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd124cc58012d68c400061d55b0000600a424..."} 
[2026-04-28 04:23:32] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd124"} 
[2026-04-28 04:23:32] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd124"} 
[2026-04-28 04:23:32] local.INFO: GPS Element Parsed {"raw_longitude":761840640,"raw_latitude":102585776,"longitude_deg":76.184064,"latitude_deg":10.2585776,"altitude":6,"angle":164,"satellites":36,"speed":28,"hex_longitude":"2d68c400","hex_latitude":"061d55b0","is_valid_coordinates":true} 
[2026-04-28 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996564480001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281957688085053440,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7545781201923530752,"note":"Value kept but may cause issues"} 
[2026-04-28 04:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777330343000,"timestamp_ms":1777330343000,"timestamp_seconds":1777330343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd124cc58"} 
[2026-04-28 04:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996564480001,"66":27343,"86":206,"79":20992,"24":28,"16":281957688085053440,"45":7545781201923530752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996564480001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:23:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:23:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281957688085053440,"km_value":281957688085053.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7545781201923530752,"description":"Unknown IO ID 45"} 
[2026-04-28 04:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996564480001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7545781201923530752}} 
[2026-04-28 04:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:23:32] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:23:32] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:23:35] local.INFO: TCP Data received {"connection_id":56310,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:35] local.INFO: Processing buffer {"connection_id":56310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:23:35] local.INFO: IMEI packet received {"connection_id":56310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:23:54] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:54] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:54] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:23:55] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:55] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:23:55] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:24:00] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:00] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:00] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:24:00] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:00] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:00] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:24:00] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:24:00] local.INFO: GPS Element Parsed {"raw_longitude":761842816,"raw_latitude":102577088,"longitude_deg":76.1842816,"latitude_deg":10.2577088,"altitude":7,"angle":165,"satellites":39,"speed":6,"hex_longitude":"2d68cc80","hex_latitude":"061d33c0","is_valid_coordinates":true} 
[2026-04-28 04:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996567808001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281958121876750336,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7549158901641752576,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330364000,"timestamp_ms":1777330364000,"timestamp_seconds":1777330364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1251e60"} 
[2026-04-28 04:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996567808001,"66":27397,"86":206,"79":20992,"24":6,"16":281958121876750336,"45":7549158901641752576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996567808001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:24:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:24:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281958121876750336,"km_value":281958121876750.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7549158901641752576,"description":"Unknown IO ID 45"} 
[2026-04-28 04:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996567808001,"power":27397,"unknown_86":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7549158901641752576}} 
[2026-04-28 04:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:24:00] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:24:00] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:24:32] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:32] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1251e60012d68cc80061d33c0000700a527..."} 
[2026-04-28 04:24:32] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:24:32] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":761842816,"raw_latitude":102577088,"longitude_deg":76.1842816,"latitude_deg":10.2577088,"altitude":7,"angle":165,"satellites":39,"speed":6,"hex_longitude":"2d68cc80","hex_latitude":"061d33c0","is_valid_coordinates":true} 
[2026-04-28 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996573184001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281958121876750336,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7551551438941569024,"note":"Value kept but may cause issues"} 
[2026-04-28 04:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777330364000,"timestamp_ms":1777330364000,"timestamp_seconds":1777330364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1251e60"} 
[2026-04-28 04:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996573184001,"66":27397,"86":206,"79":20992,"24":6,"16":281958121876750336,"45":7551551438941569024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996573184001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:24:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:24:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281958121876750336,"km_value":281958121876750.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7551551438941569024,"description":"Unknown IO ID 45"} 
[2026-04-28 04:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996573184001,"power":27397,"unknown_86":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7551551438941569024}} 
[2026-04-28 04:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:24:32] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:24:32] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:24:59] local.INFO: TCP Data received {"connection_id":56242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:59] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:24:59] local.INFO: IMEI packet received {"connection_id":56242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:25:04] local.INFO: TCP Data received {"connection_id":56242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:04] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:04] local.INFO: IMEI packet received {"connection_id":56242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":56242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:25:04] local.INFO: TCP Data received {"connection_id":56242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1257068012d68d280061d1da0000600a526..."} 
[2026-04-28 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1257068012d68d280061d1da0000600a526..."} 
[2026-04-28 04:25:04] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1257068012d68d280061d1da0000600a526..."} 
[2026-04-28 04:25:04] local.INFO: Packet analysis {"connection_id":56242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:25:04] local.INFO: Extracted packet for processing {"connection_id":56242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:25:04] local.INFO: GPS Element Parsed {"raw_longitude":761844352,"raw_latitude":102571424,"longitude_deg":76.1844352,"latitude_deg":10.2571424,"altitude":6,"angle":165,"satellites":38,"speed":21,"hex_longitude":"2d68d280","hex_latitude":"061d1da0","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996573184001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281958409639559168,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7551551438941569024,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777330385000,"timestamp_ms":1777330385000,"timestamp_seconds":1777330385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1257068"} 
[2026-04-28 04:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:25: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-04-28 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996573184001,"66":27376,"86":206,"79":20992,"24":21,"16":281958409639559168,"45":7551551438941569024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996573184001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:25:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:25:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281958409639559168,"km_value":281958409639559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7551551438941569024,"description":"Unknown IO ID 45"} 
[2026-04-28 04:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996573184001,"power":27376,"unknown_86":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7551551438941569024}} 
[2026-04-28 04:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":56242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:25:04] local.INFO: GPS data processed {"connection_id":56242,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:25:04] local.INFO: Acknowledgment sent {"connection_id":56242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:25:35] local.INFO: TCP Data received {"connection_id":56242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd125a330012d68db40061cfb90000400a426..."} 
[2026-04-28 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd125a330012d68db40061cfb90000400a426..."} 
[2026-04-28 04:25:35] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd125a330012d68db40061cfb90000400a426..."} 
[2026-04-28 04:25:35] local.INFO: Packet analysis {"connection_id":56242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:25:35] local.INFO: Extracted packet for processing {"connection_id":56242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":761846592,"raw_latitude":102562704,"longitude_deg":76.1846592,"latitude_deg":10.2562704,"altitude":4,"angle":164,"satellites":38,"speed":32,"hex_longitude":"2d68db40","hex_latitude":"061cfb90","is_valid_coordinates":true} 
[2026-04-28 04:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996578560001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281958847726223360,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7553240288800382976,"note":"Value kept but may cause issues"} 
[2026-04-28 04:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777330398000,"timestamp_ms":1777330398000,"timestamp_seconds":1777330398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd125a330"} 
[2026-04-28 04:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:25:35] 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-04-28 04:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996578560001,"66":26636,"86":206,"79":20992,"24":32,"16":281958847726223360,"45":7553240288800382976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996578560001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:25:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:25:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281958847726223360,"km_value":281958847726223.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7553240288800382976,"description":"Unknown IO ID 45"} 
[2026-04-28 04:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996578560001,"power":26636,"unknown_86":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7553240288800382976}} 
[2026-04-28 04:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":56242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:25:35] local.INFO: GPS data processed {"connection_id":56242,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:25:35] local.INFO: Acknowledgment sent {"connection_id":56242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:25:54] local.INFO: TCP Data received {"connection_id":56312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:54] local.INFO: Processing buffer {"connection_id":56312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:54] local.INFO: IMEI packet received {"connection_id":56312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":56312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:25:59] local.INFO: TCP Data received {"connection_id":56312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:59] local.INFO: Processing buffer {"connection_id":56312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:25:59] local.INFO: IMEI packet received {"connection_id":56312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:26:00] local.INFO: TCP Data received {"connection_id":56312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd125ce28012d68e600061cd868000400a124..."} 
[2026-04-28 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd125ce28012d68e600061cd868000400a124..."} 
[2026-04-28 04:26:00] local.INFO: Processing buffer {"connection_id":56312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd125ce28012d68e600061cd868000400a124..."} 
[2026-04-28 04:26:00] local.INFO: Packet analysis {"connection_id":56312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:26:00] local.INFO: Extracted packet for processing {"connection_id":56312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:26:00] local.INFO: GPS Element Parsed {"raw_longitude":761849344,"raw_latitude":102553704,"longitude_deg":76.1849344,"latitude_deg":10.2553704,"altitude":4,"angle":161,"satellites":36,"speed":33,"hex_longitude":"2d68e600","hex_latitude":"061cd868","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996581888001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281959302992756736,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7555703194844368896,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330409000,"timestamp_ms":1777330409000,"timestamp_seconds":1777330409,"priority":1,"record_length":96,"hex_timestamp":"0000019dd125ce28"} 
[2026-04-28 04:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 04:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996581888001,"66":27365,"86":206,"79":20992,"24":33,"16":281959302992756736,"45":7555703194844368896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996581888001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:26:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:26:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281959302992756736,"km_value":281959302992756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7555703194844368896,"description":"Unknown IO ID 45"} 
[2026-04-28 04:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996581888001,"power":27365,"unknown_86":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7555703194844368896}} 
[2026-04-28 04:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:26:00] local.INFO: GPS data processed {"connection_id":56312,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:26:00] local.INFO: Acknowledgment sent {"connection_id":56312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:26:31] local.INFO: TCP Data received {"connection_id":56312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd125fd08012d68f500061cb3e00004009a28..."} 
[2026-04-28 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd125fd08012d68f500061cb3e00004009a28..."} 
[2026-04-28 04:26:31] local.INFO: Processing buffer {"connection_id":56312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd125fd08012d68f500061cb3e00004009a28..."} 
[2026-04-28 04:26:31] local.INFO: Packet analysis {"connection_id":56312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:26:31] local.INFO: Extracted packet for processing {"connection_id":56312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd125"} 
[2026-04-28 04:26:31] local.INFO: GPS Element Parsed {"raw_longitude":761853184,"raw_latitude":102544352,"longitude_deg":76.1853184,"latitude_deg":10.2544352,"altitude":4,"angle":154,"satellites":40,"speed":33,"hex_longitude":"2d68f500","hex_latitude":"061cb3e0","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996584704001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281959792619028480,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7558729050841704448,"note":"Value kept but may cause issues"} 
[2026-04-28 04:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777330421000,"timestamp_ms":1777330421000,"timestamp_seconds":1777330421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd125fd08"} 
[2026-04-28 04:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996584704001,"66":27321,"86":206,"79":20992,"24":33,"16":281959792619028480,"45":7558729050841704448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-28 04:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996584704001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:26:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-28 04:26:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281959792619028480,"km_value":281959792619028.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7558729050841704448,"description":"Unknown IO ID 45"} 
[2026-04-28 04:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996584704001,"power":27321,"unknown_86":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7558729050841704448}} 
[2026-04-28 04:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":56312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:26:31] local.INFO: GPS data processed {"connection_id":56312,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:26:31] local.INFO: Acknowledgment sent {"connection_id":56312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:26:55] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:26:56] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:26:56] local.INFO: IMEI packet received {"connection_id":56971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":56971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:27:00] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:00] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:00] local.INFO: IMEI packet received {"connection_id":56971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:27:05] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:05] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:05] local.INFO: IMEI packet received {"connection_id":56971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":56971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:27:05] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd127ed20012d69aec0061b47300008009928..."} 
[2026-04-28 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd127ed20012d69aec0061b47300008009928..."} 
[2026-04-28 04:27:05] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd127ed20012d69aec0061b47300008009928..."} 
[2026-04-28 04:27:05] local.INFO: Packet analysis {"connection_id":56971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd127"} 
[2026-04-28 04:27:05] local.INFO: Extracted packet for processing {"connection_id":56971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd127"} 
[2026-04-28 04:27:05] local.INFO: GPS Element Parsed {"raw_longitude":761900736,"raw_latitude":102450992,"longitude_deg":76.1900736,"latitude_deg":10.2450992,"altitude":8,"angle":153,"satellites":40,"speed":33,"hex_longitude":"2d69aec0","hex_latitude":"061b4730","is_valid_coordinates":true} 
[2026-04-28 04:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996617472001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281964856385470464,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7610872290253289472,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777330548000,"timestamp_ms":1777330548000,"timestamp_seconds":1777330548,"priority":1,"record_length":96,"hex_timestamp":"0000019dd127ed20"} 
[2026-04-28 04:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996617472001,"66":27484,"126":206,"79":20992,"24":33,"16":281964856385470464,"45":7610872290253289472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996617472001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:27:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:27:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281964856385470464,"km_value":281964856385470.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7610872290253289472,"description":"Unknown IO ID 45"} 
[2026-04-28 04:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996617472001,"power":27484,"unknown_126":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7610872290253289472}} 
[2026-04-28 04:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":56971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:27:05] local.INFO: GPS data processed {"connection_id":56971,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:27:05] local.INFO: Acknowledgment sent {"connection_id":56971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:27:36] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1281c00012d69bd80061b26c80008009a29..."} 
[2026-04-28 04:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1281c00012d69bd80061b26c80008009a29..."} 
[2026-04-28 04:27:36] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1281c00012d69bd80061b26c80008009a29..."} 
[2026-04-28 04:27:36] local.INFO: Packet analysis {"connection_id":56971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:27:36] local.INFO: Extracted packet for processing {"connection_id":56971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:27:36] local.INFO: GPS Element Parsed {"raw_longitude":761904512,"raw_latitude":102442696,"longitude_deg":76.1904512,"latitude_deg":10.2442696,"altitude":8,"angle":154,"satellites":41,"speed":20,"hex_longitude":"2d69bd80","hex_latitude":"061b26c8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996620288001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281965298767101952,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7615235152390074368,"note":"Value kept but may cause issues"} 
[2026-04-28 04:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777330560000,"timestamp_ms":1777330560000,"timestamp_seconds":1777330560,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1281c00"} 
[2026-04-28 04:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996620288001,"66":27463,"126":206,"79":20992,"24":20,"16":281965298767101952,"45":7615235152390074368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996620288001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:27:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:27:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281965298767101952,"km_value":281965298767101.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7615235152390074368,"description":"Unknown IO ID 45"} 
[2026-04-28 04:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996620288001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7615235152390074368}} 
[2026-04-28 04:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":56971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:27:36] local.INFO: GPS data processed {"connection_id":56971,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:27:36] local.INFO: Acknowledgment sent {"connection_id":56971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:27:56] local.INFO: TCP Data received {"connection_id":56080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:56] local.INFO: Processing buffer {"connection_id":56080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:27:56] local.INFO: IMEI packet received {"connection_id":56080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":56080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:28:00] local.INFO: TCP Data received {"connection_id":56080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:00] local.INFO: Processing buffer {"connection_id":56080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:00] local.INFO: IMEI packet received {"connection_id":56080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:28:01] local.INFO: TCP Data received {"connection_id":56080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1285e68012d69cd40061b06c80008009927..."} 
[2026-04-28 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1285e68012d69cd40061b06c80008009927..."} 
[2026-04-28 04:28:01] local.INFO: Processing buffer {"connection_id":56080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1285e68012d69cd40061b06c80008009927..."} 
[2026-04-28 04:28:01] local.INFO: Packet analysis {"connection_id":56080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:28:01] local.INFO: Extracted packet for processing {"connection_id":56080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:28:01] local.INFO: GPS Element Parsed {"raw_longitude":761908544,"raw_latitude":102434504,"longitude_deg":76.1908544,"latitude_deg":10.2434504,"altitude":8,"angle":153,"satellites":39,"speed":29,"hex_longitude":"2d69cd40","hex_latitude":"061b06c8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996623360001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281965741148733440,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7619386908294432768,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777330577000,"timestamp_ms":1777330577000,"timestamp_seconds":1777330577,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1285e68"} 
[2026-04-28 04:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:28:01] 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-04-28 04: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-04-28 04:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996623360001,"66":27463,"126":206,"79":20992,"24":29,"16":281965741148733440,"45":7619386908294432768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996623360001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:28:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:28:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281965741148733440,"km_value":281965741148733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7619386908294432768,"description":"Unknown IO ID 45"} 
[2026-04-28 04:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996623360001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7619386908294432768}} 
[2026-04-28 04:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":56080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:28:01] local.INFO: GPS data processed {"connection_id":56080,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:28:01] local.INFO: Acknowledgment sent {"connection_id":56080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:28:32] local.INFO: TCP Data received {"connection_id":56080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1289900012d69dfc0061ae7100007009526..."} 
[2026-04-28 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1289900012d69dfc0061ae7100007009526..."} 
[2026-04-28 04:28:32] local.INFO: Processing buffer {"connection_id":56080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1289900012d69dfc0061ae7100007009526..."} 
[2026-04-28 04:28:32] local.INFO: Packet analysis {"connection_id":56080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:28:32] local.INFO: Extracted packet for processing {"connection_id":56080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:28:32] local.INFO: GPS Element Parsed {"raw_longitude":761913280,"raw_latitude":102426384,"longitude_deg":76.191328,"latitude_deg":10.2426384,"altitude":7,"angle":149,"satellites":38,"speed":23,"hex_longitude":"2d69dfc0","hex_latitude":"061ae710","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996627712001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281966196415266816,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7623820139175528448,"note":"Value kept but may cause issues"} 
[2026-04-28 04:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777330592000,"timestamp_ms":1777330592000,"timestamp_seconds":1777330592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1289900"} 
[2026-04-28 04:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:28: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-04-28 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:28:32] 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-04-28 04: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-04-28 04:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996627712001,"66":27463,"126":206,"79":20992,"24":23,"16":281966196415266816,"45":7623820139175528448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996627712001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:28:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:28:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281966196415266816,"km_value":281966196415266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7623820139175528448,"description":"Unknown IO ID 45"} 
[2026-04-28 04:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996627712001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7623820139175528448}} 
[2026-04-28 04:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:28:32] local.INFO: GPS data processed {"connection_id":56080,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:28:32] local.INFO: Acknowledgment sent {"connection_id":56080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:28:54] local.INFO: TCP Data received {"connection_id":56243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:54] local.INFO: Processing buffer {"connection_id":56243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:28:54] local.INFO: IMEI packet received {"connection_id":56243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:29:00] local.INFO: TCP Data received {"connection_id":56243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:29:00] local.INFO: Processing buffer {"connection_id":56243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:29:00] local.INFO: IMEI packet received {"connection_id":56243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:29:02] local.INFO: TCP Data received {"connection_id":56243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd128cfb0012d69f200061ac8c00009009521..."} 
[2026-04-28 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd128cfb0012d69f200061ac8c00009009521..."} 
[2026-04-28 04:29:02] local.INFO: Processing buffer {"connection_id":56243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd128cfb0012d69f200061ac8c00009009521..."} 
[2026-04-28 04:29:02] local.INFO: Packet analysis {"connection_id":56243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:29:02] local.INFO: Extracted packet for processing {"connection_id":56243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:29:02] local.INFO: GPS Element Parsed {"raw_longitude":761917952,"raw_latitude":102418624,"longitude_deg":76.1917952,"latitude_deg":10.2418624,"altitude":9,"angle":149,"satellites":33,"speed":29,"hex_longitude":"2d69f200","hex_latitude":"061ac8c0","is_valid_coordinates":true} 
[2026-04-28 04:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281966634501931008,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7629027426242596864,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777330606000,"timestamp_ms":1777330606000,"timestamp_seconds":1777330606,"priority":1,"record_length":96,"hex_timestamp":"0000019dd128cfb0"} 
[2026-04-28 04:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996631552001,"66":27463,"126":206,"79":20992,"24":29,"16":281966634501931008,"45":7629027426242596864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:29:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:29:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281966634501931008,"km_value":281966634501931.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7629027426242596864,"description":"Unknown IO ID 45"} 
[2026-04-28 04:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996631552001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7629027426242596864}} 
[2026-04-28 04:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":56243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:29:02] local.INFO: GPS data processed {"connection_id":56243,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:29:02] local.INFO: Acknowledgment sent {"connection_id":56243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:29:06] local.INFO: TCP Data received {"connection_id":56314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:06] local.INFO: Processing buffer {"connection_id":56314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:06] local.INFO: IMEI packet received {"connection_id":56314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":56314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:29:33] local.INFO: TCP Data received {"connection_id":56243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd128fe90012d6a0180061aa9280009009d23..."} 
[2026-04-28 04:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd128fe90012d6a0180061aa9280009009d23..."} 
[2026-04-28 04:29:33] local.INFO: Processing buffer {"connection_id":56243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd128fe90012d6a0180061aa9280009009d23..."} 
[2026-04-28 04:29:33] local.INFO: Packet analysis {"connection_id":56243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:29:33] local.INFO: Extracted packet for processing {"connection_id":56243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd128"} 
[2026-04-28 04:29:33] local.INFO: GPS Element Parsed {"raw_longitude":761921920,"raw_latitude":102410536,"longitude_deg":76.192192,"latitude_deg":10.2410536,"altitude":9,"angle":157,"satellites":35,"speed":29,"hex_longitude":"2d6a0180","hex_latitude":"061aa928","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996635136001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281967068293627904,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7634164344565579776,"note":"Value kept but may cause issues"} 
[2026-04-28 04:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777330618000,"timestamp_ms":1777330618000,"timestamp_seconds":1777330618,"priority":1,"record_length":96,"hex_timestamp":"0000019dd128fe90"} 
[2026-04-28 04:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:29:33] 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-04-28 04: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-04-28 04:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996635136001,"66":27365,"126":206,"79":20992,"24":29,"16":281967068293627904,"45":7634164344565579776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996635136001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:29:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:29:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281967068293627904,"km_value":281967068293627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7634164344565579776,"description":"Unknown IO ID 45"} 
[2026-04-28 04:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996635136001,"power":27365,"unknown_126":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7634164344565579776}} 
[2026-04-28 04:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":56243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:29:33] local.INFO: GPS data processed {"connection_id":56243,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:29:33] local.INFO: Acknowledgment sent {"connection_id":56243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:29:35] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:35] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:29:35] local.INFO: IMEI packet received {"connection_id":56972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:30:00] local.INFO: TCP Data received {"connection_id":56081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: Processing buffer {"connection_id":56081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: IMEI packet received {"connection_id":56081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":56081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:30:00] local.INFO: TCP Data received {"connection_id":56081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: Processing buffer {"connection_id":56081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:00] local.INFO: IMEI packet received {"connection_id":56081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":56081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:30:01] local.INFO: TCP Data received {"connection_id":56081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1292d70012d6a0e40061a8758000a00a124..."} 
[2026-04-28 04:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1292d70012d6a0e40061a8758000a00a124..."} 
[2026-04-28 04:30:01] local.INFO: Processing buffer {"connection_id":56081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1292d70012d6a0e40061a8758000a00a124..."} 
[2026-04-28 04:30:01] local.INFO: Packet analysis {"connection_id":56081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:01] local.INFO: Extracted packet for processing {"connection_id":56081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:01] local.INFO: GPS Element Parsed {"raw_longitude":761925184,"raw_latitude":102401880,"longitude_deg":76.1925184,"latitude_deg":10.240188,"altitude":10,"angle":161,"satellites":36,"speed":29,"hex_longitude":"2d6a0e40","hex_latitude":"061a8758","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996638208001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281967519265193984,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638527206702524416,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777330630000,"timestamp_ms":1777330630000,"timestamp_seconds":1777330630,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1292d70"} 
[2026-04-28 04:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996638208001,"66":27397,"126":206,"79":20992,"24":29,"16":281967519265193984,"45":7638527206702524416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996638208001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:30:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:30:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281967519265193984,"km_value":281967519265194.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638527206702524416,"description":"Unknown IO ID 45"} 
[2026-04-28 04:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996638208001,"power":27397,"unknown_126":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7638527206702524416}} 
[2026-04-28 04:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":56081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:30:01] local.INFO: GPS data processed {"connection_id":56081,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:30:01] local.INFO: Acknowledgment sent {"connection_id":56081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:30:05] local.INFO: TCP Data received {"connection_id":56081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1296420012d6a1a40061a6568000800a125..."} 
[2026-04-28 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1296420012d6a1a40061a6568000800a125..."} 
[2026-04-28 04:30:05] local.INFO: Processing buffer {"connection_id":56081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1296420012d6a1a40061a6568000800a125..."} 
[2026-04-28 04:30:05] local.INFO: Packet analysis {"connection_id":56081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:05] local.INFO: Extracted packet for processing {"connection_id":56081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:05] local.INFO: GPS Element Parsed {"raw_longitude":761928256,"raw_latitude":102393192,"longitude_deg":76.1928256,"latitude_deg":10.2393192,"altitude":8,"angle":161,"satellites":37,"speed":27,"hex_longitude":"2d6a1a40","hex_latitude":"061a6568","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996641280001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281967965941792768,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7642116012653369344,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777330644000,"timestamp_ms":1777330644000,"timestamp_seconds":1777330644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1296420"} 
[2026-04-28 04:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996641280001,"66":27321,"126":206,"79":20992,"24":27,"16":281967965941792768,"45":7642116012653369344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996641280001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:30:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:30:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281967965941792768,"km_value":281967965941792.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7642116012653369344,"description":"Unknown IO ID 45"} 
[2026-04-28 04:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996641280001,"power":27321,"unknown_126":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7642116012653369344}} 
[2026-04-28 04:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":56081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:30:05] local.INFO: GPS data processed {"connection_id":56081,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:30:05] local.INFO: Acknowledgment sent {"connection_id":56081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:30:36] local.INFO: TCP Data received {"connection_id":56081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12996e8012d6a2580061a43900007009f25..."} 
[2026-04-28 04:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12996e8012d6a2580061a43900007009f25..."} 
[2026-04-28 04:30:36] local.INFO: Processing buffer {"connection_id":56081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12996e8012d6a2580061a43900007009f25..."} 
[2026-04-28 04:30:36] local.INFO: Packet analysis {"connection_id":56081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:36] local.INFO: Extracted packet for processing {"connection_id":56081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd129"} 
[2026-04-28 04:30:36] local.INFO: GPS Element Parsed {"raw_longitude":761931136,"raw_latitude":102384528,"longitude_deg":76.1931136,"latitude_deg":10.2384528,"altitude":7,"angle":159,"satellites":37,"speed":26,"hex_longitude":"2d6a2580","hex_latitude":"061a4390","is_valid_coordinates":true} 
[2026-04-28 04:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996644864001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281968408323424256,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7645493712371673088,"note":"Value kept but may cause issues"} 
[2026-04-28 04:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777330657000,"timestamp_ms":1777330657000,"timestamp_seconds":1777330657,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12996e8"} 
[2026-04-28 04:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:30:36] 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-04-28 04:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996644864001,"66":27463,"126":206,"79":20992,"24":26,"16":281968408323424256,"45":7645493712371673088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-28 04:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996644864001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:30:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-28 04:30:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281968408323424256,"km_value":281968408323424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7645493712371673088,"description":"Unknown IO ID 45"} 
[2026-04-28 04:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996644864001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7645493712371673088}} 
[2026-04-28 04:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":56081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:30:36] local.INFO: GPS data processed {"connection_id":56081,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:30:36] local.INFO: Acknowledgment sent {"connection_id":56081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:30:54] local.INFO: TCP Data received {"connection_id":56244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:54] local.INFO: Processing buffer {"connection_id":56244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:54] local.INFO: IMEI packet received {"connection_id":56244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:30:59] local.INFO: TCP Data received {"connection_id":56244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:59] local.INFO: Processing buffer {"connection_id":56244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:30:59] local.INFO: IMEI packet received {"connection_id":56244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:31:00] local.INFO: TCP Data received {"connection_id":56244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12baa28012d6a87400618ec40000900b026..."} 
[2026-04-28 04:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12baa28012d6a87400618ec40000900b026..."} 
[2026-04-28 04:31:00] local.INFO: Processing buffer {"connection_id":56244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12baa28012d6a87400618ec40000900b026..."} 
[2026-04-28 04:31:00] local.INFO: Packet analysis {"connection_id":56244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:31:00] local.INFO: Extracted packet for processing {"connection_id":56244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:31:00] local.INFO: GPS Element Parsed {"raw_longitude":761956160,"raw_latitude":102296640,"longitude_deg":76.195616,"latitude_deg":10.229664,"altitude":9,"angle":176,"satellites":38,"speed":37,"hex_longitude":"2d6a8740","hex_latitude":"0618ec40","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996680192001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281972862204510208,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675611534857422848,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330793000,"timestamp_ms":1777330793000,"timestamp_seconds":1777330793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12baa28"} 
[2026-04-28 04:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:31: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-04-28 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 04:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996680192001,"66":27484,"191":206,"79":20992,"24":37,"16":281972862204510208,"45":7675611534857422848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-04-28 04:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996680192001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:31:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 04:31:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281972862204510208,"km_value":281972862204510.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675611534857422848,"description":"Unknown IO ID 45"} 
[2026-04-28 04:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996680192001,"power":27484,"unknown_191":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7675611534857422848}} 
[2026-04-28 04:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":56244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:31:00] local.INFO: GPS data processed {"connection_id":56244,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:31:00] local.INFO: Acknowledgment sent {"connection_id":56244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:31:38] local.INFO: TCP Data received {"connection_id":56244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12bd138012d6a89c00618c6b0000700af26..."} 
[2026-04-28 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12bd138012d6a89c00618c6b0000700af26..."} 
[2026-04-28 04:31:38] local.INFO: Processing buffer {"connection_id":56244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12bd138012d6a89c00618c6b0000700af26..."} 
[2026-04-28 04:31:38] local.INFO: Packet analysis {"connection_id":56244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:31:38] local.INFO: Extracted packet for processing {"connection_id":56244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":761956800,"raw_latitude":102287024,"longitude_deg":76.19568,"latitude_deg":10.2287024,"altitude":7,"angle":175,"satellites":38,"speed":32,"hex_longitude":"2d6a89c0","hex_latitude":"0618c6b0","is_valid_coordinates":true} 
[2026-04-28 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996683008001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281973330355945472,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676174484808417280,"note":"Value kept but may cause issues"} 
[2026-04-28 04:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777330803000,"timestamp_ms":1777330803000,"timestamp_seconds":1777330803,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12bd138"} 
[2026-04-28 04:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996683008001,"66":27267,"191":206,"79":20992,"24":32,"16":281973330355945472,"45":7676174484808417280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-04-28 04:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996683008001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281973330355945472,"km_value":281973330355945.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676174484808417280,"description":"Unknown IO ID 45"} 
[2026-04-28 04:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996683008001,"power":27267,"unknown_191":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7676174484808417280}} 
[2026-04-28 04:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":56244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:31:38] local.INFO: GPS data processed {"connection_id":56244,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:31:38] local.INFO: Acknowledgment sent {"connection_id":56244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:31:54] local.INFO: TCP Data received {"connection_id":56082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:54] local.INFO: Processing buffer {"connection_id":56082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:54] local.INFO: IMEI packet received {"connection_id":56082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":56082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:31:57] local.INFO: TCP Data received {"connection_id":56082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:57] local.INFO: Processing buffer {"connection_id":56082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:57] local.INFO: IMEI packet received {"connection_id":56082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":56082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:31:59] local.INFO: TCP Data received {"connection_id":56082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:59] local.INFO: Processing buffer {"connection_id":56082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:31:59] local.INFO: IMEI packet received {"connection_id":56082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:32:00] local.INFO: TCP Data received {"connection_id":56082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12bf848012d6a8d400618a360000800ab27..."} 
[2026-04-28 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12bf848012d6a8d400618a360000800ab27..."} 
[2026-04-28 04:32:00] local.INFO: Processing buffer {"connection_id":56082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12bf848012d6a8d400618a360000800ab27..."} 
[2026-04-28 04:32:00] local.INFO: Packet analysis {"connection_id":56082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:32:00] local.INFO: Extracted packet for processing {"connection_id":56082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12b"} 
[2026-04-28 04:32:00] local.INFO: GPS Element Parsed {"raw_longitude":761957696,"raw_latitude":102277984,"longitude_deg":76.1957696,"latitude_deg":10.2277984,"altitude":8,"angle":171,"satellites":39,"speed":38,"hex_longitude":"2d6a8d40","hex_latitude":"0618a360","is_valid_coordinates":true} 
[2026-04-28 04:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996685568001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281973768442609664,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676878172247732224,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330813000,"timestamp_ms":1777330813000,"timestamp_seconds":1777330813,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12bf848"} 
[2026-04-28 04:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 04:32:00] 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-04-28 04:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996685568001,"66":27365,"191":206,"79":20992,"24":38,"16":281973768442609664,"45":7676878172247732224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-04-28 04:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996685568001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:32:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 04:32:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281973768442609664,"km_value":281973768442609.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676878172247732224,"description":"Unknown IO ID 45"} 
[2026-04-28 04:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996685568001,"power":27365,"unknown_191":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7676878172247732224}} 
[2026-04-28 04:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":56082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:32:01] local.INFO: GPS data processed {"connection_id":56082,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:32:01] local.INFO: Acknowledgment sent {"connection_id":56082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:32:31] local.INFO: TCP Data received {"connection_id":56082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12c1f58012d6a934006187fc0000900aa28..."} 
[2026-04-28 04:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12c1f58012d6a934006187fc0000900aa28..."} 
[2026-04-28 04:32:31] local.INFO: Processing buffer {"connection_id":56082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12c1f58012d6a934006187fc0000900aa28..."} 
[2026-04-28 04:32:31] local.INFO: Packet analysis {"connection_id":56082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12c"} 
[2026-04-28 04:32:31] local.INFO: Extracted packet for processing {"connection_id":56082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12c"} 
[2026-04-28 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":761959232,"raw_latitude":102268864,"longitude_deg":76.1959232,"latitude_deg":10.2268864,"altitude":9,"angle":170,"satellites":40,"speed":35,"hex_longitude":"2d6a9340","hex_latitude":"06187fc0","is_valid_coordinates":true} 
[2026-04-28 04:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996688128001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281974219414175744,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677863334663905280,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777330823000,"timestamp_ms":1777330823000,"timestamp_seconds":1777330823,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12c1f58"} 
[2026-04-28 04:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996688128001,"66":27300,"191":206,"79":20992,"24":35,"16":281974219414175744,"45":7677863334663905280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-04-28 04:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996688128001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:32:31] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 04:32:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281974219414175744,"km_value":281974219414175.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677863334663905280,"description":"Unknown IO ID 45"} 
[2026-04-28 04:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996688128001,"power":27300,"unknown_191":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7677863334663905280}} 
[2026-04-28 04:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":56082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:32:31] local.INFO: GPS data processed {"connection_id":56082,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:32:31] local.INFO: Acknowledgment sent {"connection_id":56082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:32:55] local.INFO: TCP Data received {"connection_id":56316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:55] local.INFO: Processing buffer {"connection_id":56316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:55] local.INFO: IMEI packet received {"connection_id":56316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":56316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:32:56] local.INFO: TCP Data received {"connection_id":56316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:56] local.INFO: Processing buffer {"connection_id":56316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:32:56] local.INFO: IMEI packet received {"connection_id":56316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":56316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:32:57] local.INFO: TCP Data received {"connection_id":56316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12dadc8012d6aa50006172e08000b00a628..."} 
[2026-04-28 04:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12dadc8012d6aa50006172e08000b00a628..."} 
[2026-04-28 04:32:57] local.INFO: Processing buffer {"connection_id":56316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12dadc8012d6aa50006172e08000b00a628..."} 
[2026-04-28 04:32:57] local.INFO: Packet analysis {"connection_id":56316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:32:57] local.INFO: Extracted packet for processing {"connection_id":56316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:32:57] local.INFO: GPS Element Parsed {"raw_longitude":761963776,"raw_latitude":102182408,"longitude_deg":76.1963776,"latitude_deg":10.2182408,"altitude":11,"angle":166,"satellites":40,"speed":53,"hex_longitude":"2d6aa500","hex_latitude":"06172e08","is_valid_coordinates":true} 
[2026-04-28 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996714752001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281978432777093120,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7682648409246027776,"note":"Value kept but may cause issues"} 
[2026-04-28 04:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777330925000,"timestamp_ms":1777330925000,"timestamp_seconds":1777330925,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12dadc8"} 
[2026-04-28 04:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:32: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-04-28 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:32:57] 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-04-28 04:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:32: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-04-28 04:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996714752001,"66":27300,"236":206,"79":20992,"24":53,"16":281978432777093120,"45":7682648409246027776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-04-28 04:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996714752001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:32:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 04:32:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281978432777093120,"km_value":281978432777093.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7682648409246027776,"description":"Unknown IO ID 45"} 
[2026-04-28 04:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996714752001,"power":27300,"unknown_236":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7682648409246027776}} 
[2026-04-28 04:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":56316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:32:57] local.INFO: GPS data processed {"connection_id":56316,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:32:57] local.INFO: Acknowledgment sent {"connection_id":56316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:33:28] local.INFO: TCP Data received {"connection_id":56316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12dc920012d6ab08006170950000800a028..."} 
[2026-04-28 04:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12dc920012d6ab08006170950000800a028..."} 
[2026-04-28 04:33:28] local.INFO: Processing buffer {"connection_id":56316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12dc920012d6ab08006170950000800a028..."} 
[2026-04-28 04:33:28] local.INFO: Packet analysis {"connection_id":56316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:33:28] local.INFO: Extracted packet for processing {"connection_id":56316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:33:28] local.INFO: GPS Element Parsed {"raw_longitude":761966720,"raw_latitude":102173008,"longitude_deg":76.196672,"latitude_deg":10.2173008,"altitude":8,"angle":160,"satellites":40,"speed":57,"hex_longitude":"2d6ab080","hex_latitude":"06170950","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996716800001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281978909518462976,"note":"Value kept but may cause issues"} 
[2026-04-28 04:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7684548365336315904,"note":"Value kept but may cause issues"} 
[2026-04-28 04:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777330932000,"timestamp_ms":1777330932000,"timestamp_seconds":1777330932,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12dc920"} 
[2026-04-28 04:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 04:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996716800001,"66":27343,"236":206,"79":20992,"24":57,"16":281978909518462976,"45":7684548365336315904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-04-28 04:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996716800001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:33:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 04:33:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281978909518462976,"km_value":281978909518463.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7684548365336315904,"description":"Unknown IO ID 45"} 
[2026-04-28 04:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996716800001,"power":27343,"unknown_236":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7684548365336315904}} 
[2026-04-28 04:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":56316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:33:28] local.INFO: GPS data processed {"connection_id":56316,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:33:28] local.INFO: Acknowledgment sent {"connection_id":56316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:33:54] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:54] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:54] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:33:57] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:57] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:57] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:33:59] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:59] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:33:59] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:34:00] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12de478012d6abec00616e4c00008009e27..."} 
[2026-04-28 04:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12de478012d6abec00616e4c00008009e27..."} 
[2026-04-28 04:34:00] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12de478012d6abec00616e4c00008009e27..."} 
[2026-04-28 04:34:00] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:34:00] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:34:00] local.INFO: GPS Element Parsed {"raw_longitude":761970368,"raw_latitude":102163648,"longitude_deg":76.1970368,"latitude_deg":10.2163648,"altitude":8,"angle":158,"satellites":39,"speed":56,"hex_longitude":"2d6abec0","hex_latitude":"0616e4c0","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996718592001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281979394849767424,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7687785327566082048,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777330939000,"timestamp_ms":1777330939000,"timestamp_seconds":1777330939,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12de478"} 
[2026-04-28 04:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:34: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-04-28 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996718592001,"66":27321,"236":206,"79":20992,"24":56,"16":281979394849767424,"45":7687785327566082048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-04-28 04:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996718592001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:34:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 04:34:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281979394849767424,"km_value":281979394849767.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7687785327566082048,"description":"Unknown IO ID 45"} 
[2026-04-28 04:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996718592001,"power":27321,"unknown_236":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":7687785327566082048}} 
[2026-04-28 04:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:34:00] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:34:00] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:34:04] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12dffd0012d6acc800616c1c0000a009f27..."} 
[2026-04-28 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12dffd0012d6acc800616c1c0000a009f27..."} 
[2026-04-28 04:34:04] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12dffd0012d6acc800616c1c0000a009f27..."} 
[2026-04-28 04:34:04] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:34:04] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12d"} 
[2026-04-28 04:34:04] local.INFO: GPS Element Parsed {"raw_longitude":761973888,"raw_latitude":102154688,"longitude_deg":76.1973888,"latitude_deg":10.2154688,"altitude":10,"angle":159,"satellites":39,"speed":52,"hex_longitude":"2d6acc80","hex_latitude":"0616c1c0","is_valid_coordinates":true} 
[2026-04-28 04:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996720384001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281979858706235392,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7691796345981812736,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777330946000,"timestamp_ms":1777330946000,"timestamp_seconds":1777330946,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12dffd0"} 
[2026-04-28 04:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:34: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-04-28 04:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 04:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996720384001,"66":27343,"236":206,"79":20992,"24":52,"16":281979858706235392,"45":7691796345981812736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-04-28 04:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996720384001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:34:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 04:34:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281979858706235392,"km_value":281979858706235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7691796345981812736,"description":"Unknown IO ID 45"} 
[2026-04-28 04:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996720384001,"power":27343,"unknown_236":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7691796345981812736}} 
[2026-04-28 04:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:34:04] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:34:04] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:34:35] local.INFO: TCP Data received {"connection_id":56246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12e1f10012d6ad98006169cd0000b00a028..."} 
[2026-04-28 04:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12e1f10012d6ad98006169cd0000b00a028..."} 
[2026-04-28 04:34:35] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12e1f10012d6ad98006169cd0000b00a028..."} 
[2026-04-28 04:34:35] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12e"} 
[2026-04-28 04:34:35] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12e"} 
[2026-04-28 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":761977216,"raw_latitude":102145232,"longitude_deg":76.1977216,"latitude_deg":10.2145232,"altitude":11,"angle":160,"satellites":40,"speed":48,"hex_longitude":"2d6ad980","hex_latitude":"06169cd0","is_valid_coordinates":true} 
[2026-04-28 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996722176001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281980344037539840,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7695666626909290496,"note":"Value kept but may cause issues"} 
[2026-04-28 04:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777330954000,"timestamp_ms":1777330954000,"timestamp_seconds":1777330954,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12e1f10"} 
[2026-04-28 04:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996722176001,"66":27343,"236":206,"79":20992,"24":48,"16":281980344037539840,"45":7695666626909290496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-04-28 04:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996722176001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:34:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 04:34:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281980344037539840,"km_value":281980344037539.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7695666626909290496,"description":"Unknown IO ID 45"} 
[2026-04-28 04:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996722176001,"power":27343,"unknown_236":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7695666626909290496}} 
[2026-04-28 04:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:34:35] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:34:35] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:34:56] local.INFO: TCP Data received {"connection_id":56083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:34:56] local.INFO: Processing buffer {"connection_id":56083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:34:56] local.INFO: IMEI packet received {"connection_id":56083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":56083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:35:00] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:00] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:00] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:35:00] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:35:00] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:35:00] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:35:05] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:05] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 04:35:05] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:35:05] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a0000019dd12f5b78012d6b364006151308000700b228..."} 
[2026-04-28 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019dd12f5b78012d6b364006151308000700b228..."} 
[2026-04-28 04:35:05] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dd1..."} 
[2026-04-28 04:35:05] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:35:06] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":242,"data_hex":"0000000000019dd12eb768012d6b16000615ee48000900a02700370000000a00..."} 
[2026-04-28 04:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":242,"packet_hex":"0000000000019dd12eb768012d6b16000615ee48000900a02700370000000a00..."} 
[2026-04-28 04:35:06] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd12f5b78012d6b364006151308000700b228..."} 
[2026-04-28 04:35:06] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:06] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762000960,"raw_latitude":102044424,"longitude_deg":76.200096,"latitude_deg":10.2044424,"altitude":7,"angle":178,"satellites":40,"speed":46,"hex_longitude":"2d6b3640","hex_latitude":"06151308","is_valid_coordinates":true} 
[2026-04-28 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996742912001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281985407803981824,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236926545920,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777331035000,"timestamp_ms":1777331035000,"timestamp_seconds":1777331035,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12f5b78"} 
[2026-04-28 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:35:06] 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-04-28 04:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35: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-04-28 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996742912001,"66":27365,"3":206,"79":20992,"24":46,"16":281985407803981824,"45":7725362236926545920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,79,24,16,45]} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996742912001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281985407803981824,"km_value":281985407803981.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236926545920,"description":"Unknown IO ID 45"} 
[2026-04-28 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996742912001,"power":27365,"unknown_3":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7725362236926545920}} 
[2026-04-28 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:35:06] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:35:06] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:35:06] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:06] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102035152,"longitude_deg":76.20016,"latitude_deg":10.2035152,"altitude":7,"angle":175,"satellites":40,"speed":45,"hex_longitude":"2d6b38c0","hex_latitude":"0614eed0","is_valid_coordinates":true} 
[2026-04-28 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996744960001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281985858775547904,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725432605668214784,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777331043000,"timestamp_ms":1777331043000,"timestamp_seconds":1777331043,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12f7ab8"} 
[2026-04-28 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35: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-04-28 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996744960001,"66":27365,"3":206,"79":20992,"24":45,"16":281985858775547904,"45":7725432605668214784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,79,24,16,45]} 
[2026-04-28 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996744960001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281985858775547904,"km_value":281985858775547.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725432605668214784,"description":"Unknown IO ID 45"} 
[2026-04-28 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996744960001,"power":27365,"unknown_3":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7725432605668214784}} 
[2026-04-28 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:35:06] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:35:06] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:35:10] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12f99f8012d6b3c800614cbf0000600aa27..."} 
[2026-04-28 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12f99f8012d6b3c800614cbf0000600aa27..."} 
[2026-04-28 04:35:10] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12f99f8012d6b3c800614cbf0000600aa27..."} 
[2026-04-28 04:35:10] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:10] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":762002560,"raw_latitude":102026224,"longitude_deg":76.200256,"latitude_deg":10.2026224,"altitude":6,"angle":170,"satellites":39,"speed":43,"hex_longitude":"2d6b3c80","hex_latitude":"0614cbf0","is_valid_coordinates":true} 
[2026-04-28 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996747008001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281986292567244800,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293107617792,"note":"Value kept but may cause issues"} 
[2026-04-28 04:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777331051000,"timestamp_ms":1777331051000,"timestamp_seconds":1777331051,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12f99f8"} 
[2026-04-28 04:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996747008001,"66":27376,"2":206,"79":20992,"24":43,"16":281986292567244800,"45":7726136293107617792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-28 04:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996747008001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281986292567244800,"km_value":281986292567244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293107617792,"description":"Unknown IO ID 45"} 
[2026-04-28 04:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996747008001,"power":27376,"power_alt":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7726136293107617792}} 
[2026-04-28 04:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:35:10] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:35:10] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:35:35] local.INFO: TCP Data received {"connection_id":56976,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:35:35] local.INFO: Processing buffer {"connection_id":56976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:35:35] local.INFO: IMEI packet received {"connection_id":56976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":56976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:35:53] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:53] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:53] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:35:54] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:54] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:54] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:35:59] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:59] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:35:59] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:36:00] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:00] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:00] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:36:00] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:36:00] local.INFO: GPS Element Parsed {"raw_longitude":762003840,"raw_latitude":102017416,"longitude_deg":76.200384,"latitude_deg":10.2017416,"altitude":6,"angle":184,"satellites":37,"speed":28,"hex_longitude":"2d6b4180","hex_latitude":"0614a988","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996749056001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281986726358941696,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7727191824267997184,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777331061000,"timestamp_ms":1777331061000,"timestamp_seconds":1777331061,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12fc108"} 
[2026-04-28 04:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:36:00] 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-04-28 04: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-04-28 04:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996749056001,"66":27484,"2":206,"79":20992,"24":28,"16":281986726358941696,"45":7727191824267997184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-28 04:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996749056001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:36:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281986726358941696,"km_value":281986726358941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7727191824267997184,"description":"Unknown IO ID 45"} 
[2026-04-28 04:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996749056001,"power":27484,"power_alt":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7727191824267997184}} 
[2026-04-28 04:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:36:00] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:36:00] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:36:31] local.INFO: TCP Data received {"connection_id":56247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:31] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12fc108012d6b41800614a988000600b825..."} 
[2026-04-28 04:36:31] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:36:31] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762003840,"raw_latitude":102017416,"longitude_deg":76.200384,"latitude_deg":10.2017416,"altitude":6,"angle":184,"satellites":37,"speed":28,"hex_longitude":"2d6b4180","hex_latitude":"0614a988","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996751616001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281986726358941696,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728599199149295616,"note":"Value kept but may cause issues"} 
[2026-04-28 04:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777331061000,"timestamp_ms":1777331061000,"timestamp_seconds":1777331061,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12fc108"} 
[2026-04-28 04:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:36: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-04-28 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996751616001,"66":27484,"2":206,"79":20992,"24":28,"16":281986726358941696,"45":7728599199149295616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-28 04:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996751616001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:36:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281986726358941696,"km_value":281986726358941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728599199149295616,"description":"Unknown IO ID 45"} 
[2026-04-28 04:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996751616001,"power":27484,"power_alt":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7728599199149295616}} 
[2026-04-28 04:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:36:31] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:36:31] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:36:55] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:55] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:55] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:36:59] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:59] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:36:59] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:37:00] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd12fd490012d6b420006149be0000700ac27..."} 
[2026-04-28 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd12fd490012d6b420006149be0000700ac27..."} 
[2026-04-28 04:37:00] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd12fd490012d6b420006149be0000700ac27..."} 
[2026-04-28 04:37:00] local.INFO: Packet analysis {"connection_id":56978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:37:00] local.INFO: Extracted packet for processing {"connection_id":56978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd12f"} 
[2026-04-28 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762003968,"raw_latitude":102013920,"longitude_deg":76.2003968,"latitude_deg":10.201392,"altitude":7,"angle":172,"satellites":39,"speed":28,"hex_longitude":"2d6b4200","hex_latitude":"06149be0","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996751616001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281986893862666240,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728599199149295616,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777331066000,"timestamp_ms":1777331066000,"timestamp_seconds":1777331066,"priority":1,"record_length":96,"hex_timestamp":"0000019dd12fd490"} 
[2026-04-28 04:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996751616001,"66":27321,"2":206,"79":20992,"24":28,"16":281986893862666240,"45":7728599199149295616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-28 04:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996751616001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:37:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-28 04:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281986893862666240,"km_value":281986893862666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728599199149295616,"description":"Unknown IO ID 45"} 
[2026-04-28 04:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996751616001,"power":27321,"power_alt":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7728599199149295616}} 
[2026-04-28 04:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":56978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:37:00] local.INFO: GPS data processed {"connection_id":56978,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:37:00] local.INFO: Acknowledgment sent {"connection_id":56978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:37:31] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd131ebb8012d6b72c00612c800000300ac27..."} 
[2026-04-28 04:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd131ebb8012d6b72c00612c800000300ac27..."} 
[2026-04-28 04:37:31] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd131ebb8012d6b72c00612c800000300ac27..."} 
[2026-04-28 04:37:31] local.INFO: Packet analysis {"connection_id":56978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd131"} 
[2026-04-28 04:37:31] local.INFO: Extracted packet for processing {"connection_id":56978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd131"} 
[2026-04-28 04:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762016448,"raw_latitude":101894144,"longitude_deg":76.2016448,"latitude_deg":10.1894144,"altitude":3,"angle":172,"satellites":39,"speed":35,"hex_longitude":"2d6b72c0","hex_latitude":"0612c800","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996785408001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281992735018188800,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741476679304691712,"note":"Value kept but may cause issues"} 
[2026-04-28 04:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777331203000,"timestamp_ms":1777331203000,"timestamp_seconds":1777331203,"priority":1,"record_length":96,"hex_timestamp":"0000019dd131ebb8"} 
[2026-04-28 04:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996785408001,"66":27267,"137":206,"79":46336,"24":35,"16":281992735018188800,"45":7741476679304691712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-28 04:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996785408001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:37:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-28 04:37:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281992735018188800,"km_value":281992735018188.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741476679304691712,"description":"Unknown IO ID 45"} 
[2026-04-28 04:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996785408001,"power":27267,"unknown_137":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7741476679304691712}} 
[2026-04-28 04:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":56978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:37:31] local.INFO: GPS data processed {"connection_id":56978,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:37:31] local.INFO: Acknowledgment sent {"connection_id":56978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:37:55] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:55] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:55] local.INFO: IMEI packet received {"connection_id":56085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":56085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:37:57] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:57] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:37:57] local.INFO: IMEI packet received {"connection_id":56085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":56085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:38:00] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:00] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:00] local.INFO: IMEI packet received {"connection_id":56085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":56085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:38:05] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:05] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:05] local.INFO: IMEI packet received {"connection_id":56085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":56085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:38:05] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd131ff40012d6b76c00612b8000002009c27..."} 
[2026-04-28 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd131ff40012d6b76c00612b8000002009c27..."} 
[2026-04-28 04:38:05] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd131ff40012d6b76c00612b8000002009c27..."} 
[2026-04-28 04:38:05] local.INFO: Packet analysis {"connection_id":56085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd131"} 
[2026-04-28 04:38:05] local.INFO: Extracted packet for processing {"connection_id":56085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd131"} 
[2026-04-28 04:38:05] local.INFO: GPS Element Parsed {"raw_longitude":762017472,"raw_latitude":101890048,"longitude_deg":76.2017472,"latitude_deg":10.1890048,"altitude":2,"angle":156,"satellites":39,"speed":30,"hex_longitude":"2d6b76c0","hex_latitude":"0612b800","is_valid_coordinates":true} 
[2026-04-28 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996787968001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281992941176619008,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742461841720737792,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777331208000,"timestamp_ms":1777331208000,"timestamp_seconds":1777331208,"priority":1,"record_length":96,"hex_timestamp":"0000019dd131ff40"} 
[2026-04-28 04:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 04:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996787968001,"66":27463,"137":206,"79":46336,"24":30,"16":281992941176619008,"45":7742461841720737792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-28 04:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996787968001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:38:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-28 04:38:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281992941176619008,"km_value":281992941176619.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742461841720737792,"description":"Unknown IO ID 45"} 
[2026-04-28 04:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996787968001,"power":27463,"unknown_137":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7742461841720737792}} 
[2026-04-28 04:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":56085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:38:05] local.INFO: GPS data processed {"connection_id":56085,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:38:05] local.INFO: Acknowledgment sent {"connection_id":56085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:38:06] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1320710012d6b79800612b2d00001008d28..."} 
[2026-04-28 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1320710012d6b79800612b2d00001008d28..."} 
[2026-04-28 04:38:06] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1320710012d6b79800612b2d00001008d28..."} 
[2026-04-28 04:38:06] local.INFO: Packet analysis {"connection_id":56085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:38:06] local.INFO: Extracted packet for processing {"connection_id":56085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762018176,"raw_latitude":101888720,"longitude_deg":76.2018176,"latitude_deg":10.188872,"altitude":1,"angle":141,"satellites":40,"speed":31,"hex_longitude":"2d6b7980","hex_latitude":"0612b2d0","is_valid_coordinates":true} 
[2026-04-28 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996789248001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281993014191063040,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743587741626531840,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777331210000,"timestamp_ms":1777331210000,"timestamp_seconds":1777331210,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1320710"} 
[2026-04-28 04:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:38:06] 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-04-28 04:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38: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-04-28 04:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996789248001,"66":27376,"137":206,"79":46336,"24":31,"16":281993014191063040,"45":7743587741626531840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-28 04:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996789248001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:38:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-28 04:38:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281993014191063040,"km_value":281993014191063.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743587741626531840,"description":"Unknown IO ID 45"} 
[2026-04-28 04:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996789248001,"power":27376,"unknown_137":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7743587741626531840}} 
[2026-04-28 04:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":56085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:38:06] local.INFO: GPS data processed {"connection_id":56085,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:38:06] local.INFO: Acknowledgment sent {"connection_id":56085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:38:37] local.INFO: TCP Data received {"connection_id":56085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd13216b0012d6b82c00612aa700000008228..."} 
[2026-04-28 04:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd13216b0012d6b82c00612aa700000008228..."} 
[2026-04-28 04:38:37] local.INFO: Processing buffer {"connection_id":56085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd13216b0012d6b82c00612aa700000008228..."} 
[2026-04-28 04:38:37] local.INFO: Packet analysis {"connection_id":56085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:38:37] local.INFO: Extracted packet for processing {"connection_id":56085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762020544,"raw_latitude":101886576,"longitude_deg":76.2020544,"latitude_deg":10.1886576,"altitude":0,"angle":130,"satellites":40,"speed":32,"hex_longitude":"2d6b82c0","hex_latitude":"0612aa70","is_valid_coordinates":true} 
[2026-04-28 04:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996789760001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281993168809885696,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744361797812146176,"note":"Value kept but may cause issues"} 
[2026-04-28 04:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777331214000,"timestamp_ms":1777331214000,"timestamp_seconds":1777331214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd13216b0"} 
[2026-04-28 04:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996789760001,"66":27343,"137":206,"79":46336,"24":32,"16":281993168809885696,"45":7744361797812146176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-28 04:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996789760001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:38:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-28 04:38:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281993168809885696,"km_value":281993168809885.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744361797812146176,"description":"Unknown IO ID 45"} 
[2026-04-28 04:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996789760001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":7744361797812146176}} 
[2026-04-28 04:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":56085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:38:37] local.INFO: GPS data processed {"connection_id":56085,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:38:37] local.INFO: Acknowledgment sent {"connection_id":56085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:38:55] local.INFO: TCP Data received {"connection_id":56086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:55] local.INFO: Processing buffer {"connection_id":56086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:38:55] local.INFO: IMEI packet received {"connection_id":56086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":56086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:39:00] local.INFO: TCP Data received {"connection_id":56086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:00] local.INFO: Processing buffer {"connection_id":56086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:00] local.INFO: IMEI packet received {"connection_id":56086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":56086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:39:00] local.INFO: TCP Data received {"connection_id":56086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1322268012d6b89000612a3a80001009127..."} 
[2026-04-28 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1322268012d6b89000612a3a80001009127..."} 
[2026-04-28 04:39:00] local.INFO: Processing buffer {"connection_id":56086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1322268012d6b89000612a3a80001009127..."} 
[2026-04-28 04:39:00] local.INFO: Packet analysis {"connection_id":56086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:39:00] local.INFO: Extracted packet for processing {"connection_id":56086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd132"} 
[2026-04-28 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":762022144,"raw_latitude":101884840,"longitude_deg":76.2022144,"latitude_deg":10.188484,"altitude":1,"angle":145,"satellites":39,"speed":31,"hex_longitude":"2d6b8900","hex_latitude":"0612a3a8","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996790784001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281993284774002688,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7746965441346170880,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777331217000,"timestamp_ms":1777331217000,"timestamp_seconds":1777331217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1322268"} 
[2026-04-28 04:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 04:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996790784001,"66":27397,"137":206,"79":46336,"24":31,"16":281993284774002688,"45":7746965441346170880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-28 04:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996790784001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281993284774002688,"km_value":281993284774002.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7746965441346170880,"description":"Unknown IO ID 45"} 
[2026-04-28 04:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996790784001,"power":27397,"unknown_137":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7746965441346170880}} 
[2026-04-28 04:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:39:00] local.INFO: GPS data processed {"connection_id":56086,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:39:00] local.INFO: Acknowledgment sent {"connection_id":56086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:39:33] local.INFO: TCP Data received {"connection_id":56086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd133a908012d6bf24006119a00000300a426..."} 
[2026-04-28 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd133a908012d6bf24006119a00000300a426..."} 
[2026-04-28 04:39:33] local.INFO: Processing buffer {"connection_id":56086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd133a908012d6bf24006119a00000300a426..."} 
[2026-04-28 04:39:33] local.INFO: Packet analysis {"connection_id":56086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:39:33] local.INFO: Extracted packet for processing {"connection_id":56086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":762049088,"raw_latitude":101816832,"longitude_deg":76.2049088,"latitude_deg":10.1816832,"altitude":3,"angle":164,"satellites":38,"speed":28,"hex_longitude":"2d6bf240","hex_latitude":"06119a00","is_valid_coordinates":true} 
[2026-04-28 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996813568001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281996991330779136,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776379576396965888,"note":"Value kept but may cause issues"} 
[2026-04-28 04:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777331317000,"timestamp_ms":1777331317000,"timestamp_seconds":1777331317,"priority":1,"record_length":96,"hex_timestamp":"0000019dd133a908"} 
[2026-04-28 04:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 04:39:33] 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-04-28 04:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996813568001,"66":27484,"91":206,"79":46336,"24":28,"16":281996991330779136,"45":7776379576396965888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-04-28 04:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996813568001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:39:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-28 04:39:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281996991330779136,"km_value":281996991330779.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776379576396965888,"description":"Unknown IO ID 45"} 
[2026-04-28 04:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996813568001,"power":27484,"unknown_91":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7776379576396965888}} 
[2026-04-28 04:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":56086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:39:33] local.INFO: GPS data processed {"connection_id":56086,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:39:33] local.INFO: Acknowledgment sent {"connection_id":56086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:39:55] local.INFO: TCP Data received {"connection_id":56250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:55] local.INFO: Processing buffer {"connection_id":56250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:39:55] local.INFO: IMEI packet received {"connection_id":56250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":56250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:40:00] local.INFO: TCP Data received {"connection_id":56250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:00] local.INFO: Processing buffer {"connection_id":56250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:00] local.INFO: IMEI packet received {"connection_id":56250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:40:00] local.INFO: TCP Data received {"connection_id":56250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd133c848012d6bf940061186200002009625..."} 
[2026-04-28 04:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd133c848012d6bf940061186200002009625..."} 
[2026-04-28 04:40:00] local.INFO: Processing buffer {"connection_id":56250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd133c848012d6bf940061186200002009625..."} 
[2026-04-28 04:40:00] local.INFO: Packet analysis {"connection_id":56250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:40:00] local.INFO: Extracted packet for processing {"connection_id":56250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:40:00] local.INFO: GPS Element Parsed {"raw_longitude":762050880,"raw_latitude":101811744,"longitude_deg":76.205088,"latitude_deg":10.1811744,"altitude":2,"angle":150,"satellites":37,"speed":24,"hex_longitude":"2d6bf940","hex_latitude":"06118620","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996817152001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281997253323784192,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7778349901231554560,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777331325000,"timestamp_ms":1777331325000,"timestamp_seconds":1777331325,"priority":1,"record_length":96,"hex_timestamp":"0000019dd133c848"} 
[2026-04-28 04:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 04:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996817152001,"66":27365,"91":206,"79":46336,"24":24,"16":281997253323784192,"45":7778349901231554560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-04-28 04:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996817152001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:40:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-28 04:40:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281997253323784192,"km_value":281997253323784.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7778349901231554560,"description":"Unknown IO ID 45"} 
[2026-04-28 04:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996817152001,"power":27365,"unknown_91":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7778349901231554560}} 
[2026-04-28 04:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:40:00] local.INFO: GPS data processed {"connection_id":56250,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:40:00] local.INFO: Acknowledgment sent {"connection_id":56250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:40:32] local.INFO: TCP Data received {"connection_id":56250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd133dbd0012d6c008006117b900001008b25..."} 
[2026-04-28 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd133dbd0012d6c008006117b900001008b25..."} 
[2026-04-28 04:40:32] local.INFO: Processing buffer {"connection_id":56250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd133dbd0012d6c008006117b900001008b25..."} 
[2026-04-28 04:40:32] local.INFO: Packet analysis {"connection_id":56250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:40:32] local.INFO: Extracted packet for processing {"connection_id":56250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd133"} 
[2026-04-28 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":762052736,"raw_latitude":101809040,"longitude_deg":76.2052736,"latitude_deg":10.180904,"altitude":1,"angle":139,"satellites":37,"speed":25,"hex_longitude":"2d6c0080","hex_latitude":"06117b90","is_valid_coordinates":true} 
[2026-04-28 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 04:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996819200001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":281997412237574144,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7780320226067226624,"note":"Value kept but may cause issues"} 
[2026-04-28 04:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777331330000,"timestamp_ms":1777331330000,"timestamp_seconds":1777331330,"priority":1,"record_length":96,"hex_timestamp":"0000019dd133dbd0"} 
[2026-04-28 04:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:40: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-04-28 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 04:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 04:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996819200001,"66":27484,"91":206,"79":46336,"24":25,"16":281997412237574144,"45":7780320226067226624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-04-28 04:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996819200001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:40:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-28 04:40:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":281997412237574144,"km_value":281997412237574.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7780320226067226624,"description":"Unknown IO ID 45"} 
[2026-04-28 04:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996819200001,"power":27484,"unknown_91":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7780320226067226624}} 
[2026-04-28 04:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":56250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:40:32] local.INFO: GPS data processed {"connection_id":56250,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:40:32] local.INFO: Acknowledgment sent {"connection_id":56250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:40:54] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:54] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:54] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:40:55] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:55] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:55] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:40:56] local.INFO: TCP Data received {"connection_id":56087,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:40:56] local.INFO: Processing buffer {"connection_id":56087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:40:56] local.INFO: IMEI packet received {"connection_id":56087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":56087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:40:58] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:58] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:58] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:40:59] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:59] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:40:59] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:41:00] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1351c20012d6cd440061120880002006426..."} 
[2026-04-28 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1351c20012d6cd440061120880002006426..."} 
[2026-04-28 04:41:00] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1351c20012d6cd440061120880002006426..."} 
[2026-04-28 04:41:00] local.INFO: Packet analysis {"connection_id":56317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:00] local.INFO: Extracted packet for processing {"connection_id":56317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:00] local.INFO: GPS Element Parsed {"raw_longitude":762106944,"raw_latitude":101785736,"longitude_deg":76.2106944,"latitude_deg":10.1785736,"altitude":2,"angle":100,"satellites":38,"speed":21,"hex_longitude":"2d6cd440","hex_latitude":"06112088","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996838400001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282000375765008384,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7833237521682108416,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777331412000,"timestamp_ms":1777331412000,"timestamp_seconds":1777331412,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1351c20"} 
[2026-04-28 04:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:41: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-04-28 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 04:41: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-04-28 04: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-04-28 04:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996838400001,"66":27376,"207":206,"79":46336,"24":21,"16":282000375765008384,"45":7833237521682108416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-04-28 04:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996838400001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:41:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 04:41:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282000375765008384,"km_value":282000375765008.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7833237521682108416,"description":"Unknown IO ID 45"} 
[2026-04-28 04:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996838400001,"power":27376,"unknown_207":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7833237521682108416}} 
[2026-04-28 04:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":56317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:41:00] local.INFO: GPS data processed {"connection_id":56317,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:41:00] local.INFO: Acknowledgment sent {"connection_id":56317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:41:31] local.INFO: TCP Data received {"connection_id":56317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd13523f0012d6cd80006111f300003007827..."} 
[2026-04-28 04:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd13523f0012d6cd80006111f300003007827..."} 
[2026-04-28 04:41:31] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd13523f0012d6cd80006111f300003007827..."} 
[2026-04-28 04:41:31] local.INFO: Packet analysis {"connection_id":56317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:31] local.INFO: Extracted packet for processing {"connection_id":56317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762107904,"raw_latitude":101785392,"longitude_deg":76.2107904,"latitude_deg":10.1785392,"altitude":3,"angle":120,"satellites":39,"speed":19,"hex_longitude":"2d6cd800","hex_latitude":"06111f30","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996841472001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282000427304615936,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7841963245960202240,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777331414000,"timestamp_ms":1777331414000,"timestamp_seconds":1777331414,"priority":1,"record_length":96,"hex_timestamp":"0000019dd13523f0"} 
[2026-04-28 04:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 04:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996841472001,"66":27169,"207":206,"79":46336,"24":19,"16":282000427304615936,"45":7841963245960202240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-04-28 04:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996841472001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:41:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 04:41:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282000427304615936,"km_value":282000427304615.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7841963245960202240,"description":"Unknown IO ID 45"} 
[2026-04-28 04:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996841472001,"power":27169,"unknown_207":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7841963245960202240}} 
[2026-04-28 04:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":56317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:41:31] local.INFO: GPS data processed {"connection_id":56317,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:41:31] local.INFO: Acknowledgment sent {"connection_id":56317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:41:35] local.INFO: TCP Data received {"connection_id":56088,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:41:35] local.INFO: Processing buffer {"connection_id":56088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:41:35] local.INFO: IMEI packet received {"connection_id":56088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:41:55] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:55] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:55] local.INFO: IMEI packet received {"connection_id":56979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":56979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:41:59] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:59] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:41:59] local.INFO: IMEI packet received {"connection_id":56979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 04:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 04:41:59] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd13527d8012d6cd94006111e100003008628..."} 
[2026-04-28 04:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd13527d8012d6cd94006111e100003008628..."} 
[2026-04-28 04:41:59] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd13527d8012d6cd94006111e100003008628..."} 
[2026-04-28 04:41:59] local.INFO: Packet analysis {"connection_id":56979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:59] local.INFO: Extracted packet for processing {"connection_id":56979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd135"} 
[2026-04-28 04:41:59] local.INFO: GPS Element Parsed {"raw_longitude":762108224,"raw_latitude":101785104,"longitude_deg":76.2108224,"latitude_deg":10.1785104,"altitude":3,"angle":134,"satellites":40,"speed":17,"hex_longitude":"2d6cd940","hex_latitude":"06111e10","is_valid_coordinates":true} 
[2026-04-28 04: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-04-28 04:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454996841984001,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282000444484485120,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843018777122779136,"note":"Value kept but may cause issues"} 
[2026-04-28 04:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 04:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777331415000,"timestamp_ms":1777331415000,"timestamp_seconds":1777331415,"priority":1,"record_length":96,"hex_timestamp":"0000019dd13527d8"} 
[2026-04-28 04:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 04:41: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-04-28 04: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 04:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 04: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-04-28 04:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 04:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 04:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 04:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 04:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 04:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 04:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 04:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454996841984001,"66":27332,"207":206,"79":46336,"24":17,"16":282000444484485120,"45":7843018777122779136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-04-28 04:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 04:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 04:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454996841984001,"description":"Unknown IO ID 0"} 
[2026-04-28 04:41:59] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 04:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-28 04:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282000444484485120,"km_value":282000444484485.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 04:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843018777122779136,"description":"Unknown IO ID 45"} 
[2026-04-28 04:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454996841984001,"power":27332,"unknown_207":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7843018777122779136}} 
[2026-04-28 04:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":56979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 04:41:59] local.INFO: GPS data processed {"connection_id":56979,"processed":1,"errors":0,"total":1} 
[2026-04-28 04:41:59] local.INFO: Acknowledgment sent {"connection_id":56979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 04:42:49] local.INFO: TCP Data received {"connection_id":56318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:42:49] local.INFO: Processing buffer {"connection_id":56318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:42:49] local.INFO: IMEI packet received {"connection_id":56318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":56318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:46:50] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:46:50] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:46:50] local.INFO: IMEI packet received {"connection_id":56253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":56253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:47:35] local.INFO: TCP Data received {"connection_id":56255,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:47:35] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:47:35] local.INFO: IMEI packet received {"connection_id":56255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:48:10] local.INFO: TCP Data received {"connection_id":56320,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:10] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:10] local.INFO: IMEI packet received {"connection_id":56320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":56320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:48:55] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:55] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:48:55] local.INFO: IMEI packet received {"connection_id":56257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":56257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:52:51] local.INFO: TCP Data received {"connection_id":56093,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:52:51] local.INFO: Processing buffer {"connection_id":56093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:52:51] local.INFO: IMEI packet received {"connection_id":56093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":56093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:53:40] local.INFO: TCP Data received {"connection_id":56323,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:53:40] local.INFO: Processing buffer {"connection_id":56323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:53:40] local.INFO: IMEI packet received {"connection_id":56323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":56323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:54:12] local.INFO: TCP Data received {"connection_id":56258,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:12] local.INFO: Processing buffer {"connection_id":56258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:12] local.INFO: IMEI packet received {"connection_id":56258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":56258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:54:54] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:54] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 04:54:54] local.INFO: IMEI packet received {"connection_id":56987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 04:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:59:00] local.INFO: TCP Data received {"connection_id":56097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:00] local.INFO: Processing buffer {"connection_id":56097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:00] local.INFO: IMEI packet received {"connection_id":56097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":56097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 04:59:35] local.INFO: TCP Data received {"connection_id":56259,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:35] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 04:59:35] local.INFO: IMEI packet received {"connection_id":56259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 04:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:00:20] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:20] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:20] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:00:55] local.INFO: TCP Data received {"connection_id":56260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:55] local.INFO: Processing buffer {"connection_id":56260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:00:55] local.INFO: IMEI packet received {"connection_id":56260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:05:00] local.INFO: TCP Data received {"connection_id":56329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:00] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:00] local.INFO: IMEI packet received {"connection_id":56329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":56329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:05:35] local.INFO: TCP Data received {"connection_id":56330,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:35] local.INFO: Processing buffer {"connection_id":56330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:05:35] local.INFO: IMEI packet received {"connection_id":56330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:06:19] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:19] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:19] local.INFO: IMEI packet received {"connection_id":56331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":56331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:06:49] local.INFO: TCP Data received {"connection_id":56100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:49] local.INFO: Processing buffer {"connection_id":56100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:06:49] local.INFO: IMEI packet received {"connection_id":56100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":56100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:10:55] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:10:55] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:10:55] local.INFO: IMEI packet received {"connection_id":56336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:11:40] local.INFO: TCP Data received {"connection_id":56101,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:11:40] local.INFO: Processing buffer {"connection_id":56101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:11:40] local.INFO: IMEI packet received {"connection_id":56101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":56101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:12:15] local.INFO: TCP Data received {"connection_id":56102,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:15] local.INFO: Processing buffer {"connection_id":56102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:15] local.INFO: IMEI packet received {"connection_id":56102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":56102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:12:53] local.INFO: TCP Data received {"connection_id":56264,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:53] local.INFO: Processing buffer {"connection_id":56264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:12:53] local.INFO: IMEI packet received {"connection_id":56264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":56264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:17:05] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:05] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:05] local.INFO: IMEI packet received {"connection_id":57001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":57001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:17:35] local.INFO: TCP Data received {"connection_id":56105,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:35] local.INFO: Processing buffer {"connection_id":56105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:17:35] local.INFO: IMEI packet received {"connection_id":56105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:18:10] local.INFO: TCP Data received {"connection_id":56265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:10] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:10] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:18:54] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:54] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:18:54] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:19:12] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:19:12] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:19:12] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:19:59] local.INFO: TCP Data received {"connection_id":56266,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:00] local.INFO: Processing buffer {"connection_id":56266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:00] local.INFO: IMEI packet received {"connection_id":56266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:20:38] local.INFO: TCP Data received {"connection_id":56268,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:38] local.INFO: Processing buffer {"connection_id":56268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:20:38] local.INFO: IMEI packet received {"connection_id":56268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":56268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:21:06] local.INFO: TCP Data received {"connection_id":56107,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:21:06] local.INFO: Processing buffer {"connection_id":56107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:21:06] local.INFO: IMEI packet received {"connection_id":56107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":56107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:23:00] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:00] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:00] local.INFO: IMEI packet received {"connection_id":56340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:23:35] local.INFO: TCP Data received {"connection_id":56110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:35] local.INFO: Processing buffer {"connection_id":56110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:23:35] local.INFO: IMEI packet received {"connection_id":56110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:26:18] local.INFO: TCP Data received {"connection_id":56341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:18] local.INFO: Processing buffer {"connection_id":56341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:18] local.INFO: IMEI packet received {"connection_id":56341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":56341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:26:54] local.INFO: TCP Data received {"connection_id":56342,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:54] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:26:54] local.INFO: IMEI packet received {"connection_id":56342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":56342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:28:50] local.INFO: TCP Data received {"connection_id":56272,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:28:50] local.INFO: Processing buffer {"connection_id":56272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:28:50] local.INFO: IMEI packet received {"connection_id":56272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":56272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:29:35] local.INFO: TCP Data received {"connection_id":56273,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:29:35] local.INFO: Processing buffer {"connection_id":56273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:29:35] local.INFO: IMEI packet received {"connection_id":56273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:32:24] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:24] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:24] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:32:54] local.INFO: TCP Data received {"connection_id":56116,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:54] local.INFO: Processing buffer {"connection_id":56116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:32:54] local.INFO: IMEI packet received {"connection_id":56116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:34:55] local.INFO: TCP Data received {"connection_id":56346,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:34:55] local.INFO: Processing buffer {"connection_id":56346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:34:55] local.INFO: IMEI packet received {"connection_id":56346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":56346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:35:40] local.INFO: TCP Data received {"connection_id":56274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:35:40] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:35:40] local.INFO: IMEI packet received {"connection_id":56274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":56274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:38:19] local.INFO: TCP Data received {"connection_id":57010,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:19] local.INFO: Processing buffer {"connection_id":57010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:19] local.INFO: IMEI packet received {"connection_id":57010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":57010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:38:53] local.INFO: TCP Data received {"connection_id":56348,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:53] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:38:53] local.INFO: IMEI packet received {"connection_id":56348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:41:10] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:10] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:10] local.INFO: IMEI packet received {"connection_id":57011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":57011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:41:35] local.INFO: TCP Data received {"connection_id":56121,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:35] local.INFO: Processing buffer {"connection_id":56121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:41:35] local.INFO: IMEI packet received {"connection_id":56121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:44:59] local.INFO: TCP Data received {"connection_id":57012,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:44:59] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:44:59] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:45:05] local.INFO: TCP Data received {"connection_id":57012,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:05] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:05] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:45:07] local.INFO: TCP Data received {"connection_id":57012,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd16e21c8012d7cc44005e700b8000600c32a..."} 
[2026-04-28 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd16e21c8012d7cc44005e700b8000600c32a..."} 
[2026-04-28 05:45:07] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd16e21c8012d7cc44005e700b8000600c32a..."} 
[2026-04-28 05:45:07] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd16e"} 
[2026-04-28 05:45:07] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd16e"} 
[2026-04-28 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763151424,"raw_latitude":99025080,"longitude_deg":76.3151424,"latitude_deg":9.902508,"altitude":6,"angle":195,"satellites":42,"speed":41,"hex_longitude":"2d7cc440","hex_latitude":"05e700b8","is_valid_coordinates":true} 
[2026-04-28 05:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997795584001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282158997497184256,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992844056281563136,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777335149000,"timestamp_ms":1777335149000,"timestamp_seconds":1777335149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd16e21c8"} 
[2026-04-28 05:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-28 05:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997795584001,"66":27332,"22":206,"9":25088,"24":41,"16":282158997497184256,"45":8992844056281563136},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997795584001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:45:07] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:45:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282158997497184256,"km_value":282158997497184.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992844056281563136,"description":"Unknown IO ID 45"} 
[2026-04-28 05:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997795584001,"power":27332,"unknown_22":206,"unknown_9":25088,"ignition":41,"odometer":null,"unknown_45":8992844056281563136}} 
[2026-04-28 05:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:45:07] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:45:07] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:45:10] local.INFO: TCP Data received {"connection_id":57012,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd16e4108012d7cbb0005e6de20000500c22b..."} 
[2026-04-28 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd16e4108012d7cbb0005e6de20000500c22b..."} 
[2026-04-28 05:45:10] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd16e4108012d7cbb0005e6de20000500c22b..."} 
[2026-04-28 05:45:10] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd16e"} 
[2026-04-28 05:45:10] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd16e"} 
[2026-04-28 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":99016224,"longitude_deg":76.3149056,"latitude_deg":9.9016224,"altitude":5,"angle":194,"satellites":43,"speed":49,"hex_longitude":"2d7cbb00","hex_latitude":"05e6de20","is_valid_coordinates":true} 
[2026-04-28 05:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997798144001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282159439878815744,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990381150232950784,"note":"Value kept but may cause issues"} 
[2026-04-28 05:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777335157000,"timestamp_ms":1777335157000,"timestamp_seconds":1777335157,"priority":1,"record_length":96,"hex_timestamp":"0000019dd16e4108"} 
[2026-04-28 05:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 05:45:10] 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-04-28 05:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997798144001,"66":27376,"22":206,"9":25088,"24":49,"16":282159439878815744,"45":8990381150232950784},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997798144001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:45:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:45:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282159439878815744,"km_value":282159439878815.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990381150232950784,"description":"Unknown IO ID 45"} 
[2026-04-28 05:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997798144001,"power":27376,"unknown_22":206,"unknown_9":25088,"ignition":49,"odometer":null,"unknown_45":8990381150232950784}} 
[2026-04-28 05:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:45:10] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:45:10] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:45:54] local.INFO: TCP Data received {"connection_id":56279,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:54] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:54] local.INFO: IMEI packet received {"connection_id":56279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":56279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:45:58] local.INFO: TCP Data received {"connection_id":56279,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:58] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:45:58] local.INFO: IMEI packet received {"connection_id":56279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":56279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:46:00] local.INFO: TCP Data received {"connection_id":56279,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1703120012d7c8ac005e5dc40000200c32b..."} 
[2026-04-28 05:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1703120012d7c8ac005e5dc40000200c32b..."} 
[2026-04-28 05:46:00] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1703120012d7c8ac005e5dc40000200c32b..."} 
[2026-04-28 05:46:00] local.INFO: Packet analysis {"connection_id":56279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:00] local.INFO: Extracted packet for processing {"connection_id":56279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763136704,"raw_latitude":98950208,"longitude_deg":76.3136704,"latitude_deg":9.8950208,"altitude":2,"angle":195,"satellites":43,"speed":9,"hex_longitude":"2d7c8ac0","hex_latitude":"05e5dc40","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997830400001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282162712643895296,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920262690816,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777335284000,"timestamp_ms":1777335284000,"timestamp_seconds":1777335284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1703120"} 
[2026-04-28 05:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 05:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997830400001,"66":27234,"22":206,"9":25088,"24":9,"16":282162712643895296,"45":8974688920262690816},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997830400001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:46:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:46:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282162712643895296,"km_value":282162712643895.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920262690816,"description":"Unknown IO ID 45"} 
[2026-04-28 05:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997830400001,"power":27234,"unknown_22":206,"unknown_9":25088,"ignition":9,"odometer":null,"unknown_45":8974688920262690816}} 
[2026-04-28 05:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":56279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:46:00] local.INFO: GPS data processed {"connection_id":56279,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:46:00] local.INFO: Acknowledgment sent {"connection_id":56279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:46:08] local.INFO: TCP Data received {"connection_id":56279,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:08] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:08] local.INFO: Packet analysis {"connection_id":56279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:08] local.INFO: Extracted packet for processing {"connection_id":56279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":98941520,"longitude_deg":76.313408,"latitude_deg":9.894152,"altitude":3,"angle":191,"satellites":41,"speed":25,"hex_longitude":"2d7c8080","hex_latitude":"05e5ba50","is_valid_coordinates":true} 
[2026-04-28 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997832704001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282163155025526784,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196339052920832,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777335305000,"timestamp_ms":1777335305000,"timestamp_seconds":1777335305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1708328"} 
[2026-04-28 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 05:46:08] 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-04-28 05:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997832704001,"66":27321,"22":206,"9":25088,"24":25,"16":282163155025526784,"45":8974196339052920832},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997832704001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:46:08] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:46:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282163155025526784,"km_value":282163155025526.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196339052920832,"description":"Unknown IO ID 45"} 
[2026-04-28 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997832704001,"power":27321,"unknown_22":206,"unknown_9":25088,"ignition":25,"odometer":null,"unknown_45":8974196339052920832}} 
[2026-04-28 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":56279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:46:08] local.INFO: GPS data processed {"connection_id":56279,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:46:08] local.INFO: Acknowledgment sent {"connection_id":56279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:46:50] local.INFO: TCP Data received {"connection_id":56350,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:46:50] local.INFO: Processing buffer {"connection_id":56350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:46:50] local.INFO: IMEI packet received {"connection_id":56350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":56350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:46:52] local.INFO: TCP Data received {"connection_id":56279,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:52] local.INFO: Processing buffer {"connection_id":56279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1708328012d7c808005e5ba50000300bf29..."} 
[2026-04-28 05:46:52] local.INFO: Packet analysis {"connection_id":56279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:52] local.INFO: Extracted packet for processing {"connection_id":56279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":98941520,"longitude_deg":76.313408,"latitude_deg":9.894152,"altitude":3,"angle":191,"satellites":41,"speed":25,"hex_longitude":"2d7c8080","hex_latitude":"05e5ba50","is_valid_coordinates":true} 
[2026-04-28 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997838080001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282163155025526784,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220539412480,"note":"Value kept but may cause issues"} 
[2026-04-28 05:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777335305000,"timestamp_ms":1777335305000,"timestamp_seconds":1777335305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1708328"} 
[2026-04-28 05:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:46: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-04-28 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 05:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997838080001,"66":27321,"22":206,"9":25088,"24":25,"16":282163155025526784,"45":8971311220539412480},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997838080001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:46:52] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282163155025526784,"km_value":282163155025526.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220539412480,"description":"Unknown IO ID 45"} 
[2026-04-28 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997838080001,"power":27321,"unknown_22":206,"unknown_9":25088,"ignition":25,"odometer":null,"unknown_45":8971311220539412480}} 
[2026-04-28 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":56279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:46:52] local.INFO: GPS data processed {"connection_id":56279,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:46:52] local.INFO: Acknowledgment sent {"connection_id":56279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:46:54] local.INFO: TCP Data received {"connection_id":56126,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:54] local.INFO: Processing buffer {"connection_id":56126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:54] local.INFO: IMEI packet received {"connection_id":56126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:46:55] local.INFO: TCP Data received {"connection_id":56126,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:55] local.INFO: Processing buffer {"connection_id":56126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:55] local.INFO: IMEI packet received {"connection_id":56126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":56126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:46:59] local.INFO: TCP Data received {"connection_id":56126,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:59] local.INFO: Processing buffer {"connection_id":56126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:46:59] local.INFO: IMEI packet received {"connection_id":56126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:47:04] local.INFO: TCP Data received {"connection_id":56126,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd170b5f0012d7c78c005e59708000200c029..."} 
[2026-04-28 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd170b5f0012d7c78c005e59708000200c029..."} 
[2026-04-28 05:47:04] local.INFO: Processing buffer {"connection_id":56126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd170b5f0012d7c78c005e59708000200c029..."} 
[2026-04-28 05:47:04] local.INFO: Packet analysis {"connection_id":56126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:47:04] local.INFO: Extracted packet for processing {"connection_id":56126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763132096,"raw_latitude":98932488,"longitude_deg":76.3132096,"latitude_deg":9.8932488,"altitude":2,"angle":192,"satellites":41,"speed":31,"hex_longitude":"2d7c78c0","hex_latitude":"05e59708","is_valid_coordinates":true} 
[2026-04-28 05:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997838080001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282163605997092864,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220539412480,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777335318000,"timestamp_ms":1777335318000,"timestamp_seconds":1777335318,"priority":1,"record_length":96,"hex_timestamp":"0000019dd170b5f0"} 
[2026-04-28 05:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 05:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997838080001,"66":26876,"22":206,"9":25088,"24":31,"16":282163605997092864,"45":8971311220539412480},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-04-28 05:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997838080001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:47:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-28 05:47:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282163605997092864,"km_value":282163605997092.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220539412480,"description":"Unknown IO ID 45"} 
[2026-04-28 05:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997838080001,"power":26876,"unknown_22":206,"unknown_9":25088,"ignition":31,"odometer":null,"unknown_45":8971311220539412480}} 
[2026-04-28 05:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":56126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:47:04] local.INFO: GPS data processed {"connection_id":56126,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:47:04] local.INFO: Acknowledgment sent {"connection_id":56126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:47:35] local.INFO: TCP Data received {"connection_id":56351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:47:35] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:47:35] local.INFO: IMEI packet received {"connection_id":56351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:47:38] local.INFO: TCP Data received {"connection_id":56126,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd170e0e8012d7c6e0005e57368000200c82a..."} 
[2026-04-28 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd170e0e8012d7c6e0005e57368000200c82a..."} 
[2026-04-28 05:47:38] local.INFO: Processing buffer {"connection_id":56126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd170e0e8012d7c6e0005e57368000200c82a..."} 
[2026-04-28 05:47:38] local.INFO: Packet analysis {"connection_id":56126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:47:38] local.INFO: Extracted packet for processing {"connection_id":56126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd170"} 
[2026-04-28 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763129344,"raw_latitude":98923368,"longitude_deg":76.3129344,"latitude_deg":9.8923368,"altitude":2,"angle":200,"satellites":42,"speed":36,"hex_longitude":"2d7c6e00","hex_latitude":"05e57368","is_valid_coordinates":true} 
[2026-04-28 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997841408001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282164065558593536,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969129789467592704,"note":"Value kept but may cause issues"} 
[2026-04-28 05:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777335329000,"timestamp_ms":1777335329000,"timestamp_seconds":1777335329,"priority":1,"record_length":96,"hex_timestamp":"0000019dd170e0e8"} 
[2026-04-28 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 05:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997841408001,"66":27463,"21":206,"9":25088,"24":36,"16":282164065558593536,"45":8969129789467592704},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-04-28 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997841408001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:47:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-28 05:47:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282164065558593536,"km_value":282164065558593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969129789467592704,"description":"Unknown IO ID 45"} 
[2026-04-28 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997841408001,"power":27463,"unknown_21":206,"unknown_9":25088,"ignition":36,"odometer":null,"unknown_45":8969129789467592704}} 
[2026-04-28 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":56126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:47:38] local.INFO: GPS data processed {"connection_id":56126,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:47:38] local.INFO: Acknowledgment sent {"connection_id":56126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:47:54] local.INFO: TCP Data received {"connection_id":56127,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:54] local.INFO: Processing buffer {"connection_id":56127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:54] local.INFO: IMEI packet received {"connection_id":56127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":56127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:47:59] local.INFO: TCP Data received {"connection_id":56127,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:59] local.INFO: Processing buffer {"connection_id":56127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:47:59] local.INFO: IMEI packet received {"connection_id":56127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:48:00] local.INFO: TCP Data received {"connection_id":56127,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17107f8012d7c5f0005e54f98000200cb29..."} 
[2026-04-28 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17107f8012d7c5f0005e54f98000200cb29..."} 
[2026-04-28 05:48:00] local.INFO: Processing buffer {"connection_id":56127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17107f8012d7c5f0005e54f98000200cb29..."} 
[2026-04-28 05:48:00] local.INFO: Packet analysis {"connection_id":56127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd171"} 
[2026-04-28 05:48:00] local.INFO: Extracted packet for processing {"connection_id":56127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd171"} 
[2026-04-28 05:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763125504,"raw_latitude":98914200,"longitude_deg":76.3125504,"latitude_deg":9.89142,"altitude":2,"angle":203,"satellites":41,"speed":41,"hex_longitude":"2d7c5f00","hex_latitude":"05e54f98","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997844224001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282164546594930688,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103933465618432,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777335339000,"timestamp_ms":1777335339000,"timestamp_seconds":1777335339,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17107f8"} 
[2026-04-28 05:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 05:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997844224001,"66":27376,"21":206,"9":25088,"24":41,"16":282164546594930688,"45":8966103933465618432},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-04-28 05:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997844224001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:48:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-28 05:48:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-28 05:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282164546594930688,"km_value":282164546594930.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103933465618432,"description":"Unknown IO ID 45"} 
[2026-04-28 05:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997844224001,"power":27376,"unknown_21":206,"unknown_9":25088,"ignition":41,"odometer":null,"unknown_45":8966103933465618432}} 
[2026-04-28 05:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":56127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:48:00] local.INFO: GPS data processed {"connection_id":56127,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:48:00] local.INFO: Acknowledgment sent {"connection_id":56127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:48:32] local.INFO: TCP Data received {"connection_id":56127,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd172c548012d7b864005e3f9c0000600d529..."} 
[2026-04-28 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd172c548012d7b864005e3f9c0000600d529..."} 
[2026-04-28 05:48:32] local.INFO: Processing buffer {"connection_id":56127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd172c548012d7b864005e3f9c0000600d529..."} 
[2026-04-28 05:48:32] local.INFO: Packet analysis {"connection_id":56127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd172"} 
[2026-04-28 05:48:32] local.INFO: Extracted packet for processing {"connection_id":56127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd172"} 
[2026-04-28 05:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":98826688,"longitude_deg":76.3070016,"latitude_deg":9.8826688,"altitude":6,"angle":213,"satellites":41,"speed":41,"hex_longitude":"2d7b8640","hex_latitude":"05e3f9c0","is_valid_coordinates":true} 
[2026-04-28 05:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997873408001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282169554526797824,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906853450845376512,"note":"Value kept but may cause issues"} 
[2026-04-28 05:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777335453000,"timestamp_ms":1777335453000,"timestamp_seconds":1777335453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd172c548"} 
[2026-04-28 05:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 05:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997873408001,"66":27310,"221":206,"19":45824,"24":41,"16":282169554526797824,"45":8906853450845376512},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-04-28 05:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997873408001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:48:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 05:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282169554526797824,"km_value":282169554526797.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906853450845376512,"description":"Unknown IO ID 45"} 
[2026-04-28 05:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997873408001,"power":27310,"unknown_221":206,"unknown_19":45824,"ignition":41,"odometer":null,"unknown_45":8906853450845376512}} 
[2026-04-28 05:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":56127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:48:32] local.INFO: GPS data processed {"connection_id":56127,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:48:32] local.INFO: Acknowledgment sent {"connection_id":56127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:48:57] local.INFO: TCP Data received {"connection_id":56128,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:57] local.INFO: Processing buffer {"connection_id":56128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:57] local.INFO: IMEI packet received {"connection_id":56128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":56128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:48:59] local.INFO: TCP Data received {"connection_id":56128,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:59] local.INFO: Processing buffer {"connection_id":56128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:48:59] local.INFO: IMEI packet received {"connection_id":56128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:49:05] local.INFO: TCP Data received {"connection_id":56128,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:05] local.INFO: Processing buffer {"connection_id":56128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:05] local.INFO: IMEI packet received {"connection_id":56128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":56128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:49:06] local.INFO: TCP Data received {"connection_id":56128,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd172e870012d7b718005e3da48000400d329..."} 
[2026-04-28 05:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd172e870012d7b718005e3da48000400d329..."} 
[2026-04-28 05:49:06] local.INFO: Processing buffer {"connection_id":56128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd172e870012d7b718005e3da48000400d329..."} 
[2026-04-28 05:49:06] local.INFO: Packet analysis {"connection_id":56128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd172"} 
[2026-04-28 05:49:06] local.INFO: Extracted packet for processing {"connection_id":56128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd172"} 
[2026-04-28 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763064704,"raw_latitude":98818632,"longitude_deg":76.3064704,"latitude_deg":9.8818632,"altitude":4,"angle":211,"satellites":41,"speed":42,"hex_longitude":"2d7b7180","hex_latitude":"05e3da48","is_valid_coordinates":true} 
[2026-04-28 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997875968001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282170018383265792,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107588173824,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777335462000,"timestamp_ms":1777335462000,"timestamp_seconds":1777335462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd172e870"} 
[2026-04-28 05:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 05:49:06] 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-04-28 05:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997875968001,"66":27376,"221":206,"19":45824,"24":42,"16":282170018383265792,"45":8900872107588173824},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-04-28 05:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997875968001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:49:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 05:49:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282170018383265792,"km_value":282170018383265.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107588173824,"description":"Unknown IO ID 45"} 
[2026-04-28 05:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997875968001,"power":27376,"unknown_221":206,"unknown_19":45824,"ignition":42,"odometer":null,"unknown_45":8900872107588173824}} 
[2026-04-28 05:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":56128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:49:06] local.INFO: GPS data processed {"connection_id":56128,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:49:06] local.INFO: Acknowledgment sent {"connection_id":56128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:49:37] local.INFO: TCP Data received {"connection_id":56128,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1730f80012d7b5bc005e3ba78000300d628..."} 
[2026-04-28 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1730f80012d7b5bc005e3ba78000300d628..."} 
[2026-04-28 05:49:37] local.INFO: Processing buffer {"connection_id":56128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1730f80012d7b5bc005e3ba78000300d628..."} 
[2026-04-28 05:49:37] local.INFO: Packet analysis {"connection_id":56128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:49:37] local.INFO: Extracted packet for processing {"connection_id":56128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":98810488,"longitude_deg":76.3059136,"latitude_deg":9.8810488,"altitude":3,"angle":214,"satellites":40,"speed":39,"hex_longitude":"2d7b5bc0","hex_latitude":"05e3ba78","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997878272001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282170495124635648,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895031501819365376,"note":"Value kept but may cause issues"} 
[2026-04-28 05:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777335472000,"timestamp_ms":1777335472000,"timestamp_seconds":1777335472,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1730f80"} 
[2026-04-28 05:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:49: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-04-28 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 05:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997878272001,"66":27376,"221":206,"19":45824,"24":39,"16":282170495124635648,"45":8895031501819365376},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-04-28 05:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997878272001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:49:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 05:49:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282170495124635648,"km_value":282170495124635.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895031501819365376,"description":"Unknown IO ID 45"} 
[2026-04-28 05:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997878272001,"power":27376,"unknown_221":206,"unknown_19":45824,"ignition":39,"odometer":null,"unknown_45":8895031501819365376}} 
[2026-04-28 05:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":56128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:49:37] local.INFO: GPS data processed {"connection_id":56128,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:49:37] local.INFO: Acknowledgment sent {"connection_id":56128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:49:54] local.INFO: TCP Data received {"connection_id":57014,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:54] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:49:54] local.INFO: IMEI packet received {"connection_id":57014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":57014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:50:00] local.INFO: TCP Data received {"connection_id":57014,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:50:00] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:50:00] local.INFO: IMEI packet received {"connection_id":57014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":57014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:50:01] local.INFO: TCP Data received {"connection_id":57014,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17332a8012d7b47c005e39d00000200d429..."} 
[2026-04-28 05:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17332a8012d7b47c005e39d00000200d429..."} 
[2026-04-28 05:50:01] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17332a8012d7b47c005e39d00000200d429..."} 
[2026-04-28 05:50:01] local.INFO: Packet analysis {"connection_id":57014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:50:01] local.INFO: Extracted packet for processing {"connection_id":57014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763054016,"raw_latitude":98802944,"longitude_deg":76.3054016,"latitude_deg":9.8802944,"altitude":2,"angle":212,"satellites":41,"speed":39,"hex_longitude":"2d7b47c0","hex_latitude":"05e39d00","is_valid_coordinates":true} 
[2026-04-28 05:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997880832001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282170937506267136,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421073823744,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777335481000,"timestamp_ms":1777335481000,"timestamp_seconds":1777335481,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17332a8"} 
[2026-04-28 05:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 05:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997880832001,"66":27180,"219":206,"19":45824,"24":39,"16":282170937506267136,"45":8888909421073823744},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-04-28 05:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997880832001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:50:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-28 05:50:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282170937506267136,"km_value":282170937506267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421073823744,"description":"Unknown IO ID 45"} 
[2026-04-28 05:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997880832001,"power":27180,"unknown_219":206,"unknown_19":45824,"ignition":39,"odometer":null,"unknown_45":8888909421073823744}} 
[2026-04-28 05:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":57014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:50:01] local.INFO: GPS data processed {"connection_id":57014,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:50:01] local.INFO: Acknowledgment sent {"connection_id":57014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:50:32] local.INFO: TCP Data received {"connection_id":57014,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17355d0012d7b340005e37ee0000200d528..."} 
[2026-04-28 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17355d0012d7b340005e37ee0000200d528..."} 
[2026-04-28 05:50:32] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17355d0012d7b340005e37ee0000200d528..."} 
[2026-04-28 05:50:32] local.INFO: Packet analysis {"connection_id":57014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:50:32] local.INFO: Extracted packet for processing {"connection_id":57014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98795232,"longitude_deg":76.304896,"latitude_deg":9.8795232,"altitude":2,"angle":213,"satellites":40,"speed":42,"hex_longitude":"2d7b3400","hex_latitude":"05e37ee0","is_valid_coordinates":true} 
[2026-04-28 05:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997883136001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282171384182865920,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921537679360,"note":"Value kept but may cause issues"} 
[2026-04-28 05:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777335490000,"timestamp_ms":1777335490000,"timestamp_seconds":1777335490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17355d0"} 
[2026-04-28 05:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-28 05:50:32] 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-04-28 05:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997883136001,"66":27343,"219":206,"19":45824,"24":42,"16":282171384182865920,"45":8883279921537679360},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-04-28 05:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997883136001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:50:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-28 05:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282171384182865920,"km_value":282171384182865.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921537679360,"description":"Unknown IO ID 45"} 
[2026-04-28 05:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997883136001,"power":27343,"unknown_219":206,"unknown_19":45824,"ignition":42,"odometer":null,"unknown_45":8883279921537679360}} 
[2026-04-28 05:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":57014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:50:32] local.INFO: GPS data processed {"connection_id":57014,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:50:32] local.INFO: Acknowledgment sent {"connection_id":57014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:51:00] local.INFO: TCP Data received {"connection_id":56354,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: IMEI packet received {"connection_id":56354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":56354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:51:00] local.INFO: TCP Data received {"connection_id":56354,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:00] local.INFO: IMEI packet received {"connection_id":56354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":56354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:51:05] local.INFO: TCP Data received {"connection_id":56354,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:05] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:05] local.INFO: IMEI packet received {"connection_id":56354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":56354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:51:06] local.INFO: TCP Data received {"connection_id":56354,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17378f8012d7b204005e36100000200d226..."} 
[2026-04-28 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17378f8012d7b204005e36100000200d226..."} 
[2026-04-28 05:51:06] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17378f8012d7b204005e36100000200d226..."} 
[2026-04-28 05:51:06] local.INFO: Packet analysis {"connection_id":56354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:51:06] local.INFO: Extracted packet for processing {"connection_id":56354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98787584,"longitude_deg":76.3043904,"latitude_deg":9.8787584,"altitude":2,"angle":210,"satellites":38,"speed":33,"hex_longitude":"2d7b2040","hex_latitude":"05e36100","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997885440001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282171826564497408,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790745669632,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777335499000,"timestamp_ms":1777335499000,"timestamp_seconds":1777335499,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17378f8"} 
[2026-04-28 05:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 05:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997885440001,"66":27343,"219":206,"19":45824,"24":33,"16":282171826564497408,"45":8877720790745669632},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-04-28 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997885440001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-28 05:51:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282171826564497408,"km_value":282171826564497.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790745669632,"description":"Unknown IO ID 45"} 
[2026-04-28 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997885440001,"power":27343,"unknown_219":206,"unknown_19":45824,"ignition":33,"odometer":null,"unknown_45":8877720790745669632}} 
[2026-04-28 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":56354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:51:06] local.INFO: GPS data processed {"connection_id":56354,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:51:06] local.INFO: Acknowledgment sent {"connection_id":56354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:51:10] local.INFO: TCP Data received {"connection_id":56354,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd173a7d8012d7b0fc005e342a0000100c625..."} 
[2026-04-28 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd173a7d8012d7b0fc005e342a0000100c625..."} 
[2026-04-28 05:51:10] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd173a7d8012d7b0fc005e342a0000100c625..."} 
[2026-04-28 05:51:10] local.INFO: Packet analysis {"connection_id":56354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:51:10] local.INFO: Extracted packet for processing {"connection_id":56354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd173"} 
[2026-04-28 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98779808,"longitude_deg":76.303968,"latitude_deg":9.8779808,"altitude":1,"angle":198,"satellites":37,"speed":29,"hex_longitude":"2d7b0fc0","hex_latitude":"05e342a0","is_valid_coordinates":true} 
[2026-04-28 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997887744001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282172251766259712,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659953676288,"note":"Value kept but may cause issues"} 
[2026-04-28 05:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777335511000,"timestamp_ms":1777335511000,"timestamp_seconds":1777335511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd173a7d8"} 
[2026-04-28 05:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 05:51:10] 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-04-28 05:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997887744001,"66":27332,"219":206,"19":45824,"24":29,"16":282172251766259712,"45":8872161659953676288},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-04-28 05:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997887744001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282172251766259712,"km_value":282172251766259.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659953676288,"description":"Unknown IO ID 45"} 
[2026-04-28 05:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997887744001,"power":27332,"unknown_219":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":8872161659953676288}} 
[2026-04-28 05:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":56354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:51:10] local.INFO: GPS data processed {"connection_id":56354,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:51:10] local.INFO: Acknowledgment sent {"connection_id":56354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:51:55] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:55] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:55] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:51:56] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:56] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:56] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:51:59] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:59] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:51:59] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:52:01] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17578b0012d7b394005e1f1a8000000ae22..."} 
[2026-04-28 05:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17578b0012d7b394005e1f1a8000000ae22..."} 
[2026-04-28 05:52:01] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17578b0012d7b394005e1f1a8000000ae22..."} 
[2026-04-28 05:52:01] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:01] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98693544,"longitude_deg":76.3050304,"latitude_deg":9.8693544,"altitude":0,"angle":174,"satellites":34,"speed":36,"hex_longitude":"2d7b3940","hex_latitude":"05e1f1a8","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997918720001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282176486604013568,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740675407872,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777335630000,"timestamp_ms":1777335630000,"timestamp_seconds":1777335630,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17578b0"} 
[2026-04-28 05:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 05:52:01] 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-04-28 05: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-04-28 05:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997918720001,"66":27267,"47":206,"19":45824,"24":36,"16":282176486604013568,"45":8878283740675407872},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-04-28 05:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997918720001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:52:01] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 05:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282176486604013568,"km_value":282176486604013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740675407872,"description":"Unknown IO ID 45"} 
[2026-04-28 05:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997918720001,"power":27267,"unknown_47":206,"unknown_19":45824,"ignition":36,"odometer":null,"unknown_45":8878283740675407872}} 
[2026-04-28 05:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:52:01] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:52:01] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:52:05] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd175a3a8012d7b3cc005e1cc70000000ae22..."} 
[2026-04-28 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd175a3a8012d7b3cc005e1cc70000000ae22..."} 
[2026-04-28 05:52:05] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd175a3a8012d7b3cc005e1cc70000000ae22..."} 
[2026-04-28 05:52:05] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:05] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":98684016,"longitude_deg":76.30512,"latitude_deg":9.8684016,"altitude":0,"angle":174,"satellites":34,"speed":34,"hex_longitude":"2d7b3cc0","hex_latitude":"05e1cc70","is_valid_coordinates":true} 
[2026-04-28 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997921280001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282176950460481536,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879198534347368448,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777335641000,"timestamp_ms":1777335641000,"timestamp_seconds":1777335641,"priority":1,"record_length":96,"hex_timestamp":"0000019dd175a3a8"} 
[2026-04-28 05:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 05:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997921280001,"66":27365,"47":206,"19":45824,"24":34,"16":282176950460481536,"45":8879198534347368448},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-04-28 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997921280001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:52:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 05:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282176950460481536,"km_value":282176950460481.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879198534347368448,"description":"Unknown IO ID 45"} 
[2026-04-28 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997921280001,"power":27365,"unknown_47":206,"unknown_19":45824,"ignition":34,"odometer":null,"unknown_45":8879198534347368448}} 
[2026-04-28 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:52:05] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:52:05] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:52:37] local.INFO: TCP Data received {"connection_id":57015,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd175d288012d7b3fc005e1a9e8000000b324..."} 
[2026-04-28 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd175d288012d7b3fc005e1a9e8000000b324..."} 
[2026-04-28 05:52:37] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd175d288012d7b3fc005e1a9e8000000b324..."} 
[2026-04-28 05:52:37] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:37] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd175"} 
[2026-04-28 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98675176,"longitude_deg":76.3051968,"latitude_deg":9.8675176,"altitude":0,"angle":179,"satellites":36,"speed":27,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1a9e8","is_valid_coordinates":true} 
[2026-04-28 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997924096001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282177379957211136,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696763416576,"note":"Value kept but may cause issues"} 
[2026-04-28 05:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777335653000,"timestamp_ms":1777335653000,"timestamp_seconds":1777335653,"priority":1,"record_length":96,"hex_timestamp":"0000019dd175d288"} 
[2026-04-28 05:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 05:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997924096001,"66":27376,"47":206,"19":45824,"24":27,"16":282177379957211136,"45":8880183696763416576},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-04-28 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997924096001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282177379957211136,"km_value":282177379957211.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696763416576,"description":"Unknown IO ID 45"} 
[2026-04-28 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997924096001,"power":27376,"unknown_47":206,"unknown_19":45824,"ignition":27,"odometer":null,"unknown_45":8880183696763416576}} 
[2026-04-28 05:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:52:37] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:52:37] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:52:54] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:54] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:54] local.INFO: IMEI packet received {"connection_id":56281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":56281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:52:57] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:57] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:52:57] local.INFO: IMEI packet received {"connection_id":56281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":56281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:53:00] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1760168012d7b438005e18718000000ae26..."} 
[2026-04-28 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1760168012d7b438005e18718000000ae26..."} 
[2026-04-28 05:53:00] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1760168012d7b438005e18718000000ae26..."} 
[2026-04-28 05:53:00] local.INFO: Packet analysis {"connection_id":56281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd176"} 
[2026-04-28 05:53:00] local.INFO: Extracted packet for processing {"connection_id":56281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd176"} 
[2026-04-28 05:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763052928,"raw_latitude":98666264,"longitude_deg":76.3052928,"latitude_deg":9.8666264,"altitude":0,"angle":174,"satellites":38,"speed":30,"hex_longitude":"2d7b4380","hex_latitude":"05e18718","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997927168001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282177813748908032,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028121691285504,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777335665000,"timestamp_ms":1777335665000,"timestamp_seconds":1777335665,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1760168"} 
[2026-04-28 05:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 05:53:00] 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-04-28 05: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-04-28 05:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997927168001,"66":27332,"47":206,"19":45824,"24":30,"16":282177813748908032,"45":8881028121691285504},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-04-28 05:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997927168001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:53:00] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-04-28 05:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282177813748908032,"km_value":282177813748908.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028121691285504,"description":"Unknown IO ID 45"} 
[2026-04-28 05:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997927168001,"power":27332,"unknown_47":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":8881028121691285504}} 
[2026-04-28 05:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:53:00] local.INFO: GPS data processed {"connection_id":56281,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:53:00] local.INFO: Acknowledgment sent {"connection_id":56281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:53:00] local.INFO: TCP Data received {"connection_id":56130,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:00] local.INFO: Processing buffer {"connection_id":56130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:00] local.INFO: IMEI packet received {"connection_id":56130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:53:32] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1762c60012d7b490005e16348000000ab25..."} 
[2026-04-28 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1762c60012d7b490005e16348000000ab25..."} 
[2026-04-28 05:53:32] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1762c60012d7b490005e16348000000ab25..."} 
[2026-04-28 05:53:32] local.INFO: Packet analysis {"connection_id":56281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd176"} 
[2026-04-28 05:53:32] local.INFO: Extracted packet for processing {"connection_id":56281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd176"} 
[2026-04-28 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":98657096,"longitude_deg":76.3054336,"latitude_deg":9.8657096,"altitude":0,"angle":171,"satellites":37,"speed":36,"hex_longitude":"2d7b4900","hex_latitude":"05e16348","is_valid_coordinates":true} 
[2026-04-28 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997930240001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282178264720474112,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652851668992,"note":"Value kept but may cause issues"} 
[2026-04-28 05:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777335676000,"timestamp_ms":1777335676000,"timestamp_seconds":1777335676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1762c60"} 
[2026-04-28 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 05:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997930240001,"66":27365,"46":206,"19":45824,"24":36,"16":282178264720474112,"45":8882083652851668992},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,19,24,16,45]} 
[2026-04-28 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997930240001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:53:32] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-04-28 05:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282178264720474112,"km_value":282178264720474.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652851668992,"description":"Unknown IO ID 45"} 
[2026-04-28 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997930240001,"power":27365,"unknown_46":206,"unknown_19":45824,"ignition":36,"odometer":null,"unknown_45":8882083652851668992}} 
[2026-04-28 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:53:32] local.INFO: GPS data processed {"connection_id":56281,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:53:32] local.INFO: Acknowledgment sent {"connection_id":56281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:53:40] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:40] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:53:40] local.INFO: IMEI packet received {"connection_id":57016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":57016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:53:55] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:55] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:55] local.INFO: IMEI packet received {"connection_id":56355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":56355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:53:59] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: IMEI packet received {"connection_id":56355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:53:59] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:53:59] local.INFO: IMEI packet received {"connection_id":56355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:54:01] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd177af18012d7b834005dfd4e0000000ab26..."} 
[2026-04-28 05:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd177af18012d7b834005dfd4e0000000ab26..."} 
[2026-04-28 05:54:01] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd177af18012d7b834005dfd4e0000000ab26..."} 
[2026-04-28 05:54:01] local.INFO: Packet analysis {"connection_id":56355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:01] local.INFO: Extracted packet for processing {"connection_id":56355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":98555104,"longitude_deg":76.3069248,"latitude_deg":9.8555104,"altitude":0,"angle":171,"satellites":38,"speed":38,"hex_longitude":"2d7b8340","hex_latitude":"05dfd4e0","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997955840001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282183264062406656,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676451504128,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777335775000,"timestamp_ms":1777335775000,"timestamp_seconds":1777335775,"priority":1,"record_length":96,"hex_timestamp":"0000019dd177af18"} 
[2026-04-28 05:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 05:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997955840001,"66":27234,"46":206,"19":45824,"24":38,"16":282183264062406656,"45":8898690676451504128},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,19,24,16,45]} 
[2026-04-28 05:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997955840001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:54:01] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-04-28 05:54:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282183264062406656,"km_value":282183264062406.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676451504128,"description":"Unknown IO ID 45"} 
[2026-04-28 05:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997955840001,"power":27234,"unknown_46":206,"unknown_19":45824,"ignition":38,"odometer":null,"unknown_45":8898690676451504128}} 
[2026-04-28 05:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":56355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:54:01] local.INFO: GPS data processed {"connection_id":56355,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:54:01] local.INFO: Acknowledgment sent {"connection_id":56355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:54:06] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd177d628012d7b898005dfb0c8000000ad25..."} 
[2026-04-28 05:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd177d628012d7b898005dfb0c8000000ad25..."} 
[2026-04-28 05:54:06] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd177d628012d7b898005dfb0c8000000ad25..."} 
[2026-04-28 05:54:06] local.INFO: Packet analysis {"connection_id":56355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:06] local.INFO: Extracted packet for processing {"connection_id":56355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":98545864,"longitude_deg":76.3070848,"latitude_deg":9.8545864,"altitude":0,"angle":173,"satellites":37,"speed":37,"hex_longitude":"2d7b8980","hex_latitude":"05dfb0c8","is_valid_coordinates":true} 
[2026-04-28 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997958400001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282183719328940032,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682588516352,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777335785000,"timestamp_ms":1777335785000,"timestamp_seconds":1777335785,"priority":1,"record_length":96,"hex_timestamp":"0000019dd177d628"} 
[2026-04-28 05:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 05:54:06] 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-04-28 05:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997958400001,"66":27321,"46":206,"19":45824,"24":37,"16":282183719328940032,"45":8900027682588516352},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,19,24,16,45]} 
[2026-04-28 05:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997958400001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:54:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-04-28 05:54:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282183719328940032,"km_value":282183719328940.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682588516352,"description":"Unknown IO ID 45"} 
[2026-04-28 05:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997958400001,"power":27321,"unknown_46":206,"unknown_19":45824,"ignition":37,"odometer":null,"unknown_45":8900027682588516352}} 
[2026-04-28 05:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":56355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:54:06] local.INFO: GPS data processed {"connection_id":56355,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:54:06] local.INFO: Acknowledgment sent {"connection_id":56355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:54:37] local.INFO: TCP Data received {"connection_id":56355,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd177fd38012d7b8ec005df8cc0000000ac27..."} 
[2026-04-28 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd177fd38012d7b8ec005df8cc0000000ac27..."} 
[2026-04-28 05:54:38] local.INFO: Processing buffer {"connection_id":56355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd177fd38012d7b8ec005df8cc0000000ac27..."} 
[2026-04-28 05:54:38] local.INFO: Packet analysis {"connection_id":56355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:38] local.INFO: Extracted packet for processing {"connection_id":56355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd177"} 
[2026-04-28 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763072192,"raw_latitude":98536640,"longitude_deg":76.3072192,"latitude_deg":9.853664,"altitude":0,"angle":172,"satellites":39,"speed":32,"hex_longitude":"2d7b8ec0","hex_latitude":"05df8cc0","is_valid_coordinates":true} 
[2026-04-28 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997960960001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282184170300506112,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901190592512,"note":"Value kept but may cause issues"} 
[2026-04-28 05:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777335795000,"timestamp_ms":1777335795000,"timestamp_seconds":1777335795,"priority":1,"record_length":96,"hex_timestamp":"0000019dd177fd38"} 
[2026-04-28 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 05:54:38] 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-04-28 05:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997960960001,"66":27343,"46":206,"19":45824,"24":32,"16":282184170300506112,"45":8901786901190592512},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,19,24,16,45]} 
[2026-04-28 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997960960001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-04-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282184170300506112,"km_value":282184170300506.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901190592512,"description":"Unknown IO ID 45"} 
[2026-04-28 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997960960001,"power":27343,"unknown_46":206,"unknown_19":45824,"ignition":32,"odometer":null,"unknown_45":8901786901190592512}} 
[2026-04-28 05:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":56355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:54:38] local.INFO: GPS data processed {"connection_id":56355,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:54:38] local.INFO: Acknowledgment sent {"connection_id":56355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:54:54] local.INFO: TCP Data received {"connection_id":56131,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:54] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:54] local.INFO: IMEI packet received {"connection_id":56131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:54:56] local.INFO: TCP Data received {"connection_id":56131,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:56] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:54:56] local.INFO: IMEI packet received {"connection_id":56131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":56131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:55:01] local.INFO: TCP Data received {"connection_id":56131,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:55:01] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:55:01] local.INFO: IMEI packet received {"connection_id":56131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":56131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:55:02] local.INFO: TCP Data received {"connection_id":56131,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1783000012d7b930005df6a60000000ac24..."} 
[2026-04-28 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1783000012d7b930005df6a60000000ac24..."} 
[2026-04-28 05:55:02] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1783000012d7b930005df6a60000000ac24..."} 
[2026-04-28 05:55:02] local.INFO: Packet analysis {"connection_id":56131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:55:02] local.INFO: Extracted packet for processing {"connection_id":56131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763073280,"raw_latitude":98527840,"longitude_deg":76.307328,"latitude_deg":9.852784,"altitude":0,"angle":172,"satellites":36,"speed":30,"hex_longitude":"2d7b9300","hex_latitude":"05df6a60","is_valid_coordinates":true} 
[2026-04-28 05:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997963520001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282184604092203008,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903264644815962112,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777335808000,"timestamp_ms":1777335808000,"timestamp_seconds":1777335808,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1783000"} 
[2026-04-28 05:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 05:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997963520001,"66":27169,"42":206,"19":45824,"24":30,"16":282184604092203008,"45":8903264644815962112},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997963520001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:55:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:55:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282184604092203008,"km_value":282184604092203.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903264644815962112,"description":"Unknown IO ID 45"} 
[2026-04-28 05:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997963520001,"power":27169,"unknown_42":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":8903264644815962112}} 
[2026-04-28 05:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":56131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:55:02] local.INFO: GPS data processed {"connection_id":56131,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:55:02] local.INFO: Acknowledgment sent {"connection_id":56131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:55:34] local.INFO: TCP Data received {"connection_id":56131,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1785af8012d7b964005df45d8000000ae23..."} 
[2026-04-28 05:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1785af8012d7b964005df45d8000000ae23..."} 
[2026-04-28 05:55:34] local.INFO: Processing buffer {"connection_id":56131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1785af8012d7b964005df45d8000000ae23..."} 
[2026-04-28 05:55:34] local.INFO: Packet analysis {"connection_id":56131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:55:34] local.INFO: Extracted packet for processing {"connection_id":56131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763074112,"raw_latitude":98518488,"longitude_deg":76.3074112,"latitude_deg":9.8518488,"altitude":0,"angle":174,"satellites":35,"speed":36,"hex_longitude":"2d7b9640","hex_latitude":"05df45d8","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997966848001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282185059358736384,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904460913464729600,"note":"Value kept but may cause issues"} 
[2026-04-28 05:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777335819000,"timestamp_ms":1777335819000,"timestamp_seconds":1777335819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1785af8"} 
[2026-04-28 05:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 05:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997966848001,"66":27300,"42":206,"19":45824,"24":36,"16":282185059358736384,"45":8904460913464729600},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997966848001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:55:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:55:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282185059358736384,"km_value":282185059358736.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904460913464729600,"description":"Unknown IO ID 45"} 
[2026-04-28 05:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997966848001,"power":27300,"unknown_42":206,"unknown_19":45824,"ignition":36,"odometer":null,"unknown_45":8904460913464729600}} 
[2026-04-28 05:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":56131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:55:34] local.INFO: GPS data processed {"connection_id":56131,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:55:34] local.INFO: Acknowledgment sent {"connection_id":56131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:56:00] local.INFO: TCP Data received {"connection_id":57018,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:00] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:00] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:56:05] local.INFO: TCP Data received {"connection_id":57018,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:05] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:05] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:56:07] local.INFO: TCP Data received {"connection_id":57018,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1788208012d7b998005df2020000000b123..."} 
[2026-04-28 05:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1788208012d7b998005df2020000000b123..."} 
[2026-04-28 05:56:07] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1788208012d7b998005df2020000000b123..."} 
[2026-04-28 05:56:07] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:07] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763074944,"raw_latitude":98508832,"longitude_deg":76.3074944,"latitude_deg":9.8508832,"altitude":0,"angle":177,"satellites":35,"speed":38,"hex_longitude":"2d7b9980","hex_latitude":"05df2020","is_valid_coordinates":true} 
[2026-04-28 05:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997969664001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282185527510171648,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905375707136645120,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777335829000,"timestamp_ms":1777335829000,"timestamp_seconds":1777335829,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1788208"} 
[2026-04-28 05:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 05:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997969664001,"66":27321,"42":206,"19":45824,"24":38,"16":282185527510171648,"45":8905375707136645120},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997969664001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:56:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:56:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282185527510171648,"km_value":282185527510171.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905375707136645120,"description":"Unknown IO ID 45"} 
[2026-04-28 05:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997969664001,"power":27321,"unknown_42":206,"unknown_19":45824,"ignition":38,"odometer":null,"unknown_45":8905375707136645120}} 
[2026-04-28 05:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:56:07] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:56:07] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:56:08] local.INFO: TCP Data received {"connection_id":57018,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd178a530012d7b9c4005defca8000000b125..."} 
[2026-04-28 05:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd178a530012d7b9c4005defca8000000b125..."} 
[2026-04-28 05:56:08] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd178a530012d7b9c4005defca8000000b125..."} 
[2026-04-28 05:56:08] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:08] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763075648,"raw_latitude":98499752,"longitude_deg":76.3075648,"latitude_deg":9.8499752,"altitude":0,"angle":177,"satellites":37,"speed":39,"hex_longitude":"2d7b9c40","hex_latitude":"05defca8","is_valid_coordinates":true} 
[2026-04-28 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997972224001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282185969891803136,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906290500808482816,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777335838000,"timestamp_ms":1777335838000,"timestamp_seconds":1777335838,"priority":1,"record_length":96,"hex_timestamp":"0000019dd178a530"} 
[2026-04-28 05:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 05:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997972224001,"66":27321,"42":206,"19":45824,"24":39,"16":282185969891803136,"45":8906290500808482816},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997972224001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:56:08] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:56:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282185969891803136,"km_value":282185969891803.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906290500808482816,"description":"Unknown IO ID 45"} 
[2026-04-28 05:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997972224001,"power":27321,"unknown_42":206,"unknown_19":45824,"ignition":39,"odometer":null,"unknown_45":8906290500808482816}} 
[2026-04-28 05:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:56:08] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:56:08] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:56:41] local.INFO: TCP Data received {"connection_id":57018,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd178cc40012d7b9e0005ded700000000ae25..."} 
[2026-04-28 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd178cc40012d7b9e0005ded700000000ae25..."} 
[2026-04-28 05:56:41] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd178cc40012d7b9e0005ded700000000ae25..."} 
[2026-04-28 05:56:41] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:41] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98490112,"longitude_deg":76.3076096,"latitude_deg":9.8490112,"altitude":0,"angle":174,"satellites":37,"speed":35,"hex_longitude":"2d7b9e00","hex_latitude":"05ded700","is_valid_coordinates":true} 
[2026-04-28 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997974528001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282186438043238400,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907064556992112640,"note":"Value kept but may cause issues"} 
[2026-04-28 05:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777335848000,"timestamp_ms":1777335848000,"timestamp_seconds":1777335848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd178cc40"} 
[2026-04-28 05:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 05:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997974528001,"66":27397,"42":206,"19":45824,"24":35,"16":282186438043238400,"45":8907064556992112640},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997974528001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:56:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:56:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282186438043238400,"km_value":282186438043238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907064556992112640,"description":"Unknown IO ID 45"} 
[2026-04-28 05:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997974528001,"power":27397,"unknown_42":206,"unknown_19":45824,"ignition":35,"odometer":null,"unknown_45":8907064556992112640}} 
[2026-04-28 05:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:56:41] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:56:41] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:56:55] local.INFO: TCP Data received {"connection_id":56282,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:55] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:56:55] local.INFO: IMEI packet received {"connection_id":56282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":56282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:57:00] local.INFO: TCP Data received {"connection_id":56282,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:00] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:00] local.INFO: IMEI packet received {"connection_id":56282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":56282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:57:02] local.INFO: TCP Data received {"connection_id":56282,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd178f350012d7ba08005deb2e0000000b026..."} 
[2026-04-28 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd178f350012d7ba08005deb2e0000000b026..."} 
[2026-04-28 05:57:02] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd178f350012d7ba08005deb2e0000000b026..."} 
[2026-04-28 05:57:02] local.INFO: Packet analysis {"connection_id":56282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:57:02] local.INFO: Extracted packet for processing {"connection_id":56282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd178"} 
[2026-04-28 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763076736,"raw_latitude":98480864,"longitude_deg":76.3076736,"latitude_deg":9.8480864,"altitude":0,"angle":176,"satellites":38,"speed":38,"hex_longitude":"2d7ba080","hex_latitude":"05deb2e0","is_valid_coordinates":true} 
[2026-04-28 05:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997977088001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282186884719837184,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138198888448,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777335858000,"timestamp_ms":1777335858000,"timestamp_seconds":1777335858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd178f350"} 
[2026-04-28 05:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 05:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997977088001,"66":27234,"42":206,"19":45824,"24":38,"16":282186884719837184,"45":8907557138198888448},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997977088001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:57:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:57:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282186884719837184,"km_value":282186884719837.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138198888448,"description":"Unknown IO ID 45"} 
[2026-04-28 05:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997977088001,"power":27234,"unknown_42":206,"unknown_19":45824,"ignition":38,"odometer":null,"unknown_45":8907557138198888448}} 
[2026-04-28 05:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":56282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:57:02] local.INFO: GPS data processed {"connection_id":56282,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:57:02] local.INFO: Acknowledgment sent {"connection_id":56282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:57:07] local.INFO: TCP Data received {"connection_id":56282,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1791678012d7ba34005de8f08000000ae25..."} 
[2026-04-28 05:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1791678012d7ba34005de8f08000000ae25..."} 
[2026-04-28 05:57:07] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1791678012d7ba34005de8f08000000ae25..."} 
[2026-04-28 05:57:07] local.INFO: Packet analysis {"connection_id":56282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd179"} 
[2026-04-28 05:57:07] local.INFO: Extracted packet for processing {"connection_id":56282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd179"} 
[2026-04-28 05:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763077440,"raw_latitude":98471688,"longitude_deg":76.307744,"latitude_deg":9.8471688,"altitude":0,"angle":174,"satellites":37,"speed":41,"hex_longitude":"2d7ba340","hex_latitude":"05de8f08","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454997979648001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282187331396435968,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908260825638297600,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777335867000,"timestamp_ms":1777335867000,"timestamp_seconds":1777335867,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1791678"} 
[2026-04-28 05:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05: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-04-28 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 05:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454997979648001,"66":27376,"42":206,"19":45824,"24":41,"16":282187331396435968,"45":8908260825638297600},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454997979648001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:57:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:57:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282187331396435968,"km_value":282187331396435.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908260825638297600,"description":"Unknown IO ID 45"} 
[2026-04-28 05:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454997979648001,"power":27376,"unknown_42":206,"unknown_19":45824,"ignition":41,"odometer":null,"unknown_45":8908260825638297600}} 
[2026-04-28 05:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":56282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:57:07] local.INFO: GPS data processed {"connection_id":56282,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:57:07] local.INFO: Acknowledgment sent {"connection_id":56282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:57:38] local.INFO: TCP Data received {"connection_id":56282,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17b4128012d7bd94005dd60f0000400b124..."} 
[2026-04-28 05:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17b4128012d7bd94005dd60f0000400b124..."} 
[2026-04-28 05:57:38] local.INFO: Processing buffer {"connection_id":56282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17b4128012d7bd94005dd60f0000400b124..."} 
[2026-04-28 05:57:38] local.INFO: Packet analysis {"connection_id":56282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:57:38] local.INFO: Extracted packet for processing {"connection_id":56282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98394352,"longitude_deg":76.3091264,"latitude_deg":9.8394352,"altitude":4,"angle":177,"satellites":36,"speed":18,"hex_longitude":"2d7bd940","hex_latitude":"05dd60f0","is_valid_coordinates":true} 
[2026-04-28 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998013696001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282191153917329408,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368128266240,"note":"Value kept but may cause issues"} 
[2026-04-28 05:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777336009000,"timestamp_ms":1777336009000,"timestamp_seconds":1777336009,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17b4128"} 
[2026-04-28 05:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 05:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998013696001,"66":27484,"42":206,"19":45824,"24":18,"16":282191153917329408,"45":8923249368128266240},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998013696001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282191153917329408,"km_value":282191153917329.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368128266240,"description":"Unknown IO ID 45"} 
[2026-04-28 05:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998013696001,"power":27484,"unknown_42":206,"unknown_19":45824,"ignition":18,"odometer":null,"unknown_45":8923249368128266240}} 
[2026-04-28 05:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":56282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:57:38] local.INFO: GPS data processed {"connection_id":56282,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:57:38] local.INFO: Acknowledgment sent {"connection_id":56282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:57:54] local.INFO: TCP Data received {"connection_id":56358,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:54] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:54] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:57:59] local.INFO: TCP Data received {"connection_id":56358,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:59] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:57:59] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:58:01] local.INFO: TCP Data received {"connection_id":56358,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17b4ce0012d7bda4005dd5aa8000400a525..."} 
[2026-04-28 05:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17b4ce0012d7bda4005dd5aa8000400a525..."} 
[2026-04-28 05:58:01] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17b4ce0012d7bda4005dd5aa8000400a525..."} 
[2026-04-28 05:58:01] local.INFO: Packet analysis {"connection_id":56358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:58:01] local.INFO: Extracted packet for processing {"connection_id":56358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98392744,"longitude_deg":76.309152,"latitude_deg":9.8392744,"altitude":4,"angle":165,"satellites":37,"speed":21,"hex_longitude":"2d7bda40","hex_latitude":"05dd5aa8","is_valid_coordinates":true} 
[2026-04-28 05: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-04-28 05:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998018304001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282191231226740736,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530544480256,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777336012000,"timestamp_ms":1777336012000,"timestamp_seconds":1777336012,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17b4ce0"} 
[2026-04-28 05:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:58: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-04-28 05:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 05:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05: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-04-28 05:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998018304001,"66":27365,"42":206,"19":45824,"24":21,"16":282191231226740736,"45":8924234530544480256},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998018304001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:58:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282191231226740736,"km_value":282191231226740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530544480256,"description":"Unknown IO ID 45"} 
[2026-04-28 05:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998018304001,"power":27365,"unknown_42":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":8924234530544480256}} 
[2026-04-28 05:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:58:01] local.INFO: GPS data processed {"connection_id":56358,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:58:01] local.INFO: Acknowledgment sent {"connection_id":56358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:58:32] local.INFO: TCP Data received {"connection_id":56358,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17b6068012d7bdbc005dd54a80004009a22..."} 
[2026-04-28 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17b6068012d7bdbc005dd54a80004009a22..."} 
[2026-04-28 05:58:32] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17b6068012d7bdbc005dd54a80004009a22..."} 
[2026-04-28 05:58:32] local.INFO: Packet analysis {"connection_id":56358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:58:32] local.INFO: Extracted packet for processing {"connection_id":56358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763091904,"raw_latitude":98391208,"longitude_deg":76.3091904,"latitude_deg":9.8391208,"altitude":4,"angle":154,"satellites":34,"speed":8,"hex_longitude":"2d7bdbc0","hex_latitude":"05dd54a8","is_valid_coordinates":true} 
[2026-04-28 05:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998019072001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282191308536152064,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005520779264,"note":"Value kept but may cause issues"} 
[2026-04-28 05:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777336017000,"timestamp_ms":1777336017000,"timestamp_seconds":1777336017,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17b6068"} 
[2026-04-28 05:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:58: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-04-28 05:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 05:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998019072001,"66":27365,"42":206,"19":45824,"24":8,"16":282191308536152064,"45":8924516005520779264},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998019072001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:58:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282191308536152064,"km_value":282191308536152.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005520779264,"description":"Unknown IO ID 45"} 
[2026-04-28 05:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998019072001,"power":27365,"unknown_42":206,"unknown_19":45824,"ignition":8,"odometer":null,"unknown_45":8924516005520779264}} 
[2026-04-28 05:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:58:32] local.INFO: GPS data processed {"connection_id":56358,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:58:32] local.INFO: Acknowledgment sent {"connection_id":56358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:58:54] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:54] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:54] local.INFO: IMEI packet received {"connection_id":56285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":56285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:58:55] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:55] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:58:55] local.INFO: IMEI packet received {"connection_id":56285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":56285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:59:00] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:00] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:00] local.INFO: IMEI packet received {"connection_id":56285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":56285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 05:59:01] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17b77d8012d7bdb8005dd5220000500aa23..."} 
[2026-04-28 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17b77d8012d7bdb8005dd5220000500aa23..."} 
[2026-04-28 05:59:01] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17b77d8012d7bdb8005dd5220000500aa23..."} 
[2026-04-28 05:59:01] local.INFO: Packet analysis {"connection_id":56285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:59:01] local.INFO: Extracted packet for processing {"connection_id":56285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98390560,"longitude_deg":76.309184,"latitude_deg":9.839056,"altitude":5,"angle":170,"satellites":35,"speed":5,"hex_longitude":"2d7bdb80","hex_latitude":"05dd5220","is_valid_coordinates":true} 
[2026-04-28 05:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998020352001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282191342895890432,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924938217985452032,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777336023000,"timestamp_ms":1777336023000,"timestamp_seconds":1777336023,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17b77d8"} 
[2026-04-28 05:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 05:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998020352001,"66":27332,"42":206,"19":45824,"24":5,"16":282191342895890432,"45":8924938217985452032},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998020352001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:59:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282191342895890432,"km_value":282191342895890.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924938217985452032,"description":"Unknown IO ID 45"} 
[2026-04-28 05:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998020352001,"power":27332,"unknown_42":206,"unknown_19":45824,"ignition":5,"odometer":null,"unknown_45":8924938217985452032}} 
[2026-04-28 05:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":56285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:59:01] local.INFO: GPS data processed {"connection_id":56285,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:59:01] local.INFO: Acknowledgment sent {"connection_id":56285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:59:05] local.INFO: TCP Data received {"connection_id":56284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:05] local.INFO: Processing buffer {"connection_id":56284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:05] local.INFO: IMEI packet received {"connection_id":56284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":56284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:59:31] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17bc9e0012d7bdf0005dd3928000700ab27..."} 
[2026-04-28 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17bc9e0012d7bdf0005dd3928000700ab27..."} 
[2026-04-28 05:59:31] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17bc9e0012d7bdf0005dd3928000700ab27..."} 
[2026-04-28 05:59:31] local.INFO: Packet analysis {"connection_id":56285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:59:31] local.INFO: Extracted packet for processing {"connection_id":56285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17b"} 
[2026-04-28 05:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763092736,"raw_latitude":98384168,"longitude_deg":76.3092736,"latitude_deg":9.8384168,"altitude":7,"angle":171,"satellites":39,"speed":12,"hex_longitude":"2d7bdf00","hex_latitude":"05dd3928","is_valid_coordinates":true} 
[2026-04-28 05:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 05:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998021888001,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282191656428503040,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849241108480,"note":"Value kept but may cause issues"} 
[2026-04-28 05:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 05:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777336044000,"timestamp_ms":1777336044000,"timestamp_seconds":1777336044,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17bc9e0"} 
[2026-04-28 05:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 05:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 05:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 05:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 05:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 05:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 05:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 05:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 05:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 05:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 05:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 05:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 05:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998021888001,"66":27332,"42":206,"19":45824,"24":12,"16":282191656428503040,"45":8924867849241108480},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 05:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 05:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 05:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998021888001,"description":"Unknown IO ID 0"} 
[2026-04-28 05:59:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 05:59:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 05:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282191656428503040,"km_value":282191656428503.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 05:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849241108480,"description":"Unknown IO ID 45"} 
[2026-04-28 05:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998021888001,"power":27332,"unknown_42":206,"unknown_19":45824,"ignition":12,"odometer":null,"unknown_45":8924867849241108480}} 
[2026-04-28 05:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":56285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 05:59:31] local.INFO: GPS data processed {"connection_id":56285,"processed":1,"errors":0,"total":1} 
[2026-04-28 05:59:31] local.INFO: Acknowledgment sent {"connection_id":56285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 05:59:35] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:35] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 05:59:35] local.INFO: IMEI packet received {"connection_id":57019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 05:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":57019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 05:59:59] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:59] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 05:59:59] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 05:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:00:02] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:02] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:02] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:00:04] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:04] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:04] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:00:06] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17c1800012d7be28005dd14b8000600b027..."} 
[2026-04-28 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17c1800012d7be28005dd14b8000600b027..."} 
[2026-04-28 06:00:06] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17c1800012d7be28005dd14b8000600b027..."} 
[2026-04-28 06:00:06] local.INFO: Packet analysis {"connection_id":56359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17c"} 
[2026-04-28 06:00:06] local.INFO: Extracted packet for processing {"connection_id":56359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17c"} 
[2026-04-28 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763093632,"raw_latitude":98374840,"longitude_deg":76.3093632,"latitude_deg":9.837484,"altitude":6,"angle":176,"satellites":39,"speed":25,"hex_longitude":"2d7be280","hex_latitude":"05dd14b8","is_valid_coordinates":true} 
[2026-04-28 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998027264001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282192111695036416,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925853011657959424,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777336064000,"timestamp_ms":1777336064000,"timestamp_seconds":1777336064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17c1800"} 
[2026-04-28 06:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 06:00:06] 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-04-28 06:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998027264001,"66":27484,"42":206,"19":45824,"24":25,"16":282192111695036416,"45":8925853011657959424},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998027264001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:00:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 06:00:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282192111695036416,"km_value":282192111695036.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925853011657959424,"description":"Unknown IO ID 45"} 
[2026-04-28 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998027264001,"power":27484,"unknown_42":206,"unknown_19":45824,"ignition":25,"odometer":null,"unknown_45":8925853011657959424}} 
[2026-04-28 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":56359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:00:06] local.INFO: GPS data processed {"connection_id":56359,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:00:06] local.INFO: Acknowledgment sent {"connection_id":56359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:00:10] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17c4ac8012d7be4c005dcef10000900b126..."} 
[2026-04-28 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17c4ac8012d7be4c005dcef10000900b126..."} 
[2026-04-28 06:00:10] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17c4ac8012d7be4c005dcef10000900b126..."} 
[2026-04-28 06:00:10] local.INFO: Packet analysis {"connection_id":56359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17c"} 
[2026-04-28 06:00:10] local.INFO: Extracted packet for processing {"connection_id":56359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17c"} 
[2026-04-28 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":98365200,"longitude_deg":76.3094208,"latitude_deg":9.83652,"altitude":9,"angle":177,"satellites":38,"speed":31,"hex_longitude":"2d7be4c0","hex_latitude":"05dcef10","is_valid_coordinates":true} 
[2026-04-28 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998032384001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282192579846471680,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174074058752,"note":"Value kept but may cause issues"} 
[2026-04-28 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777336077000,"timestamp_ms":1777336077000,"timestamp_seconds":1777336077,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17c4ac8"} 
[2026-04-28 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998032384001,"66":27376,"42":206,"19":45824,"24":31,"16":282192579846471680,"45":8926838174074058752},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,19,24,16,45]} 
[2026-04-28 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998032384001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:00:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 06:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282192579846471680,"km_value":282192579846471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174074058752,"description":"Unknown IO ID 45"} 
[2026-04-28 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998032384001,"power":27376,"unknown_42":206,"unknown_19":45824,"ignition":31,"odometer":null,"unknown_45":8926838174074058752}} 
[2026-04-28 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":56359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:00:10] local.INFO: GPS data processed {"connection_id":56359,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:00:10] local.INFO: Acknowledgment sent {"connection_id":56359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:00:54] local.INFO: TCP Data received {"connection_id":56132,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:54] local.INFO: Processing buffer {"connection_id":56132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:54] local.INFO: IMEI packet received {"connection_id":56132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":56132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:00:56] local.INFO: TCP Data received {"connection_id":56132,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:56] local.INFO: Processing buffer {"connection_id":56132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:00:56] local.INFO: IMEI packet received {"connection_id":56132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":56132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:01:00] local.INFO: TCP Data received {"connection_id":56132,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:01:00] local.INFO: Processing buffer {"connection_id":56132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:01:00] local.INFO: IMEI packet received {"connection_id":56132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":56132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:01:01] local.INFO: TCP Data received {"connection_id":56132,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17ddd20012d7c158005db41b8000000a522..."} 
[2026-04-28 06:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17ddd20012d7c158005db41b8000000a522..."} 
[2026-04-28 06:01:01] local.INFO: Processing buffer {"connection_id":56132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17ddd20012d7c158005db41b8000000a522..."} 
[2026-04-28 06:01:01] local.INFO: Packet analysis {"connection_id":56132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17d"} 
[2026-04-28 06:01:01] local.INFO: Extracted packet for processing {"connection_id":56132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17d"} 
[2026-04-28 06:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763106688,"raw_latitude":98255288,"longitude_deg":76.3106688,"latitude_deg":9.8255288,"altitude":0,"angle":165,"satellites":34,"speed":46,"hex_longitude":"2d7c1580","hex_latitude":"05db41b8","is_valid_coordinates":true} 
[2026-04-28 06:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998060032001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282197965735460864,"note":"Value kept but may cause issues"} 
[2026-04-28 06:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938871229300131840,"note":"Value kept but may cause issues"} 
[2026-04-28 06:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777336180000,"timestamp_ms":1777336180000,"timestamp_seconds":1777336180,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17ddd20"} 
[2026-04-28 06:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 06:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998060032001,"66":27397,"50":206,"19":45824,"24":46,"16":282197965735460864,"45":8938871229300131840},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 06:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998060032001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:01:01] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 06:01:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282197965735460864,"km_value":282197965735460.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938871229300131840,"description":"Unknown IO ID 45"} 
[2026-04-28 06:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998060032001,"power":27397,"unknown_50":206,"unknown_19":45824,"ignition":46,"odometer":null,"unknown_45":8938871229300131840}} 
[2026-04-28 06:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":56132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:01:01] local.INFO: GPS data processed {"connection_id":56132,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:01:01] local.INFO: Acknowledgment sent {"connection_id":56132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:02:29] local.INFO: TCP Data received {"connection_id":56132,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd17dfc60012d7c1f0005db1da8000000a91b..."} 
[2026-04-28 06:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd17dfc60012d7c1f0005db1da8000000a91b..."} 
[2026-04-28 06:02:29] local.INFO: Processing buffer {"connection_id":56132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd17dfc60012d7c1f0005db1da8000000a91b..."} 
[2026-04-28 06:02:29] local.INFO: Packet analysis {"connection_id":56132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd17d"} 
[2026-04-28 06:02:29] local.INFO: Extracted packet for processing {"connection_id":56132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd17d"} 
[2026-04-28 06:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":98246056,"longitude_deg":76.310912,"latitude_deg":9.8246056,"altitude":0,"angle":169,"satellites":27,"speed":48,"hex_longitude":"2d7c1f00","hex_latitude":"05db1da8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998062080001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282198429591928832,"note":"Value kept but may cause issues"} 
[2026-04-28 06:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941193397855696896,"note":"Value kept but may cause issues"} 
[2026-04-28 06:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777336188000,"timestamp_ms":1777336188000,"timestamp_seconds":1777336188,"priority":1,"record_length":96,"hex_timestamp":"0000019dd17dfc60"} 
[2026-04-28 06:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:02: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-04-28 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 06:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998062080001,"66":27376,"50":206,"19":45824,"24":48,"16":282198429591928832,"45":8941193397855696896},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 06:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998062080001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:02:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 06:02:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282198429591928832,"km_value":282198429591928.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941193397855696896,"description":"Unknown IO ID 45"} 
[2026-04-28 06:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998062080001,"power":27376,"unknown_50":206,"unknown_19":45824,"ignition":48,"odometer":null,"unknown_45":8941193397855696896}} 
[2026-04-28 06:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":56132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:02:30] local.INFO: GPS data processed {"connection_id":56132,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:02:30] local.INFO: Acknowledgment sent {"connection_id":56132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:02:34] local.INFO: TCP Data received {"connection_id":57021,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:34] local.INFO: Processing buffer {"connection_id":57021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:34] local.INFO: IMEI packet received {"connection_id":57021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":57021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:02:37] local.INFO: TCP Data received {"connection_id":57021,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:37] local.INFO: Processing buffer {"connection_id":57021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:02:37] local.INFO: IMEI packet received {"connection_id":57021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":57021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:03:02] local.INFO: TCP Data received {"connection_id":57022,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:02] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:02] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:03:04] local.INFO: TCP Data received {"connection_id":57022,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:04] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:03:04] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:05:00] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:00] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:00] local.INFO: IMEI packet received {"connection_id":57023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":57023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:05:34] local.INFO: TCP Data received {"connection_id":56134,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:34] local.INFO: Processing buffer {"connection_id":56134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:05:34] local.INFO: IMEI packet received {"connection_id":56134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":56134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:08:09] local.INFO: TCP Data received {"connection_id":57025,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:09] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:09] local.INFO: IMEI packet received {"connection_id":57025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":57025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:08:10] local.INFO: TCP Data received {"connection_id":57025,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1841ac8012d7d280005d577d8000900aa28..."} 
[2026-04-28 06:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1841ac8012d7d280005d577d8000900aa28..."} 
[2026-04-28 06:08:10] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1841ac8012d7d280005d577d8000900aa28..."} 
[2026-04-28 06:08:10] local.INFO: Packet analysis {"connection_id":57025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd184"} 
[2026-04-28 06:08:10] local.INFO: Extracted packet for processing {"connection_id":57025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd184"} 
[2026-04-28 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97875928,"longitude_deg":76.317696,"latitude_deg":9.7875928,"altitude":9,"angle":170,"satellites":40,"speed":26,"hex_longitude":"2d7d2800","hex_latitude":"05d577d8","is_valid_coordinates":true} 
[2026-04-28 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998162944001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282216786282151936,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276847798370304,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777336589000,"timestamp_ms":1777336589000,"timestamp_seconds":1777336589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1841ac8"} 
[2026-04-28 06:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 06:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998162944001,"66":27300,"112":206,"19":45824,"24":26,"16":282216786282151936,"45":9016276847798370304},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-04-28 06:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998162944001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:08:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-28 06:08:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282216786282151936,"km_value":282216786282151.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276847798370304,"description":"Unknown IO ID 45"} 
[2026-04-28 06:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998162944001,"power":27300,"unknown_112":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":9016276847798370304}} 
[2026-04-28 06:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":57025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:08:10] local.INFO: GPS data processed {"connection_id":57025,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:08:10] local.INFO: Acknowledgment sent {"connection_id":57025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:08:55] local.INFO: TCP Data received {"connection_id":56136,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:55] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:55] local.INFO: IMEI packet received {"connection_id":56136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":56136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:08:56] local.INFO: TCP Data received {"connection_id":56136,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:56] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:08:56] local.INFO: IMEI packet received {"connection_id":56136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":56136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:08:57] local.INFO: TCP Data received {"connection_id":56136,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1857e40012d7d3f0005d3e8d8000000b923..."} 
[2026-04-28 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1857e40012d7d3f0005d3e8d8000000b923..."} 
[2026-04-28 06:08:57] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1857e40012d7d3f0005d3e8d8000000b923..."} 
[2026-04-28 06:08:57] local.INFO: Packet analysis {"connection_id":56136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:08:57] local.INFO: Extracted packet for processing {"connection_id":56136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97773784,"longitude_deg":76.3182848,"latitude_deg":9.7773784,"altitude":0,"angle":185,"satellites":35,"speed":42,"hex_longitude":"2d7d3f00","hex_latitude":"05d3e8d8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998187776001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282221764149248000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628236433408,"note":"Value kept but may cause issues"} 
[2026-04-28 06:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777336680000,"timestamp_ms":1777336680000,"timestamp_seconds":1777336680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1857e40"} 
[2026-04-28 06:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 06:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998187776001,"66":27463,"163":206,"19":45824,"24":42,"16":282221764149248000,"45":9025776628236433408},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998187776001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:08:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:08:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282221764149248000,"km_value":282221764149248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628236433408,"description":"Unknown IO ID 45"} 
[2026-04-28 06:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998187776001,"power":27463,"unknown_163":206,"unknown_19":45824,"ignition":42,"odometer":null,"unknown_45":9025776628236433408}} 
[2026-04-28 06:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":56136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:08:57] local.INFO: GPS data processed {"connection_id":56136,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:08:57] local.INFO: Acknowledgment sent {"connection_id":56136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:09:29] local.INFO: TCP Data received {"connection_id":56136,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd185a168012d7d3b4005d3c328000000b921..."} 
[2026-04-28 06:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd185a168012d7d3b4005d3c328000000b921..."} 
[2026-04-28 06:09:29] local.INFO: Processing buffer {"connection_id":56136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd185a168012d7d3b4005d3c328000000b921..."} 
[2026-04-28 06:09:29] local.INFO: Packet analysis {"connection_id":56136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:09:29] local.INFO: Extracted packet for processing {"connection_id":56136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97764136,"longitude_deg":76.3181888,"latitude_deg":9.7764136,"altitude":0,"angle":185,"satellites":33,"speed":43,"hex_longitude":"2d7d3b40","hex_latitude":"05d3c328","is_valid_coordinates":true} 
[2026-04-28 06:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998190080001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282222232300683264,"note":"Value kept but may cause issues"} 
[2026-04-28 06:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203303852032,"note":"Value kept but may cause issues"} 
[2026-04-28 06:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777336689000,"timestamp_ms":1777336689000,"timestamp_seconds":1777336689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd185a168"} 
[2026-04-28 06:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 06:09:29] 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-04-28 06: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-04-28 06:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998190080001,"66":27484,"163":206,"19":45824,"24":43,"16":282222232300683264,"45":9024932203303852032},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998190080001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:09:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:09:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282222232300683264,"km_value":282222232300683.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203303852032,"description":"Unknown IO ID 45"} 
[2026-04-28 06:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998190080001,"power":27484,"unknown_163":206,"unknown_19":45824,"ignition":43,"odometer":null,"unknown_45":9024932203303852032}} 
[2026-04-28 06:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":56136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:09:29] local.INFO: GPS data processed {"connection_id":56136,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:09:29] local.INFO: Acknowledgment sent {"connection_id":56136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:09:54] local.INFO: TCP Data received {"connection_id":56137,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:54] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:54] local.INFO: IMEI packet received {"connection_id":56137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":56137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:09:55] local.INFO: TCP Data received {"connection_id":56137,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:55] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:09:55] local.INFO: IMEI packet received {"connection_id":56137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":56137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:10:00] local.INFO: TCP Data received {"connection_id":56137,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:00] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:00] local.INFO: IMEI packet received {"connection_id":56137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:10:01] local.INFO: TCP Data received {"connection_id":56137,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd185c490012d7d390005d39c78000000b727..."} 
[2026-04-28 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd185c490012d7d390005d39c78000000b727..."} 
[2026-04-28 06:10:01] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd185c490012d7d390005d39c78000000b727..."} 
[2026-04-28 06:10:01] local.INFO: Packet analysis {"connection_id":56137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:10:01] local.INFO: Extracted packet for processing {"connection_id":56137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97754232,"longitude_deg":76.3181312,"latitude_deg":9.7754232,"altitude":0,"angle":183,"satellites":39,"speed":44,"hex_longitude":"2d7d3900","hex_latitude":"05d39c78","is_valid_coordinates":true} 
[2026-04-28 06:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998192384001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282222713337020416,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672138717184,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777336698000,"timestamp_ms":1777336698000,"timestamp_seconds":1777336698,"priority":1,"record_length":96,"hex_timestamp":"0000019dd185c490"} 
[2026-04-28 06:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:10: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-04-28 06:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 06:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998192384001,"66":27463,"163":206,"19":45824,"24":44,"16":282222713337020416,"45":9023876672138717184},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998192384001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:10:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282222713337020416,"km_value":282222713337020.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672138717184,"description":"Unknown IO ID 45"} 
[2026-04-28 06:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998192384001,"power":27463,"unknown_163":206,"unknown_19":45824,"ignition":44,"odometer":null,"unknown_45":9023876672138717184}} 
[2026-04-28 06:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:10:01] local.INFO: GPS data processed {"connection_id":56137,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:10:01] local.INFO: Acknowledgment sent {"connection_id":56137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:10:33] local.INFO: TCP Data received {"connection_id":56137,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd185e3d0012d7d394005d37780000000b224..."} 
[2026-04-28 06:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd185e3d0012d7d394005d37780000000b224..."} 
[2026-04-28 06:10:33] local.INFO: Processing buffer {"connection_id":56137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd185e3d0012d7d394005d37780000000b224..."} 
[2026-04-28 06:10:33] local.INFO: Packet analysis {"connection_id":56137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:10:33] local.INFO: Extracted packet for processing {"connection_id":56137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd185"} 
[2026-04-28 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97744768,"longitude_deg":76.3181376,"latitude_deg":9.7744768,"altitude":0,"angle":178,"satellites":36,"speed":49,"hex_longitude":"2d7d3940","hex_latitude":"05d37780","is_valid_coordinates":true} 
[2026-04-28 06:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998194688001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282223172898521088,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353438582784,"note":"Value kept but may cause issues"} 
[2026-04-28 06:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777336706000,"timestamp_ms":1777336706000,"timestamp_seconds":1777336706,"priority":1,"record_length":96,"hex_timestamp":"0000019dd185e3d0"} 
[2026-04-28 06:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 06:10:33] 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-04-28 06:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998194688001,"66":27463,"163":206,"19":45824,"24":49,"16":282223172898521088,"45":9023243353438582784},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998194688001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:10:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282223172898521088,"km_value":282223172898521.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353438582784,"description":"Unknown IO ID 45"} 
[2026-04-28 06:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998194688001,"power":27463,"unknown_163":206,"unknown_19":45824,"ignition":49,"odometer":null,"unknown_45":9023243353438582784}} 
[2026-04-28 06:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":56137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:10:33] local.INFO: GPS data processed {"connection_id":56137,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:10:33] local.INFO: Acknowledgment sent {"connection_id":56137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:10:54] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:54] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:54] local.INFO: IMEI packet received {"connection_id":56292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":56292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:10:55] local.INFO: TCP Data received {"connection_id":56138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:10:55] local.INFO: Processing buffer {"connection_id":56138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:10:55] local.INFO: IMEI packet received {"connection_id":56138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:10:55] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:55] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:55] local.INFO: IMEI packet received {"connection_id":56292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":56292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:10:57] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:57] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:57] local.INFO: IMEI packet received {"connection_id":56292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":56292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:10:59] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:59] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:10:59] local.INFO: IMEI packet received {"connection_id":56292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:11:00] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18762a0012d7d2b4005d20b38000000ba26..."} 
[2026-04-28 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18762a0012d7d2b4005d20b38000000ba26..."} 
[2026-04-28 06:11:00] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18762a0012d7d2b4005d20b38000000ba26..."} 
[2026-04-28 06:11:00] local.INFO: Packet analysis {"connection_id":56292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:00] local.INFO: Extracted packet for processing {"connection_id":56292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97651512,"longitude_deg":76.3177792,"latitude_deg":9.7651512,"altitude":0,"angle":186,"satellites":38,"speed":46,"hex_longitude":"2d7d2b40","hex_latitude":"05d20b38","is_valid_coordinates":true} 
[2026-04-28 06:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998219776001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282227725563854848,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922345068544,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777336804000,"timestamp_ms":1777336804000,"timestamp_seconds":1777336804,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18762a0"} 
[2026-04-28 06:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 06:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998219776001,"66":27745,"163":206,"19":45824,"24":46,"16":282227725563854848,"45":9021061922345068544},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998219776001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:11:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282227725563854848,"km_value":282227725563854.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922345068544,"description":"Unknown IO ID 45"} 
[2026-04-28 06:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998219776001,"power":27745,"unknown_163":206,"unknown_19":45824,"ignition":46,"odometer":null,"unknown_45":9021061922345068544}} 
[2026-04-28 06:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:11:00] local.INFO: GPS data processed {"connection_id":56292,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:11:00] local.INFO: Acknowledgment sent {"connection_id":56292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:11:01] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18781e0012d7d2a4005d1e7b8000000b128..."} 
[2026-04-28 06:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18781e0012d7d2a4005d1e7b8000000b128..."} 
[2026-04-28 06:11:01] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18781e0012d7d2a4005d1e7b8000000b128..."} 
[2026-04-28 06:11:01] local.INFO: Packet analysis {"connection_id":56292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:01] local.INFO: Extracted packet for processing {"connection_id":56292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":97642424,"longitude_deg":76.3177536,"latitude_deg":9.7642424,"altitude":0,"angle":177,"satellites":40,"speed":41,"hex_longitude":"2d7d2a40","hex_latitude":"05d1e7b8","is_valid_coordinates":true} 
[2026-04-28 06:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998221824001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282228167945486336,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072482514944,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777336812000,"timestamp_ms":1777336812000,"timestamp_seconds":1777336812,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18781e0"} 
[2026-04-28 06:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998221824001,"66":27800,"163":206,"19":45824,"24":41,"16":282228167945486336,"45":9019373072482514944},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998221824001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:11:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:11:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282228167945486336,"km_value":282228167945486.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072482514944,"description":"Unknown IO ID 45"} 
[2026-04-28 06:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998221824001,"power":27800,"unknown_163":206,"unknown_19":45824,"ignition":41,"odometer":null,"unknown_45":9019373072482514944}} 
[2026-04-28 06:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":56292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:11:01] local.INFO: GPS data processed {"connection_id":56292,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:11:01] local.INFO: Acknowledgment sent {"connection_id":56292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:11:35] local.INFO: TCP Data received {"connection_id":56362,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:11:35] local.INFO: Processing buffer {"connection_id":56362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:11:35] local.INFO: IMEI packet received {"connection_id":56362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:11:58] local.INFO: TCP Data received {"connection_id":56292,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1879568012d7d2b8005d1d848000100a129..."} 
[2026-04-28 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1879568012d7d2b8005d1d848000100a129..."} 
[2026-04-28 06:11:58] local.INFO: Processing buffer {"connection_id":56292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1879568012d7d2b8005d1d848000100a129..."} 
[2026-04-28 06:11:58] local.INFO: Packet analysis {"connection_id":56292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:58] local.INFO: Extracted packet for processing {"connection_id":56292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":97638472,"longitude_deg":76.3177856,"latitude_deg":9.7638472,"altitude":1,"angle":161,"satellites":41,"speed":22,"hex_longitude":"2d7d2b80","hex_latitude":"05d1d848","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998223872001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282228361219014656,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597503477760,"note":"Value kept but may cause issues"} 
[2026-04-28 06:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777336817000,"timestamp_ms":1777336817000,"timestamp_seconds":1777336817,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1879568"} 
[2026-04-28 06:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:11: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-04-28 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998223872001,"66":27713,"163":206,"19":45824,"24":22,"16":282228361219014656,"45":9019091597503477760},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998223872001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:11:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:11:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282228361219014656,"km_value":282228361219014.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597503477760,"description":"Unknown IO ID 45"} 
[2026-04-28 06:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998223872001,"power":27713,"unknown_163":206,"unknown_19":45824,"ignition":22,"odometer":null,"unknown_45":9019091597503477760}} 
[2026-04-28 06:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":56292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:11:58] local.INFO: GPS data processed {"connection_id":56292,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:11:58] local.INFO: Acknowledgment sent {"connection_id":56292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:12:08] local.INFO: TCP Data received {"connection_id":56293,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:08] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:08] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:12:10] local.INFO: TCP Data received {"connection_id":56293,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:10] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:10] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:12:11] local.INFO: TCP Data received {"connection_id":56293,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:11] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:11] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:12:14] local.INFO: TCP Data received {"connection_id":56293,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1879d38012d7d2d4005d1d4680002009128..."} 
[2026-04-28 06:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1879d38012d7d2d4005d1d4680002009128..."} 
[2026-04-28 06:12:14] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1879d38012d7d2d4005d1d4680002009128..."} 
[2026-04-28 06:12:14] local.INFO: Packet analysis {"connection_id":56293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:12:14] local.INFO: Extracted packet for processing {"connection_id":56293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":97637480,"longitude_deg":76.3178304,"latitude_deg":9.763748,"altitude":2,"angle":145,"satellites":40,"speed":21,"hex_longitude":"2d7d2d40","hex_latitude":"05d1d468","is_valid_coordinates":true} 
[2026-04-28 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998225152001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282228412758622208,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441223354368,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777336819000,"timestamp_ms":1777336819000,"timestamp_seconds":1777336819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1879d38"} 
[2026-04-28 06:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 06:12:14] 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-04-28 06:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998225152001,"66":27767,"163":206,"19":45824,"24":21,"16":282228412758622208,"45":9019443441223354368},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998225152001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:12:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:12:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282228412758622208,"km_value":282228412758622.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441223354368,"description":"Unknown IO ID 45"} 
[2026-04-28 06:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998225152001,"power":27767,"unknown_163":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":9019443441223354368}} 
[2026-04-28 06:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":56293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:12:14] local.INFO: GPS data processed {"connection_id":56293,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:12:14] local.INFO: Acknowledgment sent {"connection_id":56293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:12:15] local.INFO: TCP Data received {"connection_id":56293,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd187a8f0012d7d30c005d1cef8000200a028..."} 
[2026-04-28 06:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd187a8f0012d7d30c005d1cef8000200a028..."} 
[2026-04-28 06:12:15] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd187a8f0012d7d30c005d1cef8000200a028..."} 
[2026-04-28 06:12:15] local.INFO: Packet analysis {"connection_id":56293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:12:15] local.INFO: Extracted packet for processing {"connection_id":56293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd187"} 
[2026-04-28 06:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97636088,"longitude_deg":76.31792,"latitude_deg":9.7636088,"altitude":2,"angle":160,"satellites":40,"speed":21,"hex_longitude":"2d7d30c0","hex_latitude":"05d1cef8","is_valid_coordinates":true} 
[2026-04-28 06:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998225664001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282228490068033536,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022432344064,"note":"Value kept but may cause issues"} 
[2026-04-28 06:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777336822000,"timestamp_ms":1777336822000,"timestamp_seconds":1777336822,"priority":1,"record_length":96,"hex_timestamp":"0000019dd187a8f0"} 
[2026-04-28 06:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998225664001,"66":27691,"163":206,"19":45824,"24":21,"16":282228490068033536,"45":9019936022432344064},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-04-28 06:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998225664001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:12:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-28 06:12:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282228490068033536,"km_value":282228490068033.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022432344064,"description":"Unknown IO ID 45"} 
[2026-04-28 06:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998225664001,"power":27691,"unknown_163":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":9019936022432344064}} 
[2026-04-28 06:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":56293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:12:15] local.INFO: GPS data processed {"connection_id":56293,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:12:15] local.INFO: Acknowledgment sent {"connection_id":56293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:12:59] local.INFO: TCP Data received {"connection_id":57028,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:59] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:12:59] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:13:01] local.INFO: TCP Data received {"connection_id":57028,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:13:01] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:13:01] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:13:03] local.INFO: TCP Data received {"connection_id":57028,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd188e940012d7d444005d083c8000600af2a..."} 
[2026-04-28 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd188e940012d7d444005d083c8000600af2a..."} 
[2026-04-28 06:13:03] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd188e940012d7d444005d083c8000600af2a..."} 
[2026-04-28 06:13:03] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd188"} 
[2026-04-28 06:13:03] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd188"} 
[2026-04-28 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97551304,"longitude_deg":76.3184192,"latitude_deg":9.7551304,"altitude":6,"angle":175,"satellites":42,"speed":49,"hex_longitude":"2d7d4440","hex_latitude":"05d083c8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998245632001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282232613236637696,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521946761216,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777336904000,"timestamp_ms":1777336904000,"timestamp_seconds":1777336904,"priority":1,"record_length":96,"hex_timestamp":"0000019dd188e940"} 
[2026-04-28 06:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 06:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998245632001,"66":27234,"173":206,"19":45824,"24":49,"16":282232613236637696,"45":9025565521946761216},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-04-28 06:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998245632001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:13:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-28 06:13:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282232613236637696,"km_value":282232613236637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521946761216,"description":"Unknown IO ID 45"} 
[2026-04-28 06:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998245632001,"power":27234,"unknown_173":206,"unknown_19":45824,"ignition":49,"odometer":null,"unknown_45":9025565521946761216}} 
[2026-04-28 06:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:13:03] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:13:03] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:13:05] local.INFO: TCP Data received {"connection_id":57028,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1890880012d7d478005d05d60000500ae2b..."} 
[2026-04-28 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1890880012d7d478005d05d60000500ae2b..."} 
[2026-04-28 06:13:05] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1890880012d7d478005d05d60000500ae2b..."} 
[2026-04-28 06:13:05] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd189"} 
[2026-04-28 06:13:05] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd189"} 
[2026-04-28 06:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97541472,"longitude_deg":76.3185024,"latitude_deg":9.7541472,"altitude":5,"angle":174,"satellites":43,"speed":43,"hex_longitude":"2d7d4780","hex_latitude":"05d05d60","is_valid_coordinates":true} 
[2026-04-28 06:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998247424001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282233089978007552,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946874628096,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777336912000,"timestamp_ms":1777336912000,"timestamp_seconds":1777336912,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1890880"} 
[2026-04-28 06:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 06:13:05] 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-04-28 06:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998247424001,"66":27745,"173":206,"19":45824,"24":43,"16":282233089978007552,"45":9026409946874628096},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-04-28 06:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998247424001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:13:05] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-28 06:13:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-04-28 06:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282233089978007552,"km_value":282233089978007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946874628096,"description":"Unknown IO ID 45"} 
[2026-04-28 06:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998247424001,"power":27745,"unknown_173":206,"unknown_19":45824,"ignition":43,"odometer":null,"unknown_45":9026409946874628096}} 
[2026-04-28 06:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:13:05] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:13:05] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:13:36] local.INFO: TCP Data received {"connection_id":57028,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1893378012d7d4ac005d03af8000400ae2b..."} 
[2026-04-28 06:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1893378012d7d4ac005d03af8000400ae2b..."} 
[2026-04-28 06:13:36] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1893378012d7d4ac005d03af8000400ae2b..."} 
[2026-04-28 06:13:36] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd189"} 
[2026-04-28 06:13:36] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd189"} 
[2026-04-28 06:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97532664,"longitude_deg":76.3185856,"latitude_deg":9.7532664,"altitude":4,"angle":174,"satellites":43,"speed":28,"hex_longitude":"2d7d4ac0","hex_latitude":"05d03af8","is_valid_coordinates":true} 
[2026-04-28 06:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998249472001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282233519474737152,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740546420736,"note":"Value kept but may cause issues"} 
[2026-04-28 06:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777336923000,"timestamp_ms":1777336923000,"timestamp_seconds":1777336923,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1893378"} 
[2026-04-28 06:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998249472001,"66":27745,"251":206,"19":45568,"24":28,"16":282233519474737152,"45":9027324740546420736},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-04-28 06:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998249472001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:13:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 06:13:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282233519474737152,"km_value":282233519474737.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740546420736,"description":"Unknown IO ID 45"} 
[2026-04-28 06:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998249472001,"power":27745,"unknown_251":206,"unknown_19":45568,"ignition":28,"odometer":null,"unknown_45":9027324740546420736}} 
[2026-04-28 06:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:13:36] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:13:36] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:17:00] local.INFO: TCP Data received {"connection_id":56140,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:00] local.INFO: Processing buffer {"connection_id":56140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:00] local.INFO: IMEI packet received {"connection_id":56140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:17:35] local.INFO: TCP Data received {"connection_id":56141,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:35] local.INFO: Processing buffer {"connection_id":56141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:17:35] local.INFO: IMEI packet received {"connection_id":56141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:20:00] local.INFO: TCP Data received {"connection_id":56145,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:00] local.INFO: Processing buffer {"connection_id":56145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:00] local.INFO: IMEI packet received {"connection_id":56145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:20:02] local.INFO: TCP Data received {"connection_id":56145,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18a8750012d7d534005cec930000300b329..."} 
[2026-04-28 06:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18a8750012d7d534005cec930000300b329..."} 
[2026-04-28 06:20:02] local.INFO: Processing buffer {"connection_id":56145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18a8750012d7d534005cec930000300b329..."} 
[2026-04-28 06:20:02] local.INFO: Packet analysis {"connection_id":56145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:20:02] local.INFO: Extracted packet for processing {"connection_id":56145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97438000,"longitude_deg":76.3188032,"latitude_deg":9.7438,"altitude":3,"angle":179,"satellites":41,"speed":45,"hex_longitude":"2d7d5340","hex_latitude":"05cec930","is_valid_coordinates":true} 
[2026-04-28 06:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998272512001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282238115089743872,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965266120704,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777337010000,"timestamp_ms":1777337010000,"timestamp_seconds":1777337010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18a8750"} 
[2026-04-28 06:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998272512001,"66":27767,"251":206,"19":45568,"24":45,"16":282238115089743872,"45":9030420965266120704},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-04-28 06:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998272512001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:20:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 06:20:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282238115089743872,"km_value":282238115089743.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965266120704,"description":"Unknown IO ID 45"} 
[2026-04-28 06:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998272512001,"power":27767,"unknown_251":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9030420965266120704}} 
[2026-04-28 06:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":56145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:20:02] local.INFO: GPS data processed {"connection_id":56145,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:20:02] local.INFO: Acknowledgment sent {"connection_id":56145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:20:34] local.INFO: TCP Data received {"connection_id":56145,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18aaa78012d7d538005cea4d0000400b329..."} 
[2026-04-28 06:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18aaa78012d7d538005cea4d0000400b329..."} 
[2026-04-28 06:20:34] local.INFO: Processing buffer {"connection_id":56145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18aaa78012d7d538005cea4d0000400b329..."} 
[2026-04-28 06:20:34] local.INFO: Packet analysis {"connection_id":56145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:20:34] local.INFO: Extracted packet for processing {"connection_id":56145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97428688,"longitude_deg":76.3188096,"latitude_deg":9.7428688,"altitude":4,"angle":179,"satellites":41,"speed":41,"hex_longitude":"2d7d5380","hex_latitude":"05cea4d0","is_valid_coordinates":true} 
[2026-04-28 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998274560001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282238566061309952,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071496282112,"note":"Value kept but may cause issues"} 
[2026-04-28 06:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777337019000,"timestamp_ms":1777337019000,"timestamp_seconds":1777337019,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18aaa78"} 
[2026-04-28 06:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998274560001,"66":27767,"251":206,"19":45568,"24":41,"16":282238566061309952,"45":9030632071496282112},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-04-28 06:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998274560001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:20:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 06:20:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282238566061309952,"km_value":282238566061309.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071496282112,"description":"Unknown IO ID 45"} 
[2026-04-28 06:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998274560001,"power":27767,"unknown_251":206,"unknown_19":45568,"ignition":41,"odometer":null,"unknown_45":9030632071496282112}} 
[2026-04-28 06:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":56145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:20:34] local.INFO: GPS data processed {"connection_id":56145,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:20:34] local.INFO: Acknowledgment sent {"connection_id":56145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:20:59] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:59] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:20:59] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:21:05] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:05] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:05] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:21:07] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18acda0012d7d51c005ce7fb8000500b627..."} 
[2026-04-28 06:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18acda0012d7d51c005ce7fb8000500b627..."} 
[2026-04-28 06:21:07] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18acda0012d7d51c005ce7fb8000500b627..."} 
[2026-04-28 06:21:07] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:21:07] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763187648,"raw_latitude":97419192,"longitude_deg":76.3187648,"latitude_deg":9.7419192,"altitude":5,"angle":182,"satellites":39,"speed":42,"hex_longitude":"2d7d51c0","hex_latitude":"05ce7fb8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998276864001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282239025622810624,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440238075904,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777337028000,"timestamp_ms":1777337028000,"timestamp_seconds":1777337028,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18acda0"} 
[2026-04-28 06:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998276864001,"66":27745,"251":206,"19":45568,"24":42,"16":282239025622810624,"45":9030702440238075904},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-04-28 06:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998276864001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:21:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 06:21:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282239025622810624,"km_value":282239025622810.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440238075904,"description":"Unknown IO ID 45"} 
[2026-04-28 06:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998276864001,"power":27745,"unknown_251":206,"unknown_19":45568,"ignition":42,"odometer":null,"unknown_45":9030702440238075904}} 
[2026-04-28 06:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:21:07] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:21:07] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:21:39] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18af0c8012d7d4ec005ce5918000300b829..."} 
[2026-04-28 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18af0c8012d7d4ec005ce5918000300b829..."} 
[2026-04-28 06:21:39] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18af0c8012d7d4ec005ce5918000300b829..."} 
[2026-04-28 06:21:39] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:21:39] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18a"} 
[2026-04-28 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":97409304,"longitude_deg":76.318688,"latitude_deg":9.7409304,"altitude":3,"angle":184,"satellites":41,"speed":45,"hex_longitude":"2d7d4ec0","hex_latitude":"05ce5918","is_valid_coordinates":true} 
[2026-04-28 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998279168001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282239506659147776,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030209859026401280,"note":"Value kept but may cause issues"} 
[2026-04-28 06:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777337037000,"timestamp_ms":1777337037000,"timestamp_seconds":1777337037,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18af0c8"} 
[2026-04-28 06:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998279168001,"66":27767,"251":206,"19":45568,"24":45,"16":282239506659147776,"45":9030209859026401280},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-04-28 06:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998279168001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:21:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 06:21:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282239506659147776,"km_value":282239506659147.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030209859026401280,"description":"Unknown IO ID 45"} 
[2026-04-28 06:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998279168001,"power":27767,"unknown_251":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9030209859026401280}} 
[2026-04-28 06:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:21:39] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:21:39] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:21:54] local.INFO: TCP Data received {"connection_id":56367,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:54] local.INFO: Processing buffer {"connection_id":56367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:54] local.INFO: IMEI packet received {"connection_id":56367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":56367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:21:59] local.INFO: TCP Data received {"connection_id":56367,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:59] local.INFO: Processing buffer {"connection_id":56367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:21:59] local.INFO: IMEI packet received {"connection_id":56367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:22:00] local.INFO: TCP Data received {"connection_id":56367,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18b1008012d7d4bc005ce3618000300b729..."} 
[2026-04-28 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18b1008012d7d4bc005ce3618000300b729..."} 
[2026-04-28 06:22:00] local.INFO: Processing buffer {"connection_id":56367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18b1008012d7d4bc005ce3618000300b729..."} 
[2026-04-28 06:22:00] local.INFO: Packet analysis {"connection_id":56367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:22:00] local.INFO: Extracted packet for processing {"connection_id":56367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97400344,"longitude_deg":76.3186112,"latitude_deg":9.7400344,"altitude":3,"angle":183,"satellites":41,"speed":44,"hex_longitude":"2d7d4bc0","hex_latitude":"05ce3618","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998281472001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282239944745811968,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029365434093737984,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777337045000,"timestamp_ms":1777337045000,"timestamp_seconds":1777337045,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18b1008"} 
[2026-04-28 06:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998281472001,"66":27626,"246":206,"19":45568,"24":44,"16":282239944745811968,"45":9029365434093737984},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998281472001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:22:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282239944745811968,"km_value":282239944745811.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029365434093737984,"description":"Unknown IO ID 45"} 
[2026-04-28 06:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998281472001,"power":27626,"main_input_voltage":206,"unknown_19":45568,"ignition":44,"odometer":null,"unknown_45":9029365434093737984}} 
[2026-04-28 06:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":56367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:22:00] local.INFO: GPS data processed {"connection_id":56367,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:22:00] local.INFO: Acknowledgment sent {"connection_id":56367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:22:32] local.INFO: TCP Data received {"connection_id":56367,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18b3718012d7d494005ce11f8000400b82a..."} 
[2026-04-28 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18b3718012d7d494005ce11f8000400b82a..."} 
[2026-04-28 06:22:32] local.INFO: Processing buffer {"connection_id":56367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18b3718012d7d494005ce11f8000400b82a..."} 
[2026-04-28 06:22:32] local.INFO: Packet analysis {"connection_id":56367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:22:32] local.INFO: Extracted packet for processing {"connection_id":56367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97391096,"longitude_deg":76.3185472,"latitude_deg":9.7391096,"altitude":4,"angle":184,"satellites":42,"speed":22,"hex_longitude":"2d7d4940","hex_latitude":"05ce11f8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998283520001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282240395717378048,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009161312256,"note":"Value kept but may cause issues"} 
[2026-04-28 06:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777337055000,"timestamp_ms":1777337055000,"timestamp_seconds":1777337055,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18b3718"} 
[2026-04-28 06:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:22: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-04-28 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 06:22:32] 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-04-28 06: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-04-28 06:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998283520001,"66":27669,"246":206,"19":45568,"24":22,"16":282240395717378048,"45":9028521009161312256},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998283520001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282240395717378048,"km_value":282240395717378.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009161312256,"description":"Unknown IO ID 45"} 
[2026-04-28 06:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998283520001,"power":27669,"main_input_voltage":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":9028521009161312256}} 
[2026-04-28 06:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":56367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:22:32] local.INFO: GPS data processed {"connection_id":56367,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:22:32] local.INFO: Acknowledgment sent {"connection_id":56367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:22:50] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:22:50] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:22:50] local.INFO: IMEI packet received {"connection_id":57029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":57029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:22:54] local.INFO: TCP Data received {"connection_id":56146,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:54] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:54] local.INFO: IMEI packet received {"connection_id":56146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":56146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:22:57] local.INFO: TCP Data received {"connection_id":56146,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:57] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:57] local.INFO: IMEI packet received {"connection_id":56146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":56146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:22:59] local.INFO: TCP Data received {"connection_id":56146,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:59] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:22:59] local.INFO: IMEI packet received {"connection_id":56146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":56146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:23:00] local.INFO: TCP Data received {"connection_id":56146,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18b69e0012d7d470005cdede0000200b729..."} 
[2026-04-28 06:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18b69e0012d7d470005cdede0000200b729..."} 
[2026-04-28 06:23:00] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18b69e0012d7d470005cdede0000200b729..."} 
[2026-04-28 06:23:00] local.INFO: Packet analysis {"connection_id":56146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:23:00] local.INFO: Extracted packet for processing {"connection_id":56146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97381856,"longitude_deg":76.3184896,"latitude_deg":9.7381856,"altitude":2,"angle":183,"satellites":41,"speed":36,"hex_longitude":"2d7d4700","hex_latitude":"05cdede0","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998286080001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282240842393976832,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321717168128,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777337068000,"timestamp_ms":1777337068000,"timestamp_seconds":1777337068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18b69e0"} 
[2026-04-28 06:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:23: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-04-28 06: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-04-28 06:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998286080001,"66":27713,"246":206,"19":45568,"24":36,"16":282240842393976832,"45":9027817321717168128},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998286080001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:23:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282240842393976832,"km_value":282240842393976.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321717168128,"description":"Unknown IO ID 45"} 
[2026-04-28 06:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998286080001,"power":27713,"main_input_voltage":206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9027817321717168128}} 
[2026-04-28 06:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":56146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:23:00] local.INFO: GPS data processed {"connection_id":56146,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:23:00] local.INFO: Acknowledgment sent {"connection_id":56146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:23:32] local.INFO: TCP Data received {"connection_id":56146,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18b90f0012d7d470005cdc998000100b228..."} 
[2026-04-28 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18b90f0012d7d470005cdc998000100b228..."} 
[2026-04-28 06:23:32] local.INFO: Processing buffer {"connection_id":56146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18b90f0012d7d470005cdc998000100b228..."} 
[2026-04-28 06:23:32] local.INFO: Packet analysis {"connection_id":56146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:23:32] local.INFO: Extracted packet for processing {"connection_id":56146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97372568,"longitude_deg":76.3184896,"latitude_deg":9.7372568,"altitude":1,"angle":178,"satellites":40,"speed":37,"hex_longitude":"2d7d4700","hex_latitude":"05cdc998","is_valid_coordinates":true} 
[2026-04-28 06:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998289408001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282241293365542912,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003017203712,"note":"Value kept but may cause issues"} 
[2026-04-28 06:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777337078000,"timestamp_ms":1777337078000,"timestamp_seconds":1777337078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18b90f0"} 
[2026-04-28 06:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 06:23:32] 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-04-28 06:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998289408001,"66":27658,"246":206,"19":45568,"24":37,"16":282241293365542912,"45":9027184003017203712},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998289408001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282241293365542912,"km_value":282241293365542.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003017203712,"description":"Unknown IO ID 45"} 
[2026-04-28 06:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998289408001,"power":27658,"main_input_voltage":206,"unknown_19":45568,"ignition":37,"odometer":null,"unknown_45":9027184003017203712}} 
[2026-04-28 06:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":56146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:23:32] local.INFO: GPS data processed {"connection_id":56146,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:23:32] local.INFO: Acknowledgment sent {"connection_id":56146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:23:35] local.INFO: TCP Data received {"connection_id":56299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:23:35] local.INFO: Processing buffer {"connection_id":56299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:23:35] local.INFO: IMEI packet received {"connection_id":56299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:23:55] local.INFO: TCP Data received {"connection_id":56300,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:55] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:55] local.INFO: IMEI packet received {"connection_id":56300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":56300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:23:59] local.INFO: TCP Data received {"connection_id":56300,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:59] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:23:59] local.INFO: IMEI packet received {"connection_id":56300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:24:00] local.INFO: TCP Data received {"connection_id":56300,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18bbbe8012d7d47c005cda3d0000100ba2a..."} 
[2026-04-28 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18bbbe8012d7d47c005cda3d0000100ba2a..."} 
[2026-04-28 06:24:00] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18bbbe8012d7d47c005cda3d0000100ba2a..."} 
[2026-04-28 06:24:00] local.INFO: Packet analysis {"connection_id":56300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:24:00] local.INFO: Extracted packet for processing {"connection_id":56300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97362896,"longitude_deg":76.3185088,"latitude_deg":9.7362896,"altitude":1,"angle":186,"satellites":42,"speed":34,"hex_longitude":"2d7d47c0","hex_latitude":"05cda3d0","is_valid_coordinates":true} 
[2026-04-28 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998291968001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282241761516978176,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003014825984,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777337089000,"timestamp_ms":1777337089000,"timestamp_seconds":1777337089,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18bbbe8"} 
[2026-04-28 06:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:24: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-04-28 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 06:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998291968001,"66":27745,"246":206,"19":45568,"24":34,"16":282241761516978176,"45":9027184003014825984},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998291968001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:24:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282241761516978176,"km_value":282241761516978.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003014825984,"description":"Unknown IO ID 45"} 
[2026-04-28 06:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998291968001,"power":27745,"main_input_voltage":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9027184003014825984}} 
[2026-04-28 06:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:24:00] local.INFO: GPS data processed {"connection_id":56300,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:24:00] local.INFO: Acknowledgment sent {"connection_id":56300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:24:32] local.INFO: TCP Data received {"connection_id":56300,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18bcb88012d7d474005cd9678000200ae29..."} 
[2026-04-28 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18bcb88012d7d474005cd9678000200ae29..."} 
[2026-04-28 06:24:32] local.INFO: Processing buffer {"connection_id":56300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18bcb88012d7d474005cd9678000200ae29..."} 
[2026-04-28 06:24:32] local.INFO: Packet analysis {"connection_id":56300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:24:32] local.INFO: Extracted packet for processing {"connection_id":56300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97359480,"longitude_deg":76.318496,"latitude_deg":9.735948,"altitude":2,"angle":174,"satellites":41,"speed":34,"hex_longitude":"2d7d4740","hex_latitude":"05cd9678","is_valid_coordinates":true} 
[2026-04-28 06:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998294784001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282241929020702720,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109244882944,"note":"Value kept but may cause issues"} 
[2026-04-28 06:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777337093000,"timestamp_ms":1777337093000,"timestamp_seconds":1777337093,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18bcb88"} 
[2026-04-28 06:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998294784001,"66":27789,"246":206,"19":45568,"24":34,"16":282241929020702720,"45":9027395109244882944},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998294784001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282241929020702720,"km_value":282241929020702.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109244882944,"description":"Unknown IO ID 45"} 
[2026-04-28 06:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998294784001,"power":27789,"main_input_voltage":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9027395109244882944}} 
[2026-04-28 06:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":56300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:24:32] local.INFO: GPS data processed {"connection_id":56300,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:24:32] local.INFO: Acknowledgment sent {"connection_id":56300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:24:54] local.INFO: TCP Data received {"connection_id":57030,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:54] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:54] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:24:59] local.INFO: TCP Data received {"connection_id":57030,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:59] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:24:59] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:25:00] local.INFO: TCP Data received {"connection_id":57030,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd18bd740012d7d488005cd8c78000200ad29..."} 
[2026-04-28 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd18bd740012d7d488005cd8c78000200ad29..."} 
[2026-04-28 06:25:00] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd18bd740012d7d488005cd8c78000200ad29..."} 
[2026-04-28 06:25:00] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:25:00] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd18b"} 
[2026-04-28 06:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":97356920,"longitude_deg":76.318528,"latitude_deg":9.735692,"altitude":2,"angle":173,"satellites":41,"speed":33,"hex_longitude":"2d7d4880","hex_latitude":"05cd8c78","is_valid_coordinates":true} 
[2026-04-28 06:25: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-04-28 06:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998295808001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282242053574754304,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371755653120,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777337096000,"timestamp_ms":1777337096000,"timestamp_seconds":1777337096,"priority":1,"record_length":96,"hex_timestamp":"0000019dd18bd740"} 
[2026-04-28 06:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":141,"data_length":795,"current_offset":136} 
[2026-04-28 06:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998295808001,"66":27767,"246":206,"19":45568,"24":33,"16":282242053574754304,"45":9027254371755653120},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998295808001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:25:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282242053574754304,"km_value":282242053574754.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371755653120,"description":"Unknown IO ID 45"} 
[2026-04-28 06:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998295808001,"power":27767,"main_input_voltage":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":9027254371755653120}} 
[2026-04-28 06:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:25:00] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:25:00] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:25:33] local.INFO: TCP Data received {"connection_id":57030,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1949588012d7d47c005cbf208000200bd29..."} 
[2026-04-28 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1949588012d7d47c005cbf208000200bd29..."} 
[2026-04-28 06:25:33] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1949588012d7d47c005cbf208000200bd29..."} 
[2026-04-28 06:25:33] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:25:33] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97251848,"longitude_deg":76.3185088,"latitude_deg":9.7251848,"altitude":2,"angle":189,"satellites":41,"speed":51,"hex_longitude":"2d7d47c0","hex_latitude":"05cbf208","is_valid_coordinates":true} 
[2026-04-28 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998441472001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282246125203750912,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590334791680,"note":"Value kept but may cause issues"} 
[2026-04-28 06:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777337669000,"timestamp_ms":1777337669000,"timestamp_seconds":1777337669,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1949588"} 
[2026-04-28 06:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998441472001,"66":27821,"246":206,"19":45568,"24":51,"16":282246125203750912,"45":9029013590334791680},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998441472001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282246125203750912,"km_value":282246125203750.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590334791680,"description":"Unknown IO ID 45"} 
[2026-04-28 06:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998441472001,"power":27821,"main_input_voltage":206,"unknown_19":45568,"ignition":51,"odometer":null,"unknown_45":9029013590334791680}} 
[2026-04-28 06:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:25:33] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:25:33] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:25:54] local.INFO: TCP Data received {"connection_id":57032,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:54] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:54] local.INFO: IMEI packet received {"connection_id":57032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":57032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:25:55] local.INFO: TCP Data received {"connection_id":57032,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:55] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:55] local.INFO: IMEI packet received {"connection_id":57032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":57032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:25:59] local.INFO: TCP Data received {"connection_id":57032,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:59] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:25:59] local.INFO: IMEI packet received {"connection_id":57032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":57032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:26:00] local.INFO: TCP Data received {"connection_id":57032,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd194b4c8012d7d410005cbcbf0000200be28..."} 
[2026-04-28 06:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd194b4c8012d7d410005cbcbf0000200be28..."} 
[2026-04-28 06:26:00] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd194b4c8012d7d410005cbcbf0000200be28..."} 
[2026-04-28 06:26:00] local.INFO: Packet analysis {"connection_id":57032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:26:00] local.INFO: Extracted packet for processing {"connection_id":57032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97242096,"longitude_deg":76.318336,"latitude_deg":9.7242096,"altitude":2,"angle":190,"satellites":40,"speed":39,"hex_longitude":"2d7d4100","hex_latitude":"05cbcbf0","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998443264001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282246601945120768,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109216454656,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777337677000,"timestamp_ms":1777337677000,"timestamp_seconds":1777337677,"priority":1,"record_length":96,"hex_timestamp":"0000019dd194b4c8"} 
[2026-04-28 06:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998443264001,"66":27713,"246":206,"19":45568,"24":39,"16":282246601945120768,"45":9027395109216454656},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998443264001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:26:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282246601945120768,"km_value":282246601945120.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109216454656,"description":"Unknown IO ID 45"} 
[2026-04-28 06:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998443264001,"power":27713,"main_input_voltage":206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":9027395109216454656}} 
[2026-04-28 06:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":57032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:26:00] local.INFO: GPS data processed {"connection_id":57032,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:26:00] local.INFO: Acknowledgment sent {"connection_id":57032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:26:32] local.INFO: TCP Data received {"connection_id":57032,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd194e3a8012d7d3c8005cba8b8000000ba29..."} 
[2026-04-28 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd194e3a8012d7d3c8005cba8b8000000ba29..."} 
[2026-04-28 06:26:32] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd194e3a8012d7d3c8005cba8b8000000ba29..."} 
[2026-04-28 06:26:32] local.INFO: Packet analysis {"connection_id":57032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:26:32] local.INFO: Extracted packet for processing {"connection_id":57032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd194"} 
[2026-04-28 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97233080,"longitude_deg":76.3182208,"latitude_deg":9.723308,"altitude":0,"angle":186,"satellites":41,"speed":30,"hex_longitude":"2d7d3c80","hex_latitude":"05cba8b8","is_valid_coordinates":true} 
[2026-04-28 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998445312001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282247044326752256,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153121161216,"note":"Value kept but may cause issues"} 
[2026-04-28 06:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777337689000,"timestamp_ms":1777337689000,"timestamp_seconds":1777337689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd194e3a8"} 
[2026-04-28 06:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 06:26:32] 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-04-28 06:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998445312001,"66":27767,"246":206,"19":45568,"24":30,"16":282247044326752256,"45":9025495153121161216},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998445312001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282247044326752256,"km_value":282247044326752.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153121161216,"description":"Unknown IO ID 45"} 
[2026-04-28 06:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998445312001,"power":27767,"main_input_voltage":206,"unknown_19":45568,"ignition":30,"odometer":null,"unknown_45":9025495153121161216}} 
[2026-04-28 06:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":57032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:26:32] local.INFO: GPS data processed {"connection_id":57032,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:26:32] local.INFO: Acknowledgment sent {"connection_id":57032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:26:59] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:26:59] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:26:59] local.INFO: IMEI packet received {"connection_id":56368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":56368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:27:00] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:00] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:00] local.INFO: IMEI packet received {"connection_id":56368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:27:03] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1950ea0012d7d3a4005cb83b0000100b327..."} 
[2026-04-28 06:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1950ea0012d7d3a4005cb83b0000100b327..."} 
[2026-04-28 06:27:03] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1950ea0012d7d3a4005cb83b0000100b327..."} 
[2026-04-28 06:27:03] local.INFO: Packet analysis {"connection_id":56368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd195"} 
[2026-04-28 06:27:03] local.INFO: Extracted packet for processing {"connection_id":56368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd195"} 
[2026-04-28 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97223600,"longitude_deg":76.3181632,"latitude_deg":9.72236,"altitude":1,"angle":179,"satellites":39,"speed":36,"hex_longitude":"2d7d3a40","hex_latitude":"05cb83b0","is_valid_coordinates":true} 
[2026-04-28 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998448384001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282247503888252928,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515723655168,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777337700000,"timestamp_ms":1777337700000,"timestamp_seconds":1777337700,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1950ea0"} 
[2026-04-28 06:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998448384001,"66":27800,"246":206,"19":45568,"24":36,"16":282247503888252928,"45":9024228515723655168},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-04-28 06:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998448384001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:27:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282247503888252928,"km_value":282247503888252.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515723655168,"description":"Unknown IO ID 45"} 
[2026-04-28 06:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998448384001,"power":27800,"main_input_voltage":206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9024228515723655168}} 
[2026-04-28 06:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":56368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:27:03] local.INFO: GPS data processed {"connection_id":56368,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:27:03] local.INFO: Acknowledgment sent {"connection_id":56368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:27:05] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1955108012d7d37c005cb6098000000b929..."} 
[2026-04-28 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1955108012d7d37c005cb6098000000b929..."} 
[2026-04-28 06:27:05] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1955108012d7d37c005cb6098000000b929..."} 
[2026-04-28 06:27:05] local.INFO: Packet analysis {"connection_id":56368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd195"} 
[2026-04-28 06:27:05] local.INFO: Extracted packet for processing {"connection_id":56368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd195"} 
[2026-04-28 06:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97214616,"longitude_deg":76.3180992,"latitude_deg":9.7214616,"altitude":0,"angle":185,"satellites":41,"speed":21,"hex_longitude":"2d7d37c0","hex_latitude":"05cb6098","is_valid_coordinates":true} 
[2026-04-28 06:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998451200001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282247941974917120,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197023629312,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777337717000,"timestamp_ms":1777337717000,"timestamp_seconds":1777337717,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1955108"} 
[2026-04-28 06:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998451200001,"66":27745,"12":206,"19":45568,"24":21,"16":282247941974917120,"45":9023595197023629312},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-04-28 06:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998451200001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:27:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 06:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282247941974917120,"km_value":282247941974917.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197023629312,"description":"Unknown IO ID 45"} 
[2026-04-28 06:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998451200001,"power":27745,"unknown_12":206,"unknown_19":45568,"ignition":21,"odometer":null,"unknown_45":9023595197023629312}} 
[2026-04-28 06:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":56368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:27:05] local.INFO: GPS data processed {"connection_id":56368,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:27:05] local.INFO: Acknowledgment sent {"connection_id":56368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:27:37] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd196a0f8012d7d144005c9e448000300b829..."} 
[2026-04-28 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd196a0f8012d7d144005c9e448000300b829..."} 
[2026-04-28 06:27:37] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd196a0f8012d7d144005c9e448000300b829..."} 
[2026-04-28 06:27:37] local.INFO: Packet analysis {"connection_id":56368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:27:37] local.INFO: Extracted packet for processing {"connection_id":56368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763171904,"raw_latitude":97117256,"longitude_deg":76.3171904,"latitude_deg":9.7117256,"altitude":3,"angle":184,"satellites":41,"speed":58,"hex_longitude":"2d7d1440","hex_latitude":"05c9e448","is_valid_coordinates":true} 
[2026-04-28 06:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998475776001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282252687913779200,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813941558290432,"note":"Value kept but may cause issues"} 
[2026-04-28 06:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777337803000,"timestamp_ms":1777337803000,"timestamp_seconds":1777337803,"priority":1,"record_length":96,"hex_timestamp":"0000019dd196a0f8"} 
[2026-04-28 06:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 06:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998475776001,"66":27647,"11":206,"19":45568,"24":58,"16":282252687913779200,"45":9013813941558290432},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998475776001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:27:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:27:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282252687913779200,"km_value":282252687913779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813941558290432,"description":"Unknown IO ID 45"} 
[2026-04-28 06:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998475776001,"power":27647,"unknown_11":206,"unknown_19":45568,"ignition":58,"odometer":null,"unknown_45":9013813941558290432}} 
[2026-04-28 06:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":56368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:27:37] local.INFO: GPS data processed {"connection_id":56368,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:27:37] local.INFO: Acknowledgment sent {"connection_id":56368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:27:54] local.INFO: TCP Data received {"connection_id":56149,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:54] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:54] local.INFO: IMEI packet received {"connection_id":56149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":56149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:27:58] local.INFO: TCP Data received {"connection_id":56149,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:58] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:27:58] local.INFO: IMEI packet received {"connection_id":56149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":56149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:28:01] local.INFO: TCP Data received {"connection_id":56149,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd196bc50012d7d108005c9bc90000200b92b..."} 
[2026-04-28 06:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd196bc50012d7d108005c9bc90000200b92b..."} 
[2026-04-28 06:28:01] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd196bc50012d7d108005c9bc90000200b92b..."} 
[2026-04-28 06:28:01] local.INFO: Packet analysis {"connection_id":56149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:28:01] local.INFO: Extracted packet for processing {"connection_id":56149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763170944,"raw_latitude":97107088,"longitude_deg":76.3170944,"latitude_deg":9.7107088,"altitude":2,"angle":185,"satellites":43,"speed":57,"hex_longitude":"2d7d1080","hex_latitude":"05c9bc90","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998477568001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282253181835018240,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012899147881400320,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777337810000,"timestamp_ms":1777337810000,"timestamp_seconds":1777337810,"priority":1,"record_length":96,"hex_timestamp":"0000019dd196bc50"} 
[2026-04-28 06:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 06:28:01] 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-04-28 06: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-04-28 06:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998477568001,"66":27604,"11":206,"19":45568,"24":57,"16":282253181835018240,"45":9012899147881400320},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998477568001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:28:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:28:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282253181835018240,"km_value":282253181835018.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012899147881400320,"description":"Unknown IO ID 45"} 
[2026-04-28 06:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998477568001,"power":27604,"unknown_11":206,"unknown_19":45568,"ignition":57,"odometer":null,"unknown_45":9012899147881400320}} 
[2026-04-28 06:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":56149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:28:01] local.INFO: GPS data processed {"connection_id":56149,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:28:01] local.INFO: Acknowledgment sent {"connection_id":56149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:28:33] local.INFO: TCP Data received {"connection_id":56149,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd196d7a8012d7d0d8005c99638000100b829..."} 
[2026-04-28 06:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd196d7a8012d7d0d8005c99638000100b829..."} 
[2026-04-28 06:28:33] local.INFO: Processing buffer {"connection_id":56149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd196d7a8012d7d0d8005c99638000100b829..."} 
[2026-04-28 06:28:33] local.INFO: Packet analysis {"connection_id":56149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:28:33] local.INFO: Extracted packet for processing {"connection_id":56149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763170176,"raw_latitude":97097272,"longitude_deg":76.3170176,"latitude_deg":9.7097272,"altitude":1,"angle":184,"satellites":41,"speed":54,"hex_longitude":"2d7d0d80","hex_latitude":"05c99638","is_valid_coordinates":true} 
[2026-04-28 06:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998479360001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282253658576388096,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011843616716132352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777337817000,"timestamp_ms":1777337817000,"timestamp_seconds":1777337817,"priority":1,"record_length":96,"hex_timestamp":"0000019dd196d7a8"} 
[2026-04-28 06:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 06:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998479360001,"66":27745,"11":206,"19":45568,"24":54,"16":282253658576388096,"45":9011843616716132352},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998479360001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:28:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:28:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282253658576388096,"km_value":282253658576388.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011843616716132352,"description":"Unknown IO ID 45"} 
[2026-04-28 06:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998479360001,"power":27745,"unknown_11":206,"unknown_19":45568,"ignition":54,"odometer":null,"unknown_45":9011843616716132352}} 
[2026-04-28 06:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":56149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:28:33] local.INFO: GPS data processed {"connection_id":56149,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:28:33] local.INFO: Acknowledgment sent {"connection_id":56149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:28:54] local.INFO: TCP Data received {"connection_id":56151,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:54] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:54] local.INFO: IMEI packet received {"connection_id":56151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:28:59] local.INFO: TCP Data received {"connection_id":56151,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:59] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:28:59] local.INFO: IMEI packet received {"connection_id":56151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:29:00] local.INFO: TCP Data received {"connection_id":56150,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:00] local.INFO: Processing buffer {"connection_id":56150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:00] local.INFO: IMEI packet received {"connection_id":56150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:29:02] local.INFO: TCP Data received {"connection_id":56151,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd196f300012d7d0b0005c97148000100b429..."} 
[2026-04-28 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd196f300012d7d0b0005c97148000100b429..."} 
[2026-04-28 06:29:02] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd196f300012d7d0b0005c97148000100b429..."} 
[2026-04-28 06:29:02] local.INFO: Packet analysis {"connection_id":56151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:29:02] local.INFO: Extracted packet for processing {"connection_id":56151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd196"} 
[2026-04-28 06:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":97087816,"longitude_deg":76.3169536,"latitude_deg":9.7087816,"altitude":1,"angle":180,"satellites":41,"speed":52,"hex_longitude":"2d7d0b00","hex_latitude":"05c97148","is_valid_coordinates":true} 
[2026-04-28 06:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998481152001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282254118137888768,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999191783487488,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777337824000,"timestamp_ms":1777337824000,"timestamp_seconds":1777337824,"priority":1,"record_length":96,"hex_timestamp":"0000019dd196f300"} 
[2026-04-28 06:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:29: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-04-28 06:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 06:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998481152001,"66":27767,"11":206,"19":45568,"24":52,"16":282254118137888768,"45":9010999191783487488},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998481152001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:29:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282254118137888768,"km_value":282254118137888.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999191783487488,"description":"Unknown IO ID 45"} 
[2026-04-28 06:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998481152001,"power":27767,"unknown_11":206,"unknown_19":45568,"ignition":52,"odometer":null,"unknown_45":9010999191783487488}} 
[2026-04-28 06:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":56151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:29:02] local.INFO: GPS data processed {"connection_id":56151,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:29:02] local.INFO: Acknowledgment sent {"connection_id":56151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:29:34] local.INFO: TCP Data received {"connection_id":56151,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1970e58012d7d0d8005c94d80000100ab2a..."} 
[2026-04-28 06:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1970e58012d7d0d8005c94d80000100ab2a..."} 
[2026-04-28 06:29:34] local.INFO: Processing buffer {"connection_id":56151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1970e58012d7d0d8005c94d80000100ab2a..."} 
[2026-04-28 06:29:34] local.INFO: Packet analysis {"connection_id":56151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd197"} 
[2026-04-28 06:29:34] local.INFO: Extracted packet for processing {"connection_id":56151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd197"} 
[2026-04-28 06:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763170176,"raw_latitude":97078656,"longitude_deg":76.3170176,"latitude_deg":9.7078656,"altitude":1,"angle":171,"satellites":42,"speed":51,"hex_longitude":"2d7d0d80","hex_latitude":"05c94d80","is_valid_coordinates":true} 
[2026-04-28 06:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998482944001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282254564814487552,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504339290112,"note":"Value kept but may cause issues"} 
[2026-04-28 06:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777337831000,"timestamp_ms":1777337831000,"timestamp_seconds":1777337831,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1970e58"} 
[2026-04-28 06:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998482944001,"66":27691,"11":206,"19":45568,"24":51,"16":282254564814487552,"45":9010295504339290112},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998482944001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:29:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:29:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282254564814487552,"km_value":282254564814487.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504339290112,"description":"Unknown IO ID 45"} 
[2026-04-28 06:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998482944001,"power":27691,"unknown_11":206,"unknown_19":45568,"ignition":51,"odometer":null,"unknown_45":9010295504339290112}} 
[2026-04-28 06:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":56151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:29:34] local.INFO: GPS data processed {"connection_id":56151,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:29:34] local.INFO: Acknowledgment sent {"connection_id":56151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:29:35] local.INFO: TCP Data received {"connection_id":56369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:35] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:29:35] local.INFO: IMEI packet received {"connection_id":56369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:29:54] local.INFO: TCP Data received {"connection_id":56303,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:54] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:54] local.INFO: IMEI packet received {"connection_id":56303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":56303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:29:59] local.INFO: TCP Data received {"connection_id":56303,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:59] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:29:59] local.INFO: IMEI packet received {"connection_id":56303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:30:01] local.INFO: TCP Data received {"connection_id":56303,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1972d98012d7d114005c92680000200af2a..."} 
[2026-04-28 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1972d98012d7d114005c92680000200af2a..."} 
[2026-04-28 06:30:01] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1972d98012d7d114005c92680000200af2a..."} 
[2026-04-28 06:30:01] local.INFO: Packet analysis {"connection_id":56303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd197"} 
[2026-04-28 06:30:01] local.INFO: Extracted packet for processing {"connection_id":56303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd197"} 
[2026-04-28 06:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763171136,"raw_latitude":97068672,"longitude_deg":76.3171136,"latitude_deg":9.7068672,"altitude":2,"angle":175,"satellites":42,"speed":47,"hex_longitude":"2d7d1140","hex_latitude":"05c92680","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998484736001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282255050145792000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999191778721792,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777337839000,"timestamp_ms":1777337839000,"timestamp_seconds":1777337839,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1972d98"} 
[2026-04-28 06:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 06:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998484736001,"66":27789,"11":206,"19":45568,"24":47,"16":282255050145792000,"45":9010999191778721792},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-04-28 06:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998484736001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:30:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-28 06:30:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282255050145792000,"km_value":282255050145792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999191778721792,"description":"Unknown IO ID 45"} 
[2026-04-28 06:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998484736001,"power":27789,"unknown_11":206,"unknown_19":45568,"ignition":47,"odometer":null,"unknown_45":9010999191778721792}} 
[2026-04-28 06:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":56303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:30:01] local.INFO: GPS data processed {"connection_id":56303,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:30:01] local.INFO: Acknowledgment sent {"connection_id":56303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:30:34] local.INFO: TCP Data received {"connection_id":56303,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19915e0012d7d548005c7b0780003009528..."} 
[2026-04-28 06:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19915e0012d7d548005c7b0780003009528..."} 
[2026-04-28 06:30:34] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19915e0012d7d548005c7b0780003009528..."} 
[2026-04-28 06:30:34] local.INFO: Packet analysis {"connection_id":56303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:30:34] local.INFO: Extracted packet for processing {"connection_id":56303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763188352,"raw_latitude":96972920,"longitude_deg":76.3188352,"latitude_deg":9.697292,"altitude":3,"angle":149,"satellites":40,"speed":25,"hex_longitude":"2d7d5480","hex_latitude":"05c7b078","is_valid_coordinates":true} 
[2026-04-28 06:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998515200001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282259817559490560,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365519312896,"note":"Value kept but may cause issues"} 
[2026-04-28 06:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777337964000,"timestamp_ms":1777337964000,"timestamp_seconds":1777337964,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19915e0"} 
[2026-04-28 06:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998515200001,"66":27767,"12":206,"19":45568,"24":25,"16":282259817559490560,"45":9025917365519312896},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-04-28 06:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998515200001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:30:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 06:30:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282259817559490560,"km_value":282259817559490.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365519312896,"description":"Unknown IO ID 45"} 
[2026-04-28 06:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998515200001,"power":27767,"unknown_12":206,"unknown_19":45568,"ignition":25,"odometer":null,"unknown_45":9025917365519312896}} 
[2026-04-28 06:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":56303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:30:34] local.INFO: GPS data processed {"connection_id":56303,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:30:34] local.INFO: Acknowledgment sent {"connection_id":56303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:30:58] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:30:58] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:30:58] local.INFO: IMEI packet received {"connection_id":57033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":57033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:30:59] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:00] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:00] local.INFO: IMEI packet received {"connection_id":57033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":57033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:31:05] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:05] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:31:05] local.INFO: IMEI packet received {"connection_id":57033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":57033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:31:06] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19948a8012d7d6a4005c793400000008b26..."} 
[2026-04-28 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19948a8012d7d6a4005c793400000008b26..."} 
[2026-04-28 06:31:06] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19948a8012d7d6a4005c793400000008b26..."} 
[2026-04-28 06:31:06] local.INFO: Packet analysis {"connection_id":57033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:06] local.INFO: Extracted packet for processing {"connection_id":57033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763193920,"raw_latitude":96965440,"longitude_deg":76.319392,"latitude_deg":9.696544,"altitude":0,"angle":139,"satellites":38,"speed":33,"hex_longitude":"2d7d6a40","hex_latitude":"05c79340","is_valid_coordinates":true} 
[2026-04-28 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998518784001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282260268531056640,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915098109952,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777337977000,"timestamp_ms":1777337977000,"timestamp_seconds":1777337977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19948a8"} 
[2026-04-28 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998518784001,"66":27876,"12":206,"19":45568,"24":33,"16":282260268531056640,"45":9030983915098109952},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-04-28 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998518784001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:31:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 06:31:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282260268531056640,"km_value":282260268531056.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915098109952,"description":"Unknown IO ID 45"} 
[2026-04-28 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998518784001,"power":27876,"unknown_12":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":9030983915098109952}} 
[2026-04-28 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":57033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:31:06] local.INFO: GPS data processed {"connection_id":57033,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:31:06] local.INFO: Acknowledgment sent {"connection_id":57033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:31:07] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1996fb8012d7d850005c778300001008227..."} 
[2026-04-28 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1996fb8012d7d850005c778300001008227..."} 
[2026-04-28 06:31:07] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1996fb8012d7d850005c778300001008227..."} 
[2026-04-28 06:31:07] local.INFO: Packet analysis {"connection_id":57033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:07] local.INFO: Extracted packet for processing {"connection_id":57033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763200768,"raw_latitude":96958512,"longitude_deg":76.3200768,"latitude_deg":9.6958512,"altitude":1,"angle":130,"satellites":39,"speed":40,"hex_longitude":"2d7d8500","hex_latitude":"05c77830","is_valid_coordinates":true} 
[2026-04-28 06:31: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-04-28 06:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998522112001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282260736682491904,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9037105995839651840,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777337987000,"timestamp_ms":1777337987000,"timestamp_seconds":1777337987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1996fb8"} 
[2026-04-28 06:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:31: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-04-28 06:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":57033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998522112001,"66":27865,"12":206,"19":45568,"24":40,"16":282260736682491904,"45":9037105995839651840},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-04-28 06:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998522112001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:31:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 06:31:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282260736682491904,"km_value":282260736682491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9037105995839651840,"description":"Unknown IO ID 45"} 
[2026-04-28 06:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998522112001,"power":27865,"unknown_12":206,"unknown_19":45568,"ignition":40,"odometer":null,"unknown_45":9037105995839651840}} 
[2026-04-28 06:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":57033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:31:07] local.INFO: GPS data processed {"connection_id":57033,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:31:07] local.INFO: Acknowledgment sent {"connection_id":57033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:31:58] local.INFO: TCP Data received {"connection_id":57033,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19996c8012d7da28005c761d80001007b2a..."} 
[2026-04-28 06:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19996c8012d7da28005c761d80001007b2a..."} 
[2026-04-28 06:31:58] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19996c8012d7da28005c761d80001007b2a..."} 
[2026-04-28 06:31:58] local.INFO: Packet analysis {"connection_id":57033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:58] local.INFO: Extracted packet for processing {"connection_id":57033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763208320,"raw_latitude":96952792,"longitude_deg":76.320832,"latitude_deg":9.6952792,"altitude":1,"angle":123,"satellites":42,"speed":35,"hex_longitude":"2d7da280","hex_latitude":"05c761d8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998524672001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282261191949025280,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044635451464888320,"note":"Value kept but may cause issues"} 
[2026-04-28 06:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777337997000,"timestamp_ms":1777337997000,"timestamp_seconds":1777337997,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19996c8"} 
[2026-04-28 06:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:31: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-04-28 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998524672001,"66":27832,"175":206,"19":45568,"24":35,"16":282261191949025280,"45":9044635451464888320},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-04-28 06:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998524672001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:31:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 06:31:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282261191949025280,"km_value":282261191949025.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044635451464888320,"description":"Unknown IO ID 45"} 
[2026-04-28 06:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998524672001,"power":27832,"unknown_175":206,"unknown_19":45568,"ignition":35,"odometer":null,"unknown_45":9044635451464888320}} 
[2026-04-28 06:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":57033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:31:58] local.INFO: GPS data processed {"connection_id":57033,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:31:58] local.INFO: Acknowledgment sent {"connection_id":57033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:32:01] local.INFO: TCP Data received {"connection_id":56152,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:01] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:01] local.INFO: IMEI packet received {"connection_id":56152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":56152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:32:04] local.INFO: TCP Data received {"connection_id":56152,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:04] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:04] local.INFO: IMEI packet received {"connection_id":56152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":56152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:32:09] local.INFO: TCP Data received {"connection_id":56152,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:09] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:09] local.INFO: IMEI packet received {"connection_id":56152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":56152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:32:14] local.INFO: TCP Data received {"connection_id":56152,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd199b9f0012d7dbe0005c74df0000000882a..."} 
[2026-04-28 06:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd199b9f0012d7dbe0005c74df0000000882a..."} 
[2026-04-28 06:32:14] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd199b9f0012d7dbe0005c74df0000000882a..."} 
[2026-04-28 06:32:14] local.INFO: Packet analysis {"connection_id":56152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:32:14] local.INFO: Extracted packet for processing {"connection_id":56152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763215360,"raw_latitude":96947696,"longitude_deg":76.321536,"latitude_deg":9.6947696,"altitude":0,"angle":136,"satellites":42,"speed":39,"hex_longitude":"2d7dbe00","hex_latitude":"05c74df0","is_valid_coordinates":true} 
[2026-04-28 06:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998527232001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282261612855820288,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052938963276388352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777338006000,"timestamp_ms":1777338006000,"timestamp_seconds":1777338006,"priority":1,"record_length":96,"hex_timestamp":"0000019dd199b9f0"} 
[2026-04-28 06:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:32: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-04-28 06:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 06:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998527232001,"66":27832,"175":206,"19":45568,"24":39,"16":282261612855820288,"45":9052938963276388352},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-04-28 06:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998527232001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:32:14] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 06:32:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282261612855820288,"km_value":282261612855820.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052938963276388352,"description":"Unknown IO ID 45"} 
[2026-04-28 06:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998527232001,"power":27832,"unknown_175":206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":9052938963276388352}} 
[2026-04-28 06:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":56152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:32:14] local.INFO: GPS data processed {"connection_id":56152,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:32:14] local.INFO: Acknowledgment sent {"connection_id":56152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:32:15] local.INFO: TCP Data received {"connection_id":56152,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd199c990012d7dca0005c743980000007c29..."} 
[2026-04-28 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd199c990012d7dca0005c743980000007c29..."} 
[2026-04-28 06:32:15] local.INFO: Processing buffer {"connection_id":56152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd199c990012d7dca0005c743980000007c29..."} 
[2026-04-28 06:32:15] local.INFO: Packet analysis {"connection_id":56152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:32:15] local.INFO: Extracted packet for processing {"connection_id":56152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd199"} 
[2026-04-28 06:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763218432,"raw_latitude":96945048,"longitude_deg":76.3218432,"latitude_deg":9.6945048,"altitude":0,"angle":124,"satellites":41,"speed":39,"hex_longitude":"2d7dca00","hex_latitude":"05c74398","is_valid_coordinates":true} 
[2026-04-28 06:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998529536001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282261810424315904,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060679525134626816,"note":"Value kept but may cause issues"} 
[2026-04-28 06:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777338010000,"timestamp_ms":1777338010000,"timestamp_seconds":1777338010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd199c990"} 
[2026-04-28 06:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 06:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998529536001,"66":27745,"175":206,"19":45568,"24":39,"16":282261810424315904,"45":9060679525134626816},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-04-28 06:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998529536001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:32:15] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-28 06:32:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282261810424315904,"km_value":282261810424315.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060679525134626816,"description":"Unknown IO ID 45"} 
[2026-04-28 06:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998529536001,"power":27745,"unknown_175":206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":9060679525134626816}} 
[2026-04-28 06:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":56152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:32:15] local.INFO: GPS data processed {"connection_id":56152,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:32:15] local.INFO: Acknowledgment sent {"connection_id":56152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:32:55] local.INFO: TCP Data received {"connection_id":56370,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:55] local.INFO: Processing buffer {"connection_id":56370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:55] local.INFO: IMEI packet received {"connection_id":56370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":56370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:32:59] local.INFO: TCP Data received {"connection_id":56370,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:59] local.INFO: Processing buffer {"connection_id":56370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:32:59] local.INFO: IMEI packet received {"connection_id":56370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:33:00] local.INFO: TCP Data received {"connection_id":56370,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19b3ca8012d7efec005c660800001009628..."} 
[2026-04-28 06:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19b3ca8012d7efec005c660800001009628..."} 
[2026-04-28 06:33:00] local.INFO: Processing buffer {"connection_id":56370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19b3ca8012d7efec005c660800001009628..."} 
[2026-04-28 06:33:00] local.INFO: Packet analysis {"connection_id":56370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:33:00] local.INFO: Extracted packet for processing {"connection_id":56370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763297472,"raw_latitude":96886912,"longitude_deg":76.3297472,"latitude_deg":9.6886912,"altitude":1,"angle":150,"satellites":40,"speed":34,"hex_longitude":"2d7efec0","hex_latitude":"05c66080","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998553856001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282266534888341504,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148781192830203904,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777338105000,"timestamp_ms":1777338105000,"timestamp_seconds":1777338105,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19b3ca8"} 
[2026-04-28 06:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:33: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-04-28 06: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-04-28 06:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998553856001,"66":27800,"144":206,"19":45568,"24":34,"16":282266534888341504,"45":9148781192830203904},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-04-28 06:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998553856001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:33:00] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-28 06:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282266534888341504,"km_value":282266534888341.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148781192830203904,"description":"Unknown IO ID 45"} 
[2026-04-28 06:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998553856001,"power":27800,"unknown_144":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9148781192830203904}} 
[2026-04-28 06:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":56370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:33:00] local.INFO: GPS data processed {"connection_id":56370,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:33:00] local.INFO: Acknowledgment sent {"connection_id":56370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:33:32] local.INFO: TCP Data received {"connection_id":56370,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19b63b8012d7f144005c642600001008e28..."} 
[2026-04-28 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19b63b8012d7f144005c642600001008e28..."} 
[2026-04-28 06:33:32] local.INFO: Processing buffer {"connection_id":56370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19b63b8012d7f144005c642600001008e28..."} 
[2026-04-28 06:33:32] local.INFO: Packet analysis {"connection_id":56370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:33:32] local.INFO: Extracted packet for processing {"connection_id":56370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763302976,"raw_latitude":96879200,"longitude_deg":76.3302976,"latitude_deg":9.68792,"altitude":1,"angle":142,"satellites":40,"speed":39,"hex_longitude":"2d7f1440","hex_latitude":"05c64260","is_valid_coordinates":true} 
[2026-04-28 06:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998554880001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282266990154874880,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150962623899009024,"note":"Value kept but may cause issues"} 
[2026-04-28 06:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777338115000,"timestamp_ms":1777338115000,"timestamp_seconds":1777338115,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19b63b8"} 
[2026-04-28 06:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998554880001,"66":27767,"144":206,"19":45568,"24":39,"16":282266990154874880,"45":9150962623899009024},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-04-28 06:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998554880001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:33:32] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-28 06:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282266990154874880,"km_value":282266990154874.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150962623899009024,"description":"Unknown IO ID 45"} 
[2026-04-28 06:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998554880001,"power":27767,"unknown_144":206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":9150962623899009024}} 
[2026-04-28 06:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":56370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:33:32] local.INFO: GPS data processed {"connection_id":56370,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:33:32] local.INFO: Acknowledgment sent {"connection_id":56370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:33:53] local.INFO: TCP Data received {"connection_id":56306,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:53] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:53] local.INFO: IMEI packet received {"connection_id":56306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":56306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:33:54] local.INFO: TCP Data received {"connection_id":56306,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:54] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:54] local.INFO: IMEI packet received {"connection_id":56306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:33:59] local.INFO: TCP Data received {"connection_id":56306,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:59] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:33:59] local.INFO: IMEI packet received {"connection_id":56306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:34:00] local.INFO: TCP Data received {"connection_id":56306,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19b7b28012d7f240005c631680001007e29..."} 
[2026-04-28 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19b7b28012d7f240005c631680001007e29..."} 
[2026-04-28 06:34:00] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19b7b28012d7f240005c631680001007e29..."} 
[2026-04-28 06:34:00] local.INFO: Packet analysis {"connection_id":56306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:34:00] local.INFO: Extracted packet for processing {"connection_id":56306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763307008,"raw_latitude":96874856,"longitude_deg":76.3307008,"latitude_deg":9.6874856,"altitude":1,"angle":126,"satellites":41,"speed":38,"hex_longitude":"2d7f2400","hex_latitude":"05c63168","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998557440001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282267277917683712,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157014335896313856,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777338121000,"timestamp_ms":1777338121000,"timestamp_seconds":1777338121,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19b7b28"} 
[2026-04-28 06:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:34: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-04-28 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998557440001,"66":27876,"144":206,"19":45568,"24":38,"16":282267277917683712,"45":9157014335896313856},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-04-28 06:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998557440001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:34:00] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-28 06:34:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282267277917683712,"km_value":282267277917683.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157014335896313856,"description":"Unknown IO ID 45"} 
[2026-04-28 06:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998557440001,"power":27876,"unknown_144":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9157014335896313856}} 
[2026-04-28 06:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":56306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:34:01] local.INFO: GPS data processed {"connection_id":56306,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:34:01] local.INFO: Acknowledgment sent {"connection_id":56306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:34:32] local.INFO: TCP Data received {"connection_id":56306,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19b9298012d7f35c005c623d80001008b29..."} 
[2026-04-28 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19b9298012d7f35c005c623d80001008b29..."} 
[2026-04-28 06:34:32] local.INFO: Processing buffer {"connection_id":56306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19b9298012d7f35c005c623d80001008b29..."} 
[2026-04-28 06:34:32] local.INFO: Packet analysis {"connection_id":56306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:34:32] local.INFO: Extracted packet for processing {"connection_id":56306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19b"} 
[2026-04-28 06:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763311552,"raw_latitude":96871384,"longitude_deg":76.3311552,"latitude_deg":9.6871384,"altitude":1,"angle":139,"satellites":41,"speed":34,"hex_longitude":"2d7f35c0","hex_latitude":"05c623d8","is_valid_coordinates":true} 
[2026-04-28 06:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998558976001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282267552795590656,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161447566778394624,"note":"Value kept but may cause issues"} 
[2026-04-28 06:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777338127000,"timestamp_ms":1777338127000,"timestamp_seconds":1777338127,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19b9298"} 
[2026-04-28 06:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:34: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-04-28 06:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998558976001,"66":27865,"144":206,"19":45568,"24":34,"16":282267552795590656,"45":9161447566778394624},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-04-28 06:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998558976001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:34:32] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-28 06:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282267552795590656,"km_value":282267552795590.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161447566778394624,"description":"Unknown IO ID 45"} 
[2026-04-28 06:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998558976001,"power":27865,"unknown_144":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9161447566778394624}} 
[2026-04-28 06:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":56306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:34:32] local.INFO: GPS data processed {"connection_id":56306,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:34:32] local.INFO: Acknowledgment sent {"connection_id":56306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:34:54] local.INFO: TCP Data received {"connection_id":57036,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:54] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:54] local.INFO: IMEI packet received {"connection_id":57036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":57036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:34:56] local.INFO: TCP Data received {"connection_id":57036,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:56] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:34:56] local.INFO: IMEI packet received {"connection_id":57036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":57036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:35:00] local.INFO: TCP Data received {"connection_id":57036,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:35:00] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:35:00] local.INFO: IMEI packet received {"connection_id":57036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":57036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:35:00] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:00] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:00] local.INFO: IMEI packet received {"connection_id":56371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:35:01] local.INFO: TCP Data received {"connection_id":57036,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19d3c60012d801bc005c4ee400001009725..."} 
[2026-04-28 06:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19d3c60012d801bc005c4ee400001009725..."} 
[2026-04-28 06:35:01] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19d3c60012d801bc005c4ee400001009725..."} 
[2026-04-28 06:35:01] local.INFO: Packet analysis {"connection_id":57036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:35:01] local.INFO: Extracted packet for processing {"connection_id":57036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763370432,"raw_latitude":96792128,"longitude_deg":76.3370432,"latitude_deg":9.6792128,"altitude":1,"angle":151,"satellites":37,"speed":27,"hex_longitude":"2d801bc0","hex_latitude":"05c4ee40","is_valid_coordinates":true} 
[2026-04-28 06:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998586880001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282272315914321920,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218798043703476224,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777338236000,"timestamp_ms":1777338236000,"timestamp_seconds":1777338236,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19d3c60"} 
[2026-04-28 06:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998586880001,"66":27843,"130":206,"19":45568,"24":27,"16":282272315914321920,"45":-9218798043703476224},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-04-28 06:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998586880001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:35:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 06:35:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282272315914321920,"km_value":282272315914321.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218798043703476224,"description":"Unknown IO ID 45"} 
[2026-04-28 06:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998586880001,"power":27843,"unknown_130":206,"unknown_19":45568,"ignition":27,"odometer":null,"unknown_45":-9218798043703476224}} 
[2026-04-28 06:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":57036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:35:01] local.INFO: GPS data processed {"connection_id":57036,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:35:01] local.INFO: Acknowledgment sent {"connection_id":57036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:35:33] local.INFO: TCP Data received {"connection_id":57036,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19d4430012d801d4005c4e9b0000000aa27..."} 
[2026-04-28 06:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19d4430012d801d4005c4e9b0000000aa27..."} 
[2026-04-28 06:35:33] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19d4430012d801d4005c4e9b0000000aa27..."} 
[2026-04-28 06:35:33] local.INFO: Packet analysis {"connection_id":57036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:35:33] local.INFO: Extracted packet for processing {"connection_id":57036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763370816,"raw_latitude":96790960,"longitude_deg":76.3370816,"latitude_deg":9.679096,"altitude":0,"angle":170,"satellites":39,"speed":22,"hex_longitude":"2d801d40","hex_latitude":"05c4e9b0","is_valid_coordinates":true} 
[2026-04-28 06:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998588416001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282272376043864064,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215561081472270336,"note":"Value kept but may cause issues"} 
[2026-04-28 06:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777338238000,"timestamp_ms":1777338238000,"timestamp_seconds":1777338238,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19d4430"} 
[2026-04-28 06:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998588416001,"66":27658,"130":206,"19":45568,"24":22,"16":282272376043864064,"45":-9215561081472270336},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-04-28 06:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998588416001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:35:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 06:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282272376043864064,"km_value":282272376043864.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215561081472270336,"description":"Unknown IO ID 45"} 
[2026-04-28 06:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998588416001,"power":27658,"unknown_130":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":-9215561081472270336}} 
[2026-04-28 06:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":57036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:35:33] local.INFO: GPS data processed {"connection_id":57036,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:35:33] local.INFO: Acknowledgment sent {"connection_id":57036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:35:35] local.INFO: TCP Data received {"connection_id":56153,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:35] local.INFO: Processing buffer {"connection_id":56153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:35:35] local.INFO: IMEI packet received {"connection_id":56153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":56153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:36:00] local.INFO: TCP Data received {"connection_id":57037,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:00] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:00] local.INFO: IMEI packet received {"connection_id":57037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":57037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:36:04] local.INFO: TCP Data received {"connection_id":57037,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:04] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:04] local.INFO: IMEI packet received {"connection_id":57037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":57037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:36:05] local.INFO: TCP Data received {"connection_id":57037,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19d4c00012d801d8005c4e540000000b527..."} 
[2026-04-28 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19d4c00012d801d8005c4e540000000b527..."} 
[2026-04-28 06:36:05] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19d4c00012d801d8005c4e540000000b527..."} 
[2026-04-28 06:36:05] local.INFO: Packet analysis {"connection_id":57037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:36:05] local.INFO: Extracted packet for processing {"connection_id":57037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":96789824,"longitude_deg":76.337088,"latitude_deg":9.6789824,"altitude":0,"angle":181,"satellites":39,"speed":22,"hex_longitude":"2d801d80","hex_latitude":"05c4e540","is_valid_coordinates":true} 
[2026-04-28 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998588928001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282272431878438912,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215138869007503360,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777338240000,"timestamp_ms":1777338240000,"timestamp_seconds":1777338240,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19d4c00"} 
[2026-04-28 06:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 06:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998588928001,"66":27876,"130":206,"19":45568,"24":22,"16":282272431878438912,"45":-9215138869007503360},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-04-28 06:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998588928001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:36:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 06:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282272431878438912,"km_value":282272431878438.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215138869007503360,"description":"Unknown IO ID 45"} 
[2026-04-28 06:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998588928001,"power":27876,"unknown_130":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":-9215138869007503360}} 
[2026-04-28 06:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":57037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:36:05] local.INFO: GPS data processed {"connection_id":57037,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:36:05] local.INFO: Acknowledgment sent {"connection_id":57037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:36:06] local.INFO: TCP Data received {"connection_id":57037,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19d53d0012d801dc005c4e0e8000100a827..."} 
[2026-04-28 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19d53d0012d801dc005c4e0e8000100a827..."} 
[2026-04-28 06:36:06] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19d53d0012d801dc005c4e0e8000100a827..."} 
[2026-04-28 06:36:06] local.INFO: Packet analysis {"connection_id":57037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:36:06] local.INFO: Extracted packet for processing {"connection_id":57037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19d"} 
[2026-04-28 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763370944,"raw_latitude":96788712,"longitude_deg":76.3370944,"latitude_deg":9.6788712,"altitude":1,"angle":168,"satellites":39,"speed":22,"hex_longitude":"2d801dc0","hex_latitude":"05c4e0e8","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998589440001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282272487713013760,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215068500263616512,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777338242000,"timestamp_ms":1777338242000,"timestamp_seconds":1777338242,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19d53d0"} 
[2026-04-28 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998589440001,"66":27843,"130":206,"19":45568,"24":22,"16":282272487713013760,"45":-9215068500263616512},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-04-28 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998589440001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:36:06] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-28 06:36:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282272487713013760,"km_value":282272487713013.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215068500263616512,"description":"Unknown IO ID 45"} 
[2026-04-28 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998589440001,"power":27843,"unknown_130":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":-9215068500263616512}} 
[2026-04-28 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":57037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:36:06] local.INFO: GPS data processed {"connection_id":57037,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:36:06] local.INFO: Acknowledgment sent {"connection_id":57037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:36:38] local.INFO: TCP Data received {"connection_id":57037,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19ec6e8012d80884005c3b168000200af27..."} 
[2026-04-28 06:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19ec6e8012d80884005c3b168000200af27..."} 
[2026-04-28 06:36:38] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19ec6e8012d80884005c3b168000200af27..."} 
[2026-04-28 06:36:38] local.INFO: Packet analysis {"connection_id":57037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19e"} 
[2026-04-28 06:36:38] local.INFO: Extracted packet for processing {"connection_id":57037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19e"} 
[2026-04-28 06:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763398208,"raw_latitude":96711016,"longitude_deg":76.3398208,"latitude_deg":9.6711016,"altitude":2,"angle":175,"satellites":39,"speed":32,"hex_longitude":"2d808840","hex_latitude":"05c3b168","is_valid_coordinates":true} 
[2026-04-28 06:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998614272001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282276696780963840,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046519928832,"note":"Value kept but may cause issues"} 
[2026-04-28 06:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777338337000,"timestamp_ms":1777338337000,"timestamp_seconds":1777338337,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19ec6e8"} 
[2026-04-28 06:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":57037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":57037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998614272001,"66":27908,"167":206,"19":45568,"24":32,"16":282276696780963840,"45":-9185021046519928832},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-04-28 06:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998614272001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:36:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 06:36:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282276696780963840,"km_value":282276696780963.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046519928832,"description":"Unknown IO ID 45"} 
[2026-04-28 06:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998614272001,"power":27908,"unknown_167":206,"unknown_19":45568,"ignition":32,"odometer":null,"unknown_45":-9185021046519928832}} 
[2026-04-28 06:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":57037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:36:38] local.INFO: GPS data processed {"connection_id":57037,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:36:38] local.INFO: Acknowledgment sent {"connection_id":57037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:36:54] local.INFO: TCP Data received {"connection_id":56154,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:54] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:54] local.INFO: IMEI packet received {"connection_id":56154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":56154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:36:55] local.INFO: TCP Data received {"connection_id":56154,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:55] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:36:55] local.INFO: IMEI packet received {"connection_id":56154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":56154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:37:00] local.INFO: TCP Data received {"connection_id":56154,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:00] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:00] local.INFO: IMEI packet received {"connection_id":56154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":56154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:37:01] local.INFO: TCP Data received {"connection_id":56154,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19ee240012d80894005c39c68000200bd28..."} 
[2026-04-28 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19ee240012d80894005c39c68000200bd28..."} 
[2026-04-28 06:37:01] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19ee240012d80894005c39c68000200bd28..."} 
[2026-04-28 06:37:01] local.INFO: Packet analysis {"connection_id":56154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19e"} 
[2026-04-28 06:37:01] local.INFO: Extracted packet for processing {"connection_id":56154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19e"} 
[2026-04-28 06:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763398464,"raw_latitude":96705640,"longitude_deg":76.3398464,"latitude_deg":9.670564,"altitude":2,"angle":189,"satellites":40,"speed":30,"hex_longitude":"2d808940","hex_latitude":"05c39c68","is_valid_coordinates":true} 
[2026-04-28 06:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998614272001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282276958773968896,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046519928832,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777338344000,"timestamp_ms":1777338344000,"timestamp_seconds":1777338344,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19ee240"} 
[2026-04-28 06:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998614272001,"66":27865,"167":206,"19":45568,"24":30,"16":282276958773968896,"45":-9185021046519928832},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-04-28 06:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998614272001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:37:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 06:37:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282276958773968896,"km_value":282276958773968.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046519928832,"description":"Unknown IO ID 45"} 
[2026-04-28 06:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998614272001,"power":27865,"unknown_167":206,"unknown_19":45568,"ignition":30,"odometer":null,"unknown_45":-9185021046519928832}} 
[2026-04-28 06:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":56154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:37:01] local.INFO: GPS data processed {"connection_id":56154,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:37:01] local.INFO: Acknowledgment sent {"connection_id":56154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:37:32] local.INFO: TCP Data received {"connection_id":56154,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19f0d38012d80838005c37920000300bd27..."} 
[2026-04-28 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19f0d38012d80838005c37920000300bd27..."} 
[2026-04-28 06:37:32] local.INFO: Processing buffer {"connection_id":56154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19f0d38012d80838005c37920000300bd27..."} 
[2026-04-28 06:37:32] local.INFO: Packet analysis {"connection_id":56154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19f"} 
[2026-04-28 06:37:32] local.INFO: Extracted packet for processing {"connection_id":56154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19f"} 
[2026-04-28 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763396992,"raw_latitude":96696608,"longitude_deg":76.3396992,"latitude_deg":9.6696608,"altitude":3,"angle":189,"satellites":39,"speed":33,"hex_longitude":"2d808380","hex_latitude":"05c37920","is_valid_coordinates":true} 
[2026-04-28 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998616064001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282277401155600384,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184739571544594432,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777338355000,"timestamp_ms":1777338355000,"timestamp_seconds":1777338355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19f0d38"} 
[2026-04-28 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:37: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-04-28 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998616064001,"66":27821,"167":206,"19":45568,"24":33,"16":282277401155600384,"45":-9184739571544594432},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-04-28 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998616064001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:37:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 06:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282277401155600384,"km_value":282277401155600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184739571544594432,"description":"Unknown IO ID 45"} 
[2026-04-28 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998616064001,"power":27821,"unknown_167":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":-9184739571544594432}} 
[2026-04-28 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":56154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:37:32] local.INFO: GPS data processed {"connection_id":56154,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:37:32] local.INFO: Acknowledgment sent {"connection_id":56154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:37:54] local.INFO: TCP Data received {"connection_id":57039,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:54] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:54] local.INFO: IMEI packet received {"connection_id":57039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":57039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:37:58] local.INFO: TCP Data received {"connection_id":57039,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:58] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:37:58] local.INFO: IMEI packet received {"connection_id":57039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":57039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:37:59] local.INFO: TCP Data received {"connection_id":57039,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd19f3830012d807cc005c35528000500c628..."} 
[2026-04-28 06:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd19f3830012d807cc005c35528000500c628..."} 
[2026-04-28 06:37:59] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd19f3830012d807cc005c35528000500c628..."} 
[2026-04-28 06:37:59] local.INFO: Packet analysis {"connection_id":57039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd19f"} 
[2026-04-28 06:37:59] local.INFO: Extracted packet for processing {"connection_id":57039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd19f"} 
[2026-04-28 06:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763395264,"raw_latitude":96687400,"longitude_deg":76.3395264,"latitude_deg":9.66874,"altitude":5,"angle":198,"satellites":40,"speed":34,"hex_longitude":"2d807cc0","hex_latitude":"05c35528","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998618880001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282277856422133760,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186358052662992896,"note":"Value kept but may cause issues"} 
[2026-04-28 06:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777338366000,"timestamp_ms":1777338366000,"timestamp_seconds":1777338366,"priority":1,"record_length":96,"hex_timestamp":"0000019dd19f3830"} 
[2026-04-28 06:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:37: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-04-28 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998618880001,"66":27843,"167":206,"19":45568,"24":34,"16":282277856422133760,"45":-9186358052662992896},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-04-28 06:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998618880001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:37:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-28 06:37:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282277856422133760,"km_value":282277856422133.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186358052662992896,"description":"Unknown IO ID 45"} 
[2026-04-28 06:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998618880001,"power":27843,"unknown_167":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":-9186358052662992896}} 
[2026-04-28 06:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":57039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:37:59] local.INFO: GPS data processed {"connection_id":57039,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:37:59] local.INFO: Acknowledgment sent {"connection_id":57039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:38:31] local.INFO: TCP Data received {"connection_id":57039,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a08438012d803f8005c1d300000200cb27..."} 
[2026-04-28 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a08438012d803f8005c1d300000200cb27..."} 
[2026-04-28 06:38:31] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a08438012d803f8005c1d300000200cb27..."} 
[2026-04-28 06:38:31] local.INFO: Packet analysis {"connection_id":57039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:38:31] local.INFO: Extracted packet for processing {"connection_id":57039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763379584,"raw_latitude":96588544,"longitude_deg":76.3379584,"latitude_deg":9.6588544,"altitude":2,"angle":203,"satellites":39,"speed":29,"hex_longitude":"2d803f80","hex_latitude":"05c1d300","is_valid_coordinates":true} 
[2026-04-28 06:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998642176001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282282714030145536,"note":"Value kept but may cause issues"} 
[2026-04-28 06:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204231713710637056,"note":"Value kept but may cause issues"} 
[2026-04-28 06:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777338451000,"timestamp_ms":1777338451000,"timestamp_seconds":1777338451,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a08438"} 
[2026-04-28 06:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:38: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-04-28 06:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998642176001,"66":27865,"166":206,"19":45568,"24":29,"16":282282714030145536,"45":-9204231713710637056},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-04-28 06:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998642176001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:38:31] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 06:38:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282282714030145536,"km_value":282282714030145.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204231713710637056,"description":"Unknown IO ID 45"} 
[2026-04-28 06:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998642176001,"power":27865,"unknown_166":206,"unknown_19":45568,"ignition":29,"odometer":null,"unknown_45":-9204231713710637056}} 
[2026-04-28 06:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":57039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:38:31] local.INFO: GPS data processed {"connection_id":57039,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:38:31] local.INFO: Acknowledgment sent {"connection_id":57039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:38:54] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:38:54] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:38:54] local.INFO: IMEI packet received {"connection_id":56373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":56373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:39:00] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:00] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:00] local.INFO: IMEI packet received {"connection_id":56373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":56373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:39:01] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a08ff0012d803c8005c1cb00000200c027..."} 
[2026-04-28 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a08ff0012d803c8005c1cb00000200c027..."} 
[2026-04-28 06:39:01] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a08ff0012d803c8005c1cb00000200c027..."} 
[2026-04-28 06:39:01] local.INFO: Packet analysis {"connection_id":56373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:39:01] local.INFO: Extracted packet for processing {"connection_id":56373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763378816,"raw_latitude":96586496,"longitude_deg":76.3378816,"latitude_deg":9.6586496,"altitude":2,"angle":192,"satellites":39,"speed":30,"hex_longitude":"2d803c80","hex_latitude":"05c1cb00","is_valid_coordinates":true} 
[2026-04-28 06:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998643456001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282282817109360640,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205498351106981888,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777338454000,"timestamp_ms":1777338454000,"timestamp_seconds":1777338454,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a08ff0"} 
[2026-04-28 06:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998643456001,"66":27865,"166":206,"19":45568,"24":30,"16":282282817109360640,"45":-9205498351106981888},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-04-28 06:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998643456001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:39:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 06:39:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282282817109360640,"km_value":282282817109360.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205498351106981888,"description":"Unknown IO ID 45"} 
[2026-04-28 06:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998643456001,"power":27865,"unknown_166":206,"unknown_19":45568,"ignition":30,"odometer":null,"unknown_45":-9205498351106981888}} 
[2026-04-28 06:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":56373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:39:01] local.INFO: GPS data processed {"connection_id":56373,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:39:01] local.INFO: Acknowledgment sent {"connection_id":56373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:39:33] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a0bae8012d80380005c1a640000200bd27..."} 
[2026-04-28 06:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a0bae8012d80380005c1a640000200bd27..."} 
[2026-04-28 06:39:33] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a0bae8012d80380005c1a640000200bd27..."} 
[2026-04-28 06:39:33] local.INFO: Packet analysis {"connection_id":56373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:39:33] local.INFO: Extracted packet for processing {"connection_id":56373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763377664,"raw_latitude":96577088,"longitude_deg":76.3377664,"latitude_deg":9.6577088,"altitude":2,"angle":189,"satellites":39,"speed":37,"hex_longitude":"2d803800","hex_latitude":"05c1a640","is_valid_coordinates":true} 
[2026-04-28 06:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998644224001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282283276670861312,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206342776037638144,"note":"Value kept but may cause issues"} 
[2026-04-28 06:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777338465000,"timestamp_ms":1777338465000,"timestamp_seconds":1777338465,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a0bae8"} 
[2026-04-28 06:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998644224001,"66":27843,"166":206,"19":45568,"24":37,"16":282283276670861312,"45":-9206342776037638144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-04-28 06:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998644224001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:39:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 06:39:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282283276670861312,"km_value":282283276670861.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206342776037638144,"description":"Unknown IO ID 45"} 
[2026-04-28 06:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998644224001,"power":27843,"unknown_166":206,"unknown_19":45568,"ignition":37,"odometer":null,"unknown_45":-9206342776037638144}} 
[2026-04-28 06:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":56373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:39:33] local.INFO: GPS data processed {"connection_id":56373,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:39:33] local.INFO: Acknowledgment sent {"connection_id":56373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:39:54] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:54] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:54] local.INFO: IMEI packet received {"connection_id":56374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":56374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:39:58] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:58] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:58] local.INFO: IMEI packet received {"connection_id":56374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":56374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:39:59] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:59] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:39:59] local.INFO: IMEI packet received {"connection_id":56374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:40:00] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a0e1f8012d80318005c181e0000400bc27..."} 
[2026-04-28 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a0e1f8012d80318005c181e0000400bc27..."} 
[2026-04-28 06:40:00] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a0e1f8012d80318005c181e0000400bc27..."} 
[2026-04-28 06:40:00] local.INFO: Packet analysis {"connection_id":56374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:40:00] local.INFO: Extracted packet for processing {"connection_id":56374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a0"} 
[2026-04-28 06:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763376000,"raw_latitude":96567776,"longitude_deg":76.3376,"latitude_deg":9.6567776,"altitude":4,"angle":188,"satellites":39,"speed":37,"hex_longitude":"2d803180","hex_latitude":"05c181e0","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998647040001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282283736232361984,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207609413435244544,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777338475000,"timestamp_ms":1777338475000,"timestamp_seconds":1777338475,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a0e1f8"} 
[2026-04-28 06:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998647040001,"66":27821,"166":206,"19":45568,"24":37,"16":282283736232361984,"45":-9207609413435244544},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-04-28 06:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998647040001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:40:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 06:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282283736232361984,"km_value":282283736232362.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207609413435244544,"description":"Unknown IO ID 45"} 
[2026-04-28 06:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998647040001,"power":27821,"unknown_166":206,"unknown_19":45568,"ignition":37,"odometer":null,"unknown_45":-9207609413435244544}} 
[2026-04-28 06:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:40:00] local.INFO: GPS data processed {"connection_id":56374,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:40:00] local.INFO: Acknowledgment sent {"connection_id":56374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:40:05] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a10908012d802bc005c15e30000700bc27..."} 
[2026-04-28 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a10908012d802bc005c15e30000700bc27..."} 
[2026-04-28 06:40:05] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a10908012d802bc005c15e30000700bc27..."} 
[2026-04-28 06:40:05] local.INFO: Packet analysis {"connection_id":56374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a1"} 
[2026-04-28 06:40:05] local.INFO: Extracted packet for processing {"connection_id":56374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a1"} 
[2026-04-28 06:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763374528,"raw_latitude":96558640,"longitude_deg":76.3374528,"latitude_deg":9.655864,"altitude":7,"angle":188,"satellites":39,"speed":37,"hex_longitude":"2d802bc0","hex_latitude":"05c15e30","is_valid_coordinates":true} 
[2026-04-28 06:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998649600001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282284182908960768,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209439000786247680,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777338485000,"timestamp_ms":1777338485000,"timestamp_seconds":1777338485,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a10908"} 
[2026-04-28 06:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998649600001,"66":27919,"166":206,"19":45568,"24":37,"16":282284182908960768,"45":-9209439000786247680},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-04-28 06:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998649600001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:40:05] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 06:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282284182908960768,"km_value":282284182908960.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209439000786247680,"description":"Unknown IO ID 45"} 
[2026-04-28 06:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998649600001,"power":27919,"unknown_166":206,"unknown_19":45568,"ignition":37,"odometer":null,"unknown_45":-9209439000786247680}} 
[2026-04-28 06:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":56374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:40:05] local.INFO: GPS data processed {"connection_id":56374,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:40:05] local.INFO: Acknowledgment sent {"connection_id":56374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:40:36] local.INFO: TCP Data received {"connection_id":56374,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a27c20012d7fed8005bfaa18000300bd29..."} 
[2026-04-28 06:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a27c20012d7fed8005bfaa18000300bd29..."} 
[2026-04-28 06:40:36] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a27c20012d7fed8005bfaa18000300bd29..."} 
[2026-04-28 06:40:36] local.INFO: Packet analysis {"connection_id":56374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:40:36] local.INFO: Extracted packet for processing {"connection_id":56374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763358592,"raw_latitude":96447000,"longitude_deg":76.3358592,"latitude_deg":9.6447,"altitude":3,"angle":189,"satellites":41,"speed":53,"hex_longitude":"2d7fed80","hex_latitude":"05bfaa18","is_valid_coordinates":true} 
[2026-04-28 06:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998674688001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282289654697295872,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219923993082888192,"note":"Value kept but may cause issues"} 
[2026-04-28 06:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777338580000,"timestamp_ms":1777338580000,"timestamp_seconds":1777338580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a27c20"} 
[2026-04-28 06:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998674688001,"66":27865,"207":206,"19":45568,"24":53,"16":282289654697295872,"45":9219923993082888192},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998674688001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:40:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:40:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282289654697295872,"km_value":282289654697295.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219923993082888192,"description":"Unknown IO ID 45"} 
[2026-04-28 06:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998674688001,"power":27865,"unknown_207":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9219923993082888192}} 
[2026-04-28 06:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":56374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:40:36] local.INFO: GPS data processed {"connection_id":56374,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:40:36] local.INFO: Acknowledgment sent {"connection_id":56374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:40:55] local.INFO: TCP Data received {"connection_id":56308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:40:55] local.INFO: Processing buffer {"connection_id":56308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:40:55] local.INFO: IMEI packet received {"connection_id":56308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":56308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:40:57] local.INFO: TCP Data received {"connection_id":56156,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:57] local.INFO: Processing buffer {"connection_id":56156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:57] local.INFO: IMEI packet received {"connection_id":56156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":56156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:40:59] local.INFO: TCP Data received {"connection_id":56156,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:59] local.INFO: Processing buffer {"connection_id":56156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:40:59] local.INFO: IMEI packet received {"connection_id":56156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:41:04] local.INFO: TCP Data received {"connection_id":56156,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:04] local.INFO: Processing buffer {"connection_id":56156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:04] local.INFO: IMEI packet received {"connection_id":56156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":56156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:41:05] local.INFO: TCP Data received {"connection_id":56156,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a29778012d7fe84005bf85d0000300bc28..."} 
[2026-04-28 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a29778012d7fe84005bf85d0000300bc28..."} 
[2026-04-28 06:41:05] local.INFO: Processing buffer {"connection_id":56156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a29778012d7fe84005bf85d0000300bc28..."} 
[2026-04-28 06:41:05] local.INFO: Packet analysis {"connection_id":56156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:41:05] local.INFO: Extracted packet for processing {"connection_id":56156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763357248,"raw_latitude":96437712,"longitude_deg":76.3357248,"latitude_deg":9.6437712,"altitude":3,"angle":188,"satellites":40,"speed":53,"hex_longitude":"2d7fe840","hex_latitude":"05bf85d0","is_valid_coordinates":true} 
[2026-04-28 06:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998676480001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282290109963829248,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164774476060672,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777338587000,"timestamp_ms":1777338587000,"timestamp_seconds":1777338587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a29778"} 
[2026-04-28 06:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998676480001,"66":27876,"207":206,"19":45568,"24":53,"16":282290109963829248,"45":9218164774476060672},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998676480001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:41:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282290109963829248,"km_value":282290109963829.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164774476060672,"description":"Unknown IO ID 45"} 
[2026-04-28 06:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998676480001,"power":27876,"unknown_207":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9218164774476060672}} 
[2026-04-28 06:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":56156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:41:05] local.INFO: GPS data processed {"connection_id":56156,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:41:05] local.INFO: Acknowledgment sent {"connection_id":56156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:41:35] local.INFO: TCP Data received {"connection_id":56157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:41:35] local.INFO: Processing buffer {"connection_id":56157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:41:35] local.INFO: IMEI packet received {"connection_id":56157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:41:37] local.INFO: TCP Data received {"connection_id":56156,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a2b2d0012d7fe28005bf6220000300bb2a..."} 
[2026-04-28 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a2b2d0012d7fe28005bf6220000300bb2a..."} 
[2026-04-28 06:41:37] local.INFO: Processing buffer {"connection_id":56156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a2b2d0012d7fe28005bf6220000300bb2a..."} 
[2026-04-28 06:41:37] local.INFO: Packet analysis {"connection_id":56156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:41:37] local.INFO: Extracted packet for processing {"connection_id":56156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763355776,"raw_latitude":96428576,"longitude_deg":76.3355776,"latitude_deg":9.6428576,"altitude":3,"angle":187,"satellites":42,"speed":52,"hex_longitude":"2d7fe280","hex_latitude":"05bf6220","is_valid_coordinates":true} 
[2026-04-28 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998678272001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282290556640428032,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216687030845952000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777338594000,"timestamp_ms":1777338594000,"timestamp_seconds":1777338594,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a2b2d0"} 
[2026-04-28 06:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:41:37] 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-04-28 06:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998678272001,"66":27908,"207":206,"19":45568,"24":52,"16":282290556640428032,"45":9216687030845952000},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998678272001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:41:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:41:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282290556640428032,"km_value":282290556640428.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216687030845952000,"description":"Unknown IO ID 45"} 
[2026-04-28 06:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998678272001,"power":27908,"unknown_207":206,"unknown_19":45568,"ignition":52,"odometer":null,"unknown_45":9216687030845952000}} 
[2026-04-28 06:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":56156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:41:37] local.INFO: GPS data processed {"connection_id":56156,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:41:37] local.INFO: Acknowledgment sent {"connection_id":56156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:41:55] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:55] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:41:55] local.INFO: IMEI packet received {"connection_id":56375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":56375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:42:00] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:00] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:00] local.INFO: IMEI packet received {"connection_id":56375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":56375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:42:02] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a2d210012d7fdfc005bf3cf0000400b82a..."} 
[2026-04-28 06:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a2d210012d7fdfc005bf3cf0000400b82a..."} 
[2026-04-28 06:42:02] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a2d210012d7fdfc005bf3cf0000400b82a..."} 
[2026-04-28 06:42:02] local.INFO: Packet analysis {"connection_id":56375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:42:02] local.INFO: Extracted packet for processing {"connection_id":56375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763355072,"raw_latitude":96419056,"longitude_deg":76.3355072,"latitude_deg":9.6419056,"altitude":4,"angle":184,"satellites":42,"speed":43,"hex_longitude":"2d7fdfc0","hex_latitude":"05bf3cf0","is_valid_coordinates":true} 
[2026-04-28 06:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998680064001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282291020496896000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215068549727526912,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777338602000,"timestamp_ms":1777338602000,"timestamp_seconds":1777338602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a2d210"} 
[2026-04-28 06:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998680064001,"66":27865,"207":206,"19":45568,"24":43,"16":282291020496896000,"45":9215068549727526912},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998680064001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:42:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:42:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282291020496896000,"km_value":282291020496896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215068549727526912,"description":"Unknown IO ID 45"} 
[2026-04-28 06:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998680064001,"power":27865,"unknown_207":206,"unknown_19":45568,"ignition":43,"odometer":null,"unknown_45":9215068549727526912}} 
[2026-04-28 06:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":56375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:42:02] local.INFO: GPS data processed {"connection_id":56375,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:42:02] local.INFO: Acknowledgment sent {"connection_id":56375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:42:33] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a2f538012d7fd98005bf1670000400bd29..."} 
[2026-04-28 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a2f538012d7fd98005bf1670000400bd29..."} 
[2026-04-28 06:42:33] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a2f538012d7fd98005bf1670000400bd29..."} 
[2026-04-28 06:42:33] local.INFO: Packet analysis {"connection_id":56375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:42:33] local.INFO: Extracted packet for processing {"connection_id":56375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a2"} 
[2026-04-28 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763353472,"raw_latitude":96409200,"longitude_deg":76.3353472,"latitude_deg":9.64092,"altitude":4,"angle":189,"satellites":41,"speed":46,"hex_longitude":"2d7fd980","hex_latitude":"05bf1670","is_valid_coordinates":true} 
[2026-04-28 06:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998682112001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282291505828200448,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214294493539135488,"note":"Value kept but may cause issues"} 
[2026-04-28 06:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777338611000,"timestamp_ms":1777338611000,"timestamp_seconds":1777338611,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a2f538"} 
[2026-04-28 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998682112001,"66":27865,"207":206,"19":45568,"24":46,"16":282291505828200448,"45":9214294493539135488},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998682112001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:42:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282291505828200448,"km_value":282291505828200.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214294493539135488,"description":"Unknown IO ID 45"} 
[2026-04-28 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998682112001,"power":27865,"unknown_207":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9214294493539135488}} 
[2026-04-28 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":56375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:42:33] local.INFO: GPS data processed {"connection_id":56375,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:42:33] local.INFO: Acknowledgment sent {"connection_id":56375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:42:53] local.INFO: TCP Data received {"connection_id":56159,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:53] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:53] local.INFO: IMEI packet received {"connection_id":56159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:42:54] local.INFO: TCP Data received {"connection_id":56159,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:54] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:54] local.INFO: IMEI packet received {"connection_id":56159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":56159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:42:59] local.INFO: TCP Data received {"connection_id":56159,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:59] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:42:59] local.INFO: IMEI packet received {"connection_id":56159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:43:00] local.INFO: TCP Data received {"connection_id":56159,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a31478012d7fd44005bef1e0000400bc29..."} 
[2026-04-28 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a31478012d7fd44005bef1e0000400bc29..."} 
[2026-04-28 06:43:00] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a31478012d7fd44005bef1e0000400bc29..."} 
[2026-04-28 06:43:00] local.INFO: Packet analysis {"connection_id":56159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a3"} 
[2026-04-28 06:43:00] local.INFO: Extracted packet for processing {"connection_id":56159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a3"} 
[2026-04-28 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763352128,"raw_latitude":96399840,"longitude_deg":76.3352128,"latitude_deg":9.639984,"altitude":4,"angle":188,"satellites":41,"speed":48,"hex_longitude":"2d7fd440","hex_latitude":"05bef1e0","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998684416001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282291965389701120,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212535274932170752,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777338619000,"timestamp_ms":1777338619000,"timestamp_seconds":1777338619,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a31478"} 
[2026-04-28 06:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:43: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-04-28 06:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:43: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-04-28 06: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-04-28 06:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998684416001,"66":27658,"207":206,"19":45568,"24":48,"16":282291965389701120,"45":9212535274932170752},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998684416001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:43:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282291965389701120,"km_value":282291965389701.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212535274932170752,"description":"Unknown IO ID 45"} 
[2026-04-28 06:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998684416001,"power":27658,"unknown_207":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9212535274932170752}} 
[2026-04-28 06:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":56159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:43:00] local.INFO: GPS data processed {"connection_id":56159,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:43:00] local.INFO: Acknowledgment sent {"connection_id":56159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:43:34] local.INFO: TCP Data received {"connection_id":56159,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a50490012d7f954005bd8f08000400c021..."} 
[2026-04-28 06:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a50490012d7f954005bd8f08000400c021..."} 
[2026-04-28 06:43:34] local.INFO: Processing buffer {"connection_id":56159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a50490012d7f954005bd8f08000400c021..."} 
[2026-04-28 06:43:34] local.INFO: Packet analysis {"connection_id":56159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:43:34] local.INFO: Extracted packet for processing {"connection_id":56159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":96309000,"longitude_deg":76.3336,"latitude_deg":9.6309,"altitude":4,"angle":192,"satellites":33,"speed":34,"hex_longitude":"2d7f9540","hex_latitude":"05bd8f08","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998716160001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282296440745623552,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435670073640960,"note":"Value kept but may cause issues"} 
[2026-04-28 06:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777338746000,"timestamp_ms":1777338746000,"timestamp_seconds":1777338746,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a50490"} 
[2026-04-28 06:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998716160001,"66":27865,"207":206,"19":45568,"24":34,"16":282296440745623552,"45":9195435670073640960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998716160001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:43:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:43:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282296440745623552,"km_value":282296440745623.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435670073640960,"description":"Unknown IO ID 45"} 
[2026-04-28 06:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998716160001,"power":27865,"unknown_207":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9195435670073640960}} 
[2026-04-28 06:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":56159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:43:34] local.INFO: GPS data processed {"connection_id":56159,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:43:34] local.INFO: Acknowledgment sent {"connection_id":56159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:44:00] local.INFO: TCP Data received {"connection_id":56160,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:00] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:00] local.INFO: IMEI packet received {"connection_id":56160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:44:02] local.INFO: TCP Data received {"connection_id":56160,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:02] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:02] local.INFO: IMEI packet received {"connection_id":56160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":56160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:44:03] local.INFO: TCP Data received {"connection_id":56160,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a52f88012d7f8d4005bd6a20000300bd2a..."} 
[2026-04-28 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a52f88012d7f8d4005bd6a20000300bd2a..."} 
[2026-04-28 06:44:03] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a52f88012d7f8d4005bd6a20000300bd2a..."} 
[2026-04-28 06:44:03] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:03] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":96299552,"longitude_deg":76.3333952,"latitude_deg":9.6299552,"altitude":3,"angle":189,"satellites":42,"speed":34,"hex_longitude":"2d7f8d40","hex_latitude":"05bd6a20","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998718976001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282296908897058816,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607746017280,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777338757000,"timestamp_ms":1777338757000,"timestamp_seconds":1777338757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a52f88"} 
[2026-04-28 06:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998718976001,"66":27832,"207":206,"19":45568,"24":34,"16":282296908897058816,"45":9193324607746017280},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998718976001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:44:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:44:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282296908897058816,"km_value":282296908897058.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607746017280,"description":"Unknown IO ID 45"} 
[2026-04-28 06:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998718976001,"power":27832,"unknown_207":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9193324607746017280}} 
[2026-04-28 06:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:44:03] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:44:03] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:44:05] local.INFO: TCP Data received {"connection_id":56160,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a55a80012d7f870005bd4700000300bc2b..."} 
[2026-04-28 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a55a80012d7f870005bd4700000300bc2b..."} 
[2026-04-28 06:44:05] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a55a80012d7f870005bd4700000300bc2b..."} 
[2026-04-28 06:44:05] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:05] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763332352,"raw_latitude":96290560,"longitude_deg":76.3332352,"latitude_deg":9.629056,"altitude":3,"angle":188,"satellites":43,"speed":31,"hex_longitude":"2d7f8700","hex_latitude":"05bd4700","is_valid_coordinates":true} 
[2026-04-28 06:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998721792001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282297351278690304,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807929913344,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777338768000,"timestamp_ms":1777338768000,"timestamp_seconds":1777338768,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a55a80"} 
[2026-04-28 06:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 06:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998721792001,"66":27865,"207":206,"19":45568,"24":31,"16":282297351278690304,"45":9191072807929913344},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,19,24,16,45]} 
[2026-04-28 06:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998721792001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:44:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 06:44:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282297351278690304,"km_value":282297351278690.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807929913344,"description":"Unknown IO ID 45"} 
[2026-04-28 06:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998721792001,"power":27865,"unknown_207":206,"unknown_19":45568,"ignition":31,"odometer":null,"unknown_45":9191072807929913344}} 
[2026-04-28 06:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:44:05] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:44:05] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:44:37] local.INFO: TCP Data received {"connection_id":56160,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a58960012d7f824005bd2370000300b92a..."} 
[2026-04-28 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a58960012d7f824005bd2370000300b92a..."} 
[2026-04-28 06:44:37] local.INFO: Processing buffer {"connection_id":56160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a58960012d7f824005bd2370000300b92a..."} 
[2026-04-28 06:44:37] local.INFO: Packet analysis {"connection_id":56160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:37] local.INFO: Extracted packet for processing {"connection_id":56160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763331136,"raw_latitude":96281456,"longitude_deg":76.3331136,"latitude_deg":9.6281456,"altitude":3,"angle":185,"satellites":42,"speed":27,"hex_longitude":"2d7f8240","hex_latitude":"05bd2370","is_valid_coordinates":true} 
[2026-04-28 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998724608001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282297797955289088,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189313589323169792,"note":"Value kept but may cause issues"} 
[2026-04-28 06:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777338780000,"timestamp_ms":1777338780000,"timestamp_seconds":1777338780,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a58960"} 
[2026-04-28 06:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:44: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-04-28 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998724608001,"66":27865,"210":206,"19":45568,"24":27,"16":282297797955289088,"45":9189313589323169792},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-04-28 06:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998724608001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282297797955289088,"km_value":282297797955289.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189313589323169792,"description":"Unknown IO ID 45"} 
[2026-04-28 06:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998724608001,"power":27865,"unknown_210":206,"unknown_19":45568,"ignition":27,"odometer":null,"unknown_45":9189313589323169792}} 
[2026-04-28 06:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":56160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:44:37] local.INFO: GPS data processed {"connection_id":56160,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:44:37] local.INFO: Acknowledgment sent {"connection_id":56160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:44:52] local.INFO: TCP Data received {"connection_id":57041,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:52] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:52] local.INFO: IMEI packet received {"connection_id":57041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":57041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:44:54] local.INFO: TCP Data received {"connection_id":57041,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:54] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:44:54] local.INFO: IMEI packet received {"connection_id":57041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":57041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:45:00] local.INFO: TCP Data received {"connection_id":57041,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:00] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:00] local.INFO: IMEI packet received {"connection_id":57041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":57041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:45:02] local.INFO: TCP Data received {"connection_id":57041,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a5bc28012d7f7d0005bcfe48000300bd2a..."} 
[2026-04-28 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a5bc28012d7f7d0005bcfe48000300bd2a..."} 
[2026-04-28 06:45:02] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a5bc28012d7f7d0005bcfe48000300bd2a..."} 
[2026-04-28 06:45:02] local.INFO: Packet analysis {"connection_id":57041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:45:02] local.INFO: Extracted packet for processing {"connection_id":57041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763329792,"raw_latitude":96271944,"longitude_deg":76.3329792,"latitude_deg":9.6271944,"altitude":3,"angle":189,"satellites":42,"speed":32,"hex_longitude":"2d7f7d00","hex_latitude":"05bcfe48","is_valid_coordinates":true} 
[2026-04-28 06:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998727680001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282298266106724352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187976583181463552,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777338793000,"timestamp_ms":1777338793000,"timestamp_seconds":1777338793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a5bc28"} 
[2026-04-28 06:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998727680001,"66":27876,"210":206,"19":45568,"24":32,"16":282298266106724352,"45":9187976583181463552},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-04-28 06:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998727680001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:45:02] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-28 06:45:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282298266106724352,"km_value":282298266106724.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187976583181463552,"description":"Unknown IO ID 45"} 
[2026-04-28 06:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998727680001,"power":27876,"unknown_210":206,"unknown_19":45568,"ignition":32,"odometer":null,"unknown_45":9187976583181463552}} 
[2026-04-28 06:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":57041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:45:02] local.INFO: GPS data processed {"connection_id":57041,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:45:02] local.INFO: Acknowledgment sent {"connection_id":57041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:45:34] local.INFO: TCP Data received {"connection_id":57041,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a5e720012d7f758005bcda58000300bf2b..."} 
[2026-04-28 06:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a5e720012d7f758005bcda58000300bf2b..."} 
[2026-04-28 06:45:34] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a5e720012d7f758005bcda58000300bf2b..."} 
[2026-04-28 06:45:34] local.INFO: Packet analysis {"connection_id":57041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:45:34] local.INFO: Extracted packet for processing {"connection_id":57041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a5"} 
[2026-04-28 06:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763327872,"raw_latitude":96262744,"longitude_deg":76.3327872,"latitude_deg":9.6262744,"altitude":3,"angle":191,"satellites":43,"speed":33,"hex_longitude":"2d7f7580","hex_latitude":"05bcda58","is_valid_coordinates":true} 
[2026-04-28 06:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998731008001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282298721373257728,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186498839551297536,"note":"Value kept but may cause issues"} 
[2026-04-28 06:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777338804000,"timestamp_ms":1777338804000,"timestamp_seconds":1777338804,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a5e720"} 
[2026-04-28 06:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998731008001,"66":27865,"119":206,"19":45568,"24":33,"16":282298721373257728,"45":9186498839551297536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998731008001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:45:34] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:45:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282298721373257728,"km_value":282298721373257.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186498839551297536,"description":"Unknown IO ID 45"} 
[2026-04-28 06:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998731008001,"power":27865,"unknown_119":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":9186498839551297536}} 
[2026-04-28 06:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":57041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:45:34] local.INFO: GPS data processed {"connection_id":57041,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:45:34] local.INFO: Acknowledgment sent {"connection_id":57041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:45:54] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:54] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:54] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:45:55] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:55] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:45:55] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:46:00] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:00] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:00] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:46:01] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a74e80012d7f30c005bb7648000300ba2a..."} 
[2026-04-28 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a74e80012d7f30c005bb7648000300ba2a..."} 
[2026-04-28 06:46:01] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a74e80012d7f30c005bb7648000300ba2a..."} 
[2026-04-28 06:46:01] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:46:01] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763310272,"raw_latitude":96171592,"longitude_deg":76.3310272,"latitude_deg":9.6171592,"altitude":3,"angle":186,"satellites":42,"speed":42,"hex_longitude":"2d7f30c0","hex_latitude":"05bb7648","is_valid_coordinates":true} 
[2026-04-28 06:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998755072001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282303226793951232,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165810428739897344,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777338896000,"timestamp_ms":1777338896000,"timestamp_seconds":1777338896,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a74e80"} 
[2026-04-28 06:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:46: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-04-28 06:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998755072001,"66":27800,"119":206,"19":45568,"24":42,"16":282303226793951232,"45":9165810428739897344},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998755072001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:46:01] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:46:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282303226793951232,"km_value":282303226793951.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165810428739897344,"description":"Unknown IO ID 45"} 
[2026-04-28 06:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998755072001,"power":27800,"unknown_119":206,"unknown_19":45568,"ignition":42,"odometer":null,"unknown_45":9165810428739897344}} 
[2026-04-28 06:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:46:01] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:46:01] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:46:33] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a771a8012d7f2a0005bb5130000300be2a..."} 
[2026-04-28 06:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a771a8012d7f2a0005bb5130000300be2a..."} 
[2026-04-28 06:46:33] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a771a8012d7f2a0005bb5130000300be2a..."} 
[2026-04-28 06:46:33] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:46:33] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763308544,"raw_latitude":96162096,"longitude_deg":76.3308544,"latitude_deg":9.6162096,"altitude":3,"angle":190,"satellites":42,"speed":43,"hex_longitude":"2d7f2a00","hex_latitude":"05bb5130","is_valid_coordinates":true} 
[2026-04-28 06:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998757376001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282303694945386496,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165036372551419904,"note":"Value kept but may cause issues"} 
[2026-04-28 06:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777338905000,"timestamp_ms":1777338905000,"timestamp_seconds":1777338905,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a771a8"} 
[2026-04-28 06:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998757376001,"66":27908,"119":206,"19":45568,"24":43,"16":282303694945386496,"45":9165036372551419904},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998757376001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:46:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282303694945386496,"km_value":282303694945386.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165036372551419904,"description":"Unknown IO ID 45"} 
[2026-04-28 06:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998757376001,"power":27908,"unknown_119":206,"unknown_19":45568,"ignition":43,"odometer":null,"unknown_45":9165036372551419904}} 
[2026-04-28 06:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:46:33] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:46:33] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:46:54] local.INFO: TCP Data received {"connection_id":56162,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:54] local.INFO: Processing buffer {"connection_id":56162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:46:54] local.INFO: IMEI packet received {"connection_id":56162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:47:00] local.INFO: TCP Data received {"connection_id":56162,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:00] local.INFO: Processing buffer {"connection_id":56162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:00] local.INFO: IMEI packet received {"connection_id":56162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:47:00] local.INFO: TCP Data received {"connection_id":57042,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:00] local.INFO: Processing buffer {"connection_id":57042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:00] local.INFO: IMEI packet received {"connection_id":57042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":57042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:47:01] local.INFO: TCP Data received {"connection_id":56162,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a78918012d7f278005bb3a90000300ac2b..."} 
[2026-04-28 06:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a78918012d7f278005bb3a90000300ac2b..."} 
[2026-04-28 06:47:01] local.INFO: Processing buffer {"connection_id":56162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a78918012d7f278005bb3a90000300ac2b..."} 
[2026-04-28 06:47:01] local.INFO: Packet analysis {"connection_id":56162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:47:01] local.INFO: Extracted packet for processing {"connection_id":56162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763307904,"raw_latitude":96156304,"longitude_deg":76.3307904,"latitude_deg":9.6156304,"altitude":3,"angle":172,"satellites":43,"speed":33,"hex_longitude":"2d7f2780","hex_latitude":"05bb3a90","is_valid_coordinates":true} 
[2026-04-28 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-04-28 06:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998759680001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282303978413228032,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163136416456192000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777338911000,"timestamp_ms":1777338911000,"timestamp_seconds":1777338911,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a78918"} 
[2026-04-28 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-04-28 06:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 06:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998759680001,"66":27908,"119":206,"19":45568,"24":33,"16":282303978413228032,"45":9163136416456192000},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998759680001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:47:01] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:47:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282303978413228032,"km_value":282303978413228.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163136416456192000,"description":"Unknown IO ID 45"} 
[2026-04-28 06:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998759680001,"power":27908,"unknown_119":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":9163136416456192000}} 
[2026-04-28 06:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":56162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:47:01] local.INFO: GPS data processed {"connection_id":56162,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:47:01] local.INFO: Acknowledgment sent {"connection_id":56162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:47:33] local.INFO: TCP Data received {"connection_id":56162,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a79ca0012d7f294005bb2a28000200bc28..."} 
[2026-04-28 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a79ca0012d7f294005bb2a28000200bc28..."} 
[2026-04-28 06:47:33] local.INFO: Processing buffer {"connection_id":56162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a79ca0012d7f294005bb2a28000200bc28..."} 
[2026-04-28 06:47:33] local.INFO: Packet analysis {"connection_id":56162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:47:33] local.INFO: Extracted packet for processing {"connection_id":56162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763308352,"raw_latitude":96152104,"longitude_deg":76.3308352,"latitude_deg":9.6152104,"altitude":2,"angle":188,"satellites":40,"speed":34,"hex_longitude":"2d7f2940","hex_latitude":"05bb2a28","is_valid_coordinates":true} 
[2026-04-28 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998761216001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282304184571658240,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162432729012932608,"note":"Value kept but may cause issues"} 
[2026-04-28 06:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777338916000,"timestamp_ms":1777338916000,"timestamp_seconds":1777338916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a79ca0"} 
[2026-04-28 06:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998761216001,"66":27908,"119":206,"19":45568,"24":34,"16":282304184571658240,"45":9162432729012932608},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998761216001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:47:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:47:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282304184571658240,"km_value":282304184571658.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162432729012932608,"description":"Unknown IO ID 45"} 
[2026-04-28 06:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998761216001,"power":27908,"unknown_119":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9162432729012932608}} 
[2026-04-28 06:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":56162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:47:33] local.INFO: GPS data processed {"connection_id":56162,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:47:33] local.INFO: Acknowledgment sent {"connection_id":56162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:47:35] local.INFO: TCP Data received {"connection_id":56310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:35] local.INFO: Processing buffer {"connection_id":56310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:47:35] local.INFO: IMEI packet received {"connection_id":56310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:47:54] local.INFO: TCP Data received {"connection_id":56163,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:54] local.INFO: Processing buffer {"connection_id":56163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:47:54] local.INFO: IMEI packet received {"connection_id":56163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":56163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:48:00] local.INFO: TCP Data received {"connection_id":56163,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:00] local.INFO: Processing buffer {"connection_id":56163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:00] local.INFO: IMEI packet received {"connection_id":56163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":56163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:48:02] local.INFO: TCP Data received {"connection_id":56163,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a7c798012d7f230005bb0678000300bc2a..."} 
[2026-04-28 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a7c798012d7f230005bb0678000300bc2a..."} 
[2026-04-28 06:48:02] local.INFO: Processing buffer {"connection_id":56163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a7c798012d7f230005bb0678000300bc2a..."} 
[2026-04-28 06:48:02] local.INFO: Packet analysis {"connection_id":56163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:48:02] local.INFO: Extracted packet for processing {"connection_id":56163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a7"} 
[2026-04-28 06:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763306752,"raw_latitude":96142968,"longitude_deg":76.3306752,"latitude_deg":9.6142968,"altitude":3,"angle":188,"satellites":42,"speed":34,"hex_longitude":"2d7f2300","hex_latitude":"05bb0678","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998762496001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282304635543224320,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162925310221101056,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777338927000,"timestamp_ms":1777338927000,"timestamp_seconds":1777338927,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a7c798"} 
[2026-04-28 06:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998762496001,"66":27876,"119":206,"19":45568,"24":34,"16":282304635543224320,"45":9162925310221101056},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-04-28 06:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998762496001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:48:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 06:48:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282304635543224320,"km_value":282304635543224.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162925310221101056,"description":"Unknown IO ID 45"} 
[2026-04-28 06:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998762496001,"power":27876,"unknown_119":206,"unknown_19":45568,"ignition":34,"odometer":null,"unknown_45":9162925310221101056}} 
[2026-04-28 06:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":56163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:48:02] local.INFO: GPS data processed {"connection_id":56163,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:48:02] local.INFO: Acknowledgment sent {"connection_id":56163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:48:33] local.INFO: TCP Data received {"connection_id":56163,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a988d0012d7eda4005b95638000400c62b..."} 
[2026-04-28 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a988d0012d7eda4005b95638000400c62b..."} 
[2026-04-28 06:48:33] local.INFO: Processing buffer {"connection_id":56163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a988d0012d7eda4005b95638000400c62b..."} 
[2026-04-28 06:48:33] local.INFO: Packet analysis {"connection_id":56163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:48:33] local.INFO: Extracted packet for processing {"connection_id":56163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763288128,"raw_latitude":96032312,"longitude_deg":76.3288128,"latitude_deg":9.6032312,"altitude":4,"angle":198,"satellites":43,"speed":40,"hex_longitude":"2d7eda40","hex_latitude":"05b95638","is_valid_coordinates":true} 
[2026-04-28 06:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998792448001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282310077266788352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142659111869632512,"note":"Value kept but may cause issues"} 
[2026-04-28 06:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777339042000,"timestamp_ms":1777339042000,"timestamp_seconds":1777339042,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a988d0"} 
[2026-04-28 06:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998792448001,"66":27865,"121":206,"19":45568,"24":40,"16":282310077266788352,"45":9142659111869632512},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-04-28 06:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998792448001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 06:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282310077266788352,"km_value":282310077266788.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142659111869632512,"description":"Unknown IO ID 45"} 
[2026-04-28 06:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998792448001,"power":27865,"unknown_121":206,"unknown_19":45568,"ignition":40,"odometer":null,"unknown_45":9142659111869632512}} 
[2026-04-28 06:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":56163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:48:33] local.INFO: GPS data processed {"connection_id":56163,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:48:33] local.INFO: Acknowledgment sent {"connection_id":56163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:48:54] local.INFO: TCP Data received {"connection_id":57043,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:54] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:48:54] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:49:00] local.INFO: TCP Data received {"connection_id":57043,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:49:00] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:49:00] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:49:01] local.INFO: TCP Data received {"connection_id":57043,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a9b7b0012d7ecf8005b93540000400c22b..."} 
[2026-04-28 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a9b7b0012d7ecf8005b93540000400c22b..."} 
[2026-04-28 06:49:01] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a9b7b0012d7ecf8005b93540000400c22b..."} 
[2026-04-28 06:49:01] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:49:01] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":96023872,"longitude_deg":76.3285376,"latitude_deg":9.6023872,"altitude":4,"angle":194,"satellites":43,"speed":20,"hex_longitude":"2d7ecf80","hex_latitude":"05b93540","is_valid_coordinates":true} 
[2026-04-28 06:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998794752001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282310506763517952,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140688787030292480,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339054000,"timestamp_ms":1777339054000,"timestamp_seconds":1777339054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a9b7b0"} 
[2026-04-28 06:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998794752001,"66":27865,"121":206,"19":45568,"24":20,"16":282310506763517952,"45":9140688787030292480},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-04-28 06:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998794752001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:49:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 06:49:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282310506763517952,"km_value":282310506763517.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140688787030292480,"description":"Unknown IO ID 45"} 
[2026-04-28 06:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998794752001,"power":27865,"unknown_121":206,"unknown_19":45568,"ignition":20,"odometer":null,"unknown_45":9140688787030292480}} 
[2026-04-28 06:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:49:01] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:49:01] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:49:32] local.INFO: TCP Data received {"connection_id":57043,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1a9e2a8012d7ecc4005b92258000300b72b..."} 
[2026-04-28 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1a9e2a8012d7ecc4005b92258000300b72b..."} 
[2026-04-28 06:49:32] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1a9e2a8012d7ecc4005b92258000300b72b..."} 
[2026-04-28 06:49:32] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:49:32] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1a9"} 
[2026-04-28 06:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763284544,"raw_latitude":96019032,"longitude_deg":76.3284544,"latitude_deg":9.6019032,"altitude":3,"angle":183,"satellites":43,"speed":22,"hex_longitude":"2d7ecc40","hex_latitude":"05b92258","is_valid_coordinates":true} 
[2026-04-28 06:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998797824001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282310747281686528,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662931028492288,"note":"Value kept but may cause issues"} 
[2026-04-28 06:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777339065000,"timestamp_ms":1777339065000,"timestamp_seconds":1777339065,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1a9e2a8"} 
[2026-04-28 06:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998797824001,"66":27865,"121":206,"19":45568,"24":22,"16":282310747281686528,"45":9137662931028492288},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-04-28 06:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998797824001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:49:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 06:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282310747281686528,"km_value":282310747281686.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662931028492288,"description":"Unknown IO ID 45"} 
[2026-04-28 06:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998797824001,"power":27865,"unknown_121":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":9137662931028492288}} 
[2026-04-28 06:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:49:32] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:49:32] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:50:00] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:00] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:00] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:50:05] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:05] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:05] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:50:06] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aa2128012d7ec78005b8fec8000200ba2a..."} 
[2026-04-28 06:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aa2128012d7ec78005b8fec8000200ba2a..."} 
[2026-04-28 06:50:06] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aa2128012d7ec78005b8fec8000200ba2a..."} 
[2026-04-28 06:50:06] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:06] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763283328,"raw_latitude":96009928,"longitude_deg":76.3283328,"latitude_deg":9.6009928,"altitude":2,"angle":186,"satellites":42,"speed":26,"hex_longitude":"2d7ec780","hex_latitude":"05b8fec8","is_valid_coordinates":true} 
[2026-04-28 06:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998800640001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282311189663318016,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136748137352943616,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777339081000,"timestamp_ms":1777339081000,"timestamp_seconds":1777339081,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aa2128"} 
[2026-04-28 06:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998800640001,"66":27908,"121":206,"19":45568,"24":26,"16":282311189663318016,"45":9136748137352943616},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-04-28 06:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998800640001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 06:50:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282311189663318016,"km_value":282311189663318.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136748137352943616,"description":"Unknown IO ID 45"} 
[2026-04-28 06:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998800640001,"power":27908,"unknown_121":206,"unknown_19":45568,"ignition":26,"odometer":null,"unknown_45":9136748137352943616}} 
[2026-04-28 06:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:50:06] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:50:06] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:50:07] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aa5008012d7ec34005b8dbb0000200bb2a..."} 
[2026-04-28 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aa5008012d7ec34005b8dbb0000200bb2a..."} 
[2026-04-28 06:50:07] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aa5008012d7ec34005b8dbb0000200bb2a..."} 
[2026-04-28 06:50:07] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:07] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763282240,"raw_latitude":96000944,"longitude_deg":76.328224,"latitude_deg":9.6000944,"altitude":2,"angle":187,"satellites":42,"speed":31,"hex_longitude":"2d7ec340","hex_latitude":"05b8dbb0","is_valid_coordinates":true} 
[2026-04-28 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998804736001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282311627749982208,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135411131211237376,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777339093000,"timestamp_ms":1777339093000,"timestamp_seconds":1777339093,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aa5008"} 
[2026-04-28 06:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:50: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-04-28 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998804736001,"66":27865,"197":206,"19":45568,"24":31,"16":282311627749982208,"45":9135411131211237376},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998804736001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:50:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:50:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282311627749982208,"km_value":282311627749982.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135411131211237376,"description":"Unknown IO ID 45"} 
[2026-04-28 06:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998804736001,"power":27865,"unknown_197":206,"unknown_19":45568,"ignition":31,"odometer":null,"unknown_45":9135411131211237376}} 
[2026-04-28 06:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:50:07] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:50:07] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:50:39] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aa7b00012d7ebe4005b8c1f0000300c72b..."} 
[2026-04-28 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aa7b00012d7ebe4005b8c1f0000300c72b..."} 
[2026-04-28 06:50:39] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aa7b00012d7ebe4005b8c1f0000300c72b..."} 
[2026-04-28 06:50:39] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:39] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763280960,"raw_latitude":95994352,"longitude_deg":76.328096,"latitude_deg":9.5994352,"altitude":3,"angle":199,"satellites":43,"speed":19,"hex_longitude":"2d7ebe40","hex_latitude":"05b8c1f0","is_valid_coordinates":true} 
[2026-04-28 06:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998807808001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282311958462464000,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134214862557917184,"note":"Value kept but may cause issues"} 
[2026-04-28 06:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777339104000,"timestamp_ms":1777339104000,"timestamp_seconds":1777339104,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aa7b00"} 
[2026-04-28 06:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998807808001,"66":27800,"197":206,"19":45568,"24":19,"16":282311958462464000,"45":9134214862557917184},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998807808001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:50:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:50:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282311958462464000,"km_value":282311958462464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134214862557917184,"description":"Unknown IO ID 45"} 
[2026-04-28 06:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998807808001,"power":27800,"unknown_197":206,"unknown_19":45568,"ignition":19,"odometer":null,"unknown_45":9134214862557917184}} 
[2026-04-28 06:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:50:39] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:50:39] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:50:52] local.INFO: TCP Data received {"connection_id":57045,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:52] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:52] local.INFO: IMEI packet received {"connection_id":57045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":57045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:50:54] local.INFO: TCP Data received {"connection_id":57045,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:54] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:50:54] local.INFO: IMEI packet received {"connection_id":57045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":57045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:51:00] local.INFO: TCP Data received {"connection_id":57045,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:00] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:00] local.INFO: IMEI packet received {"connection_id":57045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":57045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:51:01] local.INFO: TCP Data received {"connection_id":57045,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aa8e88012d7ebbc005b8b8b8000300b82a..."} 
[2026-04-28 06:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aa8e88012d7ebbc005b8b8b8000300b82a..."} 
[2026-04-28 06:51:01] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aa8e88012d7ebbc005b8b8b8000300b82a..."} 
[2026-04-28 06:51:01] local.INFO: Packet analysis {"connection_id":57045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:51:01] local.INFO: Extracted packet for processing {"connection_id":57045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1aa"} 
[2026-04-28 06:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763280320,"raw_latitude":95991992,"longitude_deg":76.328032,"latitude_deg":9.5991992,"altitude":3,"angle":184,"satellites":42,"speed":19,"hex_longitude":"2d7ebbc0","hex_latitude":"05b8b8b8","is_valid_coordinates":true} 
[2026-04-28 06:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998810624001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282312074426580992,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132807487672676352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339109000,"timestamp_ms":1777339109000,"timestamp_seconds":1777339109,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aa8e88"} 
[2026-04-28 06:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998810624001,"66":27876,"197":206,"19":45568,"24":19,"16":282312074426580992,"45":9132807487672676352},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998810624001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:51:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:51:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282312074426580992,"km_value":282312074426581.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132807487672676352,"description":"Unknown IO ID 45"} 
[2026-04-28 06:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998810624001,"power":27876,"unknown_197":206,"unknown_19":45568,"ignition":19,"odometer":null,"unknown_45":9132807487672676352}} 
[2026-04-28 06:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":57045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:51:01] local.INFO: GPS data processed {"connection_id":57045,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:51:01] local.INFO: Acknowledgment sent {"connection_id":57045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:51:33] local.INFO: TCP Data received {"connection_id":57045,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ac4fc0012d7eb70005b76990000400b527..."} 
[2026-04-28 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ac4fc0012d7eb70005b76990000400b527..."} 
[2026-04-28 06:51:33] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ac4fc0012d7eb70005b76990000400b527..."} 
[2026-04-28 06:51:33] local.INFO: Packet analysis {"connection_id":57045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:51:33] local.INFO: Extracted packet for processing {"connection_id":57045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95906192,"longitude_deg":76.3279104,"latitude_deg":9.5906192,"altitude":4,"angle":181,"satellites":39,"speed":38,"hex_longitude":"2d7eb700","hex_latitude":"05b76990","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998838784001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282316244839825408,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048269048107008,"note":"Value kept but may cause issues"} 
[2026-04-28 06:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777339224000,"timestamp_ms":1777339224000,"timestamp_seconds":1777339224,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ac4fc0"} 
[2026-04-28 06:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 06:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998838784001,"66":27843,"197":206,"19":45568,"24":38,"16":282316244839825408,"45":9131048269048107008},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998838784001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:51:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282316244839825408,"km_value":282316244839825.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048269048107008,"description":"Unknown IO ID 45"} 
[2026-04-28 06:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998838784001,"power":27843,"unknown_197":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9131048269048107008}} 
[2026-04-28 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":57045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:51:33] local.INFO: GPS data processed {"connection_id":57045,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:51:33] local.INFO: Acknowledgment sent {"connection_id":57045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:51:54] local.INFO: TCP Data received {"connection_id":56311,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:54] local.INFO: Processing buffer {"connection_id":56311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:51:54] local.INFO: IMEI packet received {"connection_id":56311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":56311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:52:00] local.INFO: TCP Data received {"connection_id":56311,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:00] local.INFO: Processing buffer {"connection_id":56311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:00] local.INFO: IMEI packet received {"connection_id":56311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:52:01] local.INFO: TCP Data received {"connection_id":56311,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ac76d0012d7eb68005b74518000500b427..."} 
[2026-04-28 06:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ac76d0012d7eb68005b74518000500b427..."} 
[2026-04-28 06:52:01] local.INFO: Processing buffer {"connection_id":56311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ac76d0012d7eb68005b74518000500b427..."} 
[2026-04-28 06:52:01] local.INFO: Packet analysis {"connection_id":56311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:52:01] local.INFO: Extracted packet for processing {"connection_id":56311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95896856,"longitude_deg":76.3278976,"latitude_deg":9.5896856,"altitude":5,"angle":180,"satellites":39,"speed":38,"hex_longitude":"2d7eb680","hex_latitude":"05b74518","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998841344001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282316695811391488,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794068955136,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339234000,"timestamp_ms":1777339234000,"timestamp_seconds":1777339234,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ac76d0"} 
[2026-04-28 06:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998841344001,"66":27887,"197":206,"19":45568,"24":38,"16":282316695811391488,"45":9130766794068955136},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998841344001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:52:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282316695811391488,"km_value":282316695811391.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794068955136,"description":"Unknown IO ID 45"} 
[2026-04-28 06:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998841344001,"power":27887,"unknown_197":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9130766794068955136}} 
[2026-04-28 06:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":56311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:52:01] local.INFO: GPS data processed {"connection_id":56311,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:52:01] local.INFO: Acknowledgment sent {"connection_id":56311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:52:33] local.INFO: TCP Data received {"connection_id":56311,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ac9de0012d7eb5c005b71fa8000600b52a..."} 
[2026-04-28 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ac9de0012d7eb5c005b71fa8000600b52a..."} 
[2026-04-28 06:52:33] local.INFO: Processing buffer {"connection_id":56311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ac9de0012d7eb5c005b71fa8000600b52a..."} 
[2026-04-28 06:52:33] local.INFO: Packet analysis {"connection_id":56311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:52:33] local.INFO: Extracted packet for processing {"connection_id":56311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95887272,"longitude_deg":76.3278784,"latitude_deg":9.5887272,"altitude":6,"angle":181,"satellites":42,"speed":38,"hex_longitude":"2d7eb5c0","hex_latitude":"05b71fa8","is_valid_coordinates":true} 
[2026-04-28 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998843904001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282317159667859456,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056578209792,"note":"Value kept but may cause issues"} 
[2026-04-28 06:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777339244000,"timestamp_ms":1777339244000,"timestamp_seconds":1777339244,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ac9de0"} 
[2026-04-28 06:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-28 06:52:33] 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-04-28 06:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998843904001,"66":27876,"197":206,"19":45568,"24":38,"16":282317159667859456,"45":9130626056578209792},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998843904001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:52:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282317159667859456,"km_value":282317159667859.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056578209792,"description":"Unknown IO ID 45"} 
[2026-04-28 06:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998843904001,"power":27876,"unknown_197":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9130626056578209792}} 
[2026-04-28 06:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":56311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:52:33] local.INFO: GPS data processed {"connection_id":56311,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:52:33] local.INFO: Acknowledgment sent {"connection_id":56311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:52:53] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:53] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:53] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:52:54] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:54] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:54] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:52:55] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:55] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:52:55] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:53:00] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:00] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:00] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:53:00] local.INFO: TCP Data received {"connection_id":56165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:00] local.INFO: Processing buffer {"connection_id":56165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:00] local.INFO: IMEI packet received {"connection_id":56165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:53:01] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1acd0a8012d7eb44005b6fcc0000500b52c..."} 
[2026-04-28 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1acd0a8012d7eb44005b6fcc0000500b52c..."} 
[2026-04-28 06:53:01] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1acd0a8012d7eb44005b6fcc0000500b52c..."} 
[2026-04-28 06:53:01] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:53:01] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ac"} 
[2026-04-28 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95878336,"longitude_deg":76.32784,"latitude_deg":9.5878336,"altitude":5,"angle":181,"satellites":44,"speed":21,"hex_longitude":"2d7eb440","hex_latitude":"05b6fcc0","is_valid_coordinates":true} 
[2026-04-28 06:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998846464001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282317593459556352,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950343223296,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339257000,"timestamp_ms":1777339257000,"timestamp_seconds":1777339257,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1acd0a8"} 
[2026-04-28 06:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 06:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998846464001,"66":27919,"197":206,"19":45568,"24":21,"16":282317593459556352,"45":9130414950343223296},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998846464001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:53:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282317593459556352,"km_value":282317593459556.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950343223296,"description":"Unknown IO ID 45"} 
[2026-04-28 06:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998846464001,"power":27919,"unknown_197":206,"unknown_19":45568,"ignition":21,"odometer":null,"unknown_45":9130414950343223296}} 
[2026-04-28 06:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:53:01] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:53:01] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:53:32] local.INFO: TCP Data received {"connection_id":57046,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ad0b40012d7eb38005b6d800000500b62c..."} 
[2026-04-28 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ad0b40012d7eb38005b6d800000500b62c..."} 
[2026-04-28 06:53:32] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ad0b40012d7eb38005b6d800000500b62c..."} 
[2026-04-28 06:53:32] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ad"} 
[2026-04-28 06:53:32] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ad"} 
[2026-04-28 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763278208,"raw_latitude":95868928,"longitude_deg":76.3278208,"latitude_deg":9.5868928,"altitude":5,"angle":182,"satellites":44,"speed":28,"hex_longitude":"2d7eb380","hex_latitude":"05b6d800","is_valid_coordinates":true} 
[2026-04-28 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998849792001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282318053021057024,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737875869696,"note":"Value kept but may cause issues"} 
[2026-04-28 06:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777339272000,"timestamp_ms":1777339272000,"timestamp_seconds":1777339272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ad0b40"} 
[2026-04-28 06:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 06:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998849792001,"66":27908,"197":206,"19":45568,"24":28,"16":282318053021057024,"45":9129992737875869696},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-28 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998849792001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:53:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 06:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282318053021057024,"km_value":282318053021057.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737875869696,"description":"Unknown IO ID 45"} 
[2026-04-28 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998849792001,"power":27908,"unknown_197":206,"unknown_19":45568,"ignition":28,"odometer":null,"unknown_45":9129992737875869696}} 
[2026-04-28 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:53:32] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:53:32] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:53:35] local.INFO: TCP Data received {"connection_id":56380,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:35] local.INFO: Processing buffer {"connection_id":56380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:53:35] local.INFO: IMEI packet received {"connection_id":56380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":56380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:53:54] local.INFO: TCP Data received {"connection_id":57047,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:54] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:54] local.INFO: IMEI packet received {"connection_id":57047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":57047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:53:55] local.INFO: TCP Data received {"connection_id":57047,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:55] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:53:55] local.INFO: IMEI packet received {"connection_id":57047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":57047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:54:00] local.INFO: TCP Data received {"connection_id":57047,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:54:00] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:54:00] local.INFO: IMEI packet received {"connection_id":57047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":57047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:54:01] local.INFO: TCP Data received {"connection_id":57047,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ae99b0012d7eaec005b5c480000600b02b..."} 
[2026-04-28 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ae99b0012d7eaec005b5c480000600b02b..."} 
[2026-04-28 06:54:01] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ae99b0012d7eaec005b5c480000600b02b..."} 
[2026-04-28 06:54:01] local.INFO: Packet analysis {"connection_id":57047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:54:01] local.INFO: Extracted packet for processing {"connection_id":57047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95798400,"longitude_deg":76.3276992,"latitude_deg":9.57984,"altitude":6,"angle":176,"satellites":43,"speed":32,"hex_longitude":"2d7eaec0","hex_latitude":"05b5c480","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998876672001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282321523354632192,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092781764921344,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339374000,"timestamp_ms":1777339374000,"timestamp_seconds":1777339374,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ae99b0"} 
[2026-04-28 06:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998876672001,"66":27800,"199":206,"19":45568,"24":32,"16":282321523354632192,"45":9128092781764921344},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998876672001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:54:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:54:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282321523354632192,"km_value":282321523354632.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092781764921344,"description":"Unknown IO ID 45"} 
[2026-04-28 06:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998876672001,"power":27800,"trip_odometer":0.206,"unknown_19":45568,"ignition":32,"odometer":null,"unknown_45":9128092781764921344}} 
[2026-04-28 06:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":57047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:54:01] local.INFO: GPS data processed {"connection_id":57047,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:54:01] local.INFO: Acknowledgment sent {"connection_id":57047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:54:32] local.INFO: TCP Data received {"connection_id":57047,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aec890012d7eac8005b5a048000500b92b..."} 
[2026-04-28 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aec890012d7eac8005b5a048000500b92b..."} 
[2026-04-28 06:54:32] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aec890012d7eac8005b5a048000500b92b..."} 
[2026-04-28 06:54:32] local.INFO: Packet analysis {"connection_id":57047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:54:32] local.INFO: Extracted packet for processing {"connection_id":57047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763276416,"raw_latitude":95789128,"longitude_deg":76.3276416,"latitude_deg":9.5789128,"altitude":5,"angle":185,"satellites":43,"speed":31,"hex_longitude":"2d7eac80","hex_latitude":"05b5a048","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998879744001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282321974326198272,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128444625483497472,"note":"Value kept but may cause issues"} 
[2026-04-28 06:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777339386000,"timestamp_ms":1777339386000,"timestamp_seconds":1777339386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aec890"} 
[2026-04-28 06:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 06:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998879744001,"66":27865,"199":206,"19":45568,"24":31,"16":282321974326198272,"45":9128444625483497472},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998879744001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:54:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282321974326198272,"km_value":282321974326198.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128444625483497472,"description":"Unknown IO ID 45"} 
[2026-04-28 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998879744001,"power":27865,"trip_odometer":0.206,"unknown_19":45568,"ignition":31,"odometer":null,"unknown_45":9128444625483497472}} 
[2026-04-28 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":57047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:54:32] local.INFO: GPS data processed {"connection_id":57047,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:54:32] local.INFO: Acknowledgment sent {"connection_id":57047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:55:00] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:00] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:00] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:55:04] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:04] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:04] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:55:05] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1aef388012d7eaa4005b57b80000500b62b..."} 
[2026-04-28 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1aef388012d7eaa4005b57b80000500b62b..."} 
[2026-04-28 06:55:05] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1aef388012d7eaa4005b57b80000500b62b..."} 
[2026-04-28 06:55:05] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:55:05] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ae"} 
[2026-04-28 06:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95779712,"longitude_deg":76.327584,"latitude_deg":9.5779712,"altitude":5,"angle":182,"satellites":43,"speed":36,"hex_longitude":"2d7eaa40","hex_latitude":"05b57b80","is_valid_coordinates":true} 
[2026-04-28 06:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998882816001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282322433887698944,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127811306783524864,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777339397000,"timestamp_ms":1777339397000,"timestamp_seconds":1777339397,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1aef388"} 
[2026-04-28 06:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998882816001,"66":27767,"199":206,"19":45568,"24":36,"16":282322433887698944,"45":9127811306783524864},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998882816001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:55:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282322433887698944,"km_value":282322433887698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127811306783524864,"description":"Unknown IO ID 45"} 
[2026-04-28 06:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998882816001,"power":27767,"trip_odometer":0.206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9127811306783524864}} 
[2026-04-28 06:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:55:05] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:55:05] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:55:06] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1af1a98012d7ea9c005b55740000600b429..."} 
[2026-04-28 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1af1a98012d7ea9c005b55740000600b429..."} 
[2026-04-28 06:55:06] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1af1a98012d7ea9c005b55740000600b429..."} 
[2026-04-28 06:55:06] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:55:06] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95770432,"longitude_deg":76.3275712,"latitude_deg":9.5770432,"altitude":6,"angle":180,"satellites":41,"speed":38,"hex_longitude":"2d7ea9c0","hex_latitude":"05b55740","is_valid_coordinates":true} 
[2026-04-28 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998885632001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282322880564297728,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177988083515392,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777339407000,"timestamp_ms":1777339407000,"timestamp_seconds":1777339407,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1af1a98"} 
[2026-04-28 06:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998885632001,"66":27865,"199":206,"19":45568,"24":38,"16":282322880564297728,"45":9127177988083515392},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998885632001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:55:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:55:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282322880564297728,"km_value":282322880564297.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177988083515392,"description":"Unknown IO ID 45"} 
[2026-04-28 06:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998885632001,"power":27865,"trip_odometer":0.206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9127177988083515392}} 
[2026-04-28 06:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:55:06] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:55:06] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:55:38] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1af41a8012d7ea9c005b530e8000500b42a..."} 
[2026-04-28 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1af41a8012d7ea9c005b530e8000500b42a..."} 
[2026-04-28 06:55:38] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1af41a8012d7ea9c005b530e8000500b42a..."} 
[2026-04-28 06:55:38] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:55:38] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95760616,"longitude_deg":76.3275712,"latitude_deg":9.5760616,"altitude":5,"angle":180,"satellites":42,"speed":40,"hex_longitude":"2d7ea9c0","hex_latitude":"05b530e8","is_valid_coordinates":true} 
[2026-04-28 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998888192001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282323357305667584,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250592784384,"note":"Value kept but may cause issues"} 
[2026-04-28 06:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777339417000,"timestamp_ms":1777339417000,"timestamp_seconds":1777339417,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1af41a8"} 
[2026-04-28 06:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998888192001,"66":27832,"199":206,"19":45568,"24":40,"16":282323357305667584,"45":9127037250592784384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998888192001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:55:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:55:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282323357305667584,"km_value":282323357305667.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250592784384,"description":"Unknown IO ID 45"} 
[2026-04-28 06:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998888192001,"power":27832,"trip_odometer":0.206,"unknown_19":45568,"ignition":40,"odometer":null,"unknown_45":9127037250592784384}} 
[2026-04-28 06:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:55:38] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:55:38] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:55:55] local.INFO: TCP Data received {"connection_id":56167,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:55] local.INFO: Processing buffer {"connection_id":56167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:55] local.INFO: IMEI packet received {"connection_id":56167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":56167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:55:59] local.INFO: TCP Data received {"connection_id":56167,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:59] local.INFO: Processing buffer {"connection_id":56167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:55:59] local.INFO: IMEI packet received {"connection_id":56167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:56:02] local.INFO: TCP Data received {"connection_id":56167,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1af64d0012d7eaa0005b50d08000500b22a..."} 
[2026-04-28 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1af64d0012d7eaa0005b50d08000500b22a..."} 
[2026-04-28 06:56:02] local.INFO: Processing buffer {"connection_id":56167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1af64d0012d7eaa0005b50d08000500b22a..."} 
[2026-04-28 06:56:02] local.INFO: Packet analysis {"connection_id":56167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:02] local.INFO: Extracted packet for processing {"connection_id":56167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95751432,"longitude_deg":76.3275776,"latitude_deg":9.5751432,"altitude":5,"angle":178,"satellites":42,"speed":39,"hex_longitude":"2d7eaa00","hex_latitude":"05b50d08","is_valid_coordinates":true} 
[2026-04-28 06:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998890752001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282323803982266368,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250590271488,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777339426000,"timestamp_ms":1777339426000,"timestamp_seconds":1777339426,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1af64d0"} 
[2026-04-28 06:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 06:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998890752001,"66":27865,"199":206,"19":45568,"24":39,"16":282323803982266368,"45":9127037250590271488},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998890752001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:56:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:56:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282323803982266368,"km_value":282323803982266.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250590271488,"description":"Unknown IO ID 45"} 
[2026-04-28 06:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998890752001,"power":27865,"trip_odometer":0.206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":9127037250590271488}} 
[2026-04-28 06:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":56167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:56:02] local.INFO: GPS data processed {"connection_id":56167,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:56:02] local.INFO: Acknowledgment sent {"connection_id":56167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:56:02] local.INFO: TCP Data received {"connection_id":56167,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1af8028012d7eabc005b4f548000500a429..."} 
[2026-04-28 06:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1af8028012d7eabc005b4f548000500a429..."} 
[2026-04-28 06:56:03] local.INFO: Processing buffer {"connection_id":56167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1af8028012d7eabc005b4f548000500a429..."} 
[2026-04-28 06:56:03] local.INFO: Packet analysis {"connection_id":56167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:03] local.INFO: Extracted packet for processing {"connection_id":56167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95745352,"longitude_deg":76.3276224,"latitude_deg":9.5745352,"altitude":5,"angle":164,"satellites":41,"speed":27,"hex_longitude":"2d7eabc0","hex_latitude":"05b4f548","is_valid_coordinates":true} 
[2026-04-28 06:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998893056001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282324100335009792,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619332098048,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777339433000,"timestamp_ms":1777339433000,"timestamp_seconds":1777339433,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1af8028"} 
[2026-04-28 06:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 06:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998893056001,"66":27843,"199":206,"19":45568,"24":27,"16":282324100335009792,"45":9127107619332098048},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-04-28 06:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998893056001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:56:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 06:56:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282324100335009792,"km_value":282324100335009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619332098048,"description":"Unknown IO ID 45"} 
[2026-04-28 06:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998893056001,"power":27843,"trip_odometer":0.206,"unknown_19":45568,"ignition":27,"odometer":null,"unknown_45":9127107619332098048}} 
[2026-04-28 06:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":56167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:56:03] local.INFO: GPS data processed {"connection_id":56167,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:56:03] local.INFO: Acknowledgment sent {"connection_id":56167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:56:34] local.INFO: TCP Data received {"connection_id":56167,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1af8fc8012d7ead4005b4ec28000500b128..."} 
[2026-04-28 06:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1af8fc8012d7ead4005b4ec28000500b128..."} 
[2026-04-28 06:56:34] local.INFO: Processing buffer {"connection_id":56167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1af8fc8012d7ead4005b4ec28000500b128..."} 
[2026-04-28 06:56:34] local.INFO: Packet analysis {"connection_id":56167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:34] local.INFO: Extracted packet for processing {"connection_id":56167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95743016,"longitude_deg":76.3276608,"latitude_deg":9.5743016,"altitude":5,"angle":177,"satellites":40,"speed":20,"hex_longitude":"2d7ead40","hex_latitude":"05b4ec28","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998894848001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282324216299126784,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200539785216,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777339437000,"timestamp_ms":1777339437000,"timestamp_seconds":1777339437,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1af8fc8"} 
[2026-04-28 06:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998894848001,"66":27843,"55":206,"19":45568,"24":20,"16":282324216299126784,"45":9127600200539785216},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-04-28 06:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998894848001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:56:34] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-28 06:56:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282324216299126784,"km_value":282324216299126.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200539785216,"description":"Unknown IO ID 45"} 
[2026-04-28 06:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998894848001,"power":27843,"unknown_55":206,"unknown_19":45568,"ignition":20,"odometer":null,"unknown_45":9127600200539785216}} 
[2026-04-28 06:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":56167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:56:34] local.INFO: GPS data processed {"connection_id":56167,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:56:34] local.INFO: Acknowledgment sent {"connection_id":56167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:56:54] local.INFO: TCP Data received {"connection_id":57049,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:54] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:54] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:56:56] local.INFO: TCP Data received {"connection_id":57049,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:56] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:56:56] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:56:57] local.INFO: TCP Data received {"connection_id":57049,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1afca60012d7eaec005b4c918000400b129..."} 
[2026-04-28 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1afca60012d7eaec005b4c918000400b129..."} 
[2026-04-28 06:56:57] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1afca60012d7eaec005b4c918000400b129..."} 
[2026-04-28 06:56:57] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:57] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1af"} 
[2026-04-28 06:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95734040,"longitude_deg":76.3276992,"latitude_deg":9.573404,"altitude":4,"angle":177,"satellites":41,"speed":26,"hex_longitude":"2d7eaec0","hex_latitude":"05b4c918","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998895872001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282324650090823680,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413004253184,"note":"Value kept but may cause issues"} 
[2026-04-28 06:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777339452000,"timestamp_ms":1777339452000,"timestamp_seconds":1777339452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1afca60"} 
[2026-04-28 06:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:56: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-04-28 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998895872001,"66":27626,"55":206,"19":45568,"24":26,"16":282324650090823680,"45":9128022413004253184},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-04-28 06:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998895872001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:56:57] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-28 06:56:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282324650090823680,"km_value":282324650090823.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413004253184,"description":"Unknown IO ID 45"} 
[2026-04-28 06:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998895872001,"power":27626,"unknown_55":206,"unknown_19":45568,"ignition":26,"odometer":null,"unknown_45":9128022413004253184}} 
[2026-04-28 06:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:56:57] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:56:57] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:57:29] local.INFO: TCP Data received {"connection_id":57049,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b1d9b8012d7ebcc005b30f48000700b22c..."} 
[2026-04-28 06:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b1d9b8012d7ebcc005b30f48000700b22c..."} 
[2026-04-28 06:57:29] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b1d9b8012d7ebcc005b30f48000700b22c..."} 
[2026-04-28 06:57:29] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b1"} 
[2026-04-28 06:57:29] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b1"} 
[2026-04-28 06:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763280576,"raw_latitude":95620936,"longitude_deg":76.3280576,"latitude_deg":9.5620936,"altitude":7,"angle":178,"satellites":44,"speed":43,"hex_longitude":"2d7ebcc0","hex_latitude":"05b30f48","is_valid_coordinates":true} 
[2026-04-28 06: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-04-28 06:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998931968001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282330147648962560,"note":"Value kept but may cause issues"} 
[2026-04-28 06:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033431393632256,"note":"Value kept but may cause issues"} 
[2026-04-28 06:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777339587000,"timestamp_ms":1777339587000,"timestamp_seconds":1777339587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b1d9b8"} 
[2026-04-28 06:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:57: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-04-28 06:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06: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-04-28 06:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998931968001,"66":27821,"55":206,"19":45568,"24":43,"16":282330147648962560,"45":9132033431393632256},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-04-28 06:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998931968001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:57:29] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-28 06:57:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282330147648962560,"km_value":282330147648962.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033431393632256,"description":"Unknown IO ID 45"} 
[2026-04-28 06:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998931968001,"power":27821,"unknown_55":206,"unknown_19":45568,"ignition":43,"odometer":null,"unknown_45":9132033431393632256}} 
[2026-04-28 06:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:57:29] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:57:29] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:57:52] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:52] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:52] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:57:54] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:54] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:57:54] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:58:00] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:00] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:00] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:58:02] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b1f8f8012d7ebd4005b2ec20000700b32c..."} 
[2026-04-28 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b1f8f8012d7ebd4005b2ec20000700b32c..."} 
[2026-04-28 06:58:02] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b1f8f8012d7ebd4005b2ec20000700b32c..."} 
[2026-04-28 06:58:02] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b1"} 
[2026-04-28 06:58:02] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b1"} 
[2026-04-28 06:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763280704,"raw_latitude":95611936,"longitude_deg":76.3280704,"latitude_deg":9.5611936,"altitude":7,"angle":179,"satellites":44,"speed":45,"hex_longitude":"2d7ebd40","hex_latitude":"05b2ec20","is_valid_coordinates":true} 
[2026-04-28 06:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998934272001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282330581440659456,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132385275112015872,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777339595000,"timestamp_ms":1777339595000,"timestamp_seconds":1777339595,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b1f8f8"} 
[2026-04-28 06:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 06:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998934272001,"66":27767,"55":206,"19":45568,"24":45,"16":282330581440659456,"45":9132385275112015872},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-04-28 06:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998934272001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:58:02] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-28 06:58:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282330581440659456,"km_value":282330581440659.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132385275112015872,"description":"Unknown IO ID 45"} 
[2026-04-28 06:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998934272001,"power":27767,"unknown_55":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9132385275112015872}} 
[2026-04-28 06:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:58:02] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:58:02] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:58:34] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b21838012d7ebe0005b2c790000700b12c..."} 
[2026-04-28 06:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b21838012d7ebe0005b2c790000700b12c..."} 
[2026-04-28 06:58:34] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b21838012d7ebe0005b2c790000700b12c..."} 
[2026-04-28 06:58:34] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b2"} 
[2026-04-28 06:58:34] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b2"} 
[2026-04-28 06:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763280896,"raw_latitude":95602576,"longitude_deg":76.3280896,"latitude_deg":9.5602576,"altitude":7,"angle":177,"satellites":44,"speed":46,"hex_longitude":"2d7ebe00","hex_latitude":"05b2c790","is_valid_coordinates":true} 
[2026-04-28 06:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998936320001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282331036707192832,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132526012598067200,"note":"Value kept but may cause issues"} 
[2026-04-28 06:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777339603000,"timestamp_ms":1777339603000,"timestamp_seconds":1777339603,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b21838"} 
[2026-04-28 06:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 06:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998936320001,"66":27832,"141":206,"19":45568,"24":46,"16":282331036707192832,"45":9132526012598067200},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 06:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998936320001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:58:34] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 06:58:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282331036707192832,"km_value":282331036707192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132526012598067200,"description":"Unknown IO ID 45"} 
[2026-04-28 06:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998936320001,"power":27832,"unknown_141":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9132526012598067200}} 
[2026-04-28 06:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:58:34] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:58:34] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:58:54] local.INFO: TCP Data received {"connection_id":57050,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:54] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:54] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:58:56] local.INFO: TCP Data received {"connection_id":57050,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:56] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:58:56] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:59:00] local.INFO: TCP Data received {"connection_id":57050,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:00] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:00] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 06:59:01] local.INFO: TCP Data received {"connection_id":57050,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b23778012d7ebe8005b2a278000700b42c..."} 
[2026-04-28 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b23778012d7ebe8005b2a278000700b42c..."} 
[2026-04-28 06:59:01] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b23778012d7ebe8005b2a278000700b42c..."} 
[2026-04-28 06:59:01] local.INFO: Packet analysis {"connection_id":57050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b2"} 
[2026-04-28 06:59:01] local.INFO: Extracted packet for processing {"connection_id":57050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b2"} 
[2026-04-28 06:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763281024,"raw_latitude":95593080,"longitude_deg":76.3281024,"latitude_deg":9.559308,"altitude":7,"angle":180,"satellites":44,"speed":48,"hex_longitude":"2d7ebe80","hex_latitude":"05b2a278","is_valid_coordinates":true} 
[2026-04-28 06:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998938368001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282331496268693504,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132737118828204032,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777339611000,"timestamp_ms":1777339611000,"timestamp_seconds":1777339611,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b23778"} 
[2026-04-28 06:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 06:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998938368001,"66":27876,"141":206,"19":45568,"24":48,"16":282331496268693504,"45":9132737118828204032},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 06:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998938368001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:59:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 06:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282331496268693504,"km_value":282331496268693.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132737118828204032,"description":"Unknown IO ID 45"} 
[2026-04-28 06:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998938368001,"power":27876,"unknown_141":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9132737118828204032}} 
[2026-04-28 06:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":57050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:59:01] local.INFO: GPS data processed {"connection_id":57050,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:59:01] local.INFO: Acknowledgment sent {"connection_id":57050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:59:05] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:05] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:05] local.INFO: IMEI packet received {"connection_id":56383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":56383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:59:33] local.INFO: TCP Data received {"connection_id":57050,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b3d1a0012d7ea9c005b10bf8000500b42c..."} 
[2026-04-28 06:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b3d1a0012d7ea9c005b10bf8000500b42c..."} 
[2026-04-28 06:59:33] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b3d1a0012d7ea9c005b10bf8000500b42c..."} 
[2026-04-28 06:59:33] local.INFO: Packet analysis {"connection_id":57050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b3"} 
[2026-04-28 06:59:33] local.INFO: Extracted packet for processing {"connection_id":57050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b3"} 
[2026-04-28 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95489016,"longitude_deg":76.3275712,"latitude_deg":9.5489016,"altitude":5,"angle":180,"satellites":44,"speed":43,"hex_longitude":"2d7ea9c0","hex_latitude":"05b10bf8","is_valid_coordinates":true} 
[2026-04-28 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 06:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998964992001,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282336555740168192,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356755730432,"note":"Value kept but may cause issues"} 
[2026-04-28 06:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 06:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777339716000,"timestamp_ms":1777339716000,"timestamp_seconds":1777339716,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b3d1a0"} 
[2026-04-28 06:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 06:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 06:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 06:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 06:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 06:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 06:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 06:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 06:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 06:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 06:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998964992001,"66":27767,"141":206,"19":45568,"24":43,"16":282336555740168192,"45":9127248356755730432},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 06:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 06:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 06:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998964992001,"description":"Unknown IO ID 0"} 
[2026-04-28 06:59:33] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 06:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 06:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282336555740168192,"km_value":282336555740168.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 06:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356755730432,"description":"Unknown IO ID 45"} 
[2026-04-28 06:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998964992001,"power":27767,"unknown_141":206,"unknown_19":45568,"ignition":43,"odometer":null,"unknown_45":9127248356755730432}} 
[2026-04-28 06:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":57050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 06:59:33] local.INFO: GPS data processed {"connection_id":57050,"processed":1,"errors":0,"total":1} 
[2026-04-28 06:59:33] local.INFO: Acknowledgment sent {"connection_id":57050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 06:59:35] local.INFO: TCP Data received {"connection_id":56384,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:35] local.INFO: Processing buffer {"connection_id":56384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 06:59:35] local.INFO: IMEI packet received {"connection_id":56384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 06:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 06:59:56] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:56] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 06:59:56] local.INFO: IMEI packet received {"connection_id":56385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 06:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":56385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:00:00] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:00] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:00] local.INFO: IMEI packet received {"connection_id":56385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":56385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:00:04] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:04] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:04] local.INFO: IMEI packet received {"connection_id":56385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":56385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:00:06] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b3f4c8012d7ea90005b0e530000500b42c..."} 
[2026-04-28 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b3f4c8012d7ea90005b0e530000500b42c..."} 
[2026-04-28 07:00:06] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b3f4c8012d7ea90005b0e530000500b42c..."} 
[2026-04-28 07:00:06] local.INFO: Packet analysis {"connection_id":56385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b3"} 
[2026-04-28 07:00:06] local.INFO: Extracted packet for processing {"connection_id":56385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b3"} 
[2026-04-28 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95479088,"longitude_deg":76.327552,"latitude_deg":9.5479088,"altitude":5,"angle":180,"satellites":44,"speed":44,"hex_longitude":"2d7ea900","hex_latitude":"05b0e530","is_valid_coordinates":true} 
[2026-04-28 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998967296001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282337036776505344,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250520741888,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777339725000,"timestamp_ms":1777339725000,"timestamp_seconds":1777339725,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b3f4c8"} 
[2026-04-28 07:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 07:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998967296001,"66":27789,"141":206,"19":45568,"24":44,"16":282337036776505344,"45":9127037250520741888},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998967296001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:00:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:00:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282337036776505344,"km_value":282337036776505.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250520741888,"description":"Unknown IO ID 45"} 
[2026-04-28 07:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998967296001,"power":27789,"unknown_141":206,"unknown_19":45568,"ignition":44,"odometer":null,"unknown_45":9127037250520741888}} 
[2026-04-28 07:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":56385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:00:06] local.INFO: GPS data processed {"connection_id":56385,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:00:06] local.INFO: Acknowledgment sent {"connection_id":56385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:00:07] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b41408012d7ea8c005b0c250000600b52b..."} 
[2026-04-28 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b41408012d7ea8c005b0c250000600b52b..."} 
[2026-04-28 07:00:07] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b41408012d7ea8c005b0c250000600b52b..."} 
[2026-04-28 07:00:07] local.INFO: Packet analysis {"connection_id":56385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:07] local.INFO: Extracted packet for processing {"connection_id":56385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95470160,"longitude_deg":76.3275456,"latitude_deg":9.547016,"altitude":6,"angle":181,"satellites":43,"speed":44,"hex_longitude":"2d7ea8c0","hex_latitude":"05b0c250","is_valid_coordinates":true} 
[2026-04-28 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998969600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282337470568202240,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144285667328,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777339733000,"timestamp_ms":1777339733000,"timestamp_seconds":1777339733,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b41408"} 
[2026-04-28 07:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 07:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998969600001,"66":27865,"141":206,"19":45568,"24":44,"16":282337470568202240,"45":9126826144285667328},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998969600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:00:07] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:00:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282337470568202240,"km_value":282337470568202.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144285667328,"description":"Unknown IO ID 45"} 
[2026-04-28 07:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998969600001,"power":27865,"unknown_141":206,"unknown_19":45568,"ignition":44,"odometer":null,"unknown_45":9126826144285667328}} 
[2026-04-28 07:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":56385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:00:07] local.INFO: GPS data processed {"connection_id":56385,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:00:07] local.INFO: Acknowledgment sent {"connection_id":56385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:00:43] local.INFO: TCP Data received {"connection_id":56385,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b43348012d7ea84005b09ec0000600b42a..."} 
[2026-04-28 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b43348012d7ea84005b09ec0000600b42a..."} 
[2026-04-28 07:00:43] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b43348012d7ea84005b09ec0000600b42a..."} 
[2026-04-28 07:00:43] local.INFO: Packet analysis {"connection_id":56385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:43] local.INFO: Extracted packet for processing {"connection_id":56385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95461056,"longitude_deg":76.3275328,"latitude_deg":9.5461056,"altitude":6,"angle":180,"satellites":42,"speed":45,"hex_longitude":"2d7ea840","hex_latitude":"05b09ec0","is_valid_coordinates":true} 
[2026-04-28 07:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998971648001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282337912949833728,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775539204096,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777339741000,"timestamp_ms":1777339741000,"timestamp_seconds":1777339741,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b43348"} 
[2026-04-28 07:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 07:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:00: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-04-28 07:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998971648001,"66":27843,"141":206,"19":45568,"24":45,"16":282337912949833728,"45":9126755775539204096},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998971648001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:00:43] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:00:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282337912949833728,"km_value":282337912949833.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775539204096,"description":"Unknown IO ID 45"} 
[2026-04-28 07:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998971648001,"power":27843,"unknown_141":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9126755775539204096}} 
[2026-04-28 07:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":56385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:00:43] local.INFO: GPS data processed {"connection_id":56385,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:00:43] local.INFO: Acknowledgment sent {"connection_id":56385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:00:55] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:55] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:55] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:00:56] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:00:56] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:00:56] local.INFO: IMEI packet received {"connection_id":56169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":56169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:00:57] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b45288012d7ea78005b07a48000600b52c..."} 
[2026-04-28 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b45288012d7ea78005b07a48000600b52c..."} 
[2026-04-28 07:00:57] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b45288012d7ea78005b07a48000600b52c..."} 
[2026-04-28 07:00:57] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:57] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95451720,"longitude_deg":76.3275136,"latitude_deg":9.545172,"altitude":6,"angle":181,"satellites":44,"speed":46,"hex_longitude":"2d7ea780","hex_latitude":"05b07a48","is_valid_coordinates":true} 
[2026-04-28 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998973696001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282338363921399808,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038048518144,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777339749000,"timestamp_ms":1777339749000,"timestamp_seconds":1777339749,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b45288"} 
[2026-04-28 07:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:00: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-04-28 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 07:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998973696001,"66":27843,"141":206,"19":45568,"24":46,"16":282338363921399808,"45":9126615038048518144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998973696001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:00:57] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:00:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282338363921399808,"km_value":282338363921399.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038048518144,"description":"Unknown IO ID 45"} 
[2026-04-28 07:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998973696001,"power":27843,"unknown_141":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9126615038048518144}} 
[2026-04-28 07:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:00:57] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:00:57] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:00:59] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b471c8012d7ea74005b05640000600b42c..."} 
[2026-04-28 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b471c8012d7ea74005b05640000600b42c..."} 
[2026-04-28 07:00:59] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b471c8012d7ea74005b05640000600b42c..."} 
[2026-04-28 07:00:59] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:59] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b4"} 
[2026-04-28 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95442496,"longitude_deg":76.3275072,"latitude_deg":9.5442496,"altitude":6,"angle":180,"satellites":44,"speed":45,"hex_longitude":"2d7ea740","hex_latitude":"05b05640","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998975744001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282338810597998592,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931813595136,"note":"Value kept but may cause issues"} 
[2026-04-28 07:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777339757000,"timestamp_ms":1777339757000,"timestamp_seconds":1777339757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b471c8"} 
[2026-04-28 07:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 07:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998975744001,"66":27865,"141":206,"19":45568,"24":45,"16":282338810597998592,"45":9126403931813595136},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998975744001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:00:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:00:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282338810597998592,"km_value":282338810597998.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931813595136,"description":"Unknown IO ID 45"} 
[2026-04-28 07:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998975744001,"power":27865,"unknown_141":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9126403931813595136}} 
[2026-04-28 07:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:00:59] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:00:59] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:01:31] local.INFO: TCP Data received {"connection_id":56169,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1b56bc8012d7ea28005af73e00001005128..."} 
[2026-04-28 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1b56bc8012d7ea28005af73e00001005128..."} 
[2026-04-28 07:01:31] local.INFO: Processing buffer {"connection_id":56169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1b56bc8012d7ea28005af73e00001005128..."} 
[2026-04-28 07:01:31] local.INFO: Packet analysis {"connection_id":56169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1b5"} 
[2026-04-28 07:01:31] local.INFO: Extracted packet for processing {"connection_id":56169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1b5"} 
[2026-04-28 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":95384544,"longitude_deg":76.3273856,"latitude_deg":9.5384544,"altitude":1,"angle":81,"satellites":40,"speed":7,"hex_longitude":"2d7ea280","hex_latitude":"05af73e0","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454998993920001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282341645276413952,"note":"Value kept but may cause issues"} 
[2026-04-28 07:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124715081936136192,"note":"Value kept but may cause issues"} 
[2026-04-28 07:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777339821000,"timestamp_ms":1777339821000,"timestamp_seconds":1777339821,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1b56bc8"} 
[2026-04-28 07:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 07:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454998993920001,"66":27767,"141":206,"19":45568,"24":7,"16":282341645276413952,"45":9124715081936136192},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-04-28 07:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454998993920001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:01:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-28 07:01:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282341645276413952,"km_value":282341645276413.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124715081936136192,"description":"Unknown IO ID 45"} 
[2026-04-28 07:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454998993920001,"power":27767,"unknown_141":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9124715081936136192}} 
[2026-04-28 07:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":56169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:01:31] local.INFO: GPS data processed {"connection_id":56169,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:01:31] local.INFO: Acknowledgment sent {"connection_id":56169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:01:52] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:52] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:52] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:01:54] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:01:54] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:54] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:01:56] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:56] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:01:56] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:04:55] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:04:55] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:04:55] local.INFO: IMEI packet received {"connection_id":57054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":57054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:05:35] local.INFO: TCP Data received {"connection_id":56171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:05:35] local.INFO: Processing buffer {"connection_id":56171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:05:35] local.INFO: IMEI packet received {"connection_id":56171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:06:58] local.INFO: TCP Data received {"connection_id":56173,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:06:58] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:06:58] local.INFO: IMEI packet received {"connection_id":56173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":56173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:07:01] local.INFO: TCP Data received {"connection_id":56173,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ba9fd0012d7fad0005afe5900005001b26..."} 
[2026-04-28 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ba9fd0012d7fad0005afe5900005001b26..."} 
[2026-04-28 07:07:01] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ba9fd0012d7fad0005afe5900005001b26..."} 
[2026-04-28 07:07:01] local.INFO: Packet analysis {"connection_id":56173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:07:01] local.INFO: Extracted packet for processing {"connection_id":56173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95413648,"longitude_deg":76.334208,"latitude_deg":9.5413648,"altitude":5,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe590","is_valid_coordinates":true} 
[2026-04-28 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999076096001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346769172398080,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375701516288,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340162000,"timestamp_ms":1777340162000,"timestamp_seconds":1777340162,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ba9fd0"} 
[2026-04-28 07:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-28 07:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999076096001,"66":27908,"236":206,"19":45568,"24":0,"16":282346769172398080,"45":9200150375701516288},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999076096001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:07:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:07:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346769172398080,"km_value":282346769172398.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375701516288,"description":"Unknown IO ID 45"} 
[2026-04-28 07:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999076096001,"power":27908,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200150375701516288}} 
[2026-04-28 07:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":56173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:07:02] local.INFO: GPS data processed {"connection_id":56173,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:07:02] local.INFO: Acknowledgment sent {"connection_id":56173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:07:34] local.INFO: TCP Data received {"connection_id":56173,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bade50012d7fabc005afe548000500e925..."} 
[2026-04-28 07:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bade50012d7fabc005afe548000500e925..."} 
[2026-04-28 07:07:34] local.INFO: Processing buffer {"connection_id":56173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bade50012d7fabc005afe548000500e925..."} 
[2026-04-28 07:07:34] local.INFO: Packet analysis {"connection_id":56173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:07:34] local.INFO: Extracted packet for processing {"connection_id":56173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413576,"longitude_deg":76.334176,"latitude_deg":9.5413576,"altitude":5,"angle":233,"satellites":37,"speed":1,"hex_longitude":"2d7fabc0","hex_latitude":"05afe548","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999081472001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346786352267264,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213685248,"note":"Value kept but may cause issues"} 
[2026-04-28 07:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777340178000,"timestamp_ms":1777340178000,"timestamp_seconds":1777340178,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bade50"} 
[2026-04-28 07:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 07:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999081472001,"66":27745,"236":206,"19":45568,"24":1,"16":282346786352267264,"45":9200009638213685248},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999081472001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:07:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:07:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346786352267264,"km_value":282346786352267.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213685248,"description":"Unknown IO ID 45"} 
[2026-04-28 07:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999081472001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9200009638213685248}} 
[2026-04-28 07:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":56173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:07:34] local.INFO: GPS data processed {"connection_id":56173,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:07:34] local.INFO: Acknowledgment sent {"connection_id":56173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:07:54] local.INFO: TCP Data received {"connection_id":56387,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:07:54] local.INFO: Processing buffer {"connection_id":56387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:07:54] local.INFO: IMEI packet received {"connection_id":56387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:08:00] local.INFO: TCP Data received {"connection_id":56387,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:08:00] local.INFO: Processing buffer {"connection_id":56387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:08:00] local.INFO: IMEI packet received {"connection_id":56387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:08:01] local.INFO: TCP Data received {"connection_id":56387,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bae238012d7fab8005afe538000500f925..."} 
[2026-04-28 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bae238012d7fab8005afe538000500f925..."} 
[2026-04-28 07:08:01] local.INFO: Processing buffer {"connection_id":56387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bae238012d7fab8005afe538000500f925..."} 
[2026-04-28 07:08:01] local.INFO: Packet analysis {"connection_id":56387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:08:01] local.INFO: Extracted packet for processing {"connection_id":56387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95413560,"longitude_deg":76.3341696,"latitude_deg":9.541356,"altitude":5,"angle":249,"satellites":37,"speed":2,"hex_longitude":"2d7fab80","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-04-28 07:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999085568001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346786352267264,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492778496,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340179000,"timestamp_ms":1777340179000,"timestamp_seconds":1777340179,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bae238"} 
[2026-04-28 07:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 07:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999085568001,"66":27713,"236":206,"19":45568,"24":2,"16":282346786352267264,"45":9199657794492778496},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999085568001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:08:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:08:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346786352267264,"km_value":282346786352267.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492778496,"description":"Unknown IO ID 45"} 
[2026-04-28 07:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999085568001,"power":27713,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9199657794492778496}} 
[2026-04-28 07:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":56387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:08:01] local.INFO: GPS data processed {"connection_id":56387,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:08:01] local.INFO: Acknowledgment sent {"connection_id":56387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:08:32] local.INFO: TCP Data received {"connection_id":56387,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1baea08012d7faac005afe5300005010a26..."} 
[2026-04-28 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1baea08012d7faac005afe5300005010a26..."} 
[2026-04-28 07:08:32] local.INFO: Processing buffer {"connection_id":56387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1baea08012d7faac005afe5300005010a26..."} 
[2026-04-28 07:08:32] local.INFO: Packet analysis {"connection_id":56387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:08:32] local.INFO: Extracted packet for processing {"connection_id":56387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413552,"longitude_deg":76.3341504,"latitude_deg":9.5413552,"altitude":5,"angle":266,"satellites":38,"speed":2,"hex_longitude":"2d7faac0","hex_latitude":"05afe530","is_valid_coordinates":true} 
[2026-04-28 07:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999085824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346794942201856,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748596736,"note":"Value kept but may cause issues"} 
[2026-04-28 07:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777340181000,"timestamp_ms":1777340181000,"timestamp_seconds":1777340181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1baea08"} 
[2026-04-28 07:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 07:08:32] 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-04-28 07:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999085824001,"66":27767,"236":206,"19":45568,"24":2,"16":282346794942201856,"45":9199587425748596736},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999085824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346794942201856,"km_value":282346794942201.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748596736,"description":"Unknown IO ID 45"} 
[2026-04-28 07:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999085824001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9199587425748596736}} 
[2026-04-28 07:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":56387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:08:32] local.INFO: GPS data processed {"connection_id":56387,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:08:32] local.INFO: Acknowledgment sent {"connection_id":56387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:09:00] local.INFO: TCP Data received {"connection_id":57056,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:00] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:00] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:09:05] local.INFO: TCP Data received {"connection_id":57056,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:05] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:05] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:09:06] local.INFO: TCP Data received {"connection_id":57056,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1baf1d8012d7faa8005afe4f8000500fe27..."} 
[2026-04-28 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1baf1d8012d7faa8005afe4f8000500fe27..."} 
[2026-04-28 07:09:06] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1baf1d8012d7faa8005afe4f8000500fe27..."} 
[2026-04-28 07:09:06] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:09:06] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95413496,"longitude_deg":76.334144,"latitude_deg":9.5413496,"altitude":5,"angle":254,"satellites":39,"speed":2,"hex_longitude":"2d7faa80","hex_latitude":"05afe4f8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999086336001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346799237169152,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516061696,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777340183000,"timestamp_ms":1777340183000,"timestamp_seconds":1777340183,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1baf1d8"} 
[2026-04-28 07:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 07:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999086336001,"66":27865,"236":206,"19":45568,"24":2,"16":282346799237169152,"45":9199376319516061696},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999086336001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:09:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:09:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346799237169152,"km_value":282346799237169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516061696,"description":"Unknown IO ID 45"} 
[2026-04-28 07:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999086336001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9199376319516061696}} 
[2026-04-28 07:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:09:06] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:09:06] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:09:10] local.INFO: TCP Data received {"connection_id":57056,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1baf5c0012d7faa4005afe4b0000500ec27..."} 
[2026-04-28 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1baf5c0012d7faa4005afe4b0000500ec27..."} 
[2026-04-28 07:09:10] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1baf5c0012d7faa4005afe4b0000500ec27..."} 
[2026-04-28 07:09:10] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:09:10] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95413424,"longitude_deg":76.3341376,"latitude_deg":9.5413424,"altitude":5,"angle":236,"satellites":39,"speed":2,"hex_longitude":"2d7faa40","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-04-28 07:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999086848001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346807827103744,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771869696,"note":"Value kept but may cause issues"} 
[2026-04-28 07:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777340184000,"timestamp_ms":1777340184000,"timestamp_seconds":1777340184,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1baf5c0"} 
[2026-04-28 07:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 07:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999086848001,"66":27865,"236":206,"19":45568,"24":2,"16":282346807827103744,"45":9199305950771869696},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999086848001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:09:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:09:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346807827103744,"km_value":282346807827103.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771869696,"description":"Unknown IO ID 45"} 
[2026-04-28 07:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999086848001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9199305950771869696}} 
[2026-04-28 07:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:09:11] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:09:11] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:09:54] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:54] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:09:54] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:10:00] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:00] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:00] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:10:01] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bafd90012d7faa0005afe428000500dd26..."} 
[2026-04-28 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bafd90012d7faa0005afe428000500dd26..."} 
[2026-04-28 07:10:01] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bafd90012d7faa0005afe428000500dd26..."} 
[2026-04-28 07:10:01] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:10:01] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ba"} 
[2026-04-28 07:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95413288,"longitude_deg":76.3341312,"latitude_deg":9.5413288,"altitude":5,"angle":221,"satellites":38,"speed":2,"hex_longitude":"2d7faa00","hex_latitude":"05afe428","is_valid_coordinates":true} 
[2026-04-28 07:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999087104001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346816417038336,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027673600,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340186000,"timestamp_ms":1777340186000,"timestamp_seconds":1777340186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bafd90"} 
[2026-04-28 07:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 07:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999087104001,"66":27691,"236":206,"19":45568,"24":2,"16":282346816417038336,"45":9199235582027673600},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999087104001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:10:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346816417038336,"km_value":282346816417038.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027673600,"description":"Unknown IO ID 45"} 
[2026-04-28 07:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999087104001,"power":27691,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9199235582027673600}} 
[2026-04-28 07:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:10:01] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:10:01] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:10:33] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bb1500012d7fa90005afe2c0000500cd27..."} 
[2026-04-28 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bb1500012d7fa90005afe2c0000500cd27..."} 
[2026-04-28 07:10:33] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bb1500012d7fa90005afe2c0000500cd27..."} 
[2026-04-28 07:10:33] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:10:33] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95412928,"longitude_deg":76.3341056,"latitude_deg":9.5412928,"altitude":5,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afe2c0","is_valid_coordinates":true} 
[2026-04-28 07:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999087616001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346837891874816,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283461120,"note":"Value kept but may cause issues"} 
[2026-04-28 07:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340192000,"timestamp_ms":1777340192000,"timestamp_seconds":1777340192,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bb1500"} 
[2026-04-28 07:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 07:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999087616001,"66":27539,"236":206,"19":45568,"24":0,"16":282346837891874816,"45":9199165213283461120},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999087616001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346837891874816,"km_value":282346837891874.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283461120,"description":"Unknown IO ID 45"} 
[2026-04-28 07:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999087616001,"power":27539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283461120}} 
[2026-04-28 07:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:10:33] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:10:33] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:10:50] local.INFO: TCP Data received {"connection_id":56389,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:10:50] local.INFO: Processing buffer {"connection_id":56389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:10:50] local.INFO: IMEI packet received {"connection_id":56389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":56389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:10:54] local.INFO: TCP Data received {"connection_id":57057,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:54] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:10:54] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:11:00] local.INFO: TCP Data received {"connection_id":57057,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:00] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:00] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:11:01] local.INFO: TCP Data received {"connection_id":57057,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:01] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:01] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:11:01] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412664,"longitude_deg":76.3340928,"latitude_deg":9.5412664,"altitude":6,"angle":189,"satellites":39,"speed":2,"hex_longitude":"2d7fa880","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999089152001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306658304,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340195000,"timestamp_ms":1777340195000,"timestamp_seconds":1777340195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bb20b8"} 
[2026-04-28 07:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 07:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999089152001,"66":27865,"236":206,"19":45568,"24":2,"16":282346850776776704,"45":9198883738306658304},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999089152001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:11:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:11:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306658304,"description":"Unknown IO ID 45"} 
[2026-04-28 07:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999089152001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9198883738306658304}} 
[2026-04-28 07:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:11:01] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:11:01] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:11:33] local.INFO: TCP Data received {"connection_id":57057,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:33] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bb20b8012d7fa88005afe1b8000600bd27..."} 
[2026-04-28 07:11:33] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:11:33] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412664,"longitude_deg":76.3340928,"latitude_deg":9.5412664,"altitude":6,"angle":189,"satellites":39,"speed":2,"hex_longitude":"2d7fa880","hex_latitude":"05afe1b8","is_valid_coordinates":true} 
[2026-04-28 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999089920001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818235392,"note":"Value kept but may cause issues"} 
[2026-04-28 07:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340195000,"timestamp_ms":1777340195000,"timestamp_seconds":1777340195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bb20b8"} 
[2026-04-28 07:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 07:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999089920001,"66":27865,"236":206,"19":45568,"24":2,"16":282346850776776704,"45":9198743000818235392},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999089920001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:11:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818235392,"description":"Unknown IO ID 45"} 
[2026-04-28 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999089920001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9198743000818235392}} 
[2026-04-28 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:11:33] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:11:33] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:11:40] local.INFO: TCP Data received {"connection_id":56174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:11:40] local.INFO: Processing buffer {"connection_id":56174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:11:40] local.INFO: IMEI packet received {"connection_id":56174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":56174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:11:54] local.INFO: TCP Data received {"connection_id":56175,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:54] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:11:54] local.INFO: IMEI packet received {"connection_id":56175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:12:00] local.INFO: TCP Data received {"connection_id":56175,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:00] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:00] local.INFO: IMEI packet received {"connection_id":56175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":56175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:12:02] local.INFO: TCP Data received {"connection_id":56175,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bb2888012d7fa88005afe110000600ae27..."} 
[2026-04-28 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bb2888012d7fa88005afe110000600ae27..."} 
[2026-04-28 07:12:02] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bb2888012d7fa88005afe110000600ae27..."} 
[2026-04-28 07:12:02] local.INFO: Packet analysis {"connection_id":56175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:12:02] local.INFO: Extracted packet for processing {"connection_id":56175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bb"} 
[2026-04-28 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412496,"longitude_deg":76.3340928,"latitude_deg":9.5412496,"altitude":6,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999089920001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818235392,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777340197000,"timestamp_ms":1777340197000,"timestamp_seconds":1777340197,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bb2888"} 
[2026-04-28 07:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 07:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999089920001,"66":27463,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818235392},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999089920001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:12:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:12:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818235392,"description":"Unknown IO ID 45"} 
[2026-04-28 07:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999089920001,"power":27463,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818235392}} 
[2026-04-28 07:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":56175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:12:02] local.INFO: GPS data processed {"connection_id":56175,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:12:02] local.INFO: Acknowledgment sent {"connection_id":56175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:12:33] local.INFO: TCP Data received {"connection_id":56175,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:12:33] local.INFO: Processing buffer {"connection_id":56175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:12:33] local.INFO: Packet analysis {"connection_id":56175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:12:33] local.INFO: Extracted packet for processing {"connection_id":56175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:12:33] 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-04-28 07:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":56175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:12:33] local.INFO: GPS data processed {"connection_id":56175,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:12:33] local.INFO: Acknowledgment sent {"connection_id":56175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:12:55] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:55] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:12:55] local.INFO: IMEI packet received {"connection_id":56319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":56319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:13:00] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:00] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:00] local.INFO: IMEI packet received {"connection_id":56319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":56319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:13:01] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:01] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:01] local.INFO: Packet analysis {"connection_id":56319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:13:01] local.INFO: Extracted packet for processing {"connection_id":56319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:13:01] 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-04-28 07:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:13:01] local.INFO: GPS data processed {"connection_id":56319,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:13:01] local.INFO: Acknowledgment sent {"connection_id":56319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:13:33] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:33] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:13:33] local.INFO: Packet analysis {"connection_id":56319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:13:33] local.INFO: Extracted packet for processing {"connection_id":56319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:13:33] 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-04-28 07:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:13:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":56319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:13:33] local.INFO: GPS data processed {"connection_id":56319,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:13:33] local.INFO: Acknowledgment sent {"connection_id":56319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:13:54] local.INFO: TCP Data received {"connection_id":57059,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:54] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:13:54] local.INFO: IMEI packet received {"connection_id":57059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":57059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:14:00] local.INFO: TCP Data received {"connection_id":57059,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:00] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:00] local.INFO: IMEI packet received {"connection_id":57059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":57059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:14:01] local.INFO: TCP Data received {"connection_id":57059,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:01] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:01] local.INFO: Packet analysis {"connection_id":57059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:14:01] local.INFO: Extracted packet for processing {"connection_id":57059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:14:01] 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-04-28 07:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:14:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:14:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":57059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:14:01] local.INFO: GPS data processed {"connection_id":57059,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:14:01] local.INFO: Acknowledgment sent {"connection_id":57059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:14:32] local.INFO: TCP Data received {"connection_id":57059,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:32] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:14:32] local.INFO: Packet analysis {"connection_id":57059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:14:32] local.INFO: Extracted packet for processing {"connection_id":57059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:14:32] 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-04-28 07:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:14:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":57059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:14:32] local.INFO: GPS data processed {"connection_id":57059,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:14:32] local.INFO: Acknowledgment sent {"connection_id":57059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:14:54] local.INFO: TCP Data received {"connection_id":56320,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:54] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:14:54] local.INFO: IMEI packet received {"connection_id":56320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":56320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:15:00] local.INFO: TCP Data received {"connection_id":56320,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:15:00] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:15:00] local.INFO: IMEI packet received {"connection_id":56320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":56320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:15:01] local.INFO: TCP Data received {"connection_id":56320,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:01] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:01] local.INFO: Packet analysis {"connection_id":56320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:15:01] local.INFO: Extracted packet for processing {"connection_id":56320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:15:01] 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-04-28 07:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:15:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:15:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":56320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:15:01] local.INFO: GPS data processed {"connection_id":56320,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:15:01] local.INFO: Acknowledgment sent {"connection_id":56320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:15:33] local.INFO: TCP Data received {"connection_id":56320,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:33] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:15:33] local.INFO: Packet analysis {"connection_id":56320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:15:33] local.INFO: Extracted packet for processing {"connection_id":56320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:15:33] 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-04-28 07:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:15:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":56320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:15:33] local.INFO: GPS data processed {"connection_id":56320,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:15:33] local.INFO: Acknowledgment sent {"connection_id":56320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:16:00] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:00] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:00] local.INFO: IMEI packet received {"connection_id":56321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":56321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:16:05] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:05] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:05] local.INFO: IMEI packet received {"connection_id":56321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":56321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:16:06] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:06] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:06] local.INFO: Packet analysis {"connection_id":56321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:16:06] local.INFO: Extracted packet for processing {"connection_id":56321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:16:06] 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-04-28 07:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:16:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:16:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":56321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:16:06] local.INFO: GPS data processed {"connection_id":56321,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:16:06] local.INFO: Acknowledgment sent {"connection_id":56321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:16:10] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:10] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:16:10] local.INFO: Packet analysis {"connection_id":56321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:16:10] local.INFO: Extracted packet for processing {"connection_id":56321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:16:10] 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-04-28 07:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:16:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:16:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":56321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:16:11] local.INFO: GPS data processed {"connection_id":56321,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:16:11] local.INFO: Acknowledgment sent {"connection_id":56321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:16:54] local.INFO: TCP Data received {"connection_id":57061,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:54] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:16:54] local.INFO: IMEI packet received {"connection_id":57061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":57061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:17:00] local.INFO: TCP Data received {"connection_id":57061,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:17:00] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:17:00] local.INFO: IMEI packet received {"connection_id":57061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":57061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:17:01] local.INFO: TCP Data received {"connection_id":57061,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:17:01] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1bfc050012d7faa4005afdf10000c00ae25..."} 
[2026-04-28 07:17:01] local.INFO: Packet analysis {"connection_id":57061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:17:01] local.INFO: Extracted packet for processing {"connection_id":57061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1bf"} 
[2026-04-28 07:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":12,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818192384,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340498000,"timestamp_ms":1777340498000,"timestamp_seconds":1777340498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1bfc050"} 
[2026-04-28 07:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 07:17:01] 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-04-28 07:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999090432001,"66":26289,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9198743000818192384},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:17:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:17:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818192384,"description":"Unknown IO ID 45"} 
[2026-04-28 07:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999090432001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198743000818192384}} 
[2026-04-28 07:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":57061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:17:01] local.INFO: GPS data processed {"connection_id":57061,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:17:01] local.INFO: Acknowledgment sent {"connection_id":57061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:17:05] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:05] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:05] local.INFO: IMEI packet received {"connection_id":57060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":57060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:17:33] local.INFO: TCP Data received {"connection_id":57061,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:17:33] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:17:33] local.INFO: Packet analysis {"connection_id":57061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:17:33] local.INFO: Extracted packet for processing {"connection_id":57061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":57061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:17:33] local.INFO: GPS data processed {"connection_id":57061,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:17:33] local.INFO: Acknowledgment sent {"connection_id":57061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:17:35] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:35] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:17:35] local.INFO: IMEI packet received {"connection_id":56393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:18:00] local.INFO: TCP Data received {"connection_id":56322,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:00] local.INFO: Processing buffer {"connection_id":56322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:00] local.INFO: IMEI packet received {"connection_id":56322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:18:05] local.INFO: TCP Data received {"connection_id":56322,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:05] local.INFO: Processing buffer {"connection_id":56322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:05] local.INFO: IMEI packet received {"connection_id":56322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":56322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:18:06] local.INFO: TCP Data received {"connection_id":56322,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:06] local.INFO: Processing buffer {"connection_id":56322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:06] local.INFO: Packet analysis {"connection_id":56322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:18:06] local.INFO: Extracted packet for processing {"connection_id":56322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:18:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:18:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":56322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:18:06] local.INFO: GPS data processed {"connection_id":56322,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:18:06] local.INFO: Acknowledgment sent {"connection_id":56322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:18:10] local.INFO: TCP Data received {"connection_id":56322,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:10] local.INFO: Processing buffer {"connection_id":56322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:18:10] local.INFO: Packet analysis {"connection_id":56322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:18:10] local.INFO: Extracted packet for processing {"connection_id":56322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:18:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:18:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":56322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:18:10] local.INFO: GPS data processed {"connection_id":56322,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:18:10] local.INFO: Acknowledgment sent {"connection_id":56322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:18:55] local.INFO: TCP Data received {"connection_id":57063,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:55] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:18:55] local.INFO: IMEI packet received {"connection_id":57063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":57063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:19:00] local.INFO: TCP Data received {"connection_id":57063,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:00] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:00] local.INFO: IMEI packet received {"connection_id":57063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":57063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:19:01] local.INFO: TCP Data received {"connection_id":57063,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:01] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:01] local.INFO: Packet analysis {"connection_id":57063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:19:01] local.INFO: Extracted packet for processing {"connection_id":57063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:19:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:19:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":57063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:19:01] local.INFO: GPS data processed {"connection_id":57063,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:19:01] local.INFO: Acknowledgment sent {"connection_id":57063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:19:33] local.INFO: TCP Data received {"connection_id":57063,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:33] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:19:33] local.INFO: Packet analysis {"connection_id":57063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:19:33] local.INFO: Extracted packet for processing {"connection_id":57063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:19:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":57063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:19:33] local.INFO: GPS data processed {"connection_id":57063,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:19:33] local.INFO: Acknowledgment sent {"connection_id":57063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:19:54] local.INFO: TCP Data received {"connection_id":56177,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:54] local.INFO: Processing buffer {"connection_id":56177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:19:54] local.INFO: IMEI packet received {"connection_id":56177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":56177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:20:00] local.INFO: TCP Data received {"connection_id":56177,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:00] local.INFO: Processing buffer {"connection_id":56177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:00] local.INFO: IMEI packet received {"connection_id":56177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:20:01] local.INFO: TCP Data received {"connection_id":56177,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:01] local.INFO: Processing buffer {"connection_id":56177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:01] local.INFO: Packet analysis {"connection_id":56177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:20:01] local.INFO: Extracted packet for processing {"connection_id":56177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:20:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:20:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":56177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:20:01] local.INFO: GPS data processed {"connection_id":56177,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:20:01] local.INFO: Acknowledgment sent {"connection_id":56177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:20:34] local.INFO: TCP Data received {"connection_id":56177,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:34] local.INFO: Processing buffer {"connection_id":56177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:20:34] local.INFO: Packet analysis {"connection_id":56177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:20:34] local.INFO: Extracted packet for processing {"connection_id":56177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:20:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:20:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":56177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:20:34] local.INFO: GPS data processed {"connection_id":56177,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:20:34] local.INFO: Acknowledgment sent {"connection_id":56177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:20:54] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:54] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:20:54] local.INFO: IMEI packet received {"connection_id":56324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:21:00] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:21:00] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:21:00] local.INFO: IMEI packet received {"connection_id":56324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":56324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:21:01] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:01] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:01] local.INFO: Packet analysis {"connection_id":56324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:21:01] local.INFO: Extracted packet for processing {"connection_id":56324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:21:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:21:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":56324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:21:01] local.INFO: GPS data processed {"connection_id":56324,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:21:01] local.INFO: Acknowledgment sent {"connection_id":56324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:21:33] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:33] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:21:33] local.INFO: Packet analysis {"connection_id":56324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:21:33] local.INFO: Extracted packet for processing {"connection_id":56324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:21:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":56324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:21:33] local.INFO: GPS data processed {"connection_id":56324,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:21:33] local.INFO: Acknowledgment sent {"connection_id":56324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:22:00] local.INFO: TCP Data received {"connection_id":57064,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:00] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:00] local.INFO: IMEI packet received {"connection_id":57064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":57064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:22:05] local.INFO: TCP Data received {"connection_id":57064,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:05] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:05] local.INFO: IMEI packet received {"connection_id":57064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":57064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:22:07] local.INFO: TCP Data received {"connection_id":57064,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:22:07] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c45818012d7faa4005afdf10002500ae27..."} 
[2026-04-28 07:22:07] local.INFO: Packet analysis {"connection_id":57064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:22:07] local.INFO: Extracted packet for processing {"connection_id":57064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c4"} 
[2026-04-28 07:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999167488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777340799000,"timestamp_ms":1777340799000,"timestamp_seconds":1777340799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c45818"} 
[2026-04-28 07:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-28 07:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":57064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":57064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":57064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999167488001,"66":26039,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999167488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:22:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:22:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999167488001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":57064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:22:07] local.INFO: GPS data processed {"connection_id":57064,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:22:07] local.INFO: Acknowledgment sent {"connection_id":57064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:22:39] local.INFO: TCP Data received {"connection_id":57064,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:22:39] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:22:39] local.INFO: Packet analysis {"connection_id":57064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:22:39] local.INFO: Extracted packet for processing {"connection_id":57064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":57064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":57064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":57064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:22:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:22:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":57064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:22:39] local.INFO: GPS data processed {"connection_id":57064,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:22:39] local.INFO: Acknowledgment sent {"connection_id":57064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:22:54] local.INFO: TCP Data received {"connection_id":56325,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:54] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:22:54] local.INFO: IMEI packet received {"connection_id":56325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":56325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:23:00] local.INFO: TCP Data received {"connection_id":56325,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:23:00] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:23:00] local.INFO: IMEI packet received {"connection_id":56325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:23:01] local.INFO: TCP Data received {"connection_id":56325,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:01] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:01] local.INFO: Packet analysis {"connection_id":56325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:23:01] local.INFO: Extracted packet for processing {"connection_id":56325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:23:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":56325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:23:01] local.INFO: GPS data processed {"connection_id":56325,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:23:01] local.INFO: Acknowledgment sent {"connection_id":56325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:23:05] local.INFO: TCP Data received {"connection_id":56395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:05] local.INFO: Processing buffer {"connection_id":56395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:05] local.INFO: IMEI packet received {"connection_id":56395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":56395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:23:32] local.INFO: TCP Data received {"connection_id":56325,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:32] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:23:32] local.INFO: Packet analysis {"connection_id":56325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:23:32] local.INFO: Extracted packet for processing {"connection_id":56325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":56325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:23:32] local.INFO: GPS data processed {"connection_id":56325,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:23:32] local.INFO: Acknowledgment sent {"connection_id":56325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:23:35] local.INFO: TCP Data received {"connection_id":56396,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:35] local.INFO: Processing buffer {"connection_id":56396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:23:35] local.INFO: IMEI packet received {"connection_id":56396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:24:00] local.INFO: TCP Data received {"connection_id":56179,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:00] local.INFO: Processing buffer {"connection_id":56179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:00] local.INFO: IMEI packet received {"connection_id":56179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":56179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:24:05] local.INFO: TCP Data received {"connection_id":56179,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:05] local.INFO: Processing buffer {"connection_id":56179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:05] local.INFO: IMEI packet received {"connection_id":56179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":56179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:24:06] local.INFO: TCP Data received {"connection_id":56179,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:06] local.INFO: Processing buffer {"connection_id":56179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:06] local.INFO: Packet analysis {"connection_id":56179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:24:06] local.INFO: Extracted packet for processing {"connection_id":56179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:24:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:24:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":56179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:24:06] local.INFO: GPS data processed {"connection_id":56179,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:24:06] local.INFO: Acknowledgment sent {"connection_id":56179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:24:11] local.INFO: TCP Data received {"connection_id":56179,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:11] local.INFO: Processing buffer {"connection_id":56179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:24:11] local.INFO: Packet analysis {"connection_id":56179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:24:11] local.INFO: Extracted packet for processing {"connection_id":56179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:24:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:24:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":56179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:24:11] local.INFO: GPS data processed {"connection_id":56179,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:24:11] local.INFO: Acknowledgment sent {"connection_id":56179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:24:55] local.INFO: TCP Data received {"connection_id":56397,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:55] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:24:55] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:25:00] local.INFO: TCP Data received {"connection_id":56397,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:00] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:00] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:25:01] local.INFO: TCP Data received {"connection_id":56397,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:01] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:01] local.INFO: Packet analysis {"connection_id":56397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:25:01] local.INFO: Extracted packet for processing {"connection_id":56397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:25:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:25:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:25:01] local.INFO: GPS data processed {"connection_id":56397,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:25:01] local.INFO: Acknowledgment sent {"connection_id":56397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:25:33] local.INFO: TCP Data received {"connection_id":56397,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:33] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:25:33] local.INFO: Packet analysis {"connection_id":56397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:25:33] local.INFO: Extracted packet for processing {"connection_id":56397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:25:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":56397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:25:33] local.INFO: GPS data processed {"connection_id":56397,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:25:33] local.INFO: Acknowledgment sent {"connection_id":56397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:25:54] local.INFO: TCP Data received {"connection_id":56326,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:54] local.INFO: Processing buffer {"connection_id":56326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:25:54] local.INFO: IMEI packet received {"connection_id":56326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":56326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:26:00] local.INFO: TCP Data received {"connection_id":56326,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:00] local.INFO: Processing buffer {"connection_id":56326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:00] local.INFO: IMEI packet received {"connection_id":56326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":56326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:26:01] local.INFO: TCP Data received {"connection_id":56326,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:01] local.INFO: Processing buffer {"connection_id":56326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:01] local.INFO: Packet analysis {"connection_id":56326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:26:01] local.INFO: Extracted packet for processing {"connection_id":56326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:26:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":56326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:26:01] local.INFO: GPS data processed {"connection_id":56326,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:26:01] local.INFO: Acknowledgment sent {"connection_id":56326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:26:33] local.INFO: TCP Data received {"connection_id":56326,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:33] local.INFO: Processing buffer {"connection_id":56326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:26:33] local.INFO: Packet analysis {"connection_id":56326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:26:33] local.INFO: Extracted packet for processing {"connection_id":56326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:26:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":56326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:26:33] local.INFO: GPS data processed {"connection_id":56326,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:26:33] local.INFO: Acknowledgment sent {"connection_id":56326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:26:54] local.INFO: TCP Data received {"connection_id":57066,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:54] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:26:54] local.INFO: IMEI packet received {"connection_id":57066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":57066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:27:00] local.INFO: TCP Data received {"connection_id":57066,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:00] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:00] local.INFO: IMEI packet received {"connection_id":57066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":57066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:27:01] local.INFO: TCP Data received {"connection_id":57066,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:27:01] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1c8efe0012d7faa4005afdf10001b00ae25..."} 
[2026-04-28 07:27:01] local.INFO: Packet analysis {"connection_id":57066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:27:01] local.INFO: Extracted packet for processing {"connection_id":57066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1c8"} 
[2026-04-28 07:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999244544001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341100000,"timestamp_ms":1777341100000,"timestamp_seconds":1777341100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1c8efe0"} 
[2026-04-28 07:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 07:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999244544001,"66":25995,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999244544001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:27:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999244544001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":57066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:27:01] local.INFO: GPS data processed {"connection_id":57066,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:27:01] local.INFO: Acknowledgment sent {"connection_id":57066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:27:32] local.INFO: TCP Data received {"connection_id":57066,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:27:32] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:27:32] local.INFO: Packet analysis {"connection_id":57066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:27:32] local.INFO: Extracted packet for processing {"connection_id":57066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:27:32] 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-04-28 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:27:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":57066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:27:32] local.INFO: GPS data processed {"connection_id":57066,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:27:32] local.INFO: Acknowledgment sent {"connection_id":57066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:27:55] local.INFO: TCP Data received {"connection_id":56183,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:55] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:27:55] local.INFO: IMEI packet received {"connection_id":56183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":56183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:28:00] local.INFO: TCP Data received {"connection_id":56183,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:00] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:00] local.INFO: IMEI packet received {"connection_id":56183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:28:01] local.INFO: TCP Data received {"connection_id":56183,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:01] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:01] local.INFO: Packet analysis {"connection_id":56183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:28:01] local.INFO: Extracted packet for processing {"connection_id":56183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:28:01] 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-04-28 07: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-04-28 07:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:28:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:28:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":56183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:28:01] local.INFO: GPS data processed {"connection_id":56183,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:28:01] local.INFO: Acknowledgment sent {"connection_id":56183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:28:32] local.INFO: TCP Data received {"connection_id":56183,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:32] local.INFO: Processing buffer {"connection_id":56183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:28:32] local.INFO: Packet analysis {"connection_id":56183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:28:32] local.INFO: Extracted packet for processing {"connection_id":56183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:28:32] 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-04-28 07: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-04-28 07:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:28:32] local.INFO: GPS data processed {"connection_id":56183,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:28:32] local.INFO: Acknowledgment sent {"connection_id":56183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:28:54] local.INFO: TCP Data received {"connection_id":56185,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:54] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:28:54] local.INFO: IMEI packet received {"connection_id":56185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:29:00] local.INFO: TCP Data received {"connection_id":56185,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:00] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:00] local.INFO: IMEI packet received {"connection_id":56185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:29:00] local.INFO: TCP Data received {"connection_id":56184,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:00] local.INFO: Processing buffer {"connection_id":56184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:00] local.INFO: IMEI packet received {"connection_id":56184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:29:01] local.INFO: TCP Data received {"connection_id":56185,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:01] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:01] local.INFO: Packet analysis {"connection_id":56185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:29:01] local.INFO: Extracted packet for processing {"connection_id":56185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:29:01] 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-04-28 07:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:29:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":56185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:29:01] local.INFO: GPS data processed {"connection_id":56185,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:29:01] local.INFO: Acknowledgment sent {"connection_id":56185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:29:32] local.INFO: TCP Data received {"connection_id":56185,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:32] local.INFO: Processing buffer {"connection_id":56185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:29:32] local.INFO: Packet analysis {"connection_id":56185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:29:32] local.INFO: Extracted packet for processing {"connection_id":56185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:29:32] 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-04-28 07:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:29:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:29:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":56185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:29:32] local.INFO: GPS data processed {"connection_id":56185,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:29:32] local.INFO: Acknowledgment sent {"connection_id":56185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:29:33] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:29:33] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:33] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:29:35] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:35] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:29:35] local.INFO: IMEI packet received {"connection_id":56399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:29:38] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:38] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:29:38] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:29:38] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 07:29:38] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 07:29:38] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:29:38] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:29:38] 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-04-28 07:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:29:38] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-04-28 07:29:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 07:29:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 07:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 07:29:38] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 07:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 07:29:38] local.ERROR: GPS data processing failed {"connection_id":56398,"error":"No valid data to process"} 
[2026-04-28 07:29:38] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 07:29:54] local.INFO: TCP Data received {"connection_id":57067,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:54] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:29:54] local.INFO: IMEI packet received {"connection_id":57067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":57067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:30:00] local.INFO: TCP Data received {"connection_id":57067,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:00] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:00] local.INFO: IMEI packet received {"connection_id":57067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":57067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:30:01] local.INFO: TCP Data received {"connection_id":57067,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:01] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:01] local.INFO: Packet analysis {"connection_id":57067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:30:01] local.INFO: Extracted packet for processing {"connection_id":57067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:30:01] 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-04-28 07: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-04-28 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:30:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:30:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":57067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:30:01] local.INFO: GPS data processed {"connection_id":57067,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:30:01] local.INFO: Acknowledgment sent {"connection_id":57067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:30:09] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 07:30:09] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 07:30:09] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:30:09] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:30:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:30:09] 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-04-28 07:30:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 07:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 07:30:09] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 07:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 07:30:09] local.ERROR: GPS data processing failed {"connection_id":56398,"error":"No valid data to process"} 
[2026-04-28 07:30:09] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 07:30:32] local.INFO: TCP Data received {"connection_id":57067,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:32] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:30:32] local.INFO: Packet analysis {"connection_id":57067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:30:32] local.INFO: Extracted packet for processing {"connection_id":57067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:30: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-04-28 07:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:30: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:30:32] 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-04-28 07:30: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-04-28 07:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":57067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:30:32] local.INFO: GPS data processed {"connection_id":57067,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:30:32] local.INFO: Acknowledgment sent {"connection_id":57067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:30:41] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 07:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 07:30:41] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 07:30:41] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 07:30:41] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 07:30:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:30:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:30:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 07:30:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 07:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 07:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 07:30:41] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 07:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 07:30:41] local.ERROR: GPS data processing failed {"connection_id":56398,"error":"No valid data to process"} 
[2026-04-28 07:30:41] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 07:30:54] local.INFO: TCP Data received {"connection_id":56187,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:54] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:30:54] local.INFO: IMEI packet received {"connection_id":56187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:31:00] local.INFO: TCP Data received {"connection_id":56187,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:31:00] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:31:00] local.INFO: IMEI packet received {"connection_id":56187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":56187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:31:01] local.INFO: TCP Data received {"connection_id":56187,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:01] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:01] local.INFO: Packet analysis {"connection_id":56187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:31:01] local.INFO: Extracted packet for processing {"connection_id":56187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:31:01] 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-04-28 07: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-04-28 07:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:31:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:31:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":56187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:31:01] local.INFO: GPS data processed {"connection_id":56187,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:31:01] local.INFO: Acknowledgment sent {"connection_id":56187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:31:12] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d0c7b00100000000000000000000000000..."} 
[2026-04-28 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d0c7b00100000000000000000000000000..."} 
[2026-04-28 07:31:12] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d0c7b00100000000000000000000000000..."} 
[2026-04-28 07:31:12] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d0"} 
[2026-04-28 07:31:12] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d0"} 
[2026-04-28 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777341614000,"timestamp_ms":1777341614000,"timestamp_seconds":1777341614,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d0c7b0"} 
[2026-04-28 07:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:31:12] 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-04-28 07:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 07:31:12] 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-04-28 07:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:31:12] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:31:12] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:31:33] local.INFO: TCP Data received {"connection_id":56187,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:33] local.INFO: Processing buffer {"connection_id":56187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:31:33] local.INFO: Packet analysis {"connection_id":56187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:31:33] local.INFO: Extracted packet for processing {"connection_id":56187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:31:33] 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-04-28 07: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-04-28 07:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:31:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":56187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:31:33] local.INFO: GPS data processed {"connection_id":56187,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:31:33] local.INFO: Acknowledgment sent {"connection_id":56187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:31:43] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d119b80100000000000000000000000000..."} 
[2026-04-28 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d119b80100000000000000000000000000..."} 
[2026-04-28 07:31:43] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d119b80100000000000000000000000000..."} 
[2026-04-28 07:31:43] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:31:43] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:31:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777341635000,"timestamp_ms":1777341635000,"timestamp_seconds":1777341635,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d119b8"} 
[2026-04-28 07:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:31:43] 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-04-28 07:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:31:43] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:31:43] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:32:00] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:00] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:00] local.INFO: IMEI packet received {"connection_id":56400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":56400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:32:05] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:05] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:05] local.INFO: IMEI packet received {"connection_id":56400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":56400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:32:06] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:06] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:06] local.INFO: Packet analysis {"connection_id":56400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:32:06] local.INFO: Extracted packet for processing {"connection_id":56400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:32:06] 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-04-28 07:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:32:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:32:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":56400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:32:06] local.INFO: GPS data processed {"connection_id":56400,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:32:06] local.INFO: Acknowledgment sent {"connection_id":56400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:32:10] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:10] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1cd87a8012d7faa4005afdf10001b00ae1f..."} 
[2026-04-28 07:32:10] local.INFO: Packet analysis {"connection_id":56400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:32:10] local.INFO: Extracted packet for processing {"connection_id":56400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1cd"} 
[2026-04-28 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999321600001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777341401000,"timestamp_ms":1777341401000,"timestamp_seconds":1777341401,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1cd87a8"} 
[2026-04-28 07:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 07:32:10] 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-04-28 07:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999321600001,"66":25875,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999321600001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:32:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:32:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999321600001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":56400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:32:10] local.INFO: GPS data processed {"connection_id":56400,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:32:10] local.INFO: Acknowledgment sent {"connection_id":56400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:32:14] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d16bc00100000000000000000000000000..."} 
[2026-04-28 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d16bc00100000000000000000000000000..."} 
[2026-04-28 07:32:14] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d16bc00100000000000000000000000000..."} 
[2026-04-28 07:32:14] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:32:14] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777341656000,"timestamp_ms":1777341656000,"timestamp_seconds":1777341656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d16bc0"} 
[2026-04-28 07:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 07:32:14] 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-04-28 07:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:32:14] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:32:14] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:32:47] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d1bdc80100000000000000000000000000..."} 
[2026-04-28 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d1bdc80100000000000000000000000000..."} 
[2026-04-28 07:32:47] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d1bdc80100000000000000000000000000..."} 
[2026-04-28 07:32:47] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:32:47] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d1"} 
[2026-04-28 07:32: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-04-28 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-04-28 07:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:32:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777341677000,"timestamp_ms":1777341677000,"timestamp_seconds":1777341677,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d1bdc8"} 
[2026-04-28 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-04-28 07:32:47] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:32: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-04-28 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-04-28 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-04-28 07:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:32:47] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:32:47] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:32:54] local.INFO: TCP Data received {"connection_id":56189,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:54] local.INFO: Processing buffer {"connection_id":56189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:32:54] local.INFO: IMEI packet received {"connection_id":56189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:33:00] local.INFO: TCP Data received {"connection_id":56189,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:33:00] local.INFO: Processing buffer {"connection_id":56189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:33:00] local.INFO: IMEI packet received {"connection_id":56189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:33:01] local.INFO: TCP Data received {"connection_id":56189,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:01] local.INFO: Processing buffer {"connection_id":56189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:01] local.INFO: Packet analysis {"connection_id":56189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:01] local.INFO: Extracted packet for processing {"connection_id":56189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:33:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:33:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":56189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:33:01] local.INFO: GPS data processed {"connection_id":56189,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:33:01] local.INFO: Acknowledgment sent {"connection_id":56189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:33:18] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d20fd00100000000000000000000000000..."} 
[2026-04-28 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d20fd00100000000000000000000000000..."} 
[2026-04-28 07:33:18] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d20fd00100000000000000000000000000..."} 
[2026-04-28 07:33:18] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:18] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33: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-04-28 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-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777341698000,"timestamp_ms":1777341698000,"timestamp_seconds":1777341698,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d20fd0"} 
[2026-04-28 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-04-28 07:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3869376512,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1217838870133997568,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040166,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3962942272202289664,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:18] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,81,85,24,241,157,16,230,107,10,66,25,115,199,1,240,110,227,4,113,205,183,239,2,51,117,45],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-04-28 07:33:18] 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-04-28 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-04-28 07:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:33:18] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:33:18] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:33:32] local.INFO: TCP Data received {"connection_id":56189,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:32] local.INFO: Processing buffer {"connection_id":56189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:33:32] local.INFO: Packet analysis {"connection_id":56189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:32] local.INFO: Extracted packet for processing {"connection_id":56189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:33:32] 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-04-28 07:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:33:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":56189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:33:32] local.INFO: GPS data processed {"connection_id":56189,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:33:32] local.INFO: Acknowledgment sent {"connection_id":56189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:33:49] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d261d80100000000000000000000000000..."} 
[2026-04-28 07:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d261d80100000000000000000000000000..."} 
[2026-04-28 07:33:49] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d261d80100000000000000000000000000..."} 
[2026-04-28 07:33:49] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33:49] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:33: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-04-28 07:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:33:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,254,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777341719000,"timestamp_ms":1777341719000,"timestamp_seconds":1777341719,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d261d8"} 
[2026-04-28 07:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-28 07:33:49] 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-04-28 07:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:33:49] local.INFO: GPS data processed {"connection_id":56398,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:33:49] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:34:00] local.INFO: TCP Data received {"connection_id":56327,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:00] local.INFO: Processing buffer {"connection_id":56327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:00] local.INFO: IMEI packet received {"connection_id":56327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":56327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:34:05] local.INFO: TCP Data received {"connection_id":56327,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:05] local.INFO: Processing buffer {"connection_id":56327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:05] local.INFO: IMEI packet received {"connection_id":56327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":56327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:34:06] local.INFO: TCP Data received {"connection_id":56327,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:06] local.INFO: Processing buffer {"connection_id":56327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:06] local.INFO: Packet analysis {"connection_id":56327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:06] local.INFO: Extracted packet for processing {"connection_id":56327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:34:06] 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-04-28 07:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:34:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:34:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":56327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:34:06] local.INFO: GPS data processed {"connection_id":56327,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:34:06] local.INFO: Acknowledgment sent {"connection_id":56327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:34:10] local.INFO: TCP Data received {"connection_id":56327,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:10] local.INFO: Processing buffer {"connection_id":56327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:34:10] local.INFO: Packet analysis {"connection_id":56327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:10] local.INFO: Extracted packet for processing {"connection_id":56327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:34:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:34:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":56327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:34:10] local.INFO: GPS data processed {"connection_id":56327,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:34:10] local.INFO: Acknowledgment sent {"connection_id":56327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:34:13] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:13] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:13] local.INFO: IMEI packet received {"connection_id":56190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":56190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:34:18] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:18] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:34:18] local.INFO: IMEI packet received {"connection_id":56190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":56190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:34:19] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d2b3e00100000000000000000000000000..."} 
[2026-04-28 07:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d2b3e00100000000000000000000000000..."} 
[2026-04-28 07:34:19] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d2b3e00100000000000000000000000000..."} 
[2026-04-28 07:34:19] local.INFO: Packet analysis {"connection_id":56190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:19] local.INFO: Extracted packet for processing {"connection_id":56190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:34:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,254,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777341740000,"timestamp_ms":1777341740000,"timestamp_seconds":1777341740,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d2b3e0"} 
[2026-04-28 07:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-04-28 07:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":56190,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:34:19] local.INFO: GPS data processed {"connection_id":56190,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:34:19] local.INFO: Acknowledgment sent {"connection_id":56190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:34:50] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d305e80100000000000000000000000000..."} 
[2026-04-28 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d305e80100000000000000000000000000..."} 
[2026-04-28 07:34:50] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d305e80100000000000000000000000000..."} 
[2026-04-28 07:34:50] local.INFO: Packet analysis {"connection_id":56190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:34:50] local.INFO: Extracted packet for processing {"connection_id":56190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:34: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-04-28 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:34:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,253,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777341761000,"timestamp_ms":1777341761000,"timestamp_seconds":1777341761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d305e8"} 
[2026-04-28 07:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-28 07:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":56190,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:34:50] local.INFO: GPS data processed {"connection_id":56190,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:34:50] local.INFO: Acknowledgment sent {"connection_id":56190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:34:55] local.INFO: TCP Data received {"connection_id":56328,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:55] local.INFO: Processing buffer {"connection_id":56328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:34:55] local.INFO: IMEI packet received {"connection_id":56328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":56328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:35:00] local.INFO: TCP Data received {"connection_id":56328,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:00] local.INFO: Processing buffer {"connection_id":56328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:00] local.INFO: IMEI packet received {"connection_id":56328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:35:00] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:00] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:00] local.INFO: IMEI packet received {"connection_id":57069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":57069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:35:01] local.INFO: TCP Data received {"connection_id":56328,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:01] local.INFO: Processing buffer {"connection_id":56328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:01] local.INFO: Packet analysis {"connection_id":56328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:35:01] local.INFO: Extracted packet for processing {"connection_id":56328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:35:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:35:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":56328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:35:01] local.INFO: GPS data processed {"connection_id":56328,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:35:01] local.INFO: Acknowledgment sent {"connection_id":56328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:35:22] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d357f00100000000000000000000000000..."} 
[2026-04-28 07:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d357f00100000000000000000000000000..."} 
[2026-04-28 07:35:22] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d357f00100000000000000000000000000..."} 
[2026-04-28 07:35:22] local.INFO: Packet analysis {"connection_id":56190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:35:22] local.INFO: Extracted packet for processing {"connection_id":56190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:35: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-04-28 07: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-04-28 07:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,253,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777341782000,"timestamp_ms":1777341782000,"timestamp_seconds":1777341782,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d357f0"} 
[2026-04-28 07:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:35:22] 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-04-28 07: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-04-28 07:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":56190,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:35:22] local.INFO: GPS data processed {"connection_id":56190,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:35:22] local.INFO: Acknowledgment sent {"connection_id":56190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:35:33] local.INFO: TCP Data received {"connection_id":56328,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:33] local.INFO: Processing buffer {"connection_id":56328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:35:33] local.INFO: Packet analysis {"connection_id":56328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:35:33] local.INFO: Extracted packet for processing {"connection_id":56328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:35:33] 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-04-28 07:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":56328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:35:33] local.INFO: GPS data processed {"connection_id":56328,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:35:33] local.INFO: Acknowledgment sent {"connection_id":56328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:35:40] local.INFO: TCP Data received {"connection_id":56402,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:40] local.INFO: Processing buffer {"connection_id":56402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:35:40] local.INFO: IMEI packet received {"connection_id":56402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":56402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:35:53] local.INFO: TCP Data received {"connection_id":56190,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d3a9f80100000000000000000000000000..."} 
[2026-04-28 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d3a9f80100000000000000000000000000..."} 
[2026-04-28 07:35:53] local.INFO: Processing buffer {"connection_id":56190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d3a9f80100000000000000000000000000..."} 
[2026-04-28 07:35:53] local.INFO: Packet analysis {"connection_id":56190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:35:53] local.INFO: Extracted packet for processing {"connection_id":56190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d3"} 
[2026-04-28 07:35: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-04-28 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76814777124388864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:35:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 07:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777341803000,"timestamp_ms":1777341803000,"timestamp_seconds":1777341803,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d3a9f8"} 
[2026-04-28 07:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 07:35:53] 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-04-28 07:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":56190,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 07:35:53] local.INFO: GPS data processed {"connection_id":56190,"processed":0,"errors":0,"total":1} 
[2026-04-28 07:35:53] local.INFO: Acknowledgment sent {"connection_id":56190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:35:55] local.INFO: TCP Data received {"connection_id":56191,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:55] local.INFO: Processing buffer {"connection_id":56191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:35:55] local.INFO: IMEI packet received {"connection_id":56191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":56191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:36:00] local.INFO: TCP Data received {"connection_id":56191,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:36:00] local.INFO: Processing buffer {"connection_id":56191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:36:00] local.INFO: IMEI packet received {"connection_id":56191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":56191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:36:01] local.INFO: TCP Data received {"connection_id":56191,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:01] local.INFO: Processing buffer {"connection_id":56191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:01] local.INFO: Packet analysis {"connection_id":56191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:36:01] local.INFO: Extracted packet for processing {"connection_id":56191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:36:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:36:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":56191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:36:01] local.INFO: GPS data processed {"connection_id":56191,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:36:01] local.INFO: Acknowledgment sent {"connection_id":56191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:36:18] local.INFO: TCP Data received {"connection_id":56403,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: Processing buffer {"connection_id":56403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: IMEI packet received {"connection_id":56403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":56403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:36:18] local.INFO: TCP Data received {"connection_id":56403,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: Processing buffer {"connection_id":56403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:36:18] local.INFO: IMEI packet received {"connection_id":56403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":56403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:36:19] local.INFO: TCP Data received {"connection_id":56403,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d5e830012d7c8e4005d8d3c80007016409..."} 
[2026-04-28 07:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d5e830012d7c8e4005d8d3c80007016409..."} 
[2026-04-28 07:36:19] local.INFO: Processing buffer {"connection_id":56403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d5e830012d7c8e4005d8d3c80007016409..."} 
[2026-04-28 07:36:19] local.INFO: Packet analysis {"connection_id":56403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d5"} 
[2026-04-28 07:36:19] local.INFO: Extracted packet for processing {"connection_id":56403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d5"} 
[2026-04-28 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763137600,"raw_latitude":98096072,"longitude_deg":76.31376,"latitude_deg":9.8096072,"altitude":7,"angle":356,"satellites":9,"speed":35,"hex_longitude":"2d7c8e40","hex_latitude":"05d8d3c8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999536384001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76817203780911104,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976237032413036544,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:19] 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-04-28 07:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777341950000,"timestamp_ms":1777341950000,"timestamp_seconds":1777341950,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d5e830"} 
[2026-04-28 07:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 07:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999536384001,"66":13798,"196":206,"85":15104,"24":35,"16":76817203780911104,"45":8976237032413036544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-28 07:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999536384001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:36:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 07:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76817203780911104,"km_value":76817203780911.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976237032413036544,"description":"Unknown IO ID 45"} 
[2026-04-28 07:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999536384001,"power":13798,"unknown_196":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8976237032413036544}} 
[2026-04-28 07:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":56403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:36:19] local.INFO: GPS data processed {"connection_id":56403,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:36:19] local.INFO: Acknowledgment sent {"connection_id":56403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:36:33] local.INFO: TCP Data received {"connection_id":56191,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:33] local.INFO: Processing buffer {"connection_id":56191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:36:33] local.INFO: Packet analysis {"connection_id":56191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:36:33] local.INFO: Extracted packet for processing {"connection_id":56191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:36:33] 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-04-28 07: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-04-28 07:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:36:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:36:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":56191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:36:33] local.INFO: GPS data processed {"connection_id":56191,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:36:33] local.INFO: Acknowledgment sent {"connection_id":56191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:36:51] local.INFO: TCP Data received {"connection_id":56403,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d69fc8012d7c8d4005d94b580005008e08..."} 
[2026-04-28 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d69fc8012d7c8d4005d94b580005008e08..."} 
[2026-04-28 07:36:51] local.INFO: Processing buffer {"connection_id":56403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d69fc8012d7c8d4005d94b580005008e08..."} 
[2026-04-28 07:36:51] local.INFO: Packet analysis {"connection_id":56403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:36:51] local.INFO: Extracted packet for processing {"connection_id":56403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:36:51] local.INFO: GPS Element Parsed {"raw_longitude":763137344,"raw_latitude":98126680,"longitude_deg":76.3137344,"latitude_deg":9.812668,"altitude":5,"angle":142,"satellites":8,"speed":11,"hex_longitude":"2d7c8d40","hex_latitude":"05d94b58","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999550464001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76818943242665984,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920051554304,"note":"Value kept but may cause issues"} 
[2026-04-28 07:36:51] 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-04-28 07:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777341997000,"timestamp_ms":1777341997000,"timestamp_seconds":1777341997,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d69fc8"} 
[2026-04-28 07:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:36:51] 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-04-28 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 07:36: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-04-28 07: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-04-28 07:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999550464001,"66":13765,"197":206,"85":15104,"24":11,"16":76818943242665984,"45":8974688920051554304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999550464001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:36:51] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76818943242665984,"km_value":76818943242665.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920051554304,"description":"Unknown IO ID 45"} 
[2026-04-28 07:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999550464001,"power":13765,"unknown_197":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8974688920051554304}} 
[2026-04-28 07:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":56403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:36:51] local.INFO: GPS data processed {"connection_id":56403,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:36:51] local.INFO: Acknowledgment sent {"connection_id":56403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:37:00] local.INFO: TCP Data received {"connection_id":56329,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:00] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:00] local.INFO: IMEI packet received {"connection_id":56329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":56329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:37:05] local.INFO: TCP Data received {"connection_id":56329,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:05] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:05] local.INFO: IMEI packet received {"connection_id":56329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":56329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:37:06] local.INFO: TCP Data received {"connection_id":56329,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:06] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:06] local.INFO: Packet analysis {"connection_id":56329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:37:06] local.INFO: Extracted packet for processing {"connection_id":56329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:37:06] 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-04-28 07: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-04-28 07:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:37:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:37:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":56329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:37:06] local.INFO: GPS data processed {"connection_id":56329,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:37:06] local.INFO: Acknowledgment sent {"connection_id":56329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:37:10] local.INFO: TCP Data received {"connection_id":56329,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:10] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d21f70012d7faa4005afdf10001b00ae23..."} 
[2026-04-28 07:37:10] local.INFO: Packet analysis {"connection_id":56329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:37:10] local.INFO: Extracted packet for processing {"connection_id":56329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d2"} 
[2026-04-28 07:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":27,"angle":174,"satellites":35,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777341702000,"timestamp_ms":1777341702000,"timestamp_seconds":1777341702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d21f70"} 
[2026-04-28 07:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 07:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999398656001,"66":25778,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:37:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:37:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999398656001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":56329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:37:10] local.INFO: GPS data processed {"connection_id":56329,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:37:10] local.INFO: Acknowledgment sent {"connection_id":56329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:37:12] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:12] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:12] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:37:18] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:18] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:37:18] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:37:18] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6a798012d7c8c8005d94868000500a107..."} 
[2026-04-28 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6a798012d7c8c8005d94868000500a107..."} 
[2026-04-28 07:37:18] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6a798012d7c8c8005d94868000500a107..."} 
[2026-04-28 07:37:18] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:37:18] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":98125928,"longitude_deg":76.3137152,"latitude_deg":9.8125928,"altitude":5,"angle":161,"satellites":7,"speed":11,"hex_longitude":"2d7c8c80","hex_latitude":"05d94868","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999551232001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76818977602404352,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026283874304,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:18] 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-04-28 07:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777341999000,"timestamp_ms":1777341999000,"timestamp_seconds":1777341999,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6a798"} 
[2026-04-28 07:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:37:18] 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-04-28 07: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":197,"data_length":795,"current_offset":136} 
[2026-04-28 07:37:18] 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-04-28 07: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-04-28 07:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999551232001,"66":13678,"197":206,"85":15104,"24":11,"16":76818977602404352,"45":8974900026283874304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999551232001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:37:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76818977602404352,"km_value":76818977602404.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026283874304,"description":"Unknown IO ID 45"} 
[2026-04-28 07:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999551232001,"power":13678,"unknown_197":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8974900026283874304}} 
[2026-04-28 07:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:37:18] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:37:18] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:37:49] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6af68012d7c8ac005d94390000400af07..."} 
[2026-04-28 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6af68012d7c8ac005d94390000400af07..."} 
[2026-04-28 07:37:49] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6af68012d7c8ac005d94390000400af07..."} 
[2026-04-28 07:37:49] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:37:49] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763136704,"raw_latitude":98124688,"longitude_deg":76.3136704,"latitude_deg":9.8124688,"altitude":4,"angle":175,"satellites":7,"speed":15,"hex_longitude":"2d7c8ac0","hex_latitude":"05d94390","is_valid_coordinates":true} 
[2026-04-28 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76819042026913792,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920051148800,"note":"Value kept but may cause issues"} 
[2026-04-28 07:37:49] 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-04-28 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777342001000,"timestamp_ms":1777342001000,"timestamp_seconds":1777342001,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6af68"} 
[2026-04-28 07:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:37:49] 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-04-28 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999551744001,"66":13374,"197":206,"85":15104,"24":15,"16":76819042026913792,"45":8974688920051148800},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:37:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76819042026913792,"km_value":76819042026913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920051148800,"description":"Unknown IO ID 45"} 
[2026-04-28 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999551744001,"power":13374,"unknown_197":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8974688920051148800}} 
[2026-04-28 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:37:49] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:37:49] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:37:54] local.INFO: TCP Data received {"connection_id":56193,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:54] local.INFO: Processing buffer {"connection_id":56193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:37:54] local.INFO: IMEI packet received {"connection_id":56193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:38:00] local.INFO: TCP Data received {"connection_id":56193,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:00] local.INFO: Processing buffer {"connection_id":56193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:00] local.INFO: IMEI packet received {"connection_id":56193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":56193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:38:01] local.INFO: TCP Data received {"connection_id":56193,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:01] local.INFO: Processing buffer {"connection_id":56193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:01] local.INFO: Packet analysis {"connection_id":56193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:01] local.INFO: Extracted packet for processing {"connection_id":56193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 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-04-28 07:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 07:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:38:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:38:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":56193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:38:01] local.INFO: GPS data processed {"connection_id":56193,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:38:01] local.INFO: Acknowledgment sent {"connection_id":56193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:38:18] local.INFO: TCP Data received {"connection_id":56404,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:18] local.INFO: Processing buffer {"connection_id":56404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:18] local.INFO: IMEI packet received {"connection_id":56404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":56404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:38:21] local.INFO: TCP Data received {"connection_id":56404,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:21] local.INFO: Processing buffer {"connection_id":56404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:38:21] local.INFO: IMEI packet received {"connection_id":56404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":56404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:38:21] local.INFO: TCP Data received {"connection_id":56404,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6cea8012d7c8bc005d91f90000200ad07..."} 
[2026-04-28 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6cea8012d7c8bc005d91f90000200ad07..."} 
[2026-04-28 07:38:21] local.INFO: Processing buffer {"connection_id":56404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6cea8012d7c8bc005d91f90000200ad07..."} 
[2026-04-28 07:38:21] local.INFO: Packet analysis {"connection_id":56404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:21] local.INFO: Extracted packet for processing {"connection_id":56404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":98115472,"longitude_deg":76.313696,"latitude_deg":9.8115472,"altitude":2,"angle":173,"satellites":7,"speed":37,"hex_longitude":"2d7c8bc0","hex_latitude":"05d91f90","is_valid_coordinates":true} 
[2026-04-28 07:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552256001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76819492998479872,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196338841587712,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777342009000,"timestamp_ms":1777342009000,"timestamp_seconds":1777342009,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6cea8"} 
[2026-04-28 07:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 07:38: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-04-28 07:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552256001,"66":13624,"197":206,"85":15104,"24":37,"16":76819492998479872,"45":8974196338841587712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552256001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:38:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76819492998479872,"km_value":76819492998479.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196338841587712,"description":"Unknown IO ID 45"} 
[2026-04-28 07:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552256001,"power":13624,"unknown_197":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8974196338841587712}} 
[2026-04-28 07:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":56404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:38:21] local.INFO: GPS data processed {"connection_id":56404,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:38:21] local.INFO: Acknowledgment sent {"connection_id":56404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:38:23] local.INFO: TCP Data received {"connection_id":56404,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6f1d0012d7c8ec005d8faa8000000ab08..."} 
[2026-04-28 07:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6f1d0012d7c8ec005d8faa8000000ab08..."} 
[2026-04-28 07:38:23] local.INFO: Processing buffer {"connection_id":56404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6f1d0012d7c8ec005d8faa8000000ab08..."} 
[2026-04-28 07:38:23] local.INFO: Packet analysis {"connection_id":56404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:23] local.INFO: Extracted packet for processing {"connection_id":56404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":98106024,"longitude_deg":76.3137728,"latitude_deg":9.8106024,"altitude":0,"angle":171,"satellites":8,"speed":35,"hex_longitude":"2d7c8ec0","hex_latitude":"05d8faa8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999554304001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76819952559980544,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477813815939072,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:23] 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-04-28 07:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777342018000,"timestamp_ms":1777342018000,"timestamp_seconds":1777342018,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6f1d0"} 
[2026-04-28 07:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:38:23] 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-04-28 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 07:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999554304001,"66":13472,"197":206,"85":15104,"24":35,"16":76819952559980544,"45":8974477813815939072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999554304001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:38:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76819952559980544,"km_value":76819952559980.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477813815939072,"description":"Unknown IO ID 45"} 
[2026-04-28 07:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999554304001,"power":13472,"unknown_197":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8974477813815939072}} 
[2026-04-28 07:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":56404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:38:23] local.INFO: GPS data processed {"connection_id":56404,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:38:23] local.INFO: Acknowledgment sent {"connection_id":56404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:38:32] local.INFO: TCP Data received {"connection_id":56193,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:32] local.INFO: Processing buffer {"connection_id":56193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:38:32] local.INFO: Packet analysis {"connection_id":56193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:32] local.INFO: Extracted packet for processing {"connection_id":56193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:38:32] 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-04-28 07:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":56193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:38:32] local.INFO: GPS data processed {"connection_id":56193,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:38:32] local.INFO: Acknowledgment sent {"connection_id":56193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:38:53] local.INFO: TCP Data received {"connection_id":56404,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d87c58012d7c9d8005d8c3d80000008613..."} 
[2026-04-28 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d87c58012d7c9d8005d8c3d80000008613..."} 
[2026-04-28 07:38:53] local.INFO: Processing buffer {"connection_id":56404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d87c58012d7c9d8005d8c3d80000008613..."} 
[2026-04-28 07:38:53] local.INFO: Packet analysis {"connection_id":56404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:38:53] local.INFO: Extracted packet for processing {"connection_id":56404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763141504,"raw_latitude":98091992,"longitude_deg":76.3141504,"latitude_deg":9.8091992,"altitude":0,"angle":134,"satellites":19,"speed":3,"hex_longitude":"2d7c9d80","hex_latitude":"05d8c3d8","is_valid_coordinates":true} 
[2026-04-28 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999582208001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76820833028276224,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979333257158207488,"note":"Value kept but may cause issues"} 
[2026-04-28 07:38:53] 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-04-28 07:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777342119000,"timestamp_ms":1777342119000,"timestamp_seconds":1777342119,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d87c58"} 
[2026-04-28 07:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:38:53] 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-04-28 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 07:38:53] 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-04-28 07:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999582208001,"66":13678,"197":206,"85":15104,"24":3,"16":76820833028276224,"45":8979333257158207488},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999582208001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:38:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76820833028276224,"km_value":76820833028276.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979333257158207488,"description":"Unknown IO ID 45"} 
[2026-04-28 07:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999582208001,"power":13678,"unknown_197":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8979333257158207488}} 
[2026-04-28 07:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":56404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:38:54] local.INFO: GPS data processed {"connection_id":56404,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:38:54] local.INFO: Acknowledgment sent {"connection_id":56404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:38:54] local.INFO: TCP Data received {"connection_id":56330,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:54] local.INFO: Processing buffer {"connection_id":56330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:54] local.INFO: IMEI packet received {"connection_id":56330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":56330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:38:59] local.INFO: TCP Data received {"connection_id":56330,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:59] local.INFO: Processing buffer {"connection_id":56330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:38:59] local.INFO: IMEI packet received {"connection_id":56330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":56330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:39:00] local.INFO: TCP Data received {"connection_id":56330,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:00] local.INFO: Processing buffer {"connection_id":56330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:00] local.INFO: Packet analysis {"connection_id":56330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:39:00] local.INFO: Extracted packet for processing {"connection_id":56330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:39:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:39:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:39:00] local.INFO: GPS data processed {"connection_id":56330,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:39:00] local.INFO: Acknowledgment sent {"connection_id":56330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:39:13] local.INFO: TCP Data received {"connection_id":56194,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:13] local.INFO: Processing buffer {"connection_id":56194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:13] local.INFO: IMEI packet received {"connection_id":56194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":56194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:39:17] local.INFO: TCP Data received {"connection_id":56194,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:17] local.INFO: Processing buffer {"connection_id":56194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:39:17] local.INFO: IMEI packet received {"connection_id":56194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":56194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:39:18] local.INFO: TCP Data received {"connection_id":56194,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d88810012d7c9e8005d8c3480000006e13..."} 
[2026-04-28 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d88810012d7c9e8005d8c3480000006e13..."} 
[2026-04-28 07:39:18] local.INFO: Processing buffer {"connection_id":56194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d88810012d7c9e8005d8c3480000006e13..."} 
[2026-04-28 07:39:18] local.INFO: Packet analysis {"connection_id":56194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:39:18] local.INFO: Extracted packet for processing {"connection_id":56194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763141760,"raw_latitude":98091848,"longitude_deg":76.314176,"latitude_deg":9.8091848,"altitude":0,"angle":110,"satellites":19,"speed":3,"hex_longitude":"2d7c9e80","hex_latitude":"05d8c348","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999582464001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76820850208145408,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979473994646542336,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:18] 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-04-28 07:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777342122000,"timestamp_ms":1777342122000,"timestamp_seconds":1777342122,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d88810"} 
[2026-04-28 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-04-28 07:39:18] 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-04-28 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:39: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-04-28 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-04-28 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-04-28 07:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999582464001,"66":13602,"197":206,"85":15104,"24":3,"16":76820850208145408,"45":8979473994646542336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999582464001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:39:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76820850208145408,"km_value":76820850208145.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979473994646542336,"description":"Unknown IO ID 45"} 
[2026-04-28 07:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999582464001,"power":13602,"unknown_197":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8979473994646542336}} 
[2026-04-28 07:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":56194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:39:18] local.INFO: GPS data processed {"connection_id":56194,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:39:18] local.INFO: Acknowledgment sent {"connection_id":56194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:39:32] local.INFO: TCP Data received {"connection_id":56330,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:32] local.INFO: Processing buffer {"connection_id":56330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:39:32] local.INFO: Packet analysis {"connection_id":56330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:39:32] local.INFO: Extracted packet for processing {"connection_id":56330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:39:32] 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-04-28 07:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:39:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":56330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:39:32] local.INFO: GPS data processed {"connection_id":56330,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:39:32] local.INFO: Acknowledgment sent {"connection_id":56330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:39:50] local.INFO: TCP Data received {"connection_id":56194,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d893c8012d7c9fc005d8c3000000006313..."} 
[2026-04-28 07:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d893c8012d7c9fc005d8c3000000006313..."} 
[2026-04-28 07:39:50] local.INFO: Processing buffer {"connection_id":56194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d893c8012d7c9fc005d8c3000000006313..."} 
[2026-04-28 07:39:50] local.INFO: Packet analysis {"connection_id":56194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:39:50] local.INFO: Extracted packet for processing {"connection_id":56194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98091776,"longitude_deg":76.314208,"latitude_deg":9.8091776,"altitude":0,"angle":99,"satellites":19,"speed":4,"hex_longitude":"2d7c9fc0","hex_latitude":"05d8c300","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999583232001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76820867388014592,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979755469623216128,"note":"Value kept but may cause issues"} 
[2026-04-28 07:39:50] 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-04-28 07:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777342125000,"timestamp_ms":1777342125000,"timestamp_seconds":1777342125,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d893c8"} 
[2026-04-28 07:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:39:50] 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-04-28 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 07:39: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-04-28 07: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-04-28 07:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999583232001,"66":13678,"197":206,"85":15104,"24":4,"16":76820867388014592,"45":8979755469623216128},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999583232001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:39:50] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76820867388014592,"km_value":76820867388014.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979755469623216128,"description":"Unknown IO ID 45"} 
[2026-04-28 07:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999583232001,"power":13678,"unknown_197":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8979755469623216128}} 
[2026-04-28 07:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":56194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:39:50] local.INFO: GPS data processed {"connection_id":56194,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:39:50] local.INFO: Acknowledgment sent {"connection_id":56194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:40:00] local.INFO: TCP Data received {"connection_id":56405,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:00] local.INFO: Processing buffer {"connection_id":56405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:00] local.INFO: IMEI packet received {"connection_id":56405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:40:05] local.INFO: TCP Data received {"connection_id":56405,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:05] local.INFO: Processing buffer {"connection_id":56405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:05] local.INFO: IMEI packet received {"connection_id":56405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":56405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:40:06] local.INFO: TCP Data received {"connection_id":56405,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:06] local.INFO: Processing buffer {"connection_id":56405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:06] local.INFO: Packet analysis {"connection_id":56405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:40:06] local.INFO: Extracted packet for processing {"connection_id":56405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:40:06] 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-04-28 07:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:40:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:40:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":56405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:40:06] local.INFO: GPS data processed {"connection_id":56405,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:40:06] local.INFO: Acknowledgment sent {"connection_id":56405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:40:13] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:13] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:13] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:40:15] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:15] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:15] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:40:18] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:18] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:40:18] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:40:19] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d8ce60012d7ca4c005d8c2980000005713..."} 
[2026-04-28 07:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d8ce60012d7ca4c005d8c2980000005713..."} 
[2026-04-28 07:40:19] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d8ce60012d7ca4c005d8c2980000005713..."} 
[2026-04-28 07:40:19] local.INFO: Packet analysis {"connection_id":56406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:40:19] local.INFO: Extracted packet for processing {"connection_id":56406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d8"} 
[2026-04-28 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763143360,"raw_latitude":98091672,"longitude_deg":76.314336,"latitude_deg":9.8091672,"altitude":0,"angle":87,"satellites":19,"speed":2,"hex_longitude":"2d7ca4c0","hex_latitude":"05d8c298","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999584000001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76820931812524032,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313344086016,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:19] 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-04-28 07:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777342140000,"timestamp_ms":1777342140000,"timestamp_seconds":1777342140,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d8ce60"} 
[2026-04-28 07:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:40: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-04-28 07: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-04-28 07:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999584000001,"66":13472,"197":206,"85":15104,"24":2,"16":76820931812524032,"45":8980107313344086016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999584000001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:40:19] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76820931812524032,"km_value":76820931812524.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313344086016,"description":"Unknown IO ID 45"} 
[2026-04-28 07:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999584000001,"power":13472,"unknown_197":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8980107313344086016}} 
[2026-04-28 07:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":56406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:40:19] local.INFO: GPS data processed {"connection_id":56406,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:40:19] local.INFO: Acknowledgment sent {"connection_id":56406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:40:38] local.INFO: TCP Data received {"connection_id":56405,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:38] local.INFO: Processing buffer {"connection_id":56405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:40:38] local.INFO: Packet analysis {"connection_id":56405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:40:38] local.INFO: Extracted packet for processing {"connection_id":56405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:40:38] 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-04-28 07:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:40:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:40:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":56405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:40:38] local.INFO: GPS data processed {"connection_id":56405,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:40:38] local.INFO: Acknowledgment sent {"connection_id":56405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:40:50] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d91c80012d7cbc0005d8c3180000005514..."} 
[2026-04-28 07:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d91c80012d7cbc0005d8c3180000005514..."} 
[2026-04-28 07:40:50] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d91c80012d7cbc0005d8c3180000005514..."} 
[2026-04-28 07:40:50] local.INFO: Packet analysis {"connection_id":56406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:40:50] local.INFO: Extracted packet for processing {"connection_id":56406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763149312,"raw_latitude":98091800,"longitude_deg":76.3149312,"latitude_deg":9.80918,"altitude":0,"angle":85,"satellites":20,"speed":17,"hex_longitude":"2d7cbc00","hex_latitude":"05d8c318","is_valid_coordinates":true} 
[2026-04-28 07:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999587840001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821215280365568,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981514688227612672,"note":"Value kept but may cause issues"} 
[2026-04-28 07:40:50] 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-04-28 07:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777342160000,"timestamp_ms":1777342160000,"timestamp_seconds":1777342160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d91c80"} 
[2026-04-28 07:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:40:50] 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-04-28 07:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 07:40: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-04-28 07:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999587840001,"66":13656,"197":206,"85":15104,"24":17,"16":76821215280365568,"45":8981514688227612672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999587840001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:40:50] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821215280365568,"km_value":76821215280365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981514688227612672,"description":"Unknown IO ID 45"} 
[2026-04-28 07:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999587840001,"power":13656,"unknown_197":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8981514688227612672}} 
[2026-04-28 07:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":56406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:40:50] local.INFO: GPS data processed {"connection_id":56406,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:40:50] local.INFO: Acknowledgment sent {"connection_id":56406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:40:54] local.INFO: TCP Data received {"connection_id":56332,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:54] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:40:54] local.INFO: IMEI packet received {"connection_id":56332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":56332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:41:00] local.INFO: TCP Data received {"connection_id":56332,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:00] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:00] local.INFO: IMEI packet received {"connection_id":56332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":56332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:41:01] local.INFO: TCP Data received {"connection_id":56332,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:01] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:01] local.INFO: Packet analysis {"connection_id":56332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:41:01] local.INFO: Extracted packet for processing {"connection_id":56332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":56332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:41:01] local.INFO: GPS data processed {"connection_id":56332,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:41:01] local.INFO: Acknowledgment sent {"connection_id":56332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:41:10] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:10] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:10] local.INFO: IMEI packet received {"connection_id":56331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":56331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:41:12] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:12] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:12] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:41:15] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:15] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:15] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:41:17] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:41:17] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:41:17] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:41:18] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d93bc0012d7ccb4005d8c5f00000004914..."} 
[2026-04-28 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d93bc0012d7ccb4005d8c5f00000004914..."} 
[2026-04-28 07:41:18] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d93bc0012d7ccb4005d8c5f00000004914..."} 
[2026-04-28 07:41:18] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:41:18] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763153216,"raw_latitude":98092528,"longitude_deg":76.3153216,"latitude_deg":9.8092528,"altitude":0,"angle":73,"satellites":20,"speed":16,"hex_longitude":"2d7ccb40","hex_latitude":"05d8c5f0","is_valid_coordinates":true} 
[2026-04-28 07:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999592960001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821404258926592,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988058981436168192,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:18] 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-04-28 07:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777342168000,"timestamp_ms":1777342168000,"timestamp_seconds":1777342168,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d93bc0"} 
[2026-04-28 07:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-28 07:41: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-04-28 07:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999592960001,"66":13472,"197":206,"85":15104,"24":16,"16":76821404258926592,"45":8988058981436168192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999592960001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:41:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821404258926592,"km_value":76821404258926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988058981436168192,"description":"Unknown IO ID 45"} 
[2026-04-28 07:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999592960001,"power":13472,"unknown_197":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8988058981436168192}} 
[2026-04-28 07:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:41:18] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:41:18] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:41:33] local.INFO: TCP Data received {"connection_id":56332,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:33] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:41:33] local.INFO: Packet analysis {"connection_id":56332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:41:33] local.INFO: Extracted packet for processing {"connection_id":56332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:41:33] 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-04-28 07:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:41:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":56332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:41:33] local.INFO: GPS data processed {"connection_id":56332,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:41:33] local.INFO: Acknowledgment sent {"connection_id":56332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:41:35] local.INFO: TCP Data received {"connection_id":57075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:35] local.INFO: Processing buffer {"connection_id":57075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:41:35] local.INFO: IMEI packet received {"connection_id":57075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":57075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:41:50] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d94b60012d7ccfc005d8c6980000005614..."} 
[2026-04-28 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d94b60012d7ccfc005d8c6980000005614..."} 
[2026-04-28 07:41:50] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d94b60012d7ccfc005d8c6980000005614..."} 
[2026-04-28 07:41:50] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:41:50] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763154368,"raw_latitude":98092696,"longitude_deg":76.3154368,"latitude_deg":9.8092696,"altitude":0,"angle":86,"satellites":20,"speed":7,"hex_longitude":"2d7ccfc0","hex_latitude":"05d8c698","is_valid_coordinates":true} 
[2026-04-28 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999595008001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821460093501440,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992351474831192064,"note":"Value kept but may cause issues"} 
[2026-04-28 07:41:50] 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-04-28 07:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777342172000,"timestamp_ms":1777342172000,"timestamp_seconds":1777342172,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d94b60"} 
[2026-04-28 07:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:41: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-04-28 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 07:41: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-04-28 07:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999595008001,"66":13515,"197":206,"85":15104,"24":7,"16":76821460093501440,"45":8992351474831192064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999595008001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:41:50] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821460093501440,"km_value":76821460093501.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992351474831192064,"description":"Unknown IO ID 45"} 
[2026-04-28 07:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999595008001,"power":13515,"unknown_197":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8992351474831192064}} 
[2026-04-28 07:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:41:50] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:41:50] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:41:54] local.INFO: TCP Data received {"connection_id":57076,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:54] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:41:54] local.INFO: IMEI packet received {"connection_id":57076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":57076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:42:00] local.INFO: TCP Data received {"connection_id":57076,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:00] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:00] local.INFO: IMEI packet received {"connection_id":57076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":57076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:42:01] local.INFO: TCP Data received {"connection_id":57076,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:42:01] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d6b738012d7faa4005afdf10001900ae20..."} 
[2026-04-28 07:42:01] local.INFO: Packet analysis {"connection_id":57076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:42:01] local.INFO: Extracted packet for processing {"connection_id":57076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d6"} 
[2026-04-28 07:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999475712001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342003000,"timestamp_ms":1777342003000,"timestamp_seconds":1777342003,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d6b738"} 
[2026-04-28 07:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 07:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999475712001,"66":25756,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999475712001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:42:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:42:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999475712001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":57076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:42:01] local.INFO: GPS data processed {"connection_id":57076,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:42:01] local.INFO: Acknowledgment sent {"connection_id":57076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:42:12] local.INFO: TCP Data received {"connection_id":56407,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:12] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:12] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:42:17] local.INFO: TCP Data received {"connection_id":56407,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:17] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:42:17] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:42:18] local.INFO: TCP Data received {"connection_id":56407,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d99980012d7cd14005d8c6080000005615..."} 
[2026-04-28 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d99980012d7cd14005d8c6080000005615..."} 
[2026-04-28 07:42:18] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d99980012d7cd14005d8c6080000005615..."} 
[2026-04-28 07:42:18] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:42:18] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":98092552,"longitude_deg":76.3154752,"latitude_deg":9.8092552,"altitude":0,"angle":86,"satellites":21,"speed":0,"hex_longitude":"2d7cd140","hex_latitude":"05d8c608","is_valid_coordinates":true} 
[2026-04-28 07:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999596032001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821481568337920,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112226433024,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:18] 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-04-28 07:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777342192000,"timestamp_ms":1777342192000,"timestamp_seconds":1777342192,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d99980"} 
[2026-04-28 07:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 07:42: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-04-28 07:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999596032001,"66":13450,"197":206,"85":15104,"24":0,"16":76821481568337920,"45":8993618112226433024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999596032001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:42:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821481568337920,"km_value":76821481568337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112226433024,"description":"Unknown IO ID 45"} 
[2026-04-28 07:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999596032001,"power":13450,"unknown_197":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8993618112226433024}} 
[2026-04-28 07:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:42:18] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:42:18] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:42:32] local.INFO: TCP Data received {"connection_id":57076,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:42:32] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:42:32] local.INFO: Packet analysis {"connection_id":57076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:42:32] local.INFO: Extracted packet for processing {"connection_id":57076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:42: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-04-28 07:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:42:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":57076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:42:32] local.INFO: GPS data processed {"connection_id":57076,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:42:32] local.INFO: Acknowledgment sent {"connection_id":57076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:42:49] local.INFO: TCP Data received {"connection_id":56407,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1d9eb88012d7cd14005d8c6080000005616..."} 
[2026-04-28 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1d9eb88012d7cd14005d8c6080000005616..."} 
[2026-04-28 07:42:49] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1d9eb88012d7cd14005d8c6080000005616..."} 
[2026-04-28 07:42:49] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:42:49] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1d9"} 
[2026-04-28 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":98092552,"longitude_deg":76.3154752,"latitude_deg":9.8092552,"altitude":0,"angle":86,"satellites":22,"speed":0,"hex_longitude":"2d7cd140","hex_latitude":"05d8c608","is_valid_coordinates":true} 
[2026-04-28 07:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999601152001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821481568337920,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994040324691462144,"note":"Value kept but may cause issues"} 
[2026-04-28 07:42:49] 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-04-28 07:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777342213000,"timestamp_ms":1777342213000,"timestamp_seconds":1777342213,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1d9eb88"} 
[2026-04-28 07:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:42:49] 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-04-28 07:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 07:42:49] 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-04-28 07:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999601152001,"66":13493,"197":206,"85":15104,"24":0,"16":76821481568337920,"45":8994040324691462144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 07:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999601152001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:42:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 07:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821481568337920,"km_value":76821481568337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994040324691462144,"description":"Unknown IO ID 45"} 
[2026-04-28 07:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999601152001,"power":13493,"unknown_197":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8994040324691462144}} 
[2026-04-28 07:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:42:49] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:42:49] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:42:54] local.INFO: TCP Data received {"connection_id":57078,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:54] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:42:54] local.INFO: IMEI packet received {"connection_id":57078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":57078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:43:00] local.INFO: TCP Data received {"connection_id":57078,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:00] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:00] local.INFO: IMEI packet received {"connection_id":57078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":57078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:43:02] local.INFO: TCP Data received {"connection_id":57078,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:02] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:02] local.INFO: Packet analysis {"connection_id":57078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:43:02] local.INFO: Extracted packet for processing {"connection_id":57078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:43:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:43:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":57078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:43:02] local.INFO: GPS data processed {"connection_id":57078,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:43:02] local.INFO: Acknowledgment sent {"connection_id":57078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:43:13] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:13] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:13] local.INFO: IMEI packet received {"connection_id":56408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":56408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:43:16] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:16] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:43:16] local.INFO: IMEI packet received {"connection_id":56408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":56408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:43:17] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dc21f0012d7cd28005d8c658000000461f..."} 
[2026-04-28 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dc21f0012d7cd28005d8c658000000461f..."} 
[2026-04-28 07:43:17] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dc21f0012d7cd28005d8c658000000461f..."} 
[2026-04-28 07:43:17] local.INFO: Packet analysis {"connection_id":56408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1dc"} 
[2026-04-28 07:43:17] local.INFO: Extracted packet for processing {"connection_id":56408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1dc"} 
[2026-04-28 07:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763155072,"raw_latitude":98092632,"longitude_deg":76.3155072,"latitude_deg":9.8092632,"altitude":0,"angle":70,"satellites":31,"speed":0,"hex_longitude":"2d7cd280","hex_latitude":"05d8c658","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999638272001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821563172716544,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994392168412370944,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:17] 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-04-28 07:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777342358000,"timestamp_ms":1777342358000,"timestamp_seconds":1777342358,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dc21f0"} 
[2026-04-28 07:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:43:17] 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-04-28 07: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":51,"data_length":795,"current_offset":136} 
[2026-04-28 07:43: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-04-28 07: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-04-28 07:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999638272001,"66":13450,"196":206,"85":15104,"24":0,"16":76821563172716544,"45":8994392168412370944},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-28 07:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999638272001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:43:17] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 07:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821563172716544,"km_value":76821563172716.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994392168412370944,"description":"Unknown IO ID 45"} 
[2026-04-28 07:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999638272001,"power":13450,"unknown_196":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8994392168412370944}} 
[2026-04-28 07:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":56408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:43:17] local.INFO: GPS data processed {"connection_id":56408,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:43:17] local.INFO: Acknowledgment sent {"connection_id":56408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:43:34] local.INFO: TCP Data received {"connection_id":57078,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:34] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:43:34] local.INFO: Packet analysis {"connection_id":57078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:43:34] local.INFO: Extracted packet for processing {"connection_id":57078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:43:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:43:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":57078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:43:34] local.INFO: GPS data processed {"connection_id":57078,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:43:34] local.INFO: Acknowledgment sent {"connection_id":57078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:43:48] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dc73f8012d7cd28005d8c6580000004620..."} 
[2026-04-28 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dc73f8012d7cd28005d8c6580000004620..."} 
[2026-04-28 07:43:48] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dc73f8012d7cd28005d8c6580000004620..."} 
[2026-04-28 07:43:48] local.INFO: Packet analysis {"connection_id":56408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1dc"} 
[2026-04-28 07:43:48] local.INFO: Extracted packet for processing {"connection_id":56408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1dc"} 
[2026-04-28 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763155072,"raw_latitude":98092632,"longitude_deg":76.3155072,"latitude_deg":9.8092632,"altitude":0,"angle":70,"satellites":32,"speed":0,"hex_longitude":"2d7cd280","hex_latitude":"05d8c658","is_valid_coordinates":true} 
[2026-04-28 07:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999643648001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76821563172716544,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994392168412370944,"note":"Value kept but may cause issues"} 
[2026-04-28 07:43:48] 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-04-28 07:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777342379000,"timestamp_ms":1777342379000,"timestamp_seconds":1777342379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dc73f8"} 
[2026-04-28 07:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 07:43:48] 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-04-28 07:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999643648001,"66":13559,"196":206,"85":15104,"24":0,"16":76821563172716544,"45":8994392168412370944},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-28 07:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999643648001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:43:48] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 07:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76821563172716544,"km_value":76821563172716.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994392168412370944,"description":"Unknown IO ID 45"} 
[2026-04-28 07:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999643648001,"power":13559,"unknown_196":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8994392168412370944}} 
[2026-04-28 07:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":56408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:43:48] local.INFO: GPS data processed {"connection_id":56408,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:43:48] local.INFO: Acknowledgment sent {"connection_id":56408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:43:54] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:54] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:43:54] local.INFO: IMEI packet received {"connection_id":56333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":56333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:44:00] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:00] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:00] local.INFO: IMEI packet received {"connection_id":56333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:44:01] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:01] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:01] local.INFO: Packet analysis {"connection_id":56333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:44:01] local.INFO: Extracted packet for processing {"connection_id":56333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:44:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:44:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":56333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:44:01] local.INFO: GPS data processed {"connection_id":56333,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:44:01] local.INFO: Acknowledgment sent {"connection_id":56333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:44:11] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:11] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:11] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:44:12] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:12] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:12] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:44:15] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:44:15] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:44:15] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:44:33] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:33] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:44:33] local.INFO: Packet analysis {"connection_id":56333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:44:33] local.INFO: Extracted packet for processing {"connection_id":56333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:44:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":56333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:44:33] local.INFO: GPS data processed {"connection_id":56333,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:44:33] local.INFO: Acknowledgment sent {"connection_id":56333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:44:54] local.INFO: TCP Data received {"connection_id":56410,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:54] local.INFO: Processing buffer {"connection_id":56410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:54] local.INFO: IMEI packet received {"connection_id":56410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":56410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:44:59] local.INFO: TCP Data received {"connection_id":56410,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:59] local.INFO: Processing buffer {"connection_id":56410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:44:59] local.INFO: IMEI packet received {"connection_id":56410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:45:00] local.INFO: TCP Data received {"connection_id":56410,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:00] local.INFO: Processing buffer {"connection_id":56410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:00] local.INFO: Packet analysis {"connection_id":56410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:45:00] local.INFO: Extracted packet for processing {"connection_id":56410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:45: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-04-28 07:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":56410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:45:00] local.INFO: GPS data processed {"connection_id":56410,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:45:00] local.INFO: Acknowledgment sent {"connection_id":56410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:45:32] local.INFO: TCP Data received {"connection_id":56410,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:32] local.INFO: Processing buffer {"connection_id":56410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:45:32] local.INFO: Packet analysis {"connection_id":56410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:45:32] local.INFO: Extracted packet for processing {"connection_id":56410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:45:32] local.INFO: GPS data processed {"connection_id":56410,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:45:32] local.INFO: Acknowledgment sent {"connection_id":56410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:45:55] local.INFO: TCP Data received {"connection_id":56335,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:45:55] local.INFO: Processing buffer {"connection_id":56335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:45:55] local.INFO: IMEI packet received {"connection_id":56335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":56335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:46:00] local.INFO: TCP Data received {"connection_id":56335,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:00] local.INFO: Processing buffer {"connection_id":56335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:00] local.INFO: IMEI packet received {"connection_id":56335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":56335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:46:01] local.INFO: TCP Data received {"connection_id":56335,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:01] local.INFO: Processing buffer {"connection_id":56335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:01] local.INFO: Packet analysis {"connection_id":56335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:46:01] local.INFO: Extracted packet for processing {"connection_id":56335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:46:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:46:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":56335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:46:01] local.INFO: GPS data processed {"connection_id":56335,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:46:01] local.INFO: Acknowledgment sent {"connection_id":56335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:46:33] local.INFO: TCP Data received {"connection_id":56335,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:33] local.INFO: Processing buffer {"connection_id":56335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:46:33] local.INFO: Packet analysis {"connection_id":56335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:46:33] local.INFO: Extracted packet for processing {"connection_id":56335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":56335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:46:33] local.INFO: GPS data processed {"connection_id":56335,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:46:33] local.INFO: Acknowledgment sent {"connection_id":56335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:46:54] local.INFO: TCP Data received {"connection_id":56411,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:54] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:46:54] local.INFO: IMEI packet received {"connection_id":56411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:47:00] local.INFO: TCP Data received {"connection_id":56411,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:47:00] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:47:00] local.INFO: IMEI packet received {"connection_id":56411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:47:01] local.INFO: TCP Data received {"connection_id":56411,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:47:01] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1db4f00012d7faa4005afdf10001700ae24..."} 
[2026-04-28 07:47:01] local.INFO: Packet analysis {"connection_id":56411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:47:01] local.INFO: Extracted packet for processing {"connection_id":56411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1db"} 
[2026-04-28 07:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":23,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999552768001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342304000,"timestamp_ms":1777342304000,"timestamp_seconds":1777342304,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1db4f00"} 
[2026-04-28 07:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 07:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999552768001,"66":25734,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999552768001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:47:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:47:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999552768001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":56411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:47:01] local.INFO: GPS data processed {"connection_id":56411,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:47:01] local.INFO: Acknowledgment sent {"connection_id":56411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:47:05] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:05] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:05] local.INFO: IMEI packet received {"connection_id":56336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":56336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:47:32] local.INFO: TCP Data received {"connection_id":56411,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:47:32] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:47:32] local.INFO: Packet analysis {"connection_id":56411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:47:32] local.INFO: Extracted packet for processing {"connection_id":56411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:47:32] 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-04-28 07:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:47:32] local.INFO: GPS data processed {"connection_id":56411,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:47:32] local.INFO: Acknowledgment sent {"connection_id":56411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:47:35] local.INFO: TCP Data received {"connection_id":56197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:35] local.INFO: Processing buffer {"connection_id":56197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:47:35] local.INFO: IMEI packet received {"connection_id":56197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:48:00] local.INFO: TCP Data received {"connection_id":56337,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:00] local.INFO: Processing buffer {"connection_id":56337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:00] local.INFO: IMEI packet received {"connection_id":56337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":56337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:48:05] local.INFO: TCP Data received {"connection_id":56337,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:05] local.INFO: Processing buffer {"connection_id":56337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:05] local.INFO: IMEI packet received {"connection_id":56337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":56337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:48:06] local.INFO: TCP Data received {"connection_id":56337,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:06] local.INFO: Processing buffer {"connection_id":56337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:06] local.INFO: Packet analysis {"connection_id":56337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:48:06] local.INFO: Extracted packet for processing {"connection_id":56337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:48:06] 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-04-28 07:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:48:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:48:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":56337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:48:06] local.INFO: GPS data processed {"connection_id":56337,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:48:06] local.INFO: Acknowledgment sent {"connection_id":56337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:48:11] local.INFO: TCP Data received {"connection_id":56337,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:11] local.INFO: Processing buffer {"connection_id":56337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:48:11] local.INFO: Packet analysis {"connection_id":56337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:48:11] local.INFO: Extracted packet for processing {"connection_id":56337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:48:11] 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-04-28 07:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:48:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:48:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":56337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:48:11] local.INFO: GPS data processed {"connection_id":56337,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:48:11] local.INFO: Acknowledgment sent {"connection_id":56337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:48:55] local.INFO: TCP Data received {"connection_id":56198,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:55] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:48:55] local.INFO: IMEI packet received {"connection_id":56198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":56198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:49:00] local.INFO: TCP Data received {"connection_id":56198,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:00] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:00] local.INFO: IMEI packet received {"connection_id":56198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":56198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:49:01] local.INFO: TCP Data received {"connection_id":56198,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:01] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:01] local.INFO: Packet analysis {"connection_id":56198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:49:01] local.INFO: Extracted packet for processing {"connection_id":56198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:49:01] 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-04-28 07:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:49:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:49:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":56198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:49:01] local.INFO: GPS data processed {"connection_id":56198,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:49:01] local.INFO: Acknowledgment sent {"connection_id":56198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:49:17] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:17] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:17] local.INFO: IMEI packet received {"connection_id":56340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":56340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:49:23] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:23] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:49:23] local.INFO: IMEI packet received {"connection_id":56340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":56340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:49:24] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e10fa8012d7be78005dc16780000016214..."} 
[2026-04-28 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e10fa8012d7be78005dc16780000016214..."} 
[2026-04-28 07:49:24] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e10fa8012d7be78005dc16780000016214..."} 
[2026-04-28 07:49:24] local.INFO: Packet analysis {"connection_id":56340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:24] local.INFO: Extracted packet for processing {"connection_id":56340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763094912,"raw_latitude":98309752,"longitude_deg":76.3094912,"latitude_deg":9.8309752,"altitude":0,"angle":354,"satellites":20,"speed":49,"hex_longitude":"2d7be780","hex_latitude":"05dc1678","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999724288001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76834353585324032,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371448845473792,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:24] 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-04-28 07:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777342681000,"timestamp_ms":1777342681000,"timestamp_seconds":1777342681,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e10fa8"} 
[2026-04-28 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-04-28 07:49: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-04-28 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 07:49: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-04-28 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-04-28 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-04-28 07:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999724288001,"66":13798,"186":206,"85":15104,"24":49,"16":76834353585324032,"45":8929371448845473792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-04-28 07:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999724288001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:49:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-28 07:49:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76834353585324032,"km_value":76834353585324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371448845473792,"description":"Unknown IO ID 45"} 
[2026-04-28 07:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999724288001,"power":13798,"unknown_186":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8929371448845473792}} 
[2026-04-28 07:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":56340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:49:24] local.INFO: GPS data processed {"connection_id":56340,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:49:24] local.INFO: Acknowledgment sent {"connection_id":56340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:49:25] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e12b00012d7be58005dc3a700000016512..."} 
[2026-04-28 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e12b00012d7be58005dc3a700000016512..."} 
[2026-04-28 07:49:25] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e12b00012d7be58005dc3a700000016512..."} 
[2026-04-28 07:49:25] local.INFO: Packet analysis {"connection_id":56340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:25] local.INFO: Extracted packet for processing {"connection_id":56340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":98318960,"longitude_deg":76.30944,"latitude_deg":9.831896,"altitude":0,"angle":357,"satellites":18,"speed":54,"hex_longitude":"2d7be580","hex_latitude":"05dc3a70","is_valid_coordinates":true} 
[2026-04-28 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999726336001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76834800261922816,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928245548940949504,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49: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-04-28 07:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777342688000,"timestamp_ms":1777342688000,"timestamp_seconds":1777342688,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e12b00"} 
[2026-04-28 07:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:49: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-04-28 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 07:49: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-04-28 07:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999726336001,"66":13678,"185":206,"85":15104,"24":54,"16":76834800261922816,"45":8928245548940949504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-28 07:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999726336001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:49:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 07:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76834800261922816,"km_value":76834800261922.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928245548940949504,"description":"Unknown IO ID 45"} 
[2026-04-28 07:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999726336001,"power":13678,"unknown_185":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8928245548940949504}} 
[2026-04-28 07:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":56340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:49:25] local.INFO: GPS data processed {"connection_id":56340,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:49:25] local.INFO: Acknowledgment sent {"connection_id":56340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:49:33] local.INFO: TCP Data received {"connection_id":56198,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:33] local.INFO: Processing buffer {"connection_id":56198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:49:33] local.INFO: Packet analysis {"connection_id":56198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:49:33] local.INFO: Extracted packet for processing {"connection_id":56198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:49:33] 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-04-28 07:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:49:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":56198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:49:33] local.INFO: GPS data processed {"connection_id":56198,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:49:33] local.INFO: Acknowledgment sent {"connection_id":56198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:49:54] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:54] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:49:54] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:49:56] local.INFO: TCP Data received {"connection_id":56340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e14658012d7be40005dc5f100000016612..."} 
[2026-04-28 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e14658012d7be40005dc5f100000016612..."} 
[2026-04-28 07:49:56] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e14658012d7be40005dc5f100000016612..."} 
[2026-04-28 07:49:56] local.INFO: Packet analysis {"connection_id":56340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:56] local.INFO: Extracted packet for processing {"connection_id":56340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e1"} 
[2026-04-28 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":98328336,"longitude_deg":76.3094016,"latitude_deg":9.8328336,"altitude":0,"angle":358,"satellites":18,"speed":51,"hex_longitude":"2d7be400","hex_latitude":"05dc5f10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999728128001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76835255528456192,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682598989885440,"note":"Value kept but may cause issues"} 
[2026-04-28 07:49:56] 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-04-28 07:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777342695000,"timestamp_ms":1777342695000,"timestamp_seconds":1777342695,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e14658"} 
[2026-04-28 07:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:49:56] 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-04-28 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:49:56] 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-04-28 07: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-04-28 07:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999728128001,"66":13689,"185":206,"85":15104,"24":51,"16":76835255528456192,"45":8927682598989885440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-28 07:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999728128001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:49:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 07:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76835255528456192,"km_value":76835255528456.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682598989885440,"description":"Unknown IO ID 45"} 
[2026-04-28 07:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999728128001,"power":13689,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8927682598989885440}} 
[2026-04-28 07:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":56340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:49:56] local.INFO: GPS data processed {"connection_id":56340,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:49:56] local.INFO: Acknowledgment sent {"connection_id":56340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:50:00] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:00] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:00] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:50:01] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:01] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:01] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:50:01] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:50:01] 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-04-28 07:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:50:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:50:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:50:01] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:50:01] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:50:22] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:22] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:22] local.INFO: IMEI packet received {"connection_id":56199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":56199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:50:27] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:27] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:50:27] local.INFO: IMEI packet received {"connection_id":56199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":56199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:50:28] local.INFO: TCP Data received {"connection_id":56199,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e2d0e0012d7bba8005ddf2900003015d15..."} 
[2026-04-28 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e2d0e0012d7bba8005ddf2900003015d15..."} 
[2026-04-28 07:50:28] local.INFO: Processing buffer {"connection_id":56199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e2d0e0012d7bba8005ddf2900003015d15..."} 
[2026-04-28 07:50:28] local.INFO: Packet analysis {"connection_id":56199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e2"} 
[2026-04-28 07:50:28] local.INFO: Extracted packet for processing {"connection_id":56199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e2"} 
[2026-04-28 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763083392,"raw_latitude":98431632,"longitude_deg":76.3083392,"latitude_deg":9.8431632,"altitude":3,"angle":349,"satellites":21,"speed":42,"hex_longitude":"2d7bba80","hex_latitude":"05ddf290","is_valid_coordinates":true} 
[2026-04-28 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999753472001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76840302115028992,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917971712319770624,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777342796000,"timestamp_ms":1777342796000,"timestamp_seconds":1777342796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e2d0e0"} 
[2026-04-28 07:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:50:28] 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-04-28 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 07:50:28] 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-04-28 07:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999753472001,"66":13678,"169":206,"85":15104,"24":42,"16":76840302115028992,"45":8917971712319770624},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999753472001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:50:28] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76840302115028992,"km_value":76840302115028.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917971712319770624,"description":"Unknown IO ID 45"} 
[2026-04-28 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999753472001,"power":13678,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8917971712319770624}} 
[2026-04-28 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":56199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:50:28] local.INFO: GPS data processed {"connection_id":56199,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:50:28] local.INFO: Acknowledgment sent {"connection_id":56199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:50:33] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:33] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:50:33] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:50:33] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:50:33] 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-04-28 07: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-04-28 07:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:50:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:50:33] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:50:33] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:50:54] local.INFO: TCP Data received {"connection_id":57082,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:54] local.INFO: Processing buffer {"connection_id":57082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:50:54] local.INFO: IMEI packet received {"connection_id":57082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":57082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:51:00] local.INFO: TCP Data received {"connection_id":57082,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:51:00] local.INFO: Processing buffer {"connection_id":57082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:51:00] local.INFO: IMEI packet received {"connection_id":57082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":57082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:51:01] local.INFO: TCP Data received {"connection_id":57082,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:01] local.INFO: Processing buffer {"connection_id":57082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:01] local.INFO: Packet analysis {"connection_id":57082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:51:01] local.INFO: Extracted packet for processing {"connection_id":57082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:51:01] 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-04-28 07:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:51:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:51:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":57082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:51:01] local.INFO: GPS data processed {"connection_id":57082,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:51:01] local.INFO: Acknowledgment sent {"connection_id":57082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:51:17] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:17] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:17] local.INFO: IMEI packet received {"connection_id":57083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":57083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:51:18] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:18] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:18] local.INFO: IMEI packet received {"connection_id":57083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":57083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:51:22] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:22] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:51:22] local.INFO: IMEI packet received {"connection_id":57083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":57083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:51:23] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e2f7f0012d7bb44005de17800002015c14..."} 
[2026-04-28 07:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e2f7f0012d7bb44005de17800002015c14..."} 
[2026-04-28 07:51:23] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e2f7f0012d7bb44005de17800002015c14..."} 
[2026-04-28 07:51:23] local.INFO: Packet analysis {"connection_id":57083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e2"} 
[2026-04-28 07:51:23] local.INFO: Extracted packet for processing {"connection_id":57083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e2"} 
[2026-04-28 07:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763081792,"raw_latitude":98441088,"longitude_deg":76.3081792,"latitude_deg":9.8441088,"altitude":2,"angle":348,"satellites":20,"speed":38,"hex_longitude":"2d7bb440","hex_latitude":"05de1780","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999755776001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76840770266464256,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915579175020171264,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51: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-04-28 07:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777342806000,"timestamp_ms":1777342806000,"timestamp_seconds":1777342806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e2f7f0"} 
[2026-04-28 07:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:51: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-04-28 07: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-04-28 07:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999755776001,"66":13319,"169":206,"85":15104,"24":38,"16":76840770266464256,"45":8915579175020171264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 07:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999755776001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:51:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 07:51:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76840770266464256,"km_value":76840770266464.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915579175020171264,"description":"Unknown IO ID 45"} 
[2026-04-28 07:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999755776001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8915579175020171264}} 
[2026-04-28 07:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":57083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:51:23] local.INFO: GPS data processed {"connection_id":57083,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:51:23] local.INFO: Acknowledgment sent {"connection_id":57083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:51:28] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e326d0012d7bac8005de3be00001015d14..."} 
[2026-04-28 07:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e326d0012d7bac8005de3be00001015d14..."} 
[2026-04-28 07:51:28] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e326d0012d7bac8005de3be00001015d14..."} 
[2026-04-28 07:51:28] local.INFO: Packet analysis {"connection_id":57083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:51:28] local.INFO: Extracted packet for processing {"connection_id":57083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763079808,"raw_latitude":98450400,"longitude_deg":76.3079808,"latitude_deg":9.84504,"altitude":1,"angle":349,"satellites":20,"speed":33,"hex_longitude":"2d7bac80","hex_latitude":"05de3be0","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999758336001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76841229827964928,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913819956418150400,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51: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-04-28 07:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777342818000,"timestamp_ms":1777342818000,"timestamp_seconds":1777342818,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e326d0"} 
[2026-04-28 07:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:51: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-04-28 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3521259752,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4230414336,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3798427649,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":221,"raw_value":1583015269043999744,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3711571968,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57894411111912763,"corrected_to":0} 
[2026-04-28 07:51:28] local.WARNING: Large IO value detected {"io_id":226,"raw_value":414332460581388293,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,254,208,45,128,242,3,21,10,66,253,173,205,138,1,240,192,227,252,209,221,4,113,42,72,213,144,20,239,53,2,5,43,247,226],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0},{"io_id":247,"original":57894411111912763,"validated":0}]} 
[2026-04-28 07:51:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144497904024158208,"timestamp_seconds":144497904024158.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 07:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999758336001,"66":13352,"185":206,"85":15104,"24":33,"16":76841229827964928,"45":8913819956418150400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-28 07:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999758336001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:51:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 07:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76841229827964928,"km_value":76841229827964.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913819956418150400,"description":"Unknown IO ID 45"} 
[2026-04-28 07:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999758336001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8913819956418150400}} 
[2026-04-28 07:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":57083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:51:28] local.INFO: GPS data processed {"connection_id":57083,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:51:28] local.INFO: Acknowledgment sent {"connection_id":57083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:51:32] local.INFO: TCP Data received {"connection_id":57082,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:32] local.INFO: Processing buffer {"connection_id":57082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:51:32] local.INFO: Packet analysis {"connection_id":57082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:51:32] local.INFO: Extracted packet for processing {"connection_id":57082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:51:32] 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-04-28 07:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":57082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:51:32] local.INFO: GPS data processed {"connection_id":57082,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:51:32] local.INFO: Acknowledgment sent {"connection_id":57082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:52:00] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:00] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:00] local.INFO: IMEI packet received {"connection_id":56342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:52:05] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:05] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:05] local.INFO: IMEI packet received {"connection_id":56342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":56342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:52:06] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:06] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:06] local.INFO: Packet analysis {"connection_id":56342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:52:06] local.INFO: Extracted packet for processing {"connection_id":56342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:52:06] 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-04-28 07:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:52:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:52:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":56342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:52:06] local.INFO: GPS data processed {"connection_id":56342,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:52:06] local.INFO: Acknowledgment sent {"connection_id":56342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:52:10] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:10] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1dfe6c8012d7faa4005afdf10001900ae25..."} 
[2026-04-28 07:52:10] local.INFO: Packet analysis {"connection_id":56342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:52:10] local.INFO: Extracted packet for processing {"connection_id":56342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1df"} 
[2026-04-28 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":25,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777342605000,"timestamp_ms":1777342605000,"timestamp_seconds":1777342605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1dfe6c8"} 
[2026-04-28 07:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 07:52:10] 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-04-28 07:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999629824001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:52:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:52:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999629824001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":56342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:52:10] local.INFO: GPS data processed {"connection_id":56342,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:52:10] local.INFO: Acknowledgment sent {"connection_id":56342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:52:13] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:13] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:13] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:52:14] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:14] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:14] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:52:17] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:17] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:52:17] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:52:18] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e34de0012d7ba5c005de5ff00000015c15..."} 
[2026-04-28 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e34de0012d7ba5c005de5ff00000015c15..."} 
[2026-04-28 07:52:18] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e34de0012d7ba5c005de5ff00000015c15..."} 
[2026-04-28 07:52:18] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:52:18] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763078080,"raw_latitude":98459632,"longitude_deg":76.307808,"latitude_deg":9.8459632,"altitude":0,"angle":348,"satellites":21,"speed":41,"hex_longitude":"2d7ba5c0","hex_latitude":"05de5ff0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999761408001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76841685094498304,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911638525351026688,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:18] 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-04-28 07:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777342828000,"timestamp_ms":1777342828000,"timestamp_seconds":1777342828,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e34de0"} 
[2026-04-28 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-04-28 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-28 07:52: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-04-28 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-04-28 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-04-28 07:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999761408001,"66":13406,"185":206,"85":15104,"24":41,"16":76841685094498304,"45":8911638525351026688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-28 07:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999761408001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:52:18] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-28 07:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76841685094498304,"km_value":76841685094498.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911638525351026688,"description":"Unknown IO ID 45"} 
[2026-04-28 07:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999761408001,"power":13406,"unknown_185":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8911638525351026688}} 
[2026-04-28 07:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:52:18] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:52:18] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:52:23] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e374f0012d7ba0c005de82780000015f12..."} 
[2026-04-28 07:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e374f0012d7ba0c005de82780000015f12..."} 
[2026-04-28 07:52:23] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e374f0012d7ba0c005de82780000015f12..."} 
[2026-04-28 07:52:23] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:52:23] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e3"} 
[2026-04-28 07:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763076800,"raw_latitude":98468472,"longitude_deg":76.30768,"latitude_deg":9.8468472,"altitude":0,"angle":351,"satellites":18,"speed":38,"hex_longitude":"2d7ba0c0","hex_latitude":"05de8278","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999763968001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76842118886195200,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909738569260593152,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777342838000,"timestamp_ms":1777342838000,"timestamp_seconds":1777342838,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e374f0"} 
[2026-04-28 07:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-28 07:52:23] 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-04-28 07: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-04-28 07:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999763968001,"66":13602,"50":206,"85":15104,"24":38,"16":76842118886195200,"45":8909738569260593152},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 07:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999763968001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:52:23] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 07:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76842118886195200,"km_value":76842118886195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909738569260593152,"description":"Unknown IO ID 45"} 
[2026-04-28 07:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999763968001,"power":13602,"unknown_50":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8909738569260593152}} 
[2026-04-28 07:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:52:23] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:52:23] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:52:54] local.INFO: TCP Data received {"connection_id":56201,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:54] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:52:54] local.INFO: IMEI packet received {"connection_id":56201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":56201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:52:56] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e53a10012d7b718005e039d8000001601a..."} 
[2026-04-28 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e53a10012d7b718005e039d8000001601a..."} 
[2026-04-28 07:52:56] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e53a10012d7b718005e039d8000001601a..."} 
[2026-04-28 07:52:56] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:52:56] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763064704,"raw_latitude":98580952,"longitude_deg":76.3064704,"latitude_deg":9.8580952,"altitude":0,"angle":352,"satellites":26,"speed":44,"hex_longitude":"2d7b7180","hex_latitude":"05e039d8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999793920001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76847612149366784,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368507895539712,"note":"Value kept but may cause issues"} 
[2026-04-28 07:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777342954000,"timestamp_ms":1777342954000,"timestamp_seconds":1777342954,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e53a10"} 
[2026-04-28 07:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:52:56] 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-04-28 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 07:52:56] 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-04-28 07: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-04-28 07:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999793920001,"66":13798,"36":206,"85":15104,"24":44,"16":76847612149366784,"45":8896368507895539712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 07:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999793920001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:52:56] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 07:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76847612149366784,"km_value":76847612149366.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368507895539712,"description":"Unknown IO ID 45"} 
[2026-04-28 07:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999793920001,"power":13798,"unknown_36":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8896368507895539712}} 
[2026-04-28 07:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:52:56] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:52:56] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:53:00] local.INFO: TCP Data received {"connection_id":56201,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:00] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:00] local.INFO: IMEI packet received {"connection_id":56201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:53:00] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:00] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:00] local.INFO: IMEI packet received {"connection_id":56414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:53:01] local.INFO: TCP Data received {"connection_id":56201,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:01] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:01] local.INFO: Packet analysis {"connection_id":56201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:53:01] local.INFO: Extracted packet for processing {"connection_id":56201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:53:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":56201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:53:01] local.INFO: GPS data processed {"connection_id":56201,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:53:01] local.INFO: Acknowledgment sent {"connection_id":56201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:53:13] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:13] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:13] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:53:17] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:17] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:53:17] local.INFO: IMEI packet received {"connection_id":56202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":56202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:53:18] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e55950012d7b6cc005e05c600000016015..."} 
[2026-04-28 07:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e55950012d7b6cc005e05c600000016015..."} 
[2026-04-28 07:53:18] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e55950012d7b6cc005e05c600000016015..."} 
[2026-04-28 07:53:18] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:53:18] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763063488,"raw_latitude":98589792,"longitude_deg":76.3063488,"latitude_deg":9.8589792,"altitude":0,"angle":352,"satellites":21,"speed":44,"hex_longitude":"2d7b6cc0","hex_latitude":"05e05c60","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999796224001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76848045941063680,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895031501758519296,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777342962000,"timestamp_ms":1777342962000,"timestamp_seconds":1777342962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e55950"} 
[2026-04-28 07:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:53: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-04-28 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 07:53:18] 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-04-28 07: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-04-28 07:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999796224001,"66":13830,"36":206,"85":15104,"24":44,"16":76848045941063680,"45":8895031501758519296},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 07:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999796224001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:53:18] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 07:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76848045941063680,"km_value":76848045941063.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895031501758519296,"description":"Unknown IO ID 45"} 
[2026-04-28 07:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999796224001,"power":13830,"unknown_36":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8895031501758519296}} 
[2026-04-28 07:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:53:18] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:53:18] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:53:32] local.INFO: TCP Data received {"connection_id":56201,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:32] local.INFO: Processing buffer {"connection_id":56201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:53:32] local.INFO: Packet analysis {"connection_id":56201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:53:32] local.INFO: Extracted packet for processing {"connection_id":56201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:53:32] local.INFO: GPS data processed {"connection_id":56201,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:53:32] local.INFO: Acknowledgment sent {"connection_id":56201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:53:35] local.INFO: TCP Data received {"connection_id":56203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:35] local.INFO: Processing buffer {"connection_id":56203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:53:35] local.INFO: IMEI packet received {"connection_id":56203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":56203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:53:49] local.INFO: TCP Data received {"connection_id":56202,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e57890012d7b680005e081100000015f15..."} 
[2026-04-28 07:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e57890012d7b680005e081100000015f15..."} 
[2026-04-28 07:53:49] local.INFO: Processing buffer {"connection_id":56202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e57890012d7b680005e081100000015f15..."} 
[2026-04-28 07:53:49] local.INFO: Packet analysis {"connection_id":56202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:53:49] local.INFO: Extracted packet for processing {"connection_id":56202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:53:49] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":98599184,"longitude_deg":76.3062272,"latitude_deg":9.8599184,"altitude":0,"angle":351,"satellites":21,"speed":47,"hex_longitude":"2d7b6800","hex_latitude":"05e08110","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999798272001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76848505502564352,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893694495621406720,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777342970000,"timestamp_ms":1777342970000,"timestamp_seconds":1777342970,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e57890"} 
[2026-04-28 07:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:53:49] 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-04-28 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":13229332511129600,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630333526272,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3837595649,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3466592256,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3221610410,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3750008832,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":91,"raw_value":7494321263595226591,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-5188146764857606097,"note":"Value kept but may cause issues"} 
[2026-04-28 07:53:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,85,24,241,157,16,4,58,45,128,57,26,10,66,22,64,21,232,1,240,51,227,3,209,223,113,205,32,153,131,239,52,49,2,17,5,47,91,96],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0}]} 
[2026-04-28 07:53:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387118290173952,"timestamp_seconds":387118290173.952,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 07:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999798272001,"66":13689,"36":206,"85":15104,"24":47,"16":76848505502564352,"45":8893694495621406720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 07:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999798272001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:53:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 07:53:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76848505502564352,"km_value":76848505502564.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893694495621406720,"description":"Unknown IO ID 45"} 
[2026-04-28 07:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999798272001,"power":13689,"unknown_36":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8893694495621406720}} 
[2026-04-28 07:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":56202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:53:49] local.INFO: GPS data processed {"connection_id":56202,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:53:49] local.INFO: Acknowledgment sent {"connection_id":56202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:53:54] local.INFO: TCP Data received {"connection_id":57085,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:54] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:53:54] local.INFO: IMEI packet received {"connection_id":57085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":57085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:54:00] local.INFO: TCP Data received {"connection_id":57085,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:54:00] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:54:00] local.INFO: IMEI packet received {"connection_id":57085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":57085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:54:01] local.INFO: TCP Data received {"connection_id":57085,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:01] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:01] local.INFO: Packet analysis {"connection_id":57085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:54:01] local.INFO: Extracted packet for processing {"connection_id":57085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:54:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:54:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":57085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:54:01] local.INFO: GPS data processed {"connection_id":57085,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:54:01] local.INFO: Acknowledgment sent {"connection_id":57085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:54:13] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:13] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:13] local.INFO: IMEI packet received {"connection_id":56415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":56415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:54:18] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:18] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:54:18] local.INFO: IMEI packet received {"connection_id":56415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":56415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:54:20] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e597d0012d7b640005e0a4f00000016115..."} 
[2026-04-28 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e597d0012d7b640005e0a4f00000016115..."} 
[2026-04-28 07:54:20] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e597d0012d7b640005e0a4f00000016115..."} 
[2026-04-28 07:54:20] local.INFO: Packet analysis {"connection_id":56415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:54:20] local.INFO: Extracted packet for processing {"connection_id":56415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763061248,"raw_latitude":98608368,"longitude_deg":76.3061248,"latitude_deg":9.8608368,"altitude":0,"angle":353,"satellites":21,"speed":40,"hex_longitude":"2d7b6400","hex_latitude":"05e0a4f0","is_valid_coordinates":true} 
[2026-04-28 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999800320001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76848952179163136,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489484435456,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777342978000,"timestamp_ms":1777342978000,"timestamp_seconds":1777342978,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e597d0"} 
[2026-04-28 07:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:54:20] 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-04-28 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-28 07:54:20] 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-04-28 07:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999800320001,"66":13374,"36":206,"85":15104,"24":40,"16":76848952179163136,"45":8892357489484435456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 07:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999800320001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:54:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 07:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76848952179163136,"km_value":76848952179163.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489484435456,"description":"Unknown IO ID 45"} 
[2026-04-28 07:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999800320001,"power":13374,"unknown_36":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8892357489484435456}} 
[2026-04-28 07:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":56415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:54:20] local.INFO: GPS data processed {"connection_id":56415,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:54:20] local.INFO: Acknowledgment sent {"connection_id":56415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:54:32] local.INFO: TCP Data received {"connection_id":57085,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:32] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:54:32] local.INFO: Packet analysis {"connection_id":57085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:54:32] local.INFO: Extracted packet for processing {"connection_id":57085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":57085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:54:32] local.INFO: GPS data processed {"connection_id":57085,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:54:32] local.INFO: Acknowledgment sent {"connection_id":57085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:54:53] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e5bee0012d7b5e4005e0cae00000015d15..."} 
[2026-04-28 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e5bee0012d7b5e4005e0cae00000015d15..."} 
[2026-04-28 07:54:53] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e5bee0012d7b5e4005e0cae00000015d15..."} 
[2026-04-28 07:54:53] local.INFO: Packet analysis {"connection_id":56415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:54:53] local.INFO: Extracted packet for processing {"connection_id":56415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763059776,"raw_latitude":98618080,"longitude_deg":76.3059776,"latitude_deg":9.861808,"altitude":0,"angle":349,"satellites":21,"speed":44,"hex_longitude":"2d7b5e40","hex_latitude":"05e0cae0","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999802368001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76849428920532992,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891231589579943936,"note":"Value kept but may cause issues"} 
[2026-04-28 07:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777342988000,"timestamp_ms":1777342988000,"timestamp_seconds":1777342988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e5bee0"} 
[2026-04-28 07:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:54:53] 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-04-28 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 07:54:53] 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-04-28 07: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-04-28 07:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999802368001,"66":13341,"170":206,"85":15104,"24":44,"16":76849428920532992,"45":8891231589579943936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 07:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999802368001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:54:53] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 07:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76849428920532992,"km_value":76849428920532.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891231589579943936,"description":"Unknown IO ID 45"} 
[2026-04-28 07:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999802368001,"power":13341,"unknown_170":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8891231589579943936}} 
[2026-04-28 07:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":56415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:54:53] local.INFO: GPS data processed {"connection_id":56415,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:54:53] local.INFO: Acknowledgment sent {"connection_id":56415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:55:00] local.INFO: TCP Data received {"connection_id":56344,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:00] local.INFO: Processing buffer {"connection_id":56344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:00] local.INFO: IMEI packet received {"connection_id":56344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":56344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:55:05] local.INFO: TCP Data received {"connection_id":56344,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:05] local.INFO: Processing buffer {"connection_id":56344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:05] local.INFO: IMEI packet received {"connection_id":56344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":56344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:55:06] local.INFO: TCP Data received {"connection_id":56344,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:06] local.INFO: Processing buffer {"connection_id":56344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:06] local.INFO: Packet analysis {"connection_id":56344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:55:06] local.INFO: Extracted packet for processing {"connection_id":56344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:55:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:55:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":56344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:55:06] local.INFO: GPS data processed {"connection_id":56344,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:55:06] local.INFO: Acknowledgment sent {"connection_id":56344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:55:10] local.INFO: TCP Data received {"connection_id":56344,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:10] local.INFO: Processing buffer {"connection_id":56344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:55:10] local.INFO: Packet analysis {"connection_id":56344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:55:10] local.INFO: Extracted packet for processing {"connection_id":56344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:55:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:55:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":56344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:55:10] local.INFO: GPS data processed {"connection_id":56344,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:55:10] local.INFO: Acknowledgment sent {"connection_id":56344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:55:17] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:17] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:17] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:55:18] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:18] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:18] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:55:23] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:23] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:55:23] local.INFO: IMEI packet received {"connection_id":56204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":56204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:55:23] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e5de20012d7b584005e0f0180000015e14..."} 
[2026-04-28 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e5de20012d7b584005e0f0180000015e14..."} 
[2026-04-28 07:55:23] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e5de20012d7b584005e0f0180000015e14..."} 
[2026-04-28 07:55:23] local.INFO: Packet analysis {"connection_id":56204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:55:23] local.INFO: Extracted packet for processing {"connection_id":56204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763058240,"raw_latitude":98627608,"longitude_deg":76.305824,"latitude_deg":9.8627608,"altitude":0,"angle":350,"satellites":20,"speed":49,"hex_longitude":"2d7b5840","hex_latitude":"05e0f018","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999804928001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76849897071968256,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889613108466343936,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777342996000,"timestamp_ms":1777342996000,"timestamp_seconds":1777342996,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e5de20"} 
[2026-04-28 07:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 07:55: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-04-28 07: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-04-28 07:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999804928001,"66":13678,"170":206,"85":15104,"24":49,"16":76849897071968256,"45":8889613108466343936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 07:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999804928001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:55:23] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 07:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76849897071968256,"km_value":76849897071968.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889613108466343936,"description":"Unknown IO ID 45"} 
[2026-04-28 07:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999804928001,"power":13678,"unknown_170":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8889613108466343936}} 
[2026-04-28 07:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":56204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:55:23] local.INFO: GPS data processed {"connection_id":56204,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:55:23] local.INFO: Acknowledgment sent {"connection_id":56204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:55:25] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e5fd60012d7b51c005e116780000015e12..."} 
[2026-04-28 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e5fd60012d7b51c005e116780000015e12..."} 
[2026-04-28 07:55:25] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e5fd60012d7b51c005e116780000015e12..."} 
[2026-04-28 07:55:25] local.INFO: Packet analysis {"connection_id":56204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:55:25] local.INFO: Extracted packet for processing {"connection_id":56204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e5"} 
[2026-04-28 07:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98637432,"longitude_deg":76.3056576,"latitude_deg":9.8637432,"altitude":0,"angle":350,"satellites":18,"speed":49,"hex_longitude":"2d7b51c0","hex_latitude":"05e11678","is_valid_coordinates":true} 
[2026-04-28 07:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999806976001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76850378108305408,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887924258608519168,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777343004000,"timestamp_ms":1777343004000,"timestamp_seconds":1777343004,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e5fd60"} 
[2026-04-28 07:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:55:25] 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-04-28 07:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 07:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999806976001,"66":13428,"170":206,"85":15104,"24":49,"16":76850378108305408,"45":8887924258608519168},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 07:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999806976001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:55:25] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 07:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76850378108305408,"km_value":76850378108305.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887924258608519168,"description":"Unknown IO ID 45"} 
[2026-04-28 07:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999806976001,"power":13428,"unknown_170":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8887924258608519168}} 
[2026-04-28 07:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":56204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:55:25] local.INFO: GPS data processed {"connection_id":56204,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:55:25] local.INFO: Acknowledgment sent {"connection_id":56204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:55:54] local.INFO: TCP Data received {"connection_id":57086,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:54] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:55:54] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:55:56] local.INFO: TCP Data received {"connection_id":56204,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e61ca0012d7b4bc005e139680000015e17..."} 
[2026-04-28 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e61ca0012d7b4bc005e139680000015e17..."} 
[2026-04-28 07:55:56] local.INFO: Processing buffer {"connection_id":56204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e61ca0012d7b4bc005e139680000015e17..."} 
[2026-04-28 07:55:56] local.INFO: Packet analysis {"connection_id":56204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e6"} 
[2026-04-28 07:55:56] local.INFO: Extracted packet for processing {"connection_id":56204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e6"} 
[2026-04-28 07:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98646376,"longitude_deg":76.305504,"latitude_deg":9.8646376,"altitude":0,"angle":350,"satellites":23,"speed":48,"hex_longitude":"2d7b4bc0","hex_latitude":"05e13968","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999809024001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76850820489936896,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671262414848,"note":"Value kept but may cause issues"} 
[2026-04-28 07:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777343012000,"timestamp_ms":1777343012000,"timestamp_seconds":1777343012,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e61ca0"} 
[2026-04-28 07:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07: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":116,"data_length":795,"current_offset":136} 
[2026-04-28 07:55:56] 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-04-28 07: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-04-28 07:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999809024001,"66":13504,"170":206,"85":15104,"24":48,"16":76850820489936896,"45":8886094671262414848},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 07:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999809024001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:55:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 07:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76850820489936896,"km_value":76850820489936.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671262414848,"description":"Unknown IO ID 45"} 
[2026-04-28 07:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999809024001,"power":13504,"unknown_170":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8886094671262414848}} 
[2026-04-28 07:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":56204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:55:56] local.INFO: GPS data processed {"connection_id":56204,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:55:56] local.INFO: Acknowledgment sent {"connection_id":56204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:56:00] local.INFO: TCP Data received {"connection_id":57086,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:56:00] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:56:00] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:56:01] local.INFO: TCP Data received {"connection_id":57086,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:01] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:01] local.INFO: Packet analysis {"connection_id":57086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:56:01] local.INFO: Extracted packet for processing {"connection_id":57086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:56:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:56:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":57086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:56:01] local.INFO: GPS data processed {"connection_id":57086,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:56:01] local.INFO: Acknowledgment sent {"connection_id":57086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:56:13] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:13] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:13] local.INFO: IMEI packet received {"connection_id":56206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":56206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:56:18] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:18] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:56:18] local.INFO: IMEI packet received {"connection_id":56206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":56206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:56:19] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e81c58012d7b218005e277580003015f1a..."} 
[2026-04-28 07:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e81c58012d7b218005e277580003015f1a..."} 
[2026-04-28 07:56:19] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e81c58012d7b218005e277580003015f1a..."} 
[2026-04-28 07:56:19] local.INFO: Packet analysis {"connection_id":56206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:56:19] local.INFO: Extracted packet for processing {"connection_id":56206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98727768,"longitude_deg":76.3044224,"latitude_deg":9.8727768,"altitude":3,"angle":351,"satellites":26,"speed":27,"hex_longitude":"2d7b2180","hex_latitude":"05e27758","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999839488001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76854814809522176,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141052209152,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777343143000,"timestamp_ms":1777343143000,"timestamp_seconds":1777343143,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e81c58"} 
[2026-04-28 07:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:56: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-04-28 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-28 07:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999839488001,"66":13624,"96":206,"85":15104,"24":27,"16":76854814809522176,"45":8873780141052209152},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 07:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999839488001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:56:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 07:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76854814809522176,"km_value":76854814809522.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141052209152,"description":"Unknown IO ID 45"} 
[2026-04-28 07:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999839488001,"power":13624,"unknown_96":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8873780141052209152}} 
[2026-04-28 07:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":56206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:56:19] local.INFO: GPS data processed {"connection_id":56206,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:56:19] local.INFO: Acknowledgment sent {"connection_id":56206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:56:33] local.INFO: TCP Data received {"connection_id":57086,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:33] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:56:33] local.INFO: Packet analysis {"connection_id":57086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:56:33] local.INFO: Extracted packet for processing {"connection_id":57086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":57086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:56:33] local.INFO: GPS data processed {"connection_id":57086,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:56:33] local.INFO: Acknowledgment sent {"connection_id":57086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:56:50] local.INFO: TCP Data received {"connection_id":56206,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e84750012d7b1d8005e29bc00002015f1b..."} 
[2026-04-28 07:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e84750012d7b1d8005e29bc00002015f1b..."} 
[2026-04-28 07:56:50] local.INFO: Processing buffer {"connection_id":56206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e84750012d7b1d8005e29bc00002015f1b..."} 
[2026-04-28 07:56:50] local.INFO: Packet analysis {"connection_id":56206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:56:50] local.INFO: Extracted packet for processing {"connection_id":56206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763043200,"raw_latitude":98737088,"longitude_deg":76.30432,"latitude_deg":9.8737088,"altitude":2,"angle":351,"satellites":27,"speed":39,"hex_longitude":"2d7b1d80","hex_latitude":"05e29bc0","is_valid_coordinates":true} 
[2026-04-28 07:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999844608001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76855270076055552,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503659251712,"note":"Value kept but may cause issues"} 
[2026-04-28 07:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777343154000,"timestamp_ms":1777343154000,"timestamp_seconds":1777343154,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e84750"} 
[2026-04-28 07:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 07:56:50] 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-04-28 07:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999844608001,"66":13428,"96":206,"85":15104,"24":39,"16":76855270076055552,"45":8872513503659251712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 07:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999844608001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:56:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 07:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76855270076055552,"km_value":76855270076055.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503659251712,"description":"Unknown IO ID 45"} 
[2026-04-28 07:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999844608001,"power":13428,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8872513503659251712}} 
[2026-04-28 07:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":56206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:56:50] local.INFO: GPS data processed {"connection_id":56206,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:56:50] local.INFO: Acknowledgment sent {"connection_id":56206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:57:00] local.INFO: TCP Data received {"connection_id":56416,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:00] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:00] local.INFO: IMEI packet received {"connection_id":56416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":56416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:57:05] local.INFO: TCP Data received {"connection_id":56416,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:05] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:05] local.INFO: IMEI packet received {"connection_id":56416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":56416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:57:06] local.INFO: TCP Data received {"connection_id":56416,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:06] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:06] local.INFO: Packet analysis {"connection_id":56416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:57:06] local.INFO: Extracted packet for processing {"connection_id":56416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:57:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:57:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":56416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:57:06] local.INFO: GPS data processed {"connection_id":56416,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:57:06] local.INFO: Acknowledgment sent {"connection_id":56416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:57:10] local.INFO: TCP Data received {"connection_id":56416,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:10] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e47e90012d7faa4005afdf10002000ae29..."} 
[2026-04-28 07:57:10] local.INFO: Packet analysis {"connection_id":56416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:57:10] local.INFO: Extracted packet for processing {"connection_id":56416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e4"} 
[2026-04-28 07:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":32,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999706880001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777342906000,"timestamp_ms":1777342906000,"timestamp_seconds":1777342906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e47e90"} 
[2026-04-28 07:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999706880001,"66":25680,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999706880001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:57:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:57:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999706880001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":56416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:57:10] local.INFO: GPS data processed {"connection_id":56416,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:57:10] local.INFO: Acknowledgment sent {"connection_id":56416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:57:12] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:12] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:12] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:57:14] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:14] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:14] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:57:16] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:16] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:57:16] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:57:18] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e87248012d7b168005e2c0180002015e17..."} 
[2026-04-28 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e87248012d7b168005e2c0180002015e17..."} 
[2026-04-28 07:57:18] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e87248012d7b168005e2c0180002015e17..."} 
[2026-04-28 07:57:18] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:57:18] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763041408,"raw_latitude":98746392,"longitude_deg":76.3041408,"latitude_deg":9.8746392,"altitude":2,"angle":350,"satellites":23,"speed":28,"hex_longitude":"2d7b1680","hex_latitude":"05e2c018","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999847424001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76855729637556224,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871387603754795008,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777343165000,"timestamp_ms":1777343165000,"timestamp_seconds":1777343165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e87248"} 
[2026-04-28 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-04-28 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-28 07:57: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-04-28 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-04-28 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-04-28 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999847424001,"66":13656,"96":206,"85":15104,"24":28,"16":76855729637556224,"45":8871387603754795008},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 07:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999847424001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:57:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 07:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76855729637556224,"km_value":76855729637556.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871387603754795008,"description":"Unknown IO ID 45"} 
[2026-04-28 07:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999847424001,"power":13656,"unknown_96":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8871387603754795008}} 
[2026-04-28 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:57:18] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:57:18] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:57:51] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e8a8f8012d7b0fc005e2e3800003015b12..."} 
[2026-04-28 07:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e8a8f8012d7b0fc005e2e3800003015b12..."} 
[2026-04-28 07:57:51] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e8a8f8012d7b0fc005e2e3800003015b12..."} 
[2026-04-28 07:57:51] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:57:51] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98755456,"longitude_deg":76.303968,"latitude_deg":9.8755456,"altitude":3,"angle":347,"satellites":18,"speed":24,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2e380","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999850240001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76856180609122304,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869417278920202240,"note":"Value kept but may cause issues"} 
[2026-04-28 07:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777343179000,"timestamp_ms":1777343179000,"timestamp_seconds":1777343179,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e8a8f8"} 
[2026-04-28 07:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 07:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-28 07:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07: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-04-28 07:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999850240001,"66":13341,"96":206,"85":15104,"24":24,"16":76856180609122304,"45":8869417278920202240},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 07:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999850240001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:57:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 07:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76856180609122304,"km_value":76856180609122.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869417278920202240,"description":"Unknown IO ID 45"} 
[2026-04-28 07:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999850240001,"power":13341,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8869417278920202240}} 
[2026-04-28 07:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:57:51] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:57:51] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:57:54] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:54] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:57:54] local.INFO: IMEI packet received {"connection_id":56347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:58:00] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:00] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:00] local.INFO: IMEI packet received {"connection_id":56347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":56347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:58:01] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:01] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:01] local.INFO: Packet analysis {"connection_id":56347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:01] local.INFO: Extracted packet for processing {"connection_id":56347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 07:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:58:01] local.INFO: GPS data processed {"connection_id":56347,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:58:01] local.INFO: Acknowledgment sent {"connection_id":56347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:58:17] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:17] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:17] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:58:18] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:18] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:18] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:58:22] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:22] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:58:22] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 07:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:58:23] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e8f718012d7b0b4005e305d80006015e15..."} 
[2026-04-28 07:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e8f718012d7b0b4005e305d80006015e15..."} 
[2026-04-28 07:58:23] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e8f718012d7b0b4005e305d80006015e15..."} 
[2026-04-28 07:58:23] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:58:23] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e8"} 
[2026-04-28 07:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98764248,"longitude_deg":76.3038528,"latitude_deg":9.8764248,"altitude":6,"angle":350,"satellites":21,"speed":22,"hex_longitude":"2d7b0b40","hex_latitude":"05e305d8","is_valid_coordinates":true} 
[2026-04-28 07: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-04-28 07:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999853824001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76856614400819200,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322829725696,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777343199000,"timestamp_ms":1777343199000,"timestamp_seconds":1777343199,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e8f718"} 
[2026-04-28 07:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:58: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-04-28 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 07:58: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-04-28 07: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-04-28 07:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999853824001,"66":13341,"96":206,"85":15104,"24":22,"16":76856614400819200,"45":8867517322829725696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 07:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999853824001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:58:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 07:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76856614400819200,"km_value":76856614400819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322829725696,"description":"Unknown IO ID 45"} 
[2026-04-28 07:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999853824001,"power":13341,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8867517322829725696}} 
[2026-04-28 07:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:58:23] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:58:23] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:58:32] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:32] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:58:32] local.INFO: Packet analysis {"connection_id":56347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:32] local.INFO: Extracted packet for processing {"connection_id":56347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 07:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:58:32] local.INFO: GPS data processed {"connection_id":56347,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:58:32] local.INFO: Acknowledgment sent {"connection_id":56347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:58:54] local.INFO: TCP Data received {"connection_id":57088,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:54] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:58:54] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 07:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:58:55] local.INFO: TCP Data received {"connection_id":56207,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:58:55] local.INFO: Processing buffer {"connection_id":56207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:58:55] local.INFO: IMEI packet received {"connection_id":56207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":56207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:58:58] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e94150012d7b04c005e328b80009015e17..."} 
[2026-04-28 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e94150012d7b04c005e328b80009015e17..."} 
[2026-04-28 07:58:58] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e94150012d7b04c005e328b80009015e17..."} 
[2026-04-28 07:58:58] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:58] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98773176,"longitude_deg":76.3036864,"latitude_deg":9.8773176,"altitude":9,"angle":350,"satellites":23,"speed":22,"hex_longitude":"2d7b04c0","hex_latitude":"05e328b8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 07:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999858944001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76857056782450688,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685436778496,"note":"Value kept but may cause issues"} 
[2026-04-28 07:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777343218000,"timestamp_ms":1777343218000,"timestamp_seconds":1777343218,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e94150"} 
[2026-04-28 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-04-28 07:58: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-04-28 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 07:58:58] 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-04-28 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-04-28 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-04-28 07:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 07:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 07:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 07:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999858944001,"66":13450,"97":206,"85":15104,"24":22,"16":76857056782450688,"45":8866250685436778496},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 07:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 07:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 07:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999858944001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:58:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 07:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 07:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76857056782450688,"km_value":76857056782450.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685436778496,"description":"Unknown IO ID 45"} 
[2026-04-28 07:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999858944001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866250685436778496}} 
[2026-04-28 07:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:58:58] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:58:58] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:59:00] local.INFO: TCP Data received {"connection_id":57088,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:59:00] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 07:59:00] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 07:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:59:01] local.INFO: TCP Data received {"connection_id":57088,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:01] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:01] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:59:01] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 07:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:59:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:59:01] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:59:01] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:59:30] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:30] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:30] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 07:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:59:32] local.INFO: TCP Data received {"connection_id":57088,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:32] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 07:59:32] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:59:32] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 07:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 07:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 07:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 07:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 07:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 07:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 07:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 07:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 07:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 07:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 07:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 07:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 07:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 07:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 07:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 07:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 07:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 07:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 07:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 07:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 07:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 07:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 07:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 07:59:32] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 07:59:32] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 07:59:33] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:33] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:33] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 07:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:59:35] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:35] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 07:59:35] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 07:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 07:59:35] local.INFO: TCP Data received {"connection_id":56348,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:59:35] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 07:59:35] local.INFO: IMEI packet received {"connection_id":56348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 07:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 07:59:36] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:36] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:36] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:59:36] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:36] 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-04-28 07:59:36] 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-04-28 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 07:59:36] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 07:59:36] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 07:59:36] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 07:59:41] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:41] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-28 07:59:41] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:59:41] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 07:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 07:59:41] 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-04-28 07:59:41] 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-04-28 07:59:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 07:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 07:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 07:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 07:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 07:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 07:59:41] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 07:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 07:59:41] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 07:59:41] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 07:59:56] local.INFO: TCP Data received {"connection_id":57089,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:59:56] local.INFO: Processing buffer {"connection_id":57089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 07:59:56] local.INFO: IMEI packet received {"connection_id":57089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":57089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:00:00] local.INFO: TCP Data received {"connection_id":56349,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:00] local.INFO: Processing buffer {"connection_id":56349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:00] local.INFO: IMEI packet received {"connection_id":56349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":56349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:00:05] local.INFO: TCP Data received {"connection_id":56349,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:05] local.INFO: Processing buffer {"connection_id":56349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:05] local.INFO: IMEI packet received {"connection_id":56349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":56349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:00:06] local.INFO: TCP Data received {"connection_id":56349,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:06] local.INFO: Processing buffer {"connection_id":56349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:06] local.INFO: Packet analysis {"connection_id":56349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:00:06] local.INFO: Extracted packet for processing {"connection_id":56349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:00:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:00:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":56349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:00:06] local.INFO: GPS data processed {"connection_id":56349,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:00:06] local.INFO: Acknowledgment sent {"connection_id":56349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:00:10] local.INFO: TCP Data received {"connection_id":56349,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:10] local.INFO: Processing buffer {"connection_id":56349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:00:10] local.INFO: Packet analysis {"connection_id":56349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:00:10] local.INFO: Extracted packet for processing {"connection_id":56349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 08:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 08:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:00:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":56349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:00:10] local.INFO: GPS data processed {"connection_id":56349,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:00:10] local.INFO: Acknowledgment sent {"connection_id":56349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:00:13] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-28 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-28 08:00:13] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-28 08:00:13] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:00:13] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:13] 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-04-28 08:00:13] 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-04-28 08:00:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:00:13] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:00:13] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:00:13] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:00:18] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:18] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:18] local.INFO: IMEI packet received {"connection_id":57090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":57090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:00:23] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:23] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:00:23] local.INFO: IMEI packet received {"connection_id":57090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":57090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:00:24] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1eb1de0012d7a944005e44508000301351f..."} 
[2026-04-28 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1eb1de0012d7a944005e44508000301351f..."} 
[2026-04-28 08:00:24] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1eb1de0012d7a944005e44508000301351f..."} 
[2026-04-28 08:00:24] local.INFO: Packet analysis {"connection_id":57090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1eb"} 
[2026-04-28 08:00:24] local.INFO: Extracted packet for processing {"connection_id":57090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1eb"} 
[2026-04-28 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763008064,"raw_latitude":98845960,"longitude_deg":76.3008064,"latitude_deg":9.884596,"altitude":3,"angle":309,"satellites":31,"speed":44,"hex_longitude":"2d7a9440","hex_latitude":"05e44508","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999892480001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76861021037264896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937552187392,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777343340000,"timestamp_ms":1777343340000,"timestamp_seconds":1777343340,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1eb1de0"} 
[2026-04-28 08:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 08:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999892480001,"66":13526,"97":206,"85":15104,"24":44,"16":76861021037264896,"45":8840917937552187392},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999892480001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76861021037264896,"km_value":76861021037264.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937552187392,"description":"Unknown IO ID 45"} 
[2026-04-28 08:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999892480001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8840917937552187392}} 
[2026-04-28 08:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":57090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:00:24] local.INFO: GPS data processed {"connection_id":57090,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:00:24] local.INFO: Acknowledgment sent {"connection_id":57090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:00:33] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1eb3d20012d7a78c005e45ad0000401351f..."} 
[2026-04-28 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1eb3d20012d7a78c005e45ad0000401351f..."} 
[2026-04-28 08:00:33] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1eb3d20012d7a78c005e45ad0000401351f..."} 
[2026-04-28 08:00:33] local.INFO: Packet analysis {"connection_id":57090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1eb"} 
[2026-04-28 08:00:33] local.INFO: Extracted packet for processing {"connection_id":57090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1eb"} 
[2026-04-28 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763001024,"raw_latitude":98851536,"longitude_deg":76.3001024,"latitude_deg":9.8851536,"altitude":4,"angle":309,"satellites":31,"speed":42,"hex_longitude":"2d7a78c0","hex_latitude":"05e45ad0","is_valid_coordinates":true} 
[2026-04-28 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999895040001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76861450533994496,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832755163229128704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777343348000,"timestamp_ms":1777343348000,"timestamp_seconds":1777343348,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1eb3d20"} 
[2026-04-28 08:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 08:00:33] 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-04-28 08:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999895040001,"66":13928,"97":206,"85":15104,"24":42,"16":76861450533994496,"45":8832755163229128704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999895040001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76861450533994496,"km_value":76861450533994.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832755163229128704,"description":"Unknown IO ID 45"} 
[2026-04-28 08:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999895040001,"power":13928,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8832755163229128704}} 
[2026-04-28 08:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":57090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:00:33] local.INFO: GPS data processed {"connection_id":57090,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:00:33] local.INFO: Acknowledgment sent {"connection_id":57090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:00:44] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-28 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-28 08:00:44] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-28 08:00:44] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:00:44] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:00:44] 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-04-28 08:00: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-04-28 08:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:00:44] 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-04-28 08:00:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:00:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:00:44] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:00:44] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:00:44] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:00:55] local.INFO: TCP Data received {"connection_id":56350,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:55] local.INFO: Processing buffer {"connection_id":56350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:00:55] local.INFO: IMEI packet received {"connection_id":56350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:01:00] local.INFO: TCP Data received {"connection_id":56350,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:00] local.INFO: Processing buffer {"connection_id":56350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:00] local.INFO: IMEI packet received {"connection_id":56350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":56350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:01:01] local.INFO: TCP Data received {"connection_id":56350,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:01] local.INFO: Processing buffer {"connection_id":56350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:01] local.INFO: Packet analysis {"connection_id":56350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:01:01] local.INFO: Extracted packet for processing {"connection_id":56350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 08:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 08:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:01:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:01:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":56350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:01:01] local.INFO: GPS data processed {"connection_id":56350,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:01:01] local.INFO: Acknowledgment sent {"connection_id":56350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:01:13] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:13] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:13] local.INFO: IMEI packet received {"connection_id":56208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":56208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:01:14] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:14] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:14] local.INFO: IMEI packet received {"connection_id":56208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":56208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:01:17] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-28 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-28 08:01:17] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-28 08:01:17] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:01:17] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 08:01:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:17] 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-04-28 08:01:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:01:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:01:17] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:01:17] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:01:17] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:01:18] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:18] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:01:18] local.INFO: IMEI packet received {"connection_id":56208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":56208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:01:20] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1eccb90012d79e20005e570880004015b22..."} 
[2026-04-28 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1eccb90012d79e20005e570880004015b22..."} 
[2026-04-28 08:01:20] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1eccb90012d79e20005e570880004015b22..."} 
[2026-04-28 08:01:20] local.INFO: Packet analysis {"connection_id":56208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ec"} 
[2026-04-28 08:01:20] local.INFO: Extracted packet for processing {"connection_id":56208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ec"} 
[2026-04-28 08:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":98922632,"longitude_deg":76.2962432,"latitude_deg":9.8922632,"altitude":4,"angle":347,"satellites":34,"speed":43,"hex_longitude":"2d79e200","hex_latitude":"05e57088","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999920896001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76865487803252736,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784693310973087744,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777343450000,"timestamp_ms":1777343450000,"timestamp_seconds":1777343450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1eccb90"} 
[2026-04-28 08:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 08:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999920896001,"66":13319,"157":206,"87":12288,"24":43,"16":76865487803252736,"45":8784693310973087744},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999920896001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:01:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:01:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76865487803252736,"km_value":76865487803252.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784693310973087744,"description":"Unknown IO ID 45"} 
[2026-04-28 08:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999920896001,"power":13319,"unknown_157":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8784693310973087744}} 
[2026-04-28 08:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":56208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:01:20] local.INFO: GPS data processed {"connection_id":56208,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:01:20] local.INFO: Acknowledgment sent {"connection_id":56208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:01:32] local.INFO: TCP Data received {"connection_id":56350,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:32] local.INFO: Processing buffer {"connection_id":56350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:01:32] local.INFO: Packet analysis {"connection_id":56350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:01:32] local.INFO: Extracted packet for processing {"connection_id":56350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 08:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 08:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:01:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":56350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:01:33] local.INFO: GPS data processed {"connection_id":56350,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:01:33] local.INFO: Acknowledgment sent {"connection_id":56350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:01:48] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-28 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-28 08:01:48] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-28 08:01:48] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:01:48] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:01:48] 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-04-28 08:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:01:48] 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-04-28 08:01:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:01:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:01:48] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:01:48] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:01:48] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:01:54] local.INFO: TCP Data received {"connection_id":57091,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:54] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:01:54] local.INFO: IMEI packet received {"connection_id":57091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":57091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:02:00] local.INFO: TCP Data received {"connection_id":57091,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:00] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:00] local.INFO: IMEI packet received {"connection_id":57091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":57091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:02:02] local.INFO: TCP Data received {"connection_id":57091,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:02:02] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1e91658012d7faa4005afdf10001400ae25..."} 
[2026-04-28 08:02:02] local.INFO: Packet analysis {"connection_id":57091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:02:02] local.INFO: Extracted packet for processing {"connection_id":57091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1e9"} 
[2026-04-28 08:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999783936001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777343207000,"timestamp_ms":1777343207000,"timestamp_seconds":1777343207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1e91658"} 
[2026-04-28 08:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 08:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999783936001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999783936001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:02:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:02:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999783936001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":57091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:02:02] local.INFO: GPS data processed {"connection_id":57091,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:02:02] local.INFO: Acknowledgment sent {"connection_id":57091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:02:20] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-28 08:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-28 08:02:20] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-28 08:02:20] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:02:20] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:02: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-04-28 08:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:20] 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-04-28 08:02:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:02:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:02:20] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:02:20] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:02:20] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:02:34] local.INFO: TCP Data received {"connection_id":57091,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:02:34] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:02:34] local.INFO: Packet analysis {"connection_id":57091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:02:34] local.INFO: Extracted packet for processing {"connection_id":57091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:02:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:02:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":57091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:02:34] local.INFO: GPS data processed {"connection_id":57091,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:02:34] local.INFO: Acknowledgment sent {"connection_id":57091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:02:44] local.INFO: TCP Data received {"connection_id":56208,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ecf2a0012d79da0005e593480002015c22..."} 
[2026-04-28 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ecf2a0012d79da0005e593480002015c22..."} 
[2026-04-28 08:02:44] local.INFO: Processing buffer {"connection_id":56208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ecf2a0012d79da0005e593480002015c22..."} 
[2026-04-28 08:02:44] local.INFO: Packet analysis {"connection_id":56208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ec"} 
[2026-04-28 08:02:44] local.INFO: Extracted packet for processing {"connection_id":56208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ec"} 
[2026-04-28 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":762960384,"raw_latitude":98931528,"longitude_deg":76.2960384,"latitude_deg":9.8931528,"altitude":2,"angle":348,"satellites":34,"speed":30,"hex_longitude":"2d79da00","hex_latitude":"05e59348","is_valid_coordinates":true} 
[2026-04-28 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999923200001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76865930184884224,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248650082304,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777343460000,"timestamp_ms":1777343460000,"timestamp_seconds":1777343460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ecf2a0"} 
[2026-04-28 08:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3521899752,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13448861,"corrected_to":0} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3961499649,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-5194902170150167040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2952867193,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3221611766,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3839350784,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-3909123181723107323,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,20,168,45,128,77,4,33,10,66,117,64,40,1,32,19,51,240,247,227,209,228,113,205,31,251,192,239,53,2,17,5,39,138,235],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13448861,"validated":0},{"io_id":205,"original":916259022,"validated":0}]} 
[2026-04-28 08:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288612052718256128,"timestamp_seconds":288612052718256.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999923200001,"66":13504,"157":206,"87":12288,"24":30,"16":76865930184884224,"45":8782582248650082304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999923200001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:02:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:02:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76865930184884224,"km_value":76865930184884.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248650082304,"description":"Unknown IO ID 45"} 
[2026-04-28 08:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999923200001,"power":13504,"unknown_157":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8782582248650082304}} 
[2026-04-28 08:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":56208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:02:44] local.INFO: GPS data processed {"connection_id":56208,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:02:44] local.INFO: Acknowledgment sent {"connection_id":56208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:02:51] local.INFO: TCP Data received {"connection_id":56418,"ip":"117.225.239.254","data_length":795,"data_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-04-28 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-04-28 08:02:51] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-04-28 08:02:51] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:02:51] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-28 08:02:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 08:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115376887588454400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:02:51] 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-04-28 08:02:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":174000,"timestamp_seconds":174,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:02:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 08:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 08:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.254","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 08:02:51] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 08:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 08:02:51] local.ERROR: GPS data processing failed {"connection_id":56418,"error":"No valid data to process"} 
[2026-04-28 08:02:51] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 08:02:54] local.INFO: TCP Data received {"connection_id":57092,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:54] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:54] local.INFO: IMEI packet received {"connection_id":57092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":57092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:02:59] local.INFO: TCP Data received {"connection_id":57092,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:59] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:02:59] local.INFO: IMEI packet received {"connection_id":57092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":57092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:03:00] local.INFO: TCP Data received {"connection_id":57092,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:00] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:00] local.INFO: Packet analysis {"connection_id":57092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:00] local.INFO: Extracted packet for processing {"connection_id":57092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:03:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":57092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:00] local.INFO: GPS data processed {"connection_id":57092,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:00] local.INFO: Acknowledgment sent {"connection_id":57092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:07] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:07] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:07] local.INFO: IMEI packet received {"connection_id":56210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":56210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:03:12] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:12] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:03:12] local.INFO: IMEI packet received {"connection_id":56210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":56210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:03:13] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ed1d98012d79d58005e5af000000000021..."} 
[2026-04-28 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ed1d98012d79d58005e5af000000000021..."} 
[2026-04-28 08:03:13] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ed1d98012d79d58005e5af000000000021..."} 
[2026-04-28 08:03:13] local.INFO: Packet analysis {"connection_id":56210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:13] local.INFO: Extracted packet for processing {"connection_id":56210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":762959232,"raw_latitude":98938624,"longitude_deg":76.2959232,"latitude_deg":9.8938624,"altitude":0,"angle":0,"satellites":33,"speed":32,"hex_longitude":"2d79d580","hex_latitude":"05e5af00","is_valid_coordinates":true} 
[2026-04-28 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999925760001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76866278077235200,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780330448838674432,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777343471000,"timestamp_ms":1777343471000,"timestamp_seconds":1777343471,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ed1d98"} 
[2026-04-28 08:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:13] 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-04-28 08:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999925760001,"66":13428,"157":206,"87":12288,"24":32,"16":76866278077235200,"45":8780330448838674432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999925760001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76866278077235200,"km_value":76866278077235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780330448838674432,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999925760001,"power":13428,"unknown_157":206,"unknown_87":12288,"ignition":32,"odometer":null,"unknown_45":8780330448838674432}} 
[2026-04-28 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":56210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:13] local.INFO: GPS data processed {"connection_id":56210,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:13] local.INFO: Acknowledgment sent {"connection_id":56210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:32] local.INFO: TCP Data received {"connection_id":57092,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:32] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:03:32] local.INFO: Packet analysis {"connection_id":57092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:32] local.INFO: Extracted packet for processing {"connection_id":57092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":57092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:32] local.INFO: GPS data processed {"connection_id":57092,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:32] local.INFO: Acknowledgment sent {"connection_id":57092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:35] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:35] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:35] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:03:36] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:36] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:36] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:03:37] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:37] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:03:37] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:03:38] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef1580012d18c54007214e200028015a05..."} 
[2026-04-28 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef1580012d18c54007214e200028015a05..."} 
[2026-04-28 08:03:38] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef1580012d18c54007214e200028015a05..."} 
[2026-04-28 08:03:38] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:03:38] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119623200,"longitude_deg":75.659808,"latitude_deg":11.96232,"altitude":40,"angle":346,"satellites":5,"speed":31,"hex_longitude":"2d18c540","hex_latitude":"07214e20","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999961088001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115377720812109824,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332922107904,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03: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-04-28 08:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777343600000,"timestamp_ms":1777343600000,"timestamp_seconds":1777343600,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef1580"} 
[2026-04-28 08:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:38] 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-04-28 08: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-04-28 08:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999961088001,"66":14211,"121":206,"28":31744,"24":31,"16":115377720812109824,"45":1785114332922107904},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999961088001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115377720812109824,"km_value":115377720812109.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332922107904,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999961088001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1785114332922107904}} 
[2026-04-28 08:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:38] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:38] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:40] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef1d50012d18c2c0072153a00028014805..."} 
[2026-04-28 08:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef1d50012d18c2c0072153a00028014805..."} 
[2026-04-28 08:03:40] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef1d50012d18c2c0072153a00028014805..."} 
[2026-04-28 08:03:40] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:03:40] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624608,"longitude_deg":75.659744,"latitude_deg":11.9624608,"altitude":40,"angle":328,"satellites":5,"speed":30,"hex_longitude":"2d18c2c0","hex_latitude":"072153a0","is_valid_coordinates":true} 
[2026-04-28 08:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999961600001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115377793826553856,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689986560,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:40] 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-04-28 08:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777343602000,"timestamp_ms":1777343602000,"timestamp_seconds":1777343602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef1d50"} 
[2026-04-28 08:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999961600001,"66":14211,"121":206,"28":31744,"24":30,"16":115377793826553856,"45":1784903226689986560},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999961600001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115377793826553856,"km_value":115377793826553.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689986560,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999961600001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784903226689986560}} 
[2026-04-28 08:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:40] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:40] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:45] local.INFO: TCP Data received {"connection_id":56210,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1eefa28012d79b50005e6f4800003016123..."} 
[2026-04-28 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1eefa28012d79b50005e6f4800003016123..."} 
[2026-04-28 08:03:45] local.INFO: Processing buffer {"connection_id":56210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1eefa28012d79b50005e6f4800003016123..."} 
[2026-04-28 08:03:45] local.INFO: Packet analysis {"connection_id":56210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ee"} 
[2026-04-28 08:03:45] local.INFO: Extracted packet for processing {"connection_id":56210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ee"} 
[2026-04-28 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":762950912,"raw_latitude":99021952,"longitude_deg":76.2950912,"latitude_deg":9.9021952,"altitude":3,"angle":353,"satellites":35,"speed":28,"hex_longitude":"2d79b500","hex_latitude":"05e6f480","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999956224001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76870375476035584,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770830668395577344,"note":"Value kept but may cause issues"} 
[2026-04-28 08:03:45] 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-04-28 08:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777343593000,"timestamp_ms":1777343593000,"timestamp_seconds":1777343593,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1eefa28"} 
[2026-04-28 08:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-28 08:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999956224001,"66":13537,"202":206,"87":13824,"24":28,"16":76870375476035584,"45":8770830668395577344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999956224001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:03:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76870375476035584,"km_value":76870375476035.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770830668395577344,"description":"Unknown IO ID 45"} 
[2026-04-28 08:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999956224001,"power":13537,"mcc":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8770830668395577344}} 
[2026-04-28 08:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":56210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:03:45] local.INFO: GPS data processed {"connection_id":56210,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:03:45] local.INFO: Acknowledgment sent {"connection_id":56210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:03:55] local.INFO: TCP Data received {"connection_id":57094,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:03:55] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:03:55] local.INFO: IMEI packet received {"connection_id":57094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":57094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:04:00] local.INFO: TCP Data received {"connection_id":57094,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:00] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:00] local.INFO: IMEI packet received {"connection_id":57094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":57094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:04:01] local.INFO: TCP Data received {"connection_id":57094,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:01] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:01] local.INFO: Packet analysis {"connection_id":57094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:01] local.INFO: Extracted packet for processing {"connection_id":57094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:04: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-04-28 08:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:04:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":57094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:01] local.INFO: GPS data processed {"connection_id":57094,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:01] local.INFO: Acknowledgment sent {"connection_id":57094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:05] local.INFO: TCP Data received {"connection_id":57094,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:05] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:05] local.INFO: Packet analysis {"connection_id":57094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:05] local.INFO: Extracted packet for processing {"connection_id":57094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":57094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:05] local.INFO: GPS data processed {"connection_id":57094,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:05] local.INFO: Acknowledgment sent {"connection_id":57094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:11] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef4848012d18ae8007216ed8002a013805..."} 
[2026-04-28 08:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef4848012d18ae8007216ed8002a013805..."} 
[2026-04-28 08:04:11] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef4848012d18ae8007216ed8002a013805..."} 
[2026-04-28 08:04:11] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:11] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119631576,"longitude_deg":75.6592256,"latitude_deg":11.9631576,"altitude":42,"angle":312,"satellites":5,"speed":30,"hex_longitude":"2d18ae80","hex_latitude":"07216ed8","is_valid_coordinates":true} 
[2026-04-28 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999962112001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115378214733348864,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248570368,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04: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-04-28 08:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777343613000,"timestamp_ms":1777343613000,"timestamp_seconds":1777343613,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef4848"} 
[2026-04-28 08:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999962112001,"66":14189,"121":206,"28":31744,"24":30,"16":115378214733348864,"45":1784199539248570368},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999962112001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115378214733348864,"km_value":115378214733348.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248570368,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999962112001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784199539248570368}} 
[2026-04-28 08:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:12] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:12] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:13] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:13] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:13] local.INFO: IMEI packet received {"connection_id":57095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":57095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:04:18] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:18] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:04:18] local.INFO: IMEI packet received {"connection_id":57095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":57095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:04:19] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef2520012d79b34005e717e00002016522..."} 
[2026-04-28 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef2520012d79b34005e717e00002016522..."} 
[2026-04-28 08:04:19] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef2520012d79b34005e717e00002016522..."} 
[2026-04-28 08:04:19] local.INFO: Packet analysis {"connection_id":57095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:19] local.INFO: Extracted packet for processing {"connection_id":57095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":762950464,"raw_latitude":99031008,"longitude_deg":76.2950464,"latitude_deg":9.9031008,"altitude":2,"angle":357,"satellites":34,"speed":33,"hex_longitude":"2d79b340","hex_latitude":"05e717e0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999959808001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76870817857667072,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769915874723528704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:19] 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-04-28 08:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777343604000,"timestamp_ms":1777343604000,"timestamp_seconds":1777343604,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef2520"} 
[2026-04-28 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-04-28 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:19] 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-04-28 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-04-28 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-04-28 08:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999959808001,"66":13678,"202":206,"87":13824,"24":33,"16":76870817857667072,"45":8769915874723528704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999959808001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76870817857667072,"km_value":76870817857667.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769915874723528704,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999959808001,"power":13678,"mcc":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8769915874723528704}} 
[2026-04-28 08:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":57095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:19] local.INFO: GPS data processed {"connection_id":57095,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:19] local.INFO: Acknowledgment sent {"connection_id":57095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:37] local.INFO: TCP Data received {"connection_id":57094,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:37] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:04:37] local.INFO: Packet analysis {"connection_id":57094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:37] local.INFO: Extracted packet for processing {"connection_id":57094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":57094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:37] local.INFO: GPS data processed {"connection_id":57094,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:37] local.INFO: Acknowledgment sent {"connection_id":57094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:43] local.INFO: TCP Data received {"connection_id":57093,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef5018012d18a8c007217210002c012705..."} 
[2026-04-28 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef5018012d18a8c007217210002c012705..."} 
[2026-04-28 08:04:43] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef5018012d18a8c007217210002c012705..."} 
[2026-04-28 08:04:43] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:43] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632400,"longitude_deg":75.6590784,"latitude_deg":11.96324,"altitude":44,"angle":295,"satellites":5,"speed":31,"hex_longitude":"2d18a8c0","hex_latitude":"07217210","is_valid_coordinates":true} 
[2026-04-28 08:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999964928001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115378292042760192,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670971963392,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:43] 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-04-28 08:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777343615000,"timestamp_ms":1777343615000,"timestamp_seconds":1777343615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef5018"} 
[2026-04-28 08:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:43] 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-04-28 08:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999964928001,"66":14135,"121":206,"28":31744,"24":31,"16":115378292042760192,"45":1778499670971963392},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999964928001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115378292042760192,"km_value":115378292042760.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670971963392,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999964928001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1778499670971963392}} 
[2026-04-28 08:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:43] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:43] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:50] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef5fb8012d79b2c005e73ad00001000221..."} 
[2026-04-28 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef5fb8012d79b2c005e73ad00001000221..."} 
[2026-04-28 08:04:50] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef5fb8012d79b2c005e73ad00001000221..."} 
[2026-04-28 08:04:50] local.INFO: Packet analysis {"connection_id":57095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:50] local.INFO: Extracted packet for processing {"connection_id":57095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:04:50] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99039952,"longitude_deg":76.2950336,"latitude_deg":9.9039952,"altitude":1,"angle":2,"satellites":33,"speed":27,"hex_longitude":"2d79b2c0","hex_latitude":"05e73ad0","is_valid_coordinates":true} 
[2026-04-28 08:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999962624001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76871251649363968,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769423293516603392,"note":"Value kept but may cause issues"} 
[2026-04-28 08:04:50] 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-04-28 08:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777343619000,"timestamp_ms":1777343619000,"timestamp_seconds":1777343619,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef5fb8"} 
[2026-04-28 08:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 08:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999962624001,"66":13678,"202":206,"87":13824,"24":27,"16":76871251649363968,"45":8769423293516603392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999962624001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:04:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76871251649363968,"km_value":76871251649363.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769423293516603392,"description":"Unknown IO ID 45"} 
[2026-04-28 08:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999962624001,"power":13678,"mcc":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8769423293516603392}} 
[2026-04-28 08:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":57095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:04:50] local.INFO: GPS data processed {"connection_id":57095,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:04:50] local.INFO: Acknowledgment sent {"connection_id":57095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:04:50] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:04:50] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:04:50] local.INFO: IMEI packet received {"connection_id":57096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":57096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:04:54] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:54] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:54] local.INFO: IMEI packet received {"connection_id":56351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":56351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:04:59] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:59] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:04:59] local.INFO: IMEI packet received {"connection_id":56351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:00] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:00] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:00] local.INFO: Packet analysis {"connection_id":56351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:05:00] local.INFO: Extracted packet for processing {"connection_id":56351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:05: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-04-28 08:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:05:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":56351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:00] local.INFO: GPS data processed {"connection_id":56351,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:00] local.INFO: Acknowledgment sent {"connection_id":56351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:09] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:09] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:09] local.INFO: IMEI packet received {"connection_id":57097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":57097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:05:10] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:05:10] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:10] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:12] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:12] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:12] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:13] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:13] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:13] local.INFO: IMEI packet received {"connection_id":57097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":57097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:14] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:14] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:05:14] local.INFO: IMEI packet received {"connection_id":56211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":56211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:16] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f0bb60012d181e400721a5480039015511..."} 
[2026-04-28 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f0bb60012d181e400721a5480039015511..."} 
[2026-04-28 08:05:16] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f0bb60012d181e400721a5480039015511..."} 
[2026-04-28 08:05:16] local.INFO: Packet analysis {"connection_id":56211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f0"} 
[2026-04-28 08:05:16] local.INFO: Extracted packet for processing {"connection_id":56211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f0"} 
[2026-04-28 08:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645512,"longitude_deg":75.6555328,"latitude_deg":11.9645512,"altitude":57,"angle":341,"satellites":17,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a548","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999987200001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115380151763599360,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073400832,"note":"Value kept but may cause issues"} 
[2026-04-28 08: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-04-28 08:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777343708000,"timestamp_ms":1777343708000,"timestamp_seconds":1777343708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f0bb60"} 
[2026-04-28 08:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:05:16] 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-04-28 08:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3522150752,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249483195831386240,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4024475649,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8950904010272012800,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221692825,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-7045880323827089401,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3915513856,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":104,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":40,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:16] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,233,157,74,45,192,165,60,9,10,66,248,61,7,121,244,128,1,240,82,209,33,4,113,205,212,46,160,239,55,2,153,39,104,40,231,6],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-28 08:05:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323760275716046848,"timestamp_seconds":4323760275716047.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 08:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999987200001,"66":13722,"120":206,"28":31744,"24":2,"16":115380151763599360,"45":1738037643073400832},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-28 08:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999987200001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 08:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115380151763599360,"km_value":115380151763599.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073400832,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999987200001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738037643073400832}} 
[2026-04-28 08:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":56211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:16] local.INFO: GPS data processed {"connection_id":56211,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:16] local.INFO: Acknowledgment sent {"connection_id":56211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:17] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:17] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:05:17] local.INFO: IMEI packet received {"connection_id":57097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":57097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:05:18] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1ef9280012d79b44005e75d780002000521..."} 
[2026-04-28 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1ef9280012d79b44005e75d780002000521..."} 
[2026-04-28 08:05:18] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1ef9280012d79b44005e75d780002000521..."} 
[2026-04-28 08:05:18] local.INFO: Packet analysis {"connection_id":57097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:05:18] local.INFO: Extracted packet for processing {"connection_id":57097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ef"} 
[2026-04-28 08:05:18] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99048824,"longitude_deg":76.295072,"latitude_deg":9.9048824,"altitude":2,"angle":5,"satellites":33,"speed":27,"hex_longitude":"2d79b440","hex_latitude":"05e75d78","is_valid_coordinates":true} 
[2026-04-28 08:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999966464001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76871681146093568,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556030537728,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:18] 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-04-28 08:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777343632000,"timestamp_ms":1777343632000,"timestamp_seconds":1777343632,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1ef9280"} 
[2026-04-28 08:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 08:05: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-04-28 08:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999966464001,"66":13580,"202":206,"87":13824,"24":27,"16":76871681146093568,"45":8769282556030537728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999966464001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76871681146093568,"km_value":76871681146093.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556030537728,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999966464001,"power":13580,"mcc":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8769282556030537728}} 
[2026-04-28 08:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":57097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:18] local.INFO: GPS data processed {"connection_id":57097,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:18] local.INFO: Acknowledgment sent {"connection_id":57097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:31] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:31] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:05:31] local.INFO: Packet analysis {"connection_id":56351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:05:31] local.INFO: Extracted packet for processing {"connection_id":56351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:05:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":56351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:31] local.INFO: GPS data processed {"connection_id":56351,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:31] local.INFO: Acknowledgment sent {"connection_id":56351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:35] local.INFO: TCP Data received {"connection_id":56212,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:05:35] local.INFO: Processing buffer {"connection_id":56212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:05:35] local.INFO: IMEI packet received {"connection_id":56212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:05:47] local.INFO: TCP Data received {"connection_id":56211,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f0c330012d181e400721a5c00039016711..."} 
[2026-04-28 08:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f0c330012d181e400721a5c00039016711..."} 
[2026-04-28 08:05:47] local.INFO: Processing buffer {"connection_id":56211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f0c330012d181e400721a5c00039016711..."} 
[2026-04-28 08:05:47] local.INFO: Packet analysis {"connection_id":56211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f0"} 
[2026-04-28 08:05:47] local.INFO: Extracted packet for processing {"connection_id":56211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f0"} 
[2026-04-28 08:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645632,"longitude_deg":75.6555328,"latitude_deg":11.9645632,"altitude":57,"angle":359,"satellites":17,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a5c0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999989248001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115380156058566656,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585018880,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777343710000,"timestamp_ms":1777343710000,"timestamp_seconds":1777343710,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f0c330"} 
[2026-04-28 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-04-28 08:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 08:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 08:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999989248001,"66":14157,"120":206,"28":31744,"24":2,"16":115380156058566656,"45":1737896905585018880},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-28 08:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999989248001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 08:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115380156058566656,"km_value":115380156058566.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585018880,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999989248001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737896905585018880}} 
[2026-04-28 08:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":56211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:47] local.INFO: GPS data processed {"connection_id":56211,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:47] local.INFO: Acknowledgment sent {"connection_id":56211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:49] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f124d8012d797d8005e878c00001013d23..."} 
[2026-04-28 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f124d8012d797d8005e878c00001013d23..."} 
[2026-04-28 08:05:49] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f124d8012d797d8005e878c00001013d23..."} 
[2026-04-28 08:05:49] local.INFO: Packet analysis {"connection_id":57097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:05:49] local.INFO: Extracted packet for processing {"connection_id":57097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":762936704,"raw_latitude":99121344,"longitude_deg":76.2936704,"latitude_deg":9.9121344,"altitude":1,"angle":317,"satellites":35,"speed":34,"hex_longitude":"2d797d80","hex_latitude":"05e878c0","is_valid_coordinates":true} 
[2026-04-28 08:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999995392001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76875331868295168,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8756053232145440768,"note":"Value kept but may cause issues"} 
[2026-04-28 08:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777343735000,"timestamp_ms":1777343735000,"timestamp_seconds":1777343735,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f124d8"} 
[2026-04-28 08:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 08:05: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-04-28 08:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999995392001,"66":13472,"201":206,"87":13824,"24":34,"16":76875331868295168,"45":8756053232145440768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999995392001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:05:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:05:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76875331868295168,"km_value":76875331868295.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8756053232145440768,"description":"Unknown IO ID 45"} 
[2026-04-28 08:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999995392001,"power":13472,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8756053232145440768}} 
[2026-04-28 08:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":57097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:05:49] local.INFO: GPS data processed {"connection_id":57097,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:05:49] local.INFO: Acknowledgment sent {"connection_id":57097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:05:54] local.INFO: TCP Data received {"connection_id":56352,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:05:54] local.INFO: Processing buffer {"connection_id":56352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:05:54] local.INFO: IMEI packet received {"connection_id":56352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":56352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:06:00] local.INFO: TCP Data received {"connection_id":56352,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:06:00] local.INFO: Processing buffer {"connection_id":56352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:06:00] local.INFO: IMEI packet received {"connection_id":56352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":56352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:06:01] local.INFO: TCP Data received {"connection_id":56352,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:01] local.INFO: Processing buffer {"connection_id":56352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:01] local.INFO: Packet analysis {"connection_id":56352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:06:01] local.INFO: Extracted packet for processing {"connection_id":56352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08: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-04-28 08: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-04-28 08:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:06:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":56352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:01] local.INFO: GPS data processed {"connection_id":56352,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:01] local.INFO: Acknowledgment sent {"connection_id":56352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:06:09] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:10] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:10] local.INFO: IMEI packet received {"connection_id":56353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":56353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:06:12] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:12] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:12] local.INFO: IMEI packet received {"connection_id":57098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":57098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:06:15] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:15] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:06:15] local.INFO: IMEI packet received {"connection_id":56353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":56353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:06:16] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f13478012d1833c0072196000035007011..."} 
[2026-04-28 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f13478012d1833c0072196000035007011..."} 
[2026-04-28 08:06:16] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f13478012d1833c0072196000035007011..."} 
[2026-04-28 08:06:16] local.INFO: Packet analysis {"connection_id":56353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:16] local.INFO: Extracted packet for processing {"connection_id":56353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119641600,"longitude_deg":75.6560832,"latitude_deg":11.96416,"altitude":53,"angle":112,"satellites":17,"speed":26,"hex_longitude":"2d1833c0","hex_latitude":"07219600","is_valid_coordinates":true} 
[2026-04-28 08:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999996416001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115380508245884928,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746543104,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06: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-04-28 08:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777343739000,"timestamp_ms":1777343739000,"timestamp_seconds":1777343739,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f13478"} 
[2026-04-28 08:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:06:16] 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-04-28 08:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-28 08:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999996416001,"66":14157,"120":206,"28":31744,"24":26,"16":115380508245884928,"45":1741978292746543104},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-28 08:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999996416001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 08:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115380508245884928,"km_value":115380508245884.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746543104,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999996416001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1741978292746543104}} 
[2026-04-28 08:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":56353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:16] local.INFO: GPS data processed {"connection_id":56353,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:16] local.INFO: Acknowledgment sent {"connection_id":56353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:06:18] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:18] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:06:18] local.INFO: IMEI packet received {"connection_id":57098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":57098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:06:19] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f13090012d79764005e87ec00001012d23..."} 
[2026-04-28 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f13090012d79764005e87ec00001012d23..."} 
[2026-04-28 08:06:19] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f13090012d79764005e87ec00001012d23..."} 
[2026-04-28 08:06:19] local.INFO: Packet analysis {"connection_id":57098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:19] local.INFO: Extracted packet for processing {"connection_id":57098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":762934848,"raw_latitude":99122880,"longitude_deg":76.2934848,"latitude_deg":9.912288,"altitude":1,"angle":301,"satellites":35,"speed":31,"hex_longitude":"2d797640","hex_latitude":"05e87ec0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999996160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76875447832412160,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754294013541531648,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777343738000,"timestamp_ms":1777343738000,"timestamp_seconds":1777343738,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f13090"} 
[2026-04-28 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-04-28 08:06: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-04-28 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 08:06: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-04-28 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-04-28 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-04-28 08:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999996160001,"66":13646,"201":206,"87":13824,"24":31,"16":76875447832412160,"45":8754294013541531648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999996160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:06:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76875447832412160,"km_value":76875447832412.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754294013541531648,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999996160001,"power":13646,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8754294013541531648}} 
[2026-04-28 08:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":57098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:19] local.INFO: GPS data processed {"connection_id":57098,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:19] local.INFO: Acknowledgment sent {"connection_id":57098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:06:32] local.INFO: TCP Data received {"connection_id":56352,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:32] local.INFO: Processing buffer {"connection_id":56352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:06:32] local.INFO: Packet analysis {"connection_id":56352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:06:32] local.INFO: Extracted packet for processing {"connection_id":56352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":56352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:32] local.INFO: GPS data processed {"connection_id":56352,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:32] local.INFO: Acknowledgment sent {"connection_id":56352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:06:48] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f21708012d18c6c007213cc0003800a111..."} 
[2026-04-28 08:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f21708012d18c6c007213cc0003800a111..."} 
[2026-04-28 08:06:48] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f21708012d18c6c007213cc0003800a111..."} 
[2026-04-28 08:06:48] local.INFO: Packet analysis {"connection_id":56353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:06:48] local.INFO: Extracted packet for processing {"connection_id":56353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618752,"longitude_deg":75.6598464,"latitude_deg":11.9618752,"altitude":56,"angle":161,"satellites":17,"speed":30,"hex_longitude":"2d18c6c0","hex_latitude":"07213cc0","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000011264001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115382823233257472,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689425408,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06: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-04-28 08:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777343797000,"timestamp_ms":1777343797000,"timestamp_seconds":1777343797,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f21708"} 
[2026-04-28 08:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:06:48] 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-04-28 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 08:06:48] 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-04-28 08: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-04-28 08:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000011264001,"66":13243,"121":206,"28":31744,"24":30,"16":115382823233257472,"45":1784903226689425408},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000011264001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115382823233257472,"km_value":115382823233257.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689425408,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000011264001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784903226689425408}} 
[2026-04-28 08:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":56353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:48] local.INFO: GPS data processed {"connection_id":56353,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:48] local.INFO: Acknowledgment sent {"connection_id":56353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:06:52] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f13860012d79708005e881500002012122..."} 
[2026-04-28 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f13860012d79708005e881500002012122..."} 
[2026-04-28 08:06:52] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f13860012d79708005e881500002012122..."} 
[2026-04-28 08:06:52] local.INFO: Packet analysis {"connection_id":57098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:52] local.INFO: Extracted packet for processing {"connection_id":57098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762933376,"raw_latitude":99123536,"longitude_deg":76.2933376,"latitude_deg":9.9123536,"altitude":2,"angle":289,"satellites":34,"speed":31,"hex_longitude":"2d797080","hex_latitude":"05e88150","is_valid_coordinates":true} 
[2026-04-28 08:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999996928001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76875529436790784,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752253319960772608,"note":"Value kept but may cause issues"} 
[2026-04-28 08:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777343740000,"timestamp_ms":1777343740000,"timestamp_seconds":1777343740,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f13860"} 
[2026-04-28 08:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:06: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-04-28 08:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 08:06:52] 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-04-28 08:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999996928001,"66":13515,"201":206,"87":13824,"24":31,"16":76875529436790784,"45":8752253319960772608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999996928001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:06:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76875529436790784,"km_value":76875529436790.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752253319960772608,"description":"Unknown IO ID 45"} 
[2026-04-28 08:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999996928001,"power":13515,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8752253319960772608}} 
[2026-04-28 08:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":57098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:06:52] local.INFO: GPS data processed {"connection_id":57098,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:06:52] local.INFO: Acknowledgment sent {"connection_id":57098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:00] local.INFO: TCP Data received {"connection_id":57099,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:00] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:00] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:07:05] local.INFO: TCP Data received {"connection_id":57099,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:05] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:05] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:07:06] local.INFO: TCP Data received {"connection_id":57099,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:06] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:06] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:07:06] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:07: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-04-28 08: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-04-28 08:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:07:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:06] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:06] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:10] local.INFO: TCP Data received {"connection_id":56422,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:10] local.INFO: Processing buffer {"connection_id":56422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:10] local.INFO: IMEI packet received {"connection_id":56422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":56422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:07:10] local.INFO: TCP Data received {"connection_id":57099,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:10] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1edae20012d7faa4005afdf10001400ae29..."} 
[2026-04-28 08:07:10] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:07:10] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1ed"} 
[2026-04-28 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777343508000,"timestamp_ms":1777343508000,"timestamp_seconds":1777343508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1edae20"} 
[2026-04-28 08:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999860992001,"66":25625,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:07:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999860992001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:10] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:10] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:12] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:12] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:12] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:07:15] local.INFO: TCP Data received {"connection_id":56422,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:15] local.INFO: Processing buffer {"connection_id":56422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:07:15] local.INFO: IMEI packet received {"connection_id":56422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":56422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:07:16] local.INFO: TCP Data received {"connection_id":56422,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f21ed8012d18c940072137900037009411..."} 
[2026-04-28 08:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f21ed8012d18c940072137900037009411..."} 
[2026-04-28 08:07:16] local.INFO: Processing buffer {"connection_id":56422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f21ed8012d18c940072137900037009411..."} 
[2026-04-28 08:07:16] local.INFO: Packet analysis {"connection_id":56422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:16] local.INFO: Extracted packet for processing {"connection_id":56422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617424,"longitude_deg":75.6599104,"latitude_deg":11.9617424,"altitude":55,"angle":148,"satellites":17,"speed":29,"hex_longitude":"2d18c940","hex_latitude":"07213790","is_valid_coordinates":true} 
[2026-04-28 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000012032001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115382896247701504,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153913856,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07: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-04-28 08:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777343799000,"timestamp_ms":1777343799000,"timestamp_seconds":1777343799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f21ed8"} 
[2026-04-28 08:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07:16] 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-04-28 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-28 08:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000012032001,"66":13222,"121":206,"28":31744,"24":29,"16":115382896247701504,"45":1785325439153913856},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000012032001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115382896247701504,"km_value":115382896247701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153913856,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000012032001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1785325439153913856}} 
[2026-04-28 08:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":56422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:16] local.INFO: GPS data processed {"connection_id":56422,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:16] local.INFO: Acknowledgment sent {"connection_id":56422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:18] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:18] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:07:18] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:07:19] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f16358012d794c4005e88cc80003012223..."} 
[2026-04-28 08:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f16358012d794c4005e88cc80003012223..."} 
[2026-04-28 08:07:19] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f16358012d794c4005e88cc80003012223..."} 
[2026-04-28 08:07:19] local.INFO: Packet analysis {"connection_id":56423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:07:19] local.INFO: Extracted packet for processing {"connection_id":56423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f1"} 
[2026-04-28 08:07:19] local.INFO: GPS Element Parsed {"raw_longitude":762924096,"raw_latitude":99126472,"longitude_deg":76.2924096,"latitude_deg":9.9126472,"altitude":3,"angle":290,"satellites":35,"speed":28,"hex_longitude":"2d794c40","hex_latitude":"05e88cc8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999997440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76875993293258752,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8750634838844854272,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07: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-04-28 08:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777343751000,"timestamp_ms":1777343751000,"timestamp_seconds":1777343751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f16358"} 
[2026-04-28 08:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07: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-04-28 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 08:07: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-04-28 08: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-04-28 08:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999997440001,"66":13678,"203":206,"87":13824,"24":28,"16":76875993293258752,"45":8750634838844854272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-04-28 08:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999997440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76875993293258752,"km_value":76875993293258.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8750634838844854272,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999997440001,"power":13678,"mnc":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8750634838844854272}} 
[2026-04-28 08:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":56423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:19] local.INFO: GPS data processed {"connection_id":56423,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:19] local.INFO: Acknowledgment sent {"connection_id":56423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:48] local.INFO: TCP Data received {"connection_id":56422,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f23648012d18d20007212908003600a111..."} 
[2026-04-28 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f23648012d18d20007212908003600a111..."} 
[2026-04-28 08:07:48] local.INFO: Processing buffer {"connection_id":56422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f23648012d18d20007212908003600a111..."} 
[2026-04-28 08:07:48] local.INFO: Packet analysis {"connection_id":56422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:48] local.INFO: Extracted packet for processing {"connection_id":56422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613704,"longitude_deg":75.6601344,"latitude_deg":11.9613704,"altitude":54,"angle":161,"satellites":17,"speed":28,"hex_longitude":"2d18d200","hex_latitude":"07212908","is_valid_coordinates":true} 
[2026-04-28 08:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000012544001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383102406131712,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595350528,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07: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-04-28 08:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777343805000,"timestamp_ms":1777343805000,"timestamp_seconds":1777343805,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f23648"} 
[2026-04-28 08:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07:48] 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-04-28 08:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-28 08:07: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-04-28 08:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000012544001,"66":12885,"121":206,"28":31744,"24":28,"16":115383102406131712,"45":1786029126595350528},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000012544001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383102406131712,"km_value":115383102406131.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595350528,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000012544001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1786029126595350528}} 
[2026-04-28 08:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":56422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:48] local.INFO: GPS data processed {"connection_id":56422,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:48] local.INFO: Acknowledgment sent {"connection_id":56422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:50] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f2e228012d78018005e897400005011924..."} 
[2026-04-28 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f2e228012d78018005e897400005011924..."} 
[2026-04-28 08:07:50] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f2e228012d78018005e897400005011924..."} 
[2026-04-28 08:07:50] local.INFO: Packet analysis {"connection_id":56423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:50] local.INFO: Extracted packet for processing {"connection_id":56423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":762839424,"raw_latitude":99129152,"longitude_deg":76.2839424,"latitude_deg":9.9129152,"altitude":5,"angle":281,"satellites":36,"speed":30,"hex_longitude":"2d780180","hex_latitude":"05e89740","is_valid_coordinates":true} 
[2026-04-28 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000023808001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76880099281993728,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8653033390671779840,"note":"Value kept but may cause issues"} 
[2026-04-28 08:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777343849000,"timestamp_ms":1777343849000,"timestamp_seconds":1777343849,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f2e228"} 
[2026-04-28 08:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-28 08:07: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-04-28 08:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000023808001,"66":13515,"174":206,"87":13824,"24":30,"16":76880099281993728,"45":8653033390671779840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-28 08:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000023808001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:07:50] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-28 08:07:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76880099281993728,"km_value":76880099281993.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8653033390671779840,"description":"Unknown IO ID 45"} 
[2026-04-28 08:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000023808001,"power":13515,"unknown_174":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8653033390671779840}} 
[2026-04-28 08:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":56423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:07:50] local.INFO: GPS data processed {"connection_id":56423,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:07:50] local.INFO: Acknowledgment sent {"connection_id":56423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:07:55] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:55] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:07:55] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:08:00] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:00] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:00] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:08:01] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:01] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:01] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:01] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:08: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-04-28 08:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:08:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:08:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:08:01] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:08:01] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:08:15] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:15] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:15] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:08:17] local.INFO: TCP Data received {"connection_id":56426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:17] local.INFO: Processing buffer {"connection_id":56426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:17] local.INFO: IMEI packet received {"connection_id":56426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":56426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:08:20] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:20] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:08:20] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:08:23] local.INFO: TCP Data received {"connection_id":56426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:23] local.INFO: Processing buffer {"connection_id":56426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:08:23] local.INFO: IMEI packet received {"connection_id":56426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":56426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:08:23] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f23e18012d18d2c007212378003600b311..."} 
[2026-04-28 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f23e18012d18d2c007212378003600b311..."} 
[2026-04-28 08:08:23] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f23e18012d18d2c007212378003600b311..."} 
[2026-04-28 08:08:23] local.INFO: Packet analysis {"connection_id":56425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:23] local.INFO: Extracted packet for processing {"connection_id":56425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612280,"longitude_deg":75.6601536,"latitude_deg":11.961228,"altitude":54,"angle":179,"satellites":17,"speed":29,"hex_longitude":"2d18d2c0","hex_latitude":"07212378","is_valid_coordinates":true} 
[2026-04-28 08:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000014080001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383175420575744,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640616448,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777343807000,"timestamp_ms":1777343807000,"timestamp_seconds":1777343807,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f23e18"} 
[2026-04-28 08:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 08:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000014080001,"66":12874,"121":206,"28":31744,"24":29,"16":115383175420575744,"45":1788492032640616448},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000014080001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:08:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:08:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383175420575744,"km_value":115383175420575.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640616448,"description":"Unknown IO ID 45"} 
[2026-04-28 08:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000014080001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1788492032640616448}} 
[2026-04-28 08:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":56425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:08:23] local.INFO: GPS data processed {"connection_id":56425,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:08:23] local.INFO: Acknowledgment sent {"connection_id":56425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:08:24] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f25d58012d18d34007211040003200a611..."} 
[2026-04-28 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f25d58012d18d34007211040003200a611..."} 
[2026-04-28 08:08:24] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f25d58012d18d34007211040003200a611..."} 
[2026-04-28 08:08:24] local.INFO: Packet analysis {"connection_id":56425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:24] local.INFO: Extracted packet for processing {"connection_id":56425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119607360,"longitude_deg":75.6601664,"latitude_deg":11.960736,"altitude":50,"angle":166,"satellites":17,"speed":15,"hex_longitude":"2d18d340","hex_latitude":"07211040","is_valid_coordinates":true} 
[2026-04-28 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000014592001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383411643777024,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872784896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777343815000,"timestamp_ms":1777343815000,"timestamp_seconds":1777343815,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f25d58"} 
[2026-04-28 08:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:08: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-04-28 08: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-28 08:08:24] 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-04-28 08: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-04-28 08:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000014592001,"66":12950,"121":206,"28":31744,"24":15,"16":115383411643777024,"45":1788703138872784896},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000014592001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:08:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:08:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383411643777024,"km_value":115383411643777.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872784896,"description":"Unknown IO ID 45"} 
[2026-04-28 08:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000014592001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1788703138872784896}} 
[2026-04-28 08:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":56425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:08:24] local.INFO: GPS data processed {"connection_id":56425,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:08:24] local.INFO: Acknowledgment sent {"connection_id":56425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:08:31] local.INFO: TCP Data received {"connection_id":56426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f31cc0012d77ef4005e89c500003012524..."} 
[2026-04-28 08:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f31cc0012d77ef4005e89c500003012524..."} 
[2026-04-28 08:08:31] local.INFO: Processing buffer {"connection_id":56426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f31cc0012d77ef4005e89c500003012524..."} 
[2026-04-28 08:08:31] local.INFO: Packet analysis {"connection_id":56426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:08:31] local.INFO: Extracted packet for processing {"connection_id":56426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762834752,"raw_latitude":99130448,"longitude_deg":76.2834752,"latitude_deg":9.9130448,"altitude":3,"angle":293,"satellites":36,"speed":7,"hex_longitude":"2d77ef40","hex_latitude":"05e89c50","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000025344001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76880331210227712,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8647333522393481216,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777343864000,"timestamp_ms":1777343864000,"timestamp_seconds":1777343864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f31cc0"} 
[2026-04-28 08:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:08:31] 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-04-28 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 08:08:31] 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-04-28 08: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-04-28 08:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000025344001,"66":13559,"174":206,"87":13824,"24":7,"16":76880331210227712,"45":8647333522393481216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-28 08:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000025344001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:08:31] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-28 08:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76880331210227712,"km_value":76880331210227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8647333522393481216,"description":"Unknown IO ID 45"} 
[2026-04-28 08:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000025344001,"power":13559,"unknown_174":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8647333522393481216}} 
[2026-04-28 08:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":56426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:08:31] local.INFO: GPS data processed {"connection_id":56426,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:08:31] local.INFO: Acknowledgment sent {"connection_id":56426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:08:32] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:33] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:08:33] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:33] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:08:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:08:33] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:08:33] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:08:54] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:54] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:08:54] local.INFO: IMEI packet received {"connection_id":56357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":56357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:09:00] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:00] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:00] local.INFO: IMEI packet received {"connection_id":56357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":56357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:09:01] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:01] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:01] local.INFO: Packet analysis {"connection_id":56357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:01] local.INFO: Extracted packet for processing {"connection_id":56357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:09: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-04-28 08: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-04-28 08:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:09:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":56357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:01] local.INFO: GPS data processed {"connection_id":56357,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:01] local.INFO: Acknowledgment sent {"connection_id":56357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:10] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:10] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:10] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:09:12] local.INFO: TCP Data received {"connection_id":56428,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:12] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:12] local.INFO: IMEI packet received {"connection_id":56428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":56428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:09:15] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:15] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:09:15] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:09:16] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f2af60012d18d5c007210740003400a011..."} 
[2026-04-28 08:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f2af60012d18d5c007210740003400a011..."} 
[2026-04-28 08:09:16] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f2af60012d18d5c007210740003400a011..."} 
[2026-04-28 08:09:16] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:16] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119605056,"longitude_deg":75.6602304,"latitude_deg":11.9605056,"altitude":52,"angle":160,"satellites":17,"speed":0,"hex_longitude":"2d18d5c0","hex_latitude":"07210740","is_valid_coordinates":true} 
[2026-04-28 08:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000016640001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383544787763200,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359880704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09: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-04-28 08:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777343836000,"timestamp_ms":1777343836000,"timestamp_seconds":1777343836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f2af60"} 
[2026-04-28 08:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09:16] 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-04-28 08:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 08:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000016640001,"66":12504,"121":206,"28":31744,"24":0,"16":115383544787763200,"45":1788843876359880704},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000016640001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383544787763200,"km_value":115383544787763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359880704,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000016640001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788843876359880704}} 
[2026-04-28 08:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:16] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:16] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:17] local.INFO: TCP Data received {"connection_id":56428,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:17] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:09:17] local.INFO: IMEI packet received {"connection_id":56428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":56428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:09:18] local.INFO: TCP Data received {"connection_id":56428,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f41aa8012d780b0005e8c6980003000021..."} 
[2026-04-28 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f41aa8012d780b0005e8c6980003000021..."} 
[2026-04-28 08:09:18] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f41aa8012d780b0005e8c6980003000021..."} 
[2026-04-28 08:09:18] local.INFO: Packet analysis {"connection_id":56428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f4"} 
[2026-04-28 08:09:18] local.INFO: Extracted packet for processing {"connection_id":56428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f4"} 
[2026-04-28 08:09:18] local.INFO: GPS Element Parsed {"raw_longitude":762841856,"raw_latitude":99141272,"longitude_deg":76.2841856,"latitude_deg":9.9141272,"altitude":3,"angle":0,"satellites":33,"speed":11,"hex_longitude":"2d780b00","hex_latitude":"05e8c698","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000045312001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76881396362117120,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8650077903419353088,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777343929000,"timestamp_ms":1777343929000,"timestamp_seconds":1777343929,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f41aa8"} 
[2026-04-28 08:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09: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-04-28 08:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 08:09: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-04-28 08: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-04-28 08:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000045312001,"66":13537,"174":206,"87":13824,"24":11,"16":76881396362117120,"45":8650077903419353088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-28 08:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000045312001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:18] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-28 08:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76881396362117120,"km_value":76881396362117.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8650077903419353088,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000045312001,"power":13537,"unknown_174":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8650077903419353088}} 
[2026-04-28 08:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":56428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:18] local.INFO: GPS data processed {"connection_id":56428,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:18] local.INFO: Acknowledgment sent {"connection_id":56428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:33] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:33] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:09:33] local.INFO: Packet analysis {"connection_id":56357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:33] local.INFO: Extracted packet for processing {"connection_id":56357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":56357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:33] local.INFO: GPS data processed {"connection_id":56357,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:33] local.INFO: Acknowledgment sent {"connection_id":56357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:48] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f30168012d18d5c007210740003400a012..."} 
[2026-04-28 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f30168012d18d5c007210740003400a012..."} 
[2026-04-28 08:09:48] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f30168012d18d5c007210740003400a012..."} 
[2026-04-28 08:09:48] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:09:48] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119605056,"longitude_deg":75.6602304,"latitude_deg":11.9605056,"altitude":52,"angle":160,"satellites":18,"speed":0,"hex_longitude":"2d18d5c0","hex_latitude":"07210740","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000022016001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383544787763200,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563801067520,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09: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-04-28 08:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777343857000,"timestamp_ms":1777343857000,"timestamp_seconds":1777343857,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f30168"} 
[2026-04-28 08:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09:48] 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-04-28 08: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":216,"data_length":795,"current_offset":136} 
[2026-04-28 08:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000022016001,"66":12341,"121":206,"28":31744,"24":0,"16":115383544787763200,"45":1789547563801067520},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000022016001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383544787763200,"km_value":115383544787763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563801067520,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000022016001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789547563801067520}} 
[2026-04-28 08:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:48] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:48] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:50] local.INFO: TCP Data received {"connection_id":56428,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f42278012d780b4005e8c8c00003000e21..."} 
[2026-04-28 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f42278012d780b4005e8c8c00003000e21..."} 
[2026-04-28 08:09:50] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f42278012d780b4005e8c8c00003000e21..."} 
[2026-04-28 08:09:50] local.INFO: Packet analysis {"connection_id":56428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f4"} 
[2026-04-28 08:09:50] local.INFO: Extracted packet for processing {"connection_id":56428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f4"} 
[2026-04-28 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":762841920,"raw_latitude":99141824,"longitude_deg":76.284192,"latitude_deg":9.9141824,"altitude":3,"angle":14,"satellites":33,"speed":8,"hex_longitude":"2d780b40","hex_latitude":"05e8c8c0","is_valid_coordinates":true} 
[2026-04-28 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000045824001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76881422131920896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8650007534675335168,"note":"Value kept but may cause issues"} 
[2026-04-28 08:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777343931000,"timestamp_ms":1777343931000,"timestamp_seconds":1777343931,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f42278"} 
[2026-04-28 08:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:09: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-04-28 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-28 08:09:50] 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-04-28 08:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000045824001,"66":13526,"174":206,"87":13824,"24":8,"16":76881422131920896,"45":8650007534675335168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-28 08:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000045824001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:09:50] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-28 08:09:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76881422131920896,"km_value":76881422131920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8650007534675335168,"description":"Unknown IO ID 45"} 
[2026-04-28 08:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000045824001,"power":13526,"unknown_174":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8650007534675335168}} 
[2026-04-28 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":56428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:09:50] local.INFO: GPS data processed {"connection_id":56428,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:09:50] local.INFO: Acknowledgment sent {"connection_id":56428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:09:54] local.INFO: TCP Data received {"connection_id":56429,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:54] local.INFO: Processing buffer {"connection_id":56429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:09:54] local.INFO: IMEI packet received {"connection_id":56429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":56429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:10:00] local.INFO: TCP Data received {"connection_id":56429,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:10:00] local.INFO: Processing buffer {"connection_id":56429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:10:00] local.INFO: IMEI packet received {"connection_id":56429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:01] local.INFO: TCP Data received {"connection_id":56429,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:01] local.INFO: Processing buffer {"connection_id":56429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:01] local.INFO: Packet analysis {"connection_id":56429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:10:01] local.INFO: Extracted packet for processing {"connection_id":56429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:10: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-04-28 08:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:10:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:10:01] local.INFO: GPS data processed {"connection_id":56429,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:10:01] local.INFO: Acknowledgment sent {"connection_id":56429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:10:08] local.INFO: TCP Data received {"connection_id":56214,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:08] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:08] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:10:10] local.INFO: TCP Data received {"connection_id":56214,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:10] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:10] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:13] local.INFO: TCP Data received {"connection_id":56214,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:13] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:10:13] local.INFO: IMEI packet received {"connection_id":56214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":56214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:13] local.INFO: TCP Data received {"connection_id":56358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:13] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:13] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:10:14] local.INFO: TCP Data received {"connection_id":56214,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f35370012d18d5c007210740003400a014..."} 
[2026-04-28 08:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f35370012d18d5c007210740003400a014..."} 
[2026-04-28 08:10:14] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f35370012d18d5c007210740003400a014..."} 
[2026-04-28 08:10:14] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:10:14] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f3"} 
[2026-04-28 08:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119605056,"longitude_deg":75.6602304,"latitude_deg":11.9605056,"altitude":52,"angle":160,"satellites":20,"speed":0,"hex_longitude":"2d18d5c0","hex_latitude":"07210740","is_valid_coordinates":true} 
[2026-04-28 08:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000027392001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115383544787763200,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563801067520,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:14] 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-04-28 08:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777343878000,"timestamp_ms":1777343878000,"timestamp_seconds":1777343878,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f35370"} 
[2026-04-28 08:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 08:10:14] 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-04-28 08:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000027392001,"66":12232,"121":206,"28":31744,"24":0,"16":115383544787763200,"45":1789547563801067520},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000027392001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:10:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115383544787763200,"km_value":115383544787763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563801067520,"description":"Unknown IO ID 45"} 
[2026-04-28 08:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000027392001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789547563801067520}} 
[2026-04-28 08:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:10:14] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:10:14] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:10:14] local.INFO: TCP Data received {"connection_id":56358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:14] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:14] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:15] local.INFO: TCP Data received {"connection_id":56358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:15] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:15] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:17] local.INFO: TCP Data received {"connection_id":56358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:17] local.INFO: Processing buffer {"connection_id":56358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:10:17] local.INFO: IMEI packet received {"connection_id":56358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":56358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:10:32] local.INFO: TCP Data received {"connection_id":56429,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:32] local.INFO: Processing buffer {"connection_id":56429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:10:32] local.INFO: Packet analysis {"connection_id":56429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:10:32] local.INFO: Extracted packet for processing {"connection_id":56429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:10:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":56429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:10:33] local.INFO: GPS data processed {"connection_id":56429,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:10:33] local.INFO: Acknowledgment sent {"connection_id":56429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:10:45] local.INFO: TCP Data received {"connection_id":56214,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f57e20012d18f5800720d9d0002c008817..."} 
[2026-04-28 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f57e20012d18f5800720d9d0002c008817..."} 
[2026-04-28 08:10:45] local.INFO: Processing buffer {"connection_id":56214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f57e20012d18f5800720d9d0002c008817..."} 
[2026-04-28 08:10:45] local.INFO: Packet analysis {"connection_id":56214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:10:45] local.INFO: Extracted packet for processing {"connection_id":56214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756610432,"raw_latitude":119593424,"longitude_deg":75.6610432,"latitude_deg":11.9593424,"altitude":44,"angle":136,"satellites":23,"speed":26,"hex_longitude":"2d18f580","hex_latitude":"0720d9d0","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000066816001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115384236277497856,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794262269659471872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:10: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-04-28 08:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777344020000,"timestamp_ms":1777344020000,"timestamp_seconds":1777344020,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f57e20"} 
[2026-04-28 08:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:10:45] 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-04-28 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 08:10:45] 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-04-28 08: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-04-28 08:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000066816001,"66":14048,"121":206,"28":31744,"24":26,"16":115384236277497856,"45":1794262269659471872},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000066816001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:10:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115384236277497856,"km_value":115384236277497.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794262269659471872,"description":"Unknown IO ID 45"} 
[2026-04-28 08:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000066816001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1794262269659471872}} 
[2026-04-28 08:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":56214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:10:45] local.INFO: GPS data processed {"connection_id":56214,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:10:45] local.INFO: Acknowledgment sent {"connection_id":56214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:10:55] local.INFO: TCP Data received {"connection_id":57101,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:10:55] local.INFO: Processing buffer {"connection_id":57101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:10:55] local.INFO: IMEI packet received {"connection_id":57101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":57101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:11:00] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:00] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:00] local.INFO: IMEI packet received {"connection_id":56430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":56430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:11:05] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:05] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:05] local.INFO: IMEI packet received {"connection_id":56430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":56430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:11:06] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:06] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:06] local.INFO: Packet analysis {"connection_id":56430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:11:06] local.INFO: Extracted packet for processing {"connection_id":56430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:11: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-04-28 08:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:11:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:11:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":56430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:11:06] local.INFO: GPS data processed {"connection_id":56430,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:11:06] local.INFO: Acknowledgment sent {"connection_id":56430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:11:09] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:10] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:10] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:11:10] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:10] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:11:10] local.INFO: Packet analysis {"connection_id":56430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:11:10] local.INFO: Extracted packet for processing {"connection_id":56430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:11:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:11:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":56430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:11:10] local.INFO: GPS data processed {"connection_id":56430,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:11:10] local.INFO: Acknowledgment sent {"connection_id":56430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:11:15] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:15] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:11:15] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:11:16] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f58dc0012d18ff000720d2b0002a007c17..."} 
[2026-04-28 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f58dc0012d18ff000720d2b0002a007c17..."} 
[2026-04-28 08:11:16] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f58dc0012d18ff000720d2b0002a007c17..."} 
[2026-04-28 08:11:16] local.INFO: Packet analysis {"connection_id":56359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:11:16] local.INFO: Extracted packet for processing {"connection_id":56359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756612864,"raw_latitude":119591600,"longitude_deg":75.6612864,"latitude_deg":11.95916,"altitude":42,"angle":124,"satellites":23,"speed":30,"hex_longitude":"2d18ff00","hex_latitude":"0720d2b0","is_valid_coordinates":true} 
[2026-04-28 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000069120001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115384382306385920,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798484394308653056,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11: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-04-28 08:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777344024000,"timestamp_ms":1777344024000,"timestamp_seconds":1777344024,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f58dc0"} 
[2026-04-28 08:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:11:16] 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-04-28 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 08:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000069120001,"66":14004,"121":206,"28":31744,"24":30,"16":115384382306385920,"45":1798484394308653056},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000069120001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115384382306385920,"km_value":115384382306385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798484394308653056,"description":"Unknown IO ID 45"} 
[2026-04-28 08:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000069120001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1798484394308653056}} 
[2026-04-28 08:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":56359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:11:16] local.INFO: GPS data processed {"connection_id":56359,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:11:16] local.INFO: Acknowledgment sent {"connection_id":56359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:11:35] local.INFO: TCP Data received {"connection_id":56360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:11:35] local.INFO: Processing buffer {"connection_id":56360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:11:35] local.INFO: IMEI packet received {"connection_id":56360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:11:48] local.INFO: TCP Data received {"connection_id":56359,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f5ad00012d1913400720c6500024007018..."} 
[2026-04-28 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f5ad00012d1913400720c6500024007018..."} 
[2026-04-28 08:11:48] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f5ad00012d1913400720c6500024007018..."} 
[2026-04-28 08:11:48] local.INFO: Packet analysis {"connection_id":56359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:11:48] local.INFO: Extracted packet for processing {"connection_id":56359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756618048,"raw_latitude":119588432,"longitude_deg":75.6618048,"latitude_deg":11.9588432,"altitude":36,"angle":112,"satellites":24,"speed":34,"hex_longitude":"2d191340","hex_latitude":"0720c650","is_valid_coordinates":true} 
[2026-04-28 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000070144001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115384670069194752,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801158406586937344,"note":"Value kept but may cause issues"} 
[2026-04-28 08:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777344032000,"timestamp_ms":1777344032000,"timestamp_seconds":1777344032,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f5ad00"} 
[2026-04-28 08:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:11:48] 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-04-28 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 08:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000070144001,"66":14102,"121":206,"28":31744,"24":34,"16":115384670069194752,"45":1801158406586937344},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000070144001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:11:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115384670069194752,"km_value":115384670069194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801158406586937344,"description":"Unknown IO ID 45"} 
[2026-04-28 08:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000070144001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1801158406586937344}} 
[2026-04-28 08:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":56359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:11:48] local.INFO: GPS data processed {"connection_id":56359,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:11:48] local.INFO: Acknowledgment sent {"connection_id":56359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:11:54] local.INFO: TCP Data received {"connection_id":57102,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:54] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:11:54] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:12:00] local.INFO: TCP Data received {"connection_id":57102,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:00] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:00] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:12:02] local.INFO: TCP Data received {"connection_id":57102,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:12:02] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f245e8012d7faa4005afdf10001800ae26..."} 
[2026-04-28 08:12:02] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:12:02] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f2"} 
[2026-04-28 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":24,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454999938048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777343809000,"timestamp_ms":1777343809000,"timestamp_seconds":1777343809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f245e8"} 
[2026-04-28 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 08:12: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-04-28 08:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454999938048001,"66":25473,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454999938048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:12:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:12:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454999938048001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:12:02] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:12:02] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:12:10] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:10] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:10] local.INFO: IMEI packet received {"connection_id":56361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":56361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:12:15] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:15] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:12:15] local.INFO: IMEI packet received {"connection_id":56361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":56361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:12:16] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f5d7f8012d1935800720b858001f007918..."} 
[2026-04-28 08:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f5d7f8012d1935800720b858001f007918..."} 
[2026-04-28 08:12:16] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f5d7f8012d1935800720b858001f007918..."} 
[2026-04-28 08:12:16] local.INFO: Packet analysis {"connection_id":56361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:12:16] local.INFO: Extracted packet for processing {"connection_id":56361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f5"} 
[2026-04-28 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756626816,"raw_latitude":119584856,"longitude_deg":75.6626816,"latitude_deg":11.9584856,"altitude":31,"angle":121,"satellites":24,"speed":28,"hex_longitude":"2d193580","hex_latitude":"0720b858","is_valid_coordinates":true} 
[2026-04-28 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000072192001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115385121040760832,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806858274864517120,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12: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-04-28 08:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777344043000,"timestamp_ms":1777344043000,"timestamp_seconds":1777344043,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f5d7f8"} 
[2026-04-28 08:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 08:12:16] 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-04-28 08:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000072192001,"66":14157,"121":206,"28":31744,"24":28,"16":115385121040760832,"45":1806858274864517120},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000072192001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:12:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115385121040760832,"km_value":115385121040760.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806858274864517120,"description":"Unknown IO ID 45"} 
[2026-04-28 08:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000072192001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1806858274864517120}} 
[2026-04-28 08:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":56361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:12:16] local.INFO: GPS data processed {"connection_id":56361,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:12:16] local.INFO: Acknowledgment sent {"connection_id":56361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:12:33] local.INFO: TCP Data received {"connection_id":57102,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:12:33] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:12:33] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:12:33] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:12:33] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:12:33] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:12:48] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6f908012d19bcc00720a5e8002b00b118..."} 
[2026-04-28 08:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6f908012d19bcc00720a5e8002b00b118..."} 
[2026-04-28 08:12:48] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6f908012d19bcc00720a5e8002b00b118..."} 
[2026-04-28 08:12:48] local.INFO: Packet analysis {"connection_id":56361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:12:48] local.INFO: Extracted packet for processing {"connection_id":56361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580136,"longitude_deg":75.666144,"latitude_deg":11.9580136,"altitude":43,"angle":177,"satellites":24,"speed":0,"hex_longitude":"2d19bcc0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000088576001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386877682384896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652159074304,"note":"Value kept but may cause issues"} 
[2026-04-28 08:12: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-04-28 08:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777344117000,"timestamp_ms":1777344117000,"timestamp_seconds":1777344117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6f908"} 
[2026-04-28 08:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-28 08:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000088576001,"66":13852,"121":206,"28":31744,"24":0,"16":115386877682384896,"45":1854638652159074304},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000088576001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:12:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386877682384896,"km_value":115386877682384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652159074304,"description":"Unknown IO ID 45"} 
[2026-04-28 08:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000088576001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1854638652159074304}} 
[2026-04-28 08:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":56361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:12:48] local.INFO: GPS data processed {"connection_id":56361,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:12:48] local.INFO: Acknowledgment sent {"connection_id":56361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:12:54] local.INFO: TCP Data received {"connection_id":57103,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:54] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:12:54] local.INFO: IMEI packet received {"connection_id":57103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":57103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:13:00] local.INFO: TCP Data received {"connection_id":57103,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:00] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:00] local.INFO: IMEI packet received {"connection_id":57103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":57103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:13:00] local.INFO: TCP Data received {"connection_id":57103,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:00] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:00] local.INFO: Packet analysis {"connection_id":57103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:13:00] local.INFO: Extracted packet for processing {"connection_id":57103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:13: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-04-28 08:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:13:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":57103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:13:00] local.INFO: GPS data processed {"connection_id":57103,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:13:00] local.INFO: Acknowledgment sent {"connection_id":57103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:13:10] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:13:10] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:10] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:13:14] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:14] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:14] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:13:15] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:15] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:13:15] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:13:16] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f74b10012d19bcc00720a5e8002b00b11a..."} 
[2026-04-28 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f74b10012d19bcc00720a5e8002b00b11a..."} 
[2026-04-28 08:13:16] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f74b10012d19bcc00720a5e8002b00b11a..."} 
[2026-04-28 08:13:16] local.INFO: Packet analysis {"connection_id":56434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:16] local.INFO: Extracted packet for processing {"connection_id":56434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580136,"longitude_deg":75.666144,"latitude_deg":11.9580136,"altitude":43,"angle":177,"satellites":26,"speed":0,"hex_longitude":"2d19bcc0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-04-28 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000093952001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386877682384896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414849536,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13: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-04-28 08:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777344138000,"timestamp_ms":1777344138000,"timestamp_seconds":1777344138,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f74b10"} 
[2026-04-28 08:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 08:13:16] 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-04-28 08:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000093952001,"66":13863,"121":206,"28":31744,"24":0,"16":115386877682384896,"45":1854568283414849536},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000093952001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:13:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386877682384896,"km_value":115386877682384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414849536,"description":"Unknown IO ID 45"} 
[2026-04-28 08:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000093952001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1854568283414849536}} 
[2026-04-28 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":56434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:13:16] local.INFO: GPS data processed {"connection_id":56434,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:13:16] local.INFO: Acknowledgment sent {"connection_id":56434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:13:21] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f79d18012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f79d18012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:21] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f79d18012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:21] local.INFO: Packet analysis {"connection_id":56434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:21] local.INFO: Extracted packet for processing {"connection_id":56434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580136,"longitude_deg":75.666144,"latitude_deg":11.9580136,"altitude":43,"angle":177,"satellites":27,"speed":0,"hex_longitude":"2d19bcc0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000099328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386877682384896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414849536,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:21] 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-04-28 08:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777344159000,"timestamp_ms":1777344159000,"timestamp_seconds":1777344159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f79d18"} 
[2026-04-28 08:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-28 08:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000099328001,"66":13820,"121":206,"28":31744,"24":0,"16":115386877682384896,"45":1854568283414849536},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000099328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:13:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386877682384896,"km_value":115386877682384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414849536,"description":"Unknown IO ID 45"} 
[2026-04-28 08:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000099328001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1854568283414849536}} 
[2026-04-28 08:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":56434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:13:21] local.INFO: GPS data processed {"connection_id":56434,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:13:21] local.INFO: Acknowledgment sent {"connection_id":56434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:13:32] local.INFO: TCP Data received {"connection_id":57103,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:32] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:13:32] local.INFO: Packet analysis {"connection_id":57103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:13:32] local.INFO: Extracted packet for processing {"connection_id":57103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:13: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-04-28 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:13: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-04-28 08:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":57103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:13:32] local.INFO: GPS data processed {"connection_id":57103,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:13:32] local.INFO: Acknowledgment sent {"connection_id":57103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:13:52] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f7ef20012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f7ef20012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:52] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f7ef20012d19bcc00720a5e8002b00b11b..."} 
[2026-04-28 08:13:52] local.INFO: Packet analysis {"connection_id":56434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:52] local.INFO: Extracted packet for processing {"connection_id":56434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f7"} 
[2026-04-28 08:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580136,"longitude_deg":75.666144,"latitude_deg":11.9580136,"altitude":43,"angle":177,"satellites":27,"speed":0,"hex_longitude":"2d19bcc0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000104704001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386877682384896,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414849536,"note":"Value kept but may cause issues"} 
[2026-04-28 08:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777344180000,"timestamp_ms":1777344180000,"timestamp_seconds":1777344180,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f7ef20"} 
[2026-04-28 08:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 08:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000104704001,"66":13439,"121":206,"28":31744,"24":0,"16":115386877682384896,"45":1854568283414849536},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000104704001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:13:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386877682384896,"km_value":115386877682384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414849536,"description":"Unknown IO ID 45"} 
[2026-04-28 08:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000104704001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1854568283414849536}} 
[2026-04-28 08:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":56434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:13:52] local.INFO: GPS data processed {"connection_id":56434,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:13:52] local.INFO: Acknowledgment sent {"connection_id":56434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:13:54] local.INFO: TCP Data received {"connection_id":57104,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:54] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:13:54] local.INFO: IMEI packet received {"connection_id":57104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":57104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:14:00] local.INFO: TCP Data received {"connection_id":57104,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:14:00] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:14:00] local.INFO: IMEI packet received {"connection_id":57104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":57104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:14:00] local.INFO: TCP Data received {"connection_id":57104,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:00] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:00] local.INFO: Packet analysis {"connection_id":57104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:14:00] local.INFO: Extracted packet for processing {"connection_id":57104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":57104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:01] local.INFO: GPS data processed {"connection_id":57104,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:01] local.INFO: Acknowledgment sent {"connection_id":57104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:14:14] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:14:14] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:14:14] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:14:15] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:14:15] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:14:15] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:14:20] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:14:20] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:14:20] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:14:20] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f80e60012d19bcc00720a408002a00ce1d..."} 
[2026-04-28 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f80e60012d19bcc00720a408002a00ce1d..."} 
[2026-04-28 08:14:20] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd1..."} 
[2026-04-28 08:14:20] local.INFO: IMEI packet received {"connection_id":56216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":56216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:14:21] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f81e00012d19ba000720a0d0002a00db1d..."} 
[2026-04-28 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f81e00012d19ba000720a0d0002a00db1d..."} 
[2026-04-28 08:14:21] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd1f80e60012d19bcc00720a408002a00ce1d..."} 
[2026-04-28 08:14:21] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:21] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119579656,"longitude_deg":75.666144,"latitude_deg":11.9579656,"altitude":42,"angle":206,"satellites":29,"speed":4,"hex_longitude":"2d19bcc0","hex_latitude":"0720a408","is_valid_coordinates":true} 
[2026-04-28 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000110080001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386899157221376,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414849536,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] 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-04-28 08:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777344188000,"timestamp_ms":1777344188000,"timestamp_seconds":1777344188,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f80e60"} 
[2026-04-28 08:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:21] 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-04-28 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000110080001,"66":14102,"121":206,"28":31744,"24":4,"16":115386899157221376,"45":1854568283414849536},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000110080001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386899157221376,"km_value":115386899157221.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414849536,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000110080001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1854568283414849536}} 
[2026-04-28 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:21] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:21] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:14:21] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:21] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119578832,"longitude_deg":75.6660736,"latitude_deg":11.9578832,"altitude":42,"angle":219,"satellites":29,"speed":14,"hex_longitude":"2d19ba00","hex_latitude":"0720a0d0","is_valid_coordinates":true} 
[2026-04-28 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000112128001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115386950696828928,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414726656,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:21] 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-04-28 08:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777344192000,"timestamp_ms":1777344192000,"timestamp_seconds":1777344192,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f81e00"} 
[2026-04-28 08:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:21] 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-04-28 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000112128001,"66":14211,"121":206,"28":31744,"24":14,"16":115386950696828928,"45":1854568283414726656},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000112128001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115386950696828928,"km_value":115386950696828.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414726656,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000112128001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1854568283414726656}} 
[2026-04-28 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:21] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:21] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:14:22] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f83d40012d19aec0072091f8002900c41d..."} 
[2026-04-28 08:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f83d40012d19aec0072091f8002900c41d..."} 
[2026-04-28 08:14:22] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f83d40012d19aec0072091f8002900c41d..."} 
[2026-04-28 08:14:22] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:22] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f8"} 
[2026-04-28 08:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119575032,"longitude_deg":75.6657856,"latitude_deg":11.9575032,"altitude":41,"angle":196,"satellites":29,"speed":27,"hex_longitude":"2d19aec0","hex_latitude":"072091f8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000113152001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115387182625062912,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228561408,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14: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-04-28 08:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777344200000,"timestamp_ms":1777344200000,"timestamp_seconds":1777344200,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f83d40"} 
[2026-04-28 08:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:22] 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-04-28 08: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000113152001,"66":14004,"121":206,"28":31744,"24":27,"16":115387182625062912,"45":1853794227228561408},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000113152001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115387182625062912,"km_value":115387182625062.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228561408,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000113152001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1853794227228561408}} 
[2026-04-28 08:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:22] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:22] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:14:32] local.INFO: TCP Data received {"connection_id":57104,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:32] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:14:32] local.INFO: Packet analysis {"connection_id":57104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:14:32] local.INFO: Extracted packet for processing {"connection_id":57104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":57104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:32] local.INFO: GPS data processed {"connection_id":57104,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:32] local.INFO: Acknowledgment sent {"connection_id":57104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:14:53] local.INFO: TCP Data received {"connection_id":56216,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f92b88012d19f0c0071ffc18002500541d..."} 
[2026-04-28 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f92b88012d19f0c0071ffc18002500541d..."} 
[2026-04-28 08:14:53] local.INFO: Processing buffer {"connection_id":56216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f92b88012d19f0c0071ffc18002500541d..."} 
[2026-04-28 08:14:53] local.INFO: Packet analysis {"connection_id":56216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:14:53] local.INFO: Extracted packet for processing {"connection_id":56216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756674752,"raw_latitude":119536664,"longitude_deg":75.6674752,"latitude_deg":11.9536664,"altitude":37,"angle":84,"satellites":29,"speed":22,"hex_longitude":"2d19f0c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-04-28 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000130560001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115389321518776320,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868571663495075840,"note":"Value kept but may cause issues"} 
[2026-04-28 08:14: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-04-28 08:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777344261000,"timestamp_ms":1777344261000,"timestamp_seconds":1777344261,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f92b88"} 
[2026-04-28 08:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:14:53] 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-04-28 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 08:14:53] 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-04-28 08:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000130560001,"66":13080,"121":206,"28":31744,"24":22,"16":115389321518776320,"45":1868571663495075840},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000130560001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:14:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115389321518776320,"km_value":115389321518776.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868571663495075840,"description":"Unknown IO ID 45"} 
[2026-04-28 08:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000130560001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1868571663495075840}} 
[2026-04-28 08:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":56216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:14:54] local.INFO: GPS data processed {"connection_id":56216,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:14:54] local.INFO: Acknowledgment sent {"connection_id":56216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:00] local.INFO: TCP Data received {"connection_id":56435,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:00] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:00] local.INFO: IMEI packet received {"connection_id":56435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":56435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:15:05] local.INFO: TCP Data received {"connection_id":56435,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:05] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:05] local.INFO: IMEI packet received {"connection_id":56435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":56435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:15:05] local.INFO: TCP Data received {"connection_id":56435,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:06] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:06] local.INFO: Packet analysis {"connection_id":56435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:15:06] local.INFO: Extracted packet for processing {"connection_id":56435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":56435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:06] local.INFO: GPS data processed {"connection_id":56435,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:06] local.INFO: Acknowledgment sent {"connection_id":56435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:10] local.INFO: TCP Data received {"connection_id":57106,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:10] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:10] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:15:10] local.INFO: TCP Data received {"connection_id":56435,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:10] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:15:10] local.INFO: Packet analysis {"connection_id":56435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:15:10] local.INFO: Extracted packet for processing {"connection_id":56435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:15:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":56435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:10] local.INFO: GPS data processed {"connection_id":56435,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:10] local.INFO: Acknowledgment sent {"connection_id":56435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:11] local.INFO: TCP Data received {"connection_id":57106,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:11] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:11] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:15:15] local.INFO: TCP Data received {"connection_id":57106,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:15] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:15:15] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:15:16] local.INFO: TCP Data received {"connection_id":57106,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f93f10012d19f880071ffd40002500601d..."} 
[2026-04-28 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f93f10012d19f880071ffd40002500601d..."} 
[2026-04-28 08:15:16] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f93f10012d19f880071ffd40002500601d..."} 
[2026-04-28 08:15:16] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:16] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756676736,"raw_latitude":119536960,"longitude_deg":75.6676736,"latitude_deg":11.953696,"altitude":37,"angle":96,"satellites":29,"speed":8,"hex_longitude":"2d19f880","hex_latitude":"071ffd40","is_valid_coordinates":true} 
[2026-04-28 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000130816001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115389420303024128,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869204982192674816,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15: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-04-28 08:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777344266000,"timestamp_ms":1777344266000,"timestamp_seconds":1777344266,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f93f10"} 
[2026-04-28 08:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 08:15:16] 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-04-28 08:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000130816001,"66":13961,"121":206,"28":31744,"24":8,"16":115389420303024128,"45":1869204982192674816},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000130816001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115389420303024128,"km_value":115389420303024.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869204982192674816,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000130816001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1869204982192674816}} 
[2026-04-28 08:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:16] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:16] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:22] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:15:22] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:15:22] local.INFO: IMEI packet received {"connection_id":57107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":57107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:15:23] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f9c3e0012d79af0005e7ffd0000000a726..."} 
[2026-04-28 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f9c3e0012d79af0005e7ffd0000000a726..."} 
[2026-04-28 08:15:23] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f9c3e0012d79af0005e7ffd0000000a726..."} 
[2026-04-28 08:15:23] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:23] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":762949376,"raw_latitude":99090384,"longitude_deg":76.2949376,"latitude_deg":9.9090384,"altitude":0,"angle":167,"satellites":38,"speed":26,"hex_longitude":"2d79af00","hex_latitude":"05e7ffd0","is_valid_coordinates":true} 
[2026-04-28 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000138240001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76889453720764416,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8764778956417693696,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15: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-04-28 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777344300000,"timestamp_ms":1777344300000,"timestamp_seconds":1777344300,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f9c3e0"} 
[2026-04-28 08:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 08:15: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-04-28 08:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000138240001,"66":12613,"202":206,"87":13824,"24":26,"16":76889453720764416,"45":8764778956417693696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000138240001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76889453720764416,"km_value":76889453720764.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8764778956417693696,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000138240001,"power":12613,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8764778956417693696}} 
[2026-04-28 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:23] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:23] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:48] local.INFO: TCP Data received {"connection_id":57106,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f98d30012d19fa00071ffd10002500691f..."} 
[2026-04-28 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f98d30012d19fa00071ffd10002500691f..."} 
[2026-04-28 08:15:48] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f98d30012d19fa00071ffd10002500691f..."} 
[2026-04-28 08:15:48] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:48] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119536912,"longitude_deg":75.667712,"latitude_deg":11.9536912,"altitude":37,"angle":105,"satellites":31,"speed":0,"hex_longitude":"2d19fa00","hex_latitude":"071ffd10","is_valid_coordinates":true} 
[2026-04-28 08:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000132096001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115389437482893312,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871386413262258176,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15: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-04-28 08:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777344286000,"timestamp_ms":1777344286000,"timestamp_seconds":1777344286,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f98d30"} 
[2026-04-28 08:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 08:15:48] 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-04-28 08:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000132096001,"66":13820,"121":206,"28":31744,"24":0,"16":115389437482893312,"45":1871386413262258176},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000132096001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115389437482893312,"km_value":115389437482893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871386413262258176,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000132096001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1871386413262258176}} 
[2026-04-28 08:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:48] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:48] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:15:54] local.INFO: TCP Data received {"connection_id":57108,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:54] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:15:54] local.INFO: IMEI packet received {"connection_id":57108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":57108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:15:54] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f9cbb0012d79af8005e7fa18000000b426..."} 
[2026-04-28 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f9cbb0012d79af8005e7fa18000000b426..."} 
[2026-04-28 08:15:54] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f9cbb0012d79af8005e7fa18000000b426..."} 
[2026-04-28 08:15:54] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:54] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":762949504,"raw_latitude":99088920,"longitude_deg":76.2949504,"latitude_deg":9.908892,"altitude":0,"angle":180,"satellites":38,"speed":31,"hex_longitude":"2d79af80","hex_latitude":"05e7fa18","is_valid_coordinates":true} 
[2026-04-28 08:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000140800001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76889526735208448,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768227024880783360,"note":"Value kept but may cause issues"} 
[2026-04-28 08:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777344302000,"timestamp_ms":1777344302000,"timestamp_seconds":1777344302,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f9cbb0"} 
[2026-04-28 08:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:15: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-04-28 08:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 08:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000140800001,"66":13526,"201":206,"87":13824,"24":31,"16":76889526735208448,"45":8768227024880783360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000140800001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:15:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76889526735208448,"km_value":76889526735208.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768227024880783360,"description":"Unknown IO ID 45"} 
[2026-04-28 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000140800001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8768227024880783360}} 
[2026-04-28 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:15:54] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:15:54] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:00] local.INFO: TCP Data received {"connection_id":57108,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:00] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:00] local.INFO: IMEI packet received {"connection_id":57108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":57108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:16:01] local.INFO: TCP Data received {"connection_id":57108,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:01] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:01] local.INFO: Packet analysis {"connection_id":57108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:16:01] local.INFO: Extracted packet for processing {"connection_id":57108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:16:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":57108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:01] local.INFO: GPS data processed {"connection_id":57108,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:01] local.INFO: Acknowledgment sent {"connection_id":57108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:10] local.INFO: TCP Data received {"connection_id":56218,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:10] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:10] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:16:13] local.INFO: TCP Data received {"connection_id":56364,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:13] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:13] local.INFO: IMEI packet received {"connection_id":56364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":56364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:16:13] local.INFO: TCP Data received {"connection_id":56218,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:13] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:16:13] local.INFO: IMEI packet received {"connection_id":56218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":56218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:16:15] local.INFO: TCP Data received {"connection_id":56218,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f9df38012d19fa00071ffd100025006920..."} 
[2026-04-28 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f9df38012d19fa00071ffd100025006920..."} 
[2026-04-28 08:16:15] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f9df38012d19fa00071ffd100025006920..."} 
[2026-04-28 08:16:15] local.INFO: Packet analysis {"connection_id":56218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:16:15] local.INFO: Extracted packet for processing {"connection_id":56218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119536912,"longitude_deg":75.667712,"latitude_deg":11.9536912,"altitude":37,"angle":105,"satellites":32,"speed":0,"hex_longitude":"2d19fa00","hex_latitude":"071ffd10","is_valid_coordinates":true} 
[2026-04-28 08:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000137216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115389437482893312,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625727311872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16: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-04-28 08:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777344307000,"timestamp_ms":1777344307000,"timestamp_seconds":1777344307,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f9df38"} 
[2026-04-28 08:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:16:15] 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-04-28 08:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 08:16:15] 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-04-28 08:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000137216001,"66":14135,"121":206,"28":31744,"24":0,"16":115389437482893312,"45":1871808625727311872},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000137216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115389437482893312,"km_value":115389437482893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625727311872,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000137216001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1871808625727311872}} 
[2026-04-28 08:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":56218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:15] local.INFO: GPS data processed {"connection_id":56218,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:15] local.INFO: Acknowledgment sent {"connection_id":56218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:18] local.INFO: TCP Data received {"connection_id":56364,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:18] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:16:18] local.INFO: IMEI packet received {"connection_id":56364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":56364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:16:19] local.INFO: TCP Data received {"connection_id":56364,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f9f6a8012d79b14005e7da38000000a726..."} 
[2026-04-28 08:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f9f6a8012d79b14005e7da38000000a726..."} 
[2026-04-28 08:16:19] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f9f6a8012d79b14005e7da38000000a726..."} 
[2026-04-28 08:16:19] local.INFO: Packet analysis {"connection_id":56364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:16:19] local.INFO: Extracted packet for processing {"connection_id":56364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f9"} 
[2026-04-28 08:16:19] local.INFO: GPS Element Parsed {"raw_longitude":762949952,"raw_latitude":99080760,"longitude_deg":76.2949952,"latitude_deg":9.908076,"altitude":0,"angle":167,"satellites":38,"speed":32,"hex_longitude":"2d79b140","hex_latitude":"05e7da38","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000141312001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76889921872199680,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768367762368763904,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777344313000,"timestamp_ms":1777344313000,"timestamp_seconds":1777344313,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f9f6a8"} 
[2026-04-28 08:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:16:19] 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-04-28 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 08:16: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-04-28 08: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-04-28 08:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000141312001,"66":13319,"201":206,"87":13824,"24":32,"16":76889921872199680,"45":8768367762368763904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000141312001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:16:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76889921872199680,"km_value":76889921872199.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768367762368763904,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000141312001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8768367762368763904}} 
[2026-04-28 08:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":56364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:19] local.INFO: GPS data processed {"connection_id":56364,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:19] local.INFO: Acknowledgment sent {"connection_id":56364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:33] local.INFO: TCP Data received {"connection_id":57108,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:33] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:16:33] local.INFO: Packet analysis {"connection_id":57108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:16:33] local.INFO: Extracted packet for processing {"connection_id":57108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":57108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:33] local.INFO: GPS data processed {"connection_id":57108,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:33] local.INFO: Acknowledgment sent {"connection_id":57108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:47] local.INFO: TCP Data received {"connection_id":56218,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fa2d58012d19fa00071ffd100025006921..."} 
[2026-04-28 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fa2d58012d19fa00071ffd100025006921..."} 
[2026-04-28 08:16:47] local.INFO: Processing buffer {"connection_id":56218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fa2d58012d19fa00071ffd100025006921..."} 
[2026-04-28 08:16:47] local.INFO: Packet analysis {"connection_id":56218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:16:47] local.INFO: Extracted packet for processing {"connection_id":56218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119536912,"longitude_deg":75.667712,"latitude_deg":11.9536912,"altitude":37,"angle":105,"satellites":33,"speed":0,"hex_longitude":"2d19fa00","hex_latitude":"071ffd10","is_valid_coordinates":true} 
[2026-04-28 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000142592001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115389437482893312,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625727311872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16: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-04-28 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777344327000,"timestamp_ms":1777344327000,"timestamp_seconds":1777344327,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fa2d58"} 
[2026-04-28 08:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:16:47] 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-04-28 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-28 08:16:47] 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-04-28 08:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000142592001,"66":14102,"121":206,"28":31744,"24":0,"16":115389437482893312,"45":1871808625727311872},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000142592001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115389437482893312,"km_value":115389437482893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625727311872,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000142592001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1871808625727311872}} 
[2026-04-28 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":56218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:47] local.INFO: GPS data processed {"connection_id":56218,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:47] local.INFO: Acknowledgment sent {"connection_id":56218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:50] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:16:50] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:16:50] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:16:50] local.INFO: TCP Data received {"connection_id":56364,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fa2588012d79b90005e7b6a0000000af25..."} 
[2026-04-28 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fa2588012d79b90005e7b6a0000000af25..."} 
[2026-04-28 08:16:51] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fa2588012d79b90005e7b6a0000000af25..."} 
[2026-04-28 08:16:51] local.INFO: Packet analysis {"connection_id":56364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:16:51] local.INFO: Extracted packet for processing {"connection_id":56364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":762951936,"raw_latitude":99071648,"longitude_deg":76.2951936,"latitude_deg":9.9071648,"altitude":0,"angle":175,"satellites":37,"speed":30,"hex_longitude":"2d79b900","hex_latitude":"05e7b6a0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000144128001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76890377138733056,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768860343575918592,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777344325000,"timestamp_ms":1777344325000,"timestamp_seconds":1777344325,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fa2588"} 
[2026-04-28 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-04-28 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3522766752,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4186011649,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":232,"raw_value":8624393307898717440,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768213198,"corrected_to":0} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2952867193,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2147870802,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3899832320,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2292333505155350533,"note":"Value kept but may cause issues"} 
[2026-04-28 08:16:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,87,24,241,157,16,42,203,45,128,250,38,10,66,195,255,202,156,192,1,240,29,227,209,232,4,113,205,31,78,145,8,239,52,2,17,5,26,160,249],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768213198,"validated":0}]} 
[2026-04-28 08:16:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":183781652692992,"timestamp_seconds":183781652692.992,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 08:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000144128001,"66":13602,"201":206,"87":13824,"24":30,"16":76890377138733056,"45":8768860343575918592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-28 08:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000144128001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:16:51] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-28 08:16:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76890377138733056,"km_value":76890377138733.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768860343575918592,"description":"Unknown IO ID 45"} 
[2026-04-28 08:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000144128001,"power":13602,"unknown_201":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8768860343575918592}} 
[2026-04-28 08:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":56364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:16:51] local.INFO: GPS data processed {"connection_id":56364,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:16:51] local.INFO: Acknowledgment sent {"connection_id":56364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:16:54] local.INFO: TCP Data received {"connection_id":56437,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:54] local.INFO: Processing buffer {"connection_id":56437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:16:54] local.INFO: IMEI packet received {"connection_id":56437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":56437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:17:00] local.INFO: TCP Data received {"connection_id":56437,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:17:00] local.INFO: Processing buffer {"connection_id":56437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:17:00] local.INFO: IMEI packet received {"connection_id":56437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:17:01] local.INFO: TCP Data received {"connection_id":56437,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:17:01] local.INFO: Processing buffer {"connection_id":56437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1f6ddb0012d7faa4005afdf10002100ae24..."} 
[2026-04-28 08:17:01] local.INFO: Packet analysis {"connection_id":56437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:17:01] local.INFO: Extracted packet for processing {"connection_id":56437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1f6"} 
[2026-04-28 08:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000015104001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344110000,"timestamp_ms":1777344110000,"timestamp_seconds":1777344110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1f6ddb0"} 
[2026-04-28 08:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 08:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000015104001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000015104001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:17:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000015104001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":56437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:01] local.INFO: GPS data processed {"connection_id":56437,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:01] local.INFO: Acknowledgment sent {"connection_id":56437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:17:11] local.INFO: TCP Data received {"connection_id":57109,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:11] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:11] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:17:12] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:12] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:12] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:17:13] local.INFO: TCP Data received {"connection_id":57109,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:13] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:13] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:17:15] local.INFO: TCP Data received {"connection_id":57109,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:15] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:17:15] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:17:15] local.INFO: TCP Data received {"connection_id":57109,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7d48012d1a8c00071fb0100036008d21..."} 
[2026-04-28 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7d48012d1a8c00071fb0100036008d21..."} 
[2026-04-28 08:17:15] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7d48012d1a8c00071fb0100036008d21..."} 
[2026-04-28 08:17:15] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:15] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119517200,"longitude_deg":75.6714496,"latitude_deg":11.95172,"altitude":54,"angle":141,"satellites":33,"speed":38,"hex_longitude":"2d1a8c00","hex_latitude":"071fb010","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000167168001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115391546311835648,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907204104045568000,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17: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-04-28 08:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777344413000,"timestamp_ms":1777344413000,"timestamp_seconds":1777344413,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7d48"} 
[2026-04-28 08:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17:15] 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-04-28 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 08:17:15] 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-04-28 08: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-04-28 08:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000167168001,"66":14233,"121":206,"28":31744,"24":38,"16":115391546311835648,"45":1907204104045568000},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000167168001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115391546311835648,"km_value":115391546311835.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907204104045568000,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000167168001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1907204104045568000}} 
[2026-04-28 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:16] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:16] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:17:17] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:17] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:17:17] local.INFO: IMEI packet received {"connection_id":56219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":56219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:17:18] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fa5080012d79b98005e79218000000b626..."} 
[2026-04-28 08:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fa5080012d79b98005e79218000000b626..."} 
[2026-04-28 08:17:18] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fa5080012d79b98005e79218000000b626..."} 
[2026-04-28 08:17:18] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:17:18] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:17:18] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99062296,"longitude_deg":76.2952064,"latitude_deg":9.9062296,"altitude":0,"angle":182,"satellites":38,"speed":32,"hex_longitude":"2d79b980","hex_latitude":"05e79218","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000147200001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76890832405266432,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771041774643093504,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:18] 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-04-28 08:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777344336000,"timestamp_ms":1777344336000,"timestamp_seconds":1777344336,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fa5080"} 
[2026-04-28 08:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17: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-04-28 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 08:17: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-04-28 08: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-04-28 08:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000147200001,"66":13363,"202":206,"87":13824,"24":32,"16":76890832405266432,"45":8771041774643093504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000147200001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76890832405266432,"km_value":76890832405266.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771041774643093504,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000147200001,"power":13363,"mcc":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8771041774643093504}} 
[2026-04-28 08:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:18] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:18] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:17:19] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fa8348012d79b68005e76cc8000000b926..."} 
[2026-04-28 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fa8348012d79b68005e76cc8000000b926..."} 
[2026-04-28 08:17:19] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fa8348012d79b68005e76cc8000000b926..."} 
[2026-04-28 08:17:19] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:17:19] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:17:19] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99052744,"longitude_deg":76.2951296,"latitude_deg":9.9052744,"altitude":0,"angle":185,"satellites":38,"speed":30,"hex_longitude":"2d79b680","hex_latitude":"05e76cc8","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000150016001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76891296261734400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129054720,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:19] 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-04-28 08:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777344349000,"timestamp_ms":1777344349000,"timestamp_seconds":1777344349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fa8348"} 
[2026-04-28 08:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17:19] 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-04-28 08:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-28 08:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000150016001,"66":13624,"202":206,"87":13824,"24":30,"16":76891296261734400,"45":8771182512129054720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000150016001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76891296261734400,"km_value":76891296261734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129054720,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000150016001,"power":13624,"mcc":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8771182512129054720}} 
[2026-04-28 08:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:19] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:19] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:17:32] local.INFO: TCP Data received {"connection_id":56437,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:17:32] local.INFO: Processing buffer {"connection_id":56437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:17:32] local.INFO: Packet analysis {"connection_id":56437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:32] local.INFO: Extracted packet for processing {"connection_id":56437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:17:32] 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-04-28 08: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-04-28 08:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":56437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:32] local.INFO: GPS data processed {"connection_id":56437,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:32] local.INFO: Acknowledgment sent {"connection_id":56437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:17:35] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:17:35] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:17:35] local.INFO: IMEI packet received {"connection_id":56365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:17:48] local.INFO: TCP Data received {"connection_id":57109,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fbeaa8012d1ac6c0071f85180033007421..."} 
[2026-04-28 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fbeaa8012d1ac6c0071f85180033007421..."} 
[2026-04-28 08:17:48] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fbeaa8012d1ac6c0071f85180033007421..."} 
[2026-04-28 08:17:48] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:48] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119506200,"longitude_deg":75.6729536,"latitude_deg":11.95062,"altitude":51,"angle":116,"satellites":33,"speed":8,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8518","is_valid_coordinates":true} 
[2026-04-28 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000176640001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115392512679477248,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520968452096,"note":"Value kept but may cause issues"} 
[2026-04-28 08:17: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-04-28 08:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777344441000,"timestamp_ms":1777344441000,"timestamp_seconds":1777344441,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fbeaa8"} 
[2026-04-28 08:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:17:48] 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-04-28 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-28 08:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000176640001,"66":13276,"121":206,"28":31744,"24":8,"16":115392512679477248,"45":1929229520968452096},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000176640001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:17:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115392512679477248,"km_value":115392512679477.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520968452096,"description":"Unknown IO ID 45"} 
[2026-04-28 08:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000176640001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1929229520968452096}} 
[2026-04-28 08:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:17:48] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:17:48] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:18:00] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:00] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:00] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:18:05] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:05] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:05] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:18:06] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:06] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:06] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:18:06] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:18:06] 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-04-28 08:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:18:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:18:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:18:06] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:18:06] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:18:34] local.INFO: TCP Data received {"connection_id":56219,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1faae40012d79b40005e74940000000b526..."} 
[2026-04-28 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1faae40012d79b40005e74940000000b526..."} 
[2026-04-28 08:18:34] local.INFO: Processing buffer {"connection_id":56219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1faae40012d79b40005e74940000000b526..."} 
[2026-04-28 08:18:34] local.INFO: Packet analysis {"connection_id":56219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:18:34] local.INFO: Extracted packet for processing {"connection_id":56219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fa"} 
[2026-04-28 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":762950656,"raw_latitude":99043648,"longitude_deg":76.2950656,"latitude_deg":9.9043648,"altitude":0,"angle":181,"satellites":38,"speed":29,"hex_longitude":"2d79b400","hex_latitude":"05e74940","is_valid_coordinates":true} 
[2026-04-28 08:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000153344001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76891738643365888,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087196477440,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:34] 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-04-28 08:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777344360000,"timestamp_ms":1777344360000,"timestamp_seconds":1777344360,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1faae40"} 
[2026-04-28 08:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 08:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000153344001,"66":13374,"202":206,"87":13824,"24":29,"16":76891738643365888,"45":8770338087196477440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000153344001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:18:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76891738643365888,"km_value":76891738643365.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087196477440,"description":"Unknown IO ID 45"} 
[2026-04-28 08:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000153344001,"power":13374,"mcc":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770338087196477440}} 
[2026-04-28 08:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":56219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:18:34] local.INFO: GPS data processed {"connection_id":56219,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:18:34] local.INFO: Acknowledgment sent {"connection_id":56219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:18:38] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:38] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:18:38] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:18:38] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:18:38] 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-04-28 08:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:18:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:18:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:18:38] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:18:38] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:18:44] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:44] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:44] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:18:45] local.INFO: TCP Data received {"connection_id":57111,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:45] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:45] local.INFO: IMEI packet received {"connection_id":57111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":57111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:18:48] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:48] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:48] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:18:50] local.INFO: TCP Data received {"connection_id":57111,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:50] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:18:50] local.INFO: IMEI packet received {"connection_id":57111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":57111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:18:53] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:53] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:18:53] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:18:54] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:54] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:18:54] local.INFO: IMEI packet received {"connection_id":56438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":56438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:18:54] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fce4a8012d79dd8005e5df60000000bf26..."} 
[2026-04-28 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fce4a8012d79dd8005e5df60000000bf26..."} 
[2026-04-28 08:18:54] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fce4a8012d79dd8005e5df60000000bf26..."} 
[2026-04-28 08:18:54] local.INFO: Packet analysis {"connection_id":57110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fc"} 
[2026-04-28 08:18:54] local.INFO: Extracted packet for processing {"connection_id":57110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fc"} 
[2026-04-28 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762961280,"raw_latitude":98951008,"longitude_deg":76.296128,"latitude_deg":9.8951008,"altitude":0,"angle":191,"satellites":38,"speed":5,"hex_longitude":"2d79dd80","hex_latitude":"05e5df60","is_valid_coordinates":true} 
[2026-04-28 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000191744001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76896282718765056,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780963767541948416,"note":"Value kept but may cause issues"} 
[2026-04-28 08:18:54] 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-04-28 08:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777344505000,"timestamp_ms":1777344505000,"timestamp_seconds":1777344505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fce4a8"} 
[2026-04-28 08:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:18:54] 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-04-28 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 08:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000191744001,"66":13363,"202":206,"87":13824,"24":5,"16":76896282718765056,"45":8780963767541948416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-28 08:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000191744001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 08:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76896282718765056,"km_value":76896282718765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780963767541948416,"description":"Unknown IO ID 45"} 
[2026-04-28 08:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000191744001,"power":13363,"mcc":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8780963767541948416}} 
[2026-04-28 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":57110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:18:54] local.INFO: GPS data processed {"connection_id":57110,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:18:54] local.INFO: Acknowledgment sent {"connection_id":57110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:00] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:00] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:00] local.INFO: IMEI packet received {"connection_id":56438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":56438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:19:01] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:01] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:01] local.INFO: Packet analysis {"connection_id":56438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:19:01] local.INFO: Extracted packet for processing {"connection_id":56438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:19:01] 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-04-28 08:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:19:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:19:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":56438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:19:01] local.INFO: GPS data processed {"connection_id":56438,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:19:01] local.INFO: Acknowledgment sent {"connection_id":56438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:19] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:19] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:19] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:19:22] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:22] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:22] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:19:24] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:24] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:19:24] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:19:32] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:32] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:19:32] local.INFO: Packet analysis {"connection_id":56438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:19:32] local.INFO: Extracted packet for processing {"connection_id":56438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:19:32] 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-04-28 08: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-04-28 08:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":56438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:19:32] local.INFO: GPS data processed {"connection_id":56438,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:19:32] local.INFO: Acknowledgment sent {"connection_id":56438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:39] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd1..."} 
[2026-04-28 08:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd1..."} 
[2026-04-28 08:19:39] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd1..."} 
[2026-04-28 08:19:39] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:19:41] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fd6d60012d1b4a00071f7df80039005821..."} 
[2026-04-28 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fd6d60012d1b4a00071f7df80039005821..."} 
[2026-04-28 08:19:41] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd1fd6978012d1b4840071f7dd00039004621..."} 
[2026-04-28 08:19:41] local.INFO: Packet analysis {"connection_id":57112,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:41] local.INFO: Extracted packet for processing {"connection_id":57112,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119504336,"longitude_deg":75.6762688,"latitude_deg":11.9504336,"altitude":57,"angle":70,"satellites":33,"speed":17,"hex_longitude":"2d1b4840","hex_latitude":"071f7dd0","is_valid_coordinates":true} 
[2026-04-28 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000201728001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115394213486526464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424219392000,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777344539000,"timestamp_ms":1777344539000,"timestamp_seconds":1777344539,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fd6978"} 
[2026-04-28 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":57112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000201728001,"66":14189,"121":206,"28":31744,"24":17,"16":115394213486526464,"45":1965469424219392000},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000201728001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115394213486526464,"km_value":115394213486526.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424219392000,"description":"Unknown IO ID 45"} 
[2026-04-28 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000201728001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1965469424219392000}} 
[2026-04-28 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":57112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:19:41] local.INFO: GPS data processed {"connection_id":57112,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:19:41] local.INFO: Acknowledgment sent {"connection_id":57112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:41] local.INFO: Packet analysis {"connection_id":57112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:41] local.INFO: Extracted packet for processing {"connection_id":57112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756763136,"raw_latitude":119504376,"longitude_deg":75.6763136,"latitude_deg":11.9504376,"altitude":57,"angle":88,"satellites":33,"speed":14,"hex_longitude":"2d1b4a00","hex_latitude":"071f7df8","is_valid_coordinates":true} 
[2026-04-28 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000201984001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115394234961362944,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636684509184,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777344540000,"timestamp_ms":1777344540000,"timestamp_seconds":1777344540,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fd6d60"} 
[2026-04-28 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:19:41] 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-04-28 08:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":57112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000201984001,"66":14189,"121":206,"28":31744,"24":14,"16":115394234961362944,"45":1965891636684509184},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000201984001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115394234961362944,"km_value":115394234961362.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636684509184,"description":"Unknown IO ID 45"} 
[2026-04-28 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000201984001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1965891636684509184}} 
[2026-04-28 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":57112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:19:41] local.INFO: GPS data processed {"connection_id":57112,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:19:41] local.INFO: Acknowledgment sent {"connection_id":57112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:43] local.INFO: TCP Data received {"connection_id":57112,"ip":"117.224.99.52","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fd7148012d1b4b80071f7d700039007021..."} 
[2026-04-28 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fd7148012d1b4b80071f7d700039007021..."} 
[2026-04-28 08:19:43] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fd7148012d1b4b80071f7d700039007021..."} 
[2026-04-28 08:19:43] local.INFO: Packet analysis {"connection_id":57112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:43] local.INFO: Extracted packet for processing {"connection_id":57112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fd"} 
[2026-04-28 08:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756763520,"raw_latitude":119504240,"longitude_deg":75.676352,"latitude_deg":11.950424,"altitude":57,"angle":112,"satellites":33,"speed":14,"hex_longitude":"2d1b4b80","hex_latitude":"071f7d70","is_valid_coordinates":true} 
[2026-04-28 08:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000202240001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115394256436199424,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384217893763072,"note":"Value kept but may cause issues"} 
[2026-04-28 08:19:43] 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-04-28 08:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777344541000,"timestamp_ms":1777344541000,"timestamp_seconds":1777344541,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fd7148"} 
[2026-04-28 08:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:19:43] 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-04-28 08:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:19:43] 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-04-28 08:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000202240001,"66":13722,"121":206,"28":31744,"24":14,"16":115394256436199424,"45":1966384217893763072},"client_ip":"117.224.99.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-28 08:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000202240001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:19:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 08:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 08:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115394256436199424,"km_value":115394256436199.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384217893763072,"description":"Unknown IO ID 45"} 
[2026-04-28 08:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000202240001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1966384217893763072}} 
[2026-04-28 08:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":57112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:19:43] local.INFO: GPS data processed {"connection_id":57112,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:19:43] local.INFO: Acknowledgment sent {"connection_id":57112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:19:54] local.INFO: TCP Data received {"connection_id":56221,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:54] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:19:54] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:20:00] local.INFO: TCP Data received {"connection_id":56221,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:20:00] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:20:00] local.INFO: IMEI packet received {"connection_id":56221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":56221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:20:00] local.INFO: TCP Data received {"connection_id":56221,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:00] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:00] local.INFO: Packet analysis {"connection_id":56221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:20:00] local.INFO: Extracted packet for processing {"connection_id":56221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:20:00] 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-04-28 08: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-04-28 08:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:20:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:20:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":56221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:20:01] local.INFO: GPS data processed {"connection_id":56221,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:20:01] local.INFO: Acknowledgment sent {"connection_id":56221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:20:29] local.INFO: TCP Data received {"connection_id":56439,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:20:29] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:20:29] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:20:31] local.INFO: TCP Data received {"connection_id":56439,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 08:20:31] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 08:20:31] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:20:32] local.INFO: TCP Data received {"connection_id":56439,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:20:32] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 08:20:32] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:20:33] local.INFO: TCP Data received {"connection_id":56221,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:33] local.INFO: Processing buffer {"connection_id":56221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:20:33] local.INFO: Packet analysis {"connection_id":56221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:20:33] local.INFO: Extracted packet for processing {"connection_id":56221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:20:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":56221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:20:33] local.INFO: GPS data processed {"connection_id":56221,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:20:33] local.INFO: Acknowledgment sent {"connection_id":56221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:21:00] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:00] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:00] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:21:05] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:05] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:05] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:21:06] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:06] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:06] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:21:06] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:21:06] 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-04-28 08:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:21:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:21:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:21:06] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:21:06] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:21:12] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:12] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:21:12] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:21:12] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:21:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:21:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:21:12] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:21:12] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:21:55] local.INFO: TCP Data received {"connection_id":57116,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:55] local.INFO: Processing buffer {"connection_id":57116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:21:55] local.INFO: IMEI packet received {"connection_id":57116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":57116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:22:00] local.INFO: TCP Data received {"connection_id":57116,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:00] local.INFO: Processing buffer {"connection_id":57116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:00] local.INFO: IMEI packet received {"connection_id":57116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":57116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:22:01] local.INFO: TCP Data received {"connection_id":57116,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:22:01] local.INFO: Processing buffer {"connection_id":57116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd1fb7578012d7faa4005afdf10001d00ae24..."} 
[2026-04-28 08:22:01] local.INFO: Packet analysis {"connection_id":57116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:22:01] local.INFO: Extracted packet for processing {"connection_id":57116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd1fb"} 
[2026-04-28 08:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000092160001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344411000,"timestamp_ms":1777344411000,"timestamp_seconds":1777344411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd1fb7578"} 
[2026-04-28 08:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:22:01] 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-04-28 08: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-04-28 08:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000092160001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000092160001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:22:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:22:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000092160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":57116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:22:01] local.INFO: GPS data processed {"connection_id":57116,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:22:01] local.INFO: Acknowledgment sent {"connection_id":57116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:22:32] local.INFO: TCP Data received {"connection_id":57116,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:22:32] local.INFO: Processing buffer {"connection_id":57116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:22:32] local.INFO: Packet analysis {"connection_id":57116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:22:32] local.INFO: Extracted packet for processing {"connection_id":57116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:22:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":57116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:22:32] local.INFO: GPS data processed {"connection_id":57116,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:22:32] local.INFO: Acknowledgment sent {"connection_id":57116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:22:54] local.INFO: TCP Data received {"connection_id":56224,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:54] local.INFO: Processing buffer {"connection_id":56224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:22:54] local.INFO: IMEI packet received {"connection_id":56224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":56224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:23:00] local.INFO: TCP Data received {"connection_id":56224,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:23:00] local.INFO: Processing buffer {"connection_id":56224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:23:00] local.INFO: IMEI packet received {"connection_id":56224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:23:00] local.INFO: TCP Data received {"connection_id":56223,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:00] local.INFO: Processing buffer {"connection_id":56223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:00] local.INFO: IMEI packet received {"connection_id":56223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:23:01] local.INFO: TCP Data received {"connection_id":56224,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:01] local.INFO: Processing buffer {"connection_id":56224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:01] local.INFO: Packet analysis {"connection_id":56224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:23:01] local.INFO: Extracted packet for processing {"connection_id":56224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:23:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":56224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:23:01] local.INFO: GPS data processed {"connection_id":56224,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:23:01] local.INFO: Acknowledgment sent {"connection_id":56224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:23:32] local.INFO: TCP Data received {"connection_id":56224,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:32] local.INFO: Processing buffer {"connection_id":56224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:23:32] local.INFO: Packet analysis {"connection_id":56224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:23:32] local.INFO: Extracted packet for processing {"connection_id":56224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":56224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:23:32] local.INFO: GPS data processed {"connection_id":56224,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:23:32] local.INFO: Acknowledgment sent {"connection_id":56224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:23:35] local.INFO: TCP Data received {"connection_id":56369,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:35] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:23:35] local.INFO: IMEI packet received {"connection_id":56369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:24:00] local.INFO: TCP Data received {"connection_id":56225,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:00] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:00] local.INFO: IMEI packet received {"connection_id":56225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":56225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:24:05] local.INFO: TCP Data received {"connection_id":56225,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:05] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:05] local.INFO: IMEI packet received {"connection_id":56225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":56225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:24:06] local.INFO: TCP Data received {"connection_id":56225,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:06] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:06] local.INFO: Packet analysis {"connection_id":56225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:24:06] local.INFO: Extracted packet for processing {"connection_id":56225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:24:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:24:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":56225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:24:06] local.INFO: GPS data processed {"connection_id":56225,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:24:06] local.INFO: Acknowledgment sent {"connection_id":56225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:24:10] local.INFO: TCP Data received {"connection_id":56225,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:10] local.INFO: Processing buffer {"connection_id":56225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:24:10] local.INFO: Packet analysis {"connection_id":56225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:24:10] local.INFO: Extracted packet for processing {"connection_id":56225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":56225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:24:10] local.INFO: GPS data processed {"connection_id":56225,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:24:10] local.INFO: Acknowledgment sent {"connection_id":56225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:24:54] local.INFO: TCP Data received {"connection_id":56441,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:54] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:24:54] local.INFO: IMEI packet received {"connection_id":56441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":56441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:25:00] local.INFO: TCP Data received {"connection_id":56441,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:00] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:00] local.INFO: IMEI packet received {"connection_id":56441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:25:01] local.INFO: TCP Data received {"connection_id":56441,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:01] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:01] local.INFO: Packet analysis {"connection_id":56441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:25:01] local.INFO: Extracted packet for processing {"connection_id":56441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:25:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:25:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:25:01] local.INFO: GPS data processed {"connection_id":56441,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:25:01] local.INFO: Acknowledgment sent {"connection_id":56441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:25:33] local.INFO: TCP Data received {"connection_id":56441,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:33] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:25:33] local.INFO: Packet analysis {"connection_id":56441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:25:33] local.INFO: Extracted packet for processing {"connection_id":56441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:25:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":56441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:25:33] local.INFO: GPS data processed {"connection_id":56441,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:25:33] local.INFO: Acknowledgment sent {"connection_id":56441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:25:54] local.INFO: TCP Data received {"connection_id":56371,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:54] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:25:54] local.INFO: IMEI packet received {"connection_id":56371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":56371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:26:00] local.INFO: TCP Data received {"connection_id":56371,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:00] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:00] local.INFO: IMEI packet received {"connection_id":56371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":56371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:26:02] local.INFO: TCP Data received {"connection_id":56371,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:02] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:02] local.INFO: Packet analysis {"connection_id":56371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:26:02] local.INFO: Extracted packet for processing {"connection_id":56371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:26:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:26:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":56371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:26:02] local.INFO: GPS data processed {"connection_id":56371,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:26:02] local.INFO: Acknowledgment sent {"connection_id":56371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:26:34] local.INFO: TCP Data received {"connection_id":56371,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:34] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:26:34] local.INFO: Packet analysis {"connection_id":56371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:26:34] local.INFO: Extracted packet for processing {"connection_id":56371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:26:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:26:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":56371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:26:34] local.INFO: GPS data processed {"connection_id":56371,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:26:34] local.INFO: Acknowledgment sent {"connection_id":56371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:26:54] local.INFO: TCP Data received {"connection_id":56226,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:54] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:26:54] local.INFO: IMEI packet received {"connection_id":56226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":56226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:27:00] local.INFO: TCP Data received {"connection_id":56226,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:27:00] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:27:00] local.INFO: IMEI packet received {"connection_id":56226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:27:01] local.INFO: TCP Data received {"connection_id":56226,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:27:01] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2000d40012d7faa4005afdf10001400ae27..."} 
[2026-04-28 08:27:01] local.INFO: Packet analysis {"connection_id":56226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:27:01] local.INFO: Extracted packet for processing {"connection_id":56226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd200"} 
[2026-04-28 08:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":20,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000169216001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777344712000,"timestamp_ms":1777344712000,"timestamp_seconds":1777344712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2000d40"} 
[2026-04-28 08:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000169216001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000169216001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:27:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000169216001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":56226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:27:01] local.INFO: GPS data processed {"connection_id":56226,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:27:01] local.INFO: Acknowledgment sent {"connection_id":56226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:27:33] local.INFO: TCP Data received {"connection_id":56226,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:27:33] local.INFO: Processing buffer {"connection_id":56226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:27:33] local.INFO: Packet analysis {"connection_id":56226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:27:33] local.INFO: Extracted packet for processing {"connection_id":56226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":56226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:27:33] local.INFO: GPS data processed {"connection_id":56226,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:27:33] local.INFO: Acknowledgment sent {"connection_id":56226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:28:00] local.INFO: TCP Data received {"connection_id":56227,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:00] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:00] local.INFO: IMEI packet received {"connection_id":56227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":56227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:28:05] local.INFO: TCP Data received {"connection_id":56227,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:05] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:05] local.INFO: IMEI packet received {"connection_id":56227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":56227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:28:06] local.INFO: TCP Data received {"connection_id":56227,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:06] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:06] local.INFO: Packet analysis {"connection_id":56227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:28:06] local.INFO: Extracted packet for processing {"connection_id":56227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:28:06] 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-04-28 08:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:28:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:28:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":56227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:28:06] local.INFO: GPS data processed {"connection_id":56227,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:28:06] local.INFO: Acknowledgment sent {"connection_id":56227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:28:38] local.INFO: TCP Data received {"connection_id":56227,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:38] local.INFO: Processing buffer {"connection_id":56227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:28:38] local.INFO: Packet analysis {"connection_id":56227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:28:38] local.INFO: Extracted packet for processing {"connection_id":56227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:28:38] 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-04-28 08:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:28:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:28:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":56227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:28:38] local.INFO: GPS data processed {"connection_id":56227,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:28:38] local.INFO: Acknowledgment sent {"connection_id":56227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:28:50] local.INFO: TCP Data received {"connection_id":56228,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:28:50] local.INFO: Processing buffer {"connection_id":56228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:28:50] local.INFO: IMEI packet received {"connection_id":56228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":56228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:28:54] local.INFO: TCP Data received {"connection_id":56229,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:54] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:28:54] local.INFO: IMEI packet received {"connection_id":56229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:29:00] local.INFO: TCP Data received {"connection_id":56229,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:00] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:00] local.INFO: IMEI packet received {"connection_id":56229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:29:05] local.INFO: TCP Data received {"connection_id":56229,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:05] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:05] local.INFO: Packet analysis {"connection_id":56229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:29:05] local.INFO: Extracted packet for processing {"connection_id":56229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:29:05] 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-04-28 08: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-04-28 08:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:29:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":56229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:29:05] local.INFO: GPS data processed {"connection_id":56229,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:29:05] local.INFO: Acknowledgment sent {"connection_id":56229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:29:35] local.INFO: TCP Data received {"connection_id":56444,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:29:35] local.INFO: Processing buffer {"connection_id":56444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:29:35] local.INFO: IMEI packet received {"connection_id":56444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:29:37] local.INFO: TCP Data received {"connection_id":56229,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:37] local.INFO: Processing buffer {"connection_id":56229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:29:37] local.INFO: Packet analysis {"connection_id":56229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:29:37] local.INFO: Extracted packet for processing {"connection_id":56229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:29:37] 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-04-28 08: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-04-28 08:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:29:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:29:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":56229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:29:37] local.INFO: GPS data processed {"connection_id":56229,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:29:37] local.INFO: Acknowledgment sent {"connection_id":56229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:29:54] local.INFO: TCP Data received {"connection_id":56230,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:54] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:29:54] local.INFO: IMEI packet received {"connection_id":56230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":56230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:30:00] local.INFO: TCP Data received {"connection_id":56230,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:30:00] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:30:00] local.INFO: IMEI packet received {"connection_id":56230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":56230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:30:01] local.INFO: TCP Data received {"connection_id":56230,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:01] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:01] local.INFO: Packet analysis {"connection_id":56230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:30:01] local.INFO: Extracted packet for processing {"connection_id":56230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:30:01] 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-04-28 08: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-04-28 08:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:30:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:30:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":56230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:30:01] local.INFO: GPS data processed {"connection_id":56230,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:30:01] local.INFO: Acknowledgment sent {"connection_id":56230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:30:33] local.INFO: TCP Data received {"connection_id":56230,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:33] local.INFO: Processing buffer {"connection_id":56230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:30:33] local.INFO: Packet analysis {"connection_id":56230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:30:33] local.INFO: Extracted packet for processing {"connection_id":56230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":56230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:30:33] local.INFO: GPS data processed {"connection_id":56230,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:30:33] local.INFO: Acknowledgment sent {"connection_id":56230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:31:00] local.INFO: TCP Data received {"connection_id":57118,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:00] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:00] local.INFO: IMEI packet received {"connection_id":57118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":57118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:31:05] local.INFO: TCP Data received {"connection_id":57118,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:05] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:05] local.INFO: IMEI packet received {"connection_id":57118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":57118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:31:05] local.INFO: TCP Data received {"connection_id":57118,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:05] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:05] local.INFO: Packet analysis {"connection_id":57118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:31:05] local.INFO: Extracted packet for processing {"connection_id":57118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:31:05] 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-04-28 08:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:31:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:31:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":57118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:31:05] local.INFO: GPS data processed {"connection_id":57118,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:31:05] local.INFO: Acknowledgment sent {"connection_id":57118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:31:10] local.INFO: TCP Data received {"connection_id":57118,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:10] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:31:10] local.INFO: Packet analysis {"connection_id":57118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:31:10] local.INFO: Extracted packet for processing {"connection_id":57118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:31:10] 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-04-28 08:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:31:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:31:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":57118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:31:10] local.INFO: GPS data processed {"connection_id":57118,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:31:10] local.INFO: Acknowledgment sent {"connection_id":57118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:31:54] local.INFO: TCP Data received {"connection_id":56231,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:54] local.INFO: Processing buffer {"connection_id":56231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:31:54] local.INFO: IMEI packet received {"connection_id":56231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":56231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:32:00] local.INFO: TCP Data received {"connection_id":56231,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:32:00] local.INFO: Processing buffer {"connection_id":56231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:32:00] local.INFO: IMEI packet received {"connection_id":56231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":56231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:32:01] local.INFO: TCP Data received {"connection_id":56231,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:01] local.INFO: Processing buffer {"connection_id":56231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:01] local.INFO: Packet analysis {"connection_id":56231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:01] local.INFO: Extracted packet for processing {"connection_id":56231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:32:01] 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-04-28 08:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:32:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:32:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":56231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:32:01] local.INFO: GPS data processed {"connection_id":56231,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:32:01] local.INFO: Acknowledgment sent {"connection_id":56231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:32:23] local.INFO: TCP Data received {"connection_id":56445,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:23] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:23] local.INFO: IMEI packet received {"connection_id":56445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":56445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:32:29] local.INFO: TCP Data received {"connection_id":56445,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:29] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:32:29] local.INFO: IMEI packet received {"connection_id":56445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":56445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:32:33] local.INFO: TCP Data received {"connection_id":56231,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:33] local.INFO: Processing buffer {"connection_id":56231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd204a508012d7faa4005afdf10001300ae25..."} 
[2026-04-28 08:32:33] local.INFO: Packet analysis {"connection_id":56231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:33] local.INFO: Extracted packet for processing {"connection_id":56231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":19,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000246272001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345013000,"timestamp_ms":1777345013000,"timestamp_seconds":1777345013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd204a508"} 
[2026-04-28 08:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000246272001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000246272001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:32:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000246272001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":56231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:32:33] local.INFO: GPS data processed {"connection_id":56231,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:32:33] local.INFO: Acknowledgment sent {"connection_id":56231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:32:34] local.INFO: TCP Data received {"connection_id":56445,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2046a70012d7a2a0005e4adc8001200a329..."} 
[2026-04-28 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2046a70012d7a2a0005e4adc8001200a329..."} 
[2026-04-28 08:32:34] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2046a70012d7a2a0005e4adc8001200a329..."} 
[2026-04-28 08:32:34] local.INFO: Packet analysis {"connection_id":56445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:34] local.INFO: Extracted packet for processing {"connection_id":56445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762980864,"raw_latitude":98872776,"longitude_deg":76.2980864,"latitude_deg":9.8872776,"altitude":18,"angle":163,"satellites":41,"speed":6,"hex_longitude":"2d7a2a00","hex_latitude":"05e4adc8","is_valid_coordinates":true} 
[2026-04-28 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000318976001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905001502375936,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709472186368,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777344998000,"timestamp_ms":1777344998000,"timestamp_seconds":1777344998,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2046a70"} 
[2026-04-28 08:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-28 08:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000318976001,"66":13526,"157":206,"87":12288,"24":6,"16":76905001502375936,"45":8802707709472186368},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000318976001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:32:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905001502375936,"km_value":76905001502375.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709472186368,"description":"Unknown IO ID 45"} 
[2026-04-28 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000318976001,"power":13526,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8802707709472186368}} 
[2026-04-28 08:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":56445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:32:34] local.INFO: GPS data processed {"connection_id":56445,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:32:34] local.INFO: Acknowledgment sent {"connection_id":56445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:32:37] local.INFO: TCP Data received {"connection_id":56445,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:32:37] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:32:37] local.INFO: Packet analysis {"connection_id":56445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:37] local.INFO: Extracted packet for processing {"connection_id":56445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000319488001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802848446960486400,"note":"Value kept but may cause issues"} 
[2026-04-28 08:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 08:32:37] 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-04-28 08:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000319488001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8802848446960486400},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000319488001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802848446960486400,"description":"Unknown IO ID 45"} 
[2026-04-28 08:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000319488001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8802848446960486400}} 
[2026-04-28 08:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":56445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:32:37] local.INFO: GPS data processed {"connection_id":56445,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:32:37] local.INFO: Acknowledgment sent {"connection_id":56445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:33:00] local.INFO: TCP Data received {"connection_id":56232,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:00] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:00] local.INFO: IMEI packet received {"connection_id":56232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":56232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:33:05] local.INFO: TCP Data received {"connection_id":56232,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:05] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:05] local.INFO: IMEI packet received {"connection_id":56232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":56232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:33:06] local.INFO: TCP Data received {"connection_id":56232,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:06] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:06] local.INFO: Packet analysis {"connection_id":56232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:33:06] local.INFO: Extracted packet for processing {"connection_id":56232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:33:06] 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-04-28 08: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-04-28 08:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:33:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:33:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":56232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:33:06] local.INFO: GPS data processed {"connection_id":56232,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:33:06] local.INFO: Acknowledgment sent {"connection_id":56232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:33:10] local.INFO: TCP Data received {"connection_id":56232,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:10] local.INFO: Processing buffer {"connection_id":56232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:33:10] local.INFO: Packet analysis {"connection_id":56232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:33:10] local.INFO: Extracted packet for processing {"connection_id":56232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:33:10] 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-04-28 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":56232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:33:10] local.INFO: GPS data processed {"connection_id":56232,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:33:10] local.INFO: Acknowledgment sent {"connection_id":56232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:33:12] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:12] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:12] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:33:17] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:17] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:33:17] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:33:20] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:20] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:20] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:33:20] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:33: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-04-28 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:33: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-04-28 08: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-04-28 08:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:33:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:33:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:33:21] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:33:21] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:33:55] local.INFO: TCP Data received {"connection_id":56377,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:55] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:33:55] local.INFO: IMEI packet received {"connection_id":56377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":56377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:33:57] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:57] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:33:57] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:33:57] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:33:57] 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-04-28 08:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:33:57] 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-04-28 08:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:33:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:33:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:33:57] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:33:57] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:34:00] local.INFO: TCP Data received {"connection_id":56377,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:00] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:00] local.INFO: IMEI packet received {"connection_id":56377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":56377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:34:00] local.INFO: TCP Data received {"connection_id":56377,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:00] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:00] local.INFO: Packet analysis {"connection_id":56377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:34:00] local.INFO: Extracted packet for processing {"connection_id":56377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:34:00] 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-04-28 08: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-04-28 08:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:34:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:34:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":56377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:34:00] local.INFO: GPS data processed {"connection_id":56377,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:34:00] local.INFO: Acknowledgment sent {"connection_id":56377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:34:19] local.INFO: TCP Data received {"connection_id":56446,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:19] local.INFO: Processing buffer {"connection_id":56446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:19] local.INFO: IMEI packet received {"connection_id":56446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":56446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:34:22] local.INFO: TCP Data received {"connection_id":56446,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:22] local.INFO: Processing buffer {"connection_id":56446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:34:22] local.INFO: IMEI packet received {"connection_id":56446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":56446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:34:25] local.INFO: TCP Data received {"connection_id":56446,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:25] local.INFO: Processing buffer {"connection_id":56446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:25] local.INFO: Packet analysis {"connection_id":56446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:34:25] local.INFO: Extracted packet for processing {"connection_id":56446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:34:25] 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-04-28 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:34:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":56446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:34:25] local.INFO: GPS data processed {"connection_id":56446,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:34:25] local.INFO: Acknowledgment sent {"connection_id":56446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:34:33] local.INFO: TCP Data received {"connection_id":56377,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:33] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:34:33] local.INFO: Packet analysis {"connection_id":56377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:34:33] local.INFO: Extracted packet for processing {"connection_id":56377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:34:33] 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-04-28 08:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:34:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":56377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:34:33] local.INFO: GPS data processed {"connection_id":56377,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:34:33] local.INFO: Acknowledgment sent {"connection_id":56377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:34:37] local.INFO: TCP Data received {"connection_id":56446,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:37] local.INFO: Processing buffer {"connection_id":56446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:34:37] local.INFO: Packet analysis {"connection_id":56446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:34:37] local.INFO: Extracted packet for processing {"connection_id":56446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":56446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:34:37] local.INFO: GPS data processed {"connection_id":56446,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:34:37] local.INFO: Acknowledgment sent {"connection_id":56446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:34:50] local.INFO: TCP Data received {"connection_id":56447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:34:50] local.INFO: Processing buffer {"connection_id":56447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:34:50] local.INFO: IMEI packet received {"connection_id":56447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":56447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:34:54] local.INFO: TCP Data received {"connection_id":56448,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:54] local.INFO: Processing buffer {"connection_id":56448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:34:54] local.INFO: IMEI packet received {"connection_id":56448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":56448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:35:00] local.INFO: TCP Data received {"connection_id":56448,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:00] local.INFO: Processing buffer {"connection_id":56448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:00] local.INFO: IMEI packet received {"connection_id":56448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:35:01] local.INFO: TCP Data received {"connection_id":56448,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:01] local.INFO: Processing buffer {"connection_id":56448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:01] local.INFO: Packet analysis {"connection_id":56448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:35:01] local.INFO: Extracted packet for processing {"connection_id":56448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:35:01] 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-04-28 08:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:35:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:35:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":56448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:35:01] local.INFO: GPS data processed {"connection_id":56448,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:35:01] local.INFO: Acknowledgment sent {"connection_id":56448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:35:19] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:19] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:19] local.INFO: IMEI packet received {"connection_id":57120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":57120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:35:24] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:24] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:35:24] local.INFO: IMEI packet received {"connection_id":57120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":57120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:35:33] local.INFO: TCP Data received {"connection_id":56448,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:33] local.INFO: Processing buffer {"connection_id":56448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:35:33] local.INFO: Packet analysis {"connection_id":56448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:35:33] local.INFO: Extracted packet for processing {"connection_id":56448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:35:33] 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-04-28 08:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":56448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:35:33] local.INFO: GPS data processed {"connection_id":56448,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:35:33] local.INFO: Acknowledgment sent {"connection_id":56448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:35:33] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:35:33] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2049180012d7a2d0005e4ab200012009928..."} 
[2026-04-28 08:35:33] local.INFO: Packet analysis {"connection_id":57120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:35:33] local.INFO: Extracted packet for processing {"connection_id":57120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd204"} 
[2026-04-28 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872096,"longitude_deg":76.2981632,"latitude_deg":9.8872096,"altitude":18,"angle":153,"satellites":40,"speed":1,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab20","is_valid_coordinates":true} 
[2026-04-28 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345008000,"timestamp_ms":1777345008000,"timestamp_seconds":1777345008,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2049180"} 
[2026-04-28 08:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":13374,"157":206,"87":12288,"24":1,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":57120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:35:34] local.INFO: GPS data processed {"connection_id":57120,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:35:34] local.INFO: Acknowledgment sent {"connection_id":57120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:35:40] local.INFO: TCP Data received {"connection_id":56233,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:35:40] local.INFO: Processing buffer {"connection_id":56233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:35:40] local.INFO: IMEI packet received {"connection_id":56233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":56233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:35:54] local.INFO: TCP Data received {"connection_id":57121,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:54] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:35:54] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:36:00] local.INFO: TCP Data received {"connection_id":57121,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:36:00] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:36:00] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:36:00] local.INFO: TCP Data received {"connection_id":57121,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:00] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:00] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:36:00] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:36:00] 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-04-28 08: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-04-28 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:36:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:36:00] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:36:00] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:36:13] local.INFO: TCP Data received {"connection_id":56378,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:13] local.INFO: Processing buffer {"connection_id":56378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:13] local.INFO: IMEI packet received {"connection_id":56378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":56378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:36:18] local.INFO: TCP Data received {"connection_id":56378,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:18] local.INFO: Processing buffer {"connection_id":56378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:36:18] local.INFO: IMEI packet received {"connection_id":56378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":56378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:36:21] local.INFO: TCP Data received {"connection_id":56378,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20cda98012d7a2d0005e4ab100011009927..."} 
[2026-04-28 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20cda98012d7a2d0005e4ab100011009927..."} 
[2026-04-28 08:36:21] local.INFO: Processing buffer {"connection_id":56378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20cda98012d7a2d0005e4ab100011009927..."} 
[2026-04-28 08:36:21] local.INFO: Packet analysis {"connection_id":56378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20c"} 
[2026-04-28 08:36:21] local.INFO: Extracted packet for processing {"connection_id":56378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20c"} 
[2026-04-28 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872080,"longitude_deg":76.2981632,"latitude_deg":9.887208,"altitude":17,"angle":153,"satellites":39,"speed":0,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000322048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890444288,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777345551000,"timestamp_ms":1777345551000,"timestamp_seconds":1777345551,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20cda98"} 
[2026-04-28 08:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:36: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-04-28 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 08:36: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-04-28 08: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-04-28 08:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000322048001,"66":12906,"157":206,"87":12288,"24":0,"16":76905053041983488,"45":8803692871890444288},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000322048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:36:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:36:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890444288,"description":"Unknown IO ID 45"} 
[2026-04-28 08:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000322048001,"power":12906,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8803692871890444288}} 
[2026-04-28 08:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":56378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:36:21] local.INFO: GPS data processed {"connection_id":56378,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:36:21] local.INFO: Acknowledgment sent {"connection_id":56378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:36:32] local.INFO: TCP Data received {"connection_id":57121,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:32] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:36:32] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:36:32] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:36:32] 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-04-28 08:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:36:32] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:36:32] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:36:56] local.INFO: TCP Data received {"connection_id":56378,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20db170012d7a2d0005e4ab100011009928..."} 
[2026-04-28 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20db170012d7a2d0005e4ab100011009928..."} 
[2026-04-28 08:36:56] local.INFO: Processing buffer {"connection_id":56378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20db170012d7a2d0005e4ab100011009928..."} 
[2026-04-28 08:36:56] local.INFO: Packet analysis {"connection_id":56378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:36:56] local.INFO: Extracted packet for processing {"connection_id":56378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:36:56] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98872080,"longitude_deg":76.2981632,"latitude_deg":9.887208,"altitude":17,"angle":153,"satellites":40,"speed":0,"hex_longitude":"2d7a2d00","hex_latitude":"05e4ab10","is_valid_coordinates":true} 
[2026-04-28 08:36: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-04-28 08:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000461056001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905053041983488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871890440192,"note":"Value kept but may cause issues"} 
[2026-04-28 08:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777345606000,"timestamp_ms":1777345606000,"timestamp_seconds":1777345606,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20db170"} 
[2026-04-28 08:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:36:56] 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-04-28 08: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":106,"data_length":795,"current_offset":136} 
[2026-04-28 08:36:56] 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-04-28 08: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-04-28 08:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000461056001,"66":12874,"157":206,"87":12288,"24":0,"16":76905053041983488,"45":8803692871890440192},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 08:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000461056001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:36:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 08:36:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 08:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905053041983488,"km_value":76905053041983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871890440192,"description":"Unknown IO ID 45"} 
[2026-04-28 08:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000461056001,"power":12874,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8803692871890440192}} 
[2026-04-28 08:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":56378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:36:56] local.INFO: GPS data processed {"connection_id":56378,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:36:56] local.INFO: Acknowledgment sent {"connection_id":56378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:37:00] local.INFO: TCP Data received {"connection_id":56450,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:00] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:00] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:37:05] local.INFO: TCP Data received {"connection_id":56450,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:05] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:05] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:37:06] local.INFO: TCP Data received {"connection_id":56450,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:06] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:06] local.INFO: Packet analysis {"connection_id":56450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:37:06] local.INFO: Extracted packet for processing {"connection_id":56450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:37:06] 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-04-28 08: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-04-28 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:37:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:37:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":56450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:37:06] local.INFO: GPS data processed {"connection_id":56450,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:37:06] local.INFO: Acknowledgment sent {"connection_id":56450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:37:10] local.INFO: TCP Data received {"connection_id":56450,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:10] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2093cd0012d7faa4005afdf10002100ae22..."} 
[2026-04-28 08:37:10] local.INFO: Packet analysis {"connection_id":56450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:37:10] local.INFO: Extracted packet for processing {"connection_id":56450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd209"} 
[2026-04-28 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":33,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000323328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777345314000,"timestamp_ms":1777345314000,"timestamp_seconds":1777345314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2093cd0"} 
[2026-04-28 08:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:37:10] 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-04-28 08:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000323328001,"66":25375,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000323328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:37:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:37:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000323328001,"power":25375,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":56450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:37:10] local.INFO: GPS data processed {"connection_id":56450,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:37:10] local.INFO: Acknowledgment sent {"connection_id":56450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:37:54] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:54] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:37:54] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:38:00] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:00] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:00] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:38:02] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:02] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:02] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:38:02] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:38:02] 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-04-28 08:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:38:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:38:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:38:02] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:38:02] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:38:34] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:34] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:38:34] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:38:34] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:38:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:38:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:38:34] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:38:34] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:38:54] local.INFO: TCP Data received {"connection_id":57124,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:54] local.INFO: Processing buffer {"connection_id":57124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:38:54] local.INFO: IMEI packet received {"connection_id":57124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":57124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:39:00] local.INFO: TCP Data received {"connection_id":57124,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:39:00] local.INFO: Processing buffer {"connection_id":57124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:39:00] local.INFO: IMEI packet received {"connection_id":57124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":57124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:39:01] local.INFO: TCP Data received {"connection_id":57124,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:01] local.INFO: Processing buffer {"connection_id":57124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:01] local.INFO: Packet analysis {"connection_id":57124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:39:01] local.INFO: Extracted packet for processing {"connection_id":57124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:39:01] 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-04-28 08:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:39:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:39:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":57124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:39:01] local.INFO: GPS data processed {"connection_id":57124,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:39:01] local.INFO: Acknowledgment sent {"connection_id":57124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:39:15] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:15] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:15] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:39:16] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:16] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:16] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:39:19] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:19] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:39:19] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:39:20] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20f20a0012d1afc00071f8d080035011723..."} 
[2026-04-28 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20f20a0012d1afc00071f8d080035011723..."} 
[2026-04-28 08:39:20] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20f20a0012d1afc00071f8d080035011723..."} 
[2026-04-28 08:39:20] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:20] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756743168,"raw_latitude":119508232,"longitude_deg":75.6743168,"latitude_deg":11.9508232,"altitude":53,"angle":279,"satellites":35,"speed":22,"hex_longitude":"2d1afc00","hex_latitude":"071f8d08","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000498944001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115402081866612736,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945062488408877056,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777345700000,"timestamp_ms":1777345700000,"timestamp_seconds":1777345700,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20f20a0"} 
[2026-04-28 08:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:39:20] 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-04-28 08: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 08:39:20] 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-04-28 08: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-04-28 08:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:20] 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-04-28 08:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000498944001,"66":14233,"106":206,"83":41984,"24":22,"16":115402081866612736,"45":1945062488408877056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000498944001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:39:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115402081866612736,"km_value":115402081866612.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945062488408877056,"description":"Unknown IO ID 45"} 
[2026-04-28 08:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000498944001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1945062488408877056}} 
[2026-04-28 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:39:21] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:39:21] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:39:22] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20f2488012d1afa00071f8d080035010923..."} 
[2026-04-28 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20f2488012d1afa00071f8d080035010923..."} 
[2026-04-28 08:39:22] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20f2488012d1afa00071f8d080035010923..."} 
[2026-04-28 08:39:22] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:22] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756742656,"raw_latitude":119508232,"longitude_deg":75.6742656,"latitude_deg":11.9508232,"altitude":53,"angle":265,"satellites":35,"speed":22,"hex_longitude":"2d1afa00","hex_latitude":"071f8d08","is_valid_coordinates":true} 
[2026-04-28 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000499200001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115402107636416512,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944429169711319040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777345701000,"timestamp_ms":1777345701000,"timestamp_seconds":1777345701,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20f2488"} 
[2026-04-28 08:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:39:22] 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-04-28 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 08:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:22] 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-04-28 08:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000499200001,"66":14233,"106":206,"83":41984,"24":22,"16":115402107636416512,"45":1944429169711319040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000499200001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:39:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115402107636416512,"km_value":115402107636416.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944429169711319040,"description":"Unknown IO ID 45"} 
[2026-04-28 08:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000499200001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1944429169711319040}} 
[2026-04-28 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:39:22] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:39:22] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:39:25] local.INFO: TCP Data received {"connection_id":56381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20f2c58012d1af580071f8ba0003500f823..."} 
[2026-04-28 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20f2c58012d1af580071f8ba0003500f823..."} 
[2026-04-28 08:39:25] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20f2c58012d1af580071f8ba0003500f823..."} 
[2026-04-28 08:39:25] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:25] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:39:25] local.INFO: GPS Element Parsed {"raw_longitude":756741504,"raw_latitude":119507872,"longitude_deg":75.6741504,"latitude_deg":11.9507872,"altitude":53,"angle":248,"satellites":35,"speed":24,"hex_longitude":"2d1af580","hex_latitude":"071f8ba0","is_valid_coordinates":true} 
[2026-04-28 08:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000499456001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115402163470991360,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943866219757897728,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777345703000,"timestamp_ms":1777345703000,"timestamp_seconds":1777345703,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20f2c58"} 
[2026-04-28 08:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:39:25] 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-04-28 08:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 08:39:25] 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-04-28 08:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:39:25] 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-04-28 08:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000499456001,"66":14330,"106":206,"83":41984,"24":24,"16":115402163470991360,"45":1943866219757897728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000499456001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:39:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115402163470991360,"km_value":115402163470991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943866219757897728,"description":"Unknown IO ID 45"} 
[2026-04-28 08:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000499456001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1943866219757897728}} 
[2026-04-28 08:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:39:25] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:39:25] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:39:32] local.INFO: TCP Data received {"connection_id":57124,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:32] local.INFO: Processing buffer {"connection_id":57124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:39:32] local.INFO: Packet analysis {"connection_id":57124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:39:32] local.INFO: Extracted packet for processing {"connection_id":57124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:39:32] 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-04-28 08:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:39:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":57124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:39:32] local.INFO: GPS data processed {"connection_id":57124,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:39:32] local.INFO: Acknowledgment sent {"connection_id":57124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:00] local.INFO: TCP Data received {"connection_id":56451,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:00] local.INFO: Processing buffer {"connection_id":56451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:00] local.INFO: IMEI packet received {"connection_id":56451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:40:05] local.INFO: TCP Data received {"connection_id":56451,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:05] local.INFO: Processing buffer {"connection_id":56451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:05] local.INFO: IMEI packet received {"connection_id":56451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":56451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:40:06] local.INFO: TCP Data received {"connection_id":56451,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:06] local.INFO: Processing buffer {"connection_id":56451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:06] local.INFO: Packet analysis {"connection_id":56451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:40:06] local.INFO: Extracted packet for processing {"connection_id":56451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:06] 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-04-28 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:40:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":56451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:06] local.INFO: GPS data processed {"connection_id":56451,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:06] local.INFO: Acknowledgment sent {"connection_id":56451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:06] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:06] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:06] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:40:11] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:11] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:40:11] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:40:11] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:40:11] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:40:11] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:40:12] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20fd450012d1ab440071f96480035011523..."} 
[2026-04-28 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20fd450012d1ab440071f96480035011523..."} 
[2026-04-28 08:40:12] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 08:40:12] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:40:13] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20fe7d8012d1aa200071f99f80033012723..."} 
[2026-04-28 08:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20fe7d8012d1aa200071f99f80033012723..."} 
[2026-04-28 08:40:13] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd20fd450012d1ab440071f96480035011523..."} 
[2026-04-28 08:40:13] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:13] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756724800,"raw_latitude":119510600,"longitude_deg":75.67248,"latitude_deg":11.95106,"altitude":53,"angle":277,"satellites":35,"speed":34,"hex_longitude":"2d1ab440","hex_latitude":"071f9648","is_valid_coordinates":true} 
[2026-04-28 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000510208001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115403099773861888,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926836983667353600,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777345746000,"timestamp_ms":1777345746000,"timestamp_seconds":1777345746,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20fd450"} 
[2026-04-28 08:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:13] 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-04-28 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:13] 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-04-28 08:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:13] 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-04-28 08:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000510208001,"66":13863,"106":206,"83":41984,"24":34,"16":115403099773861888,"45":1926836983667353600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000510208001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115403099773861888,"km_value":115403099773861.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926836983667353600,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000510208001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1926836983667353600}} 
[2026-04-28 08:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:13] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:13] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:13] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:13] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756720128,"raw_latitude":119511544,"longitude_deg":75.6720128,"latitude_deg":11.9511544,"altitude":51,"angle":295,"satellites":35,"speed":39,"hex_longitude":"2d1aa200","hex_latitude":"071f99f8","is_valid_coordinates":true} 
[2026-04-28 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000510976001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115403327407128576,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924233340132935680,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777345751000,"timestamp_ms":1777345751000,"timestamp_seconds":1777345751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20fe7d8"} 
[2026-04-28 08:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:13] 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-04-28 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:13] 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-04-28 08:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000510976001,"66":14233,"106":206,"83":41984,"24":39,"16":115403327407128576,"45":1924233340132935680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000510976001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115403327407128576,"km_value":115403327407128.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924233340132935680,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000510976001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1924233340132935680}} 
[2026-04-28 08:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:13] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:13] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:15] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20fefa8012d1a9bc0071f9eb80033013823..."} 
[2026-04-28 08:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20fefa8012d1a9bc0071f9eb80033013823..."} 
[2026-04-28 08:40:15] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20fefa8012d1a9bc0071f9eb80033013823..."} 
[2026-04-28 08:40:15] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:15] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20f"} 
[2026-04-28 08:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756718528,"raw_latitude":119512760,"longitude_deg":75.6718528,"latitude_deg":11.951276,"altitude":51,"angle":312,"satellites":35,"speed":40,"hex_longitude":"2d1a9bc0","hex_latitude":"071f9eb8","is_valid_coordinates":true} 
[2026-04-28 08:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000512256001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115403421896409088,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919096421808207872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777345753000,"timestamp_ms":1777345753000,"timestamp_seconds":1777345753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20fefa8"} 
[2026-04-28 08:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:15] 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-04-28 08:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000512256001,"66":14233,"106":206,"83":41984,"24":40,"16":115403421896409088,"45":1919096421808207872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000512256001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115403421896409088,"km_value":115403421896409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919096421808207872,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000512256001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1919096421808207872}} 
[2026-04-28 08:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:15] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:15] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:38] local.INFO: TCP Data received {"connection_id":56451,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:38] local.INFO: Processing buffer {"connection_id":56451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:40:38] local.INFO: Packet analysis {"connection_id":56451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:40:38] local.INFO: Extracted packet for processing {"connection_id":56451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:38] 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-04-28 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:40:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":56451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:38] local.INFO: GPS data processed {"connection_id":56451,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:38] local.INFO: Acknowledgment sent {"connection_id":56451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:46] local.INFO: TCP Data received {"connection_id":56382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21012d0012d1a8200071fbc780032014322..."} 
[2026-04-28 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21012d0012d1a8200071fbc780032014322..."} 
[2026-04-28 08:40:46] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21012d0012d1a8200071fbc780032014322..."} 
[2026-04-28 08:40:46] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:40:46] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":119520376,"longitude_deg":75.6711936,"latitude_deg":11.9520376,"altitude":50,"angle":323,"satellites":34,"speed":46,"hex_longitude":"2d1a8200","hex_latitude":"071fbc78","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000512768001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115403907227713536,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917337203204077568,"note":"Value kept but may cause issues"} 
[2026-04-28 08:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777345762000,"timestamp_ms":1777345762000,"timestamp_seconds":1777345762,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21012d0"} 
[2026-04-28 08:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:40:46] 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-04-28 08: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 08:40:46] 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-04-28 08: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-04-28 08:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000512768001,"66":14265,"106":206,"83":41984,"24":46,"16":115403907227713536,"45":1917337203204077568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000512768001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:40:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115403907227713536,"km_value":115403907227713.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917337203204077568,"description":"Unknown IO ID 45"} 
[2026-04-28 08:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000512768001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1917337203204077568}} 
[2026-04-28 08:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:40:46] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:40:46] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:40:54] local.INFO: TCP Data received {"connection_id":57126,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:54] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:40:54] local.INFO: IMEI packet received {"connection_id":57126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":57126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:41:00] local.INFO: TCP Data received {"connection_id":57126,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:00] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:00] local.INFO: IMEI packet received {"connection_id":57126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":57126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:41:00] local.INFO: TCP Data received {"connection_id":56234,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:00] local.INFO: Processing buffer {"connection_id":56234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:00] local.INFO: IMEI packet received {"connection_id":56234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":56234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:41:01] local.INFO: TCP Data received {"connection_id":57126,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:01] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:01] local.INFO: Packet analysis {"connection_id":57126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:41:01] local.INFO: Extracted packet for processing {"connection_id":57126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:41:01] 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-04-28 08: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-04-28 08:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":57126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:41:01] local.INFO: GPS data processed {"connection_id":57126,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:41:01] local.INFO: Acknowledgment sent {"connection_id":57126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:41:06] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:06] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:06] local.INFO: IMEI packet received {"connection_id":56383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":56383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:41:10] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:10] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:10] local.INFO: IMEI packet received {"connection_id":56383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":56383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:41:17] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:17] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:41:17] local.INFO: IMEI packet received {"connection_id":56383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":56383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:41:18] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd210ed90012d19f640071ffca00026010b24..."} 
[2026-04-28 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd210ed90012d19f640071ffca00026010b24..."} 
[2026-04-28 08:41:18] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd210ed90012d19f640071ffca00026010b24..."} 
[2026-04-28 08:41:18] local.INFO: Packet analysis {"connection_id":56383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:41:18] local.INFO: Extracted packet for processing {"connection_id":56383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756676160,"raw_latitude":119536800,"longitude_deg":75.667616,"latitude_deg":11.95368,"altitude":38,"angle":267,"satellites":36,"speed":33,"hex_longitude":"2d19f640","hex_latitude":"071ffca0","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000528384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115405874322735104,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874834481726701568,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777345818000,"timestamp_ms":1777345818000,"timestamp_seconds":1777345818,"priority":1,"record_length":96,"hex_timestamp":"0000019dd210ed90"} 
[2026-04-28 08:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 08:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:41:18] 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-04-28 08:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000528384001,"66":14189,"106":206,"83":41984,"24":33,"16":115405874322735104,"45":1874834481726701568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000528384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:41:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115405874322735104,"km_value":115405874322735.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874834481726701568,"description":"Unknown IO ID 45"} 
[2026-04-28 08:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000528384001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1874834481726701568}} 
[2026-04-28 08:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":56383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:41:18] local.INFO: GPS data processed {"connection_id":56383,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:41:18] local.INFO: Acknowledgment sent {"connection_id":56383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:41:32] local.INFO: TCP Data received {"connection_id":57126,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:32] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:41:32] local.INFO: Packet analysis {"connection_id":57126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:41:32] local.INFO: Extracted packet for processing {"connection_id":57126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:41:32] 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-04-28 08: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-04-28 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":57126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:41:32] local.INFO: GPS data processed {"connection_id":57126,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:41:32] local.INFO: Acknowledgment sent {"connection_id":57126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:41:45] local.INFO: TCP Data received {"connection_id":56235,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:45] local.INFO: Processing buffer {"connection_id":56235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:41:45] local.INFO: IMEI packet received {"connection_id":56235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":56235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:41:49] local.INFO: TCP Data received {"connection_id":56383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd210fd30012d19eac0071ffc580026011c23..."} 
[2026-04-28 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd210fd30012d19eac0071ffc580026011c23..."} 
[2026-04-28 08:41:49] local.INFO: Processing buffer {"connection_id":56383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd210fd30012d19eac0071ffc580026011c23..."} 
[2026-04-28 08:41:49] local.INFO: Packet analysis {"connection_id":56383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:41:49] local.INFO: Extracted packet for processing {"connection_id":56383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd210"} 
[2026-04-28 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119536728,"longitude_deg":75.6673216,"latitude_deg":11.9536728,"altitude":38,"angle":284,"satellites":35,"speed":27,"hex_longitude":"2d19eac0","hex_latitude":"071ffc58","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000529408001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115406016056655872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870753094564618240,"note":"Value kept but may cause issues"} 
[2026-04-28 08:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777345822000,"timestamp_ms":1777345822000,"timestamp_seconds":1777345822,"priority":1,"record_length":96,"hex_timestamp":"0000019dd210fd30"} 
[2026-04-28 08:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:41:49] 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-04-28 08: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":109,"data_length":795,"current_offset":136} 
[2026-04-28 08:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000529408001,"66":14211,"106":206,"83":41984,"24":27,"16":115406016056655872,"45":1870753094564618240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000529408001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:41:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115406016056655872,"km_value":115406016056655.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870753094564618240,"description":"Unknown IO ID 45"} 
[2026-04-28 08:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000529408001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1870753094564618240}} 
[2026-04-28 08:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":56383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:41:49] local.INFO: GPS data processed {"connection_id":56383,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:41:49] local.INFO: Acknowledgment sent {"connection_id":56383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:41:54] local.INFO: TCP Data received {"connection_id":56452,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:54] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:41:54] local.INFO: IMEI packet received {"connection_id":56452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":56452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:42:00] local.INFO: TCP Data received {"connection_id":56452,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:00] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:00] local.INFO: IMEI packet received {"connection_id":56452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":56452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:42:01] local.INFO: TCP Data received {"connection_id":56452,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:01] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:01] local.INFO: Packet analysis {"connection_id":56452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:42:01] local.INFO: Extracted packet for processing {"connection_id":56452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:01] 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-04-28 08:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:42:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":56452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:01] local.INFO: GPS data processed {"connection_id":56452,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:01] local.INFO: Acknowledgment sent {"connection_id":56452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:11] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:11] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:11] local.INFO: IMEI packet received {"connection_id":56453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":56453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:42:14] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: IMEI packet received {"connection_id":56453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":56453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:42:14] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:42:14] local.INFO: IMEI packet received {"connection_id":56453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":56453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:42:15] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 08:42:15] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 08:42:15] local.INFO: IMEI packet received {"connection_id":56453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":56453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:42:16] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd211eb78012d19acc0072088e80022015921..."} 
[2026-04-28 08:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd211eb78012d19acc0072088e80022015921..."} 
[2026-04-28 08:42:16] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd211c850012d19b800072064c80022015920..."} 
[2026-04-28 08:42:16] local.INFO: Packet analysis {"connection_id":56453,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:16] local.INFO: Extracted packet for processing {"connection_id":56453,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119563464,"longitude_deg":75.6660224,"latitude_deg":11.9563464,"altitude":34,"angle":345,"satellites":32,"speed":42,"hex_longitude":"2d19b800","hex_latitude":"072064c8","is_valid_coordinates":true} 
[2026-04-28 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000541440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115407557949915136,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283408191488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777345874000,"timestamp_ms":1777345874000,"timestamp_seconds":1777345874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd211c850"} 
[2026-04-28 08:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:16] 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-04-28 08:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000541440001,"66":14004,"106":206,"83":41984,"24":42,"16":115407557949915136,"45":1854568283408191488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000541440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115407557949915136,"km_value":115407557949915.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283408191488,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000541440001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1854568283408191488}} 
[2026-04-28 08:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":56453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:16] local.INFO: GPS data processed {"connection_id":56453,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:16] local.INFO: Acknowledgment sent {"connection_id":56453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:16] local.INFO: Packet analysis {"connection_id":56453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:16] local.INFO: Extracted packet for processing {"connection_id":56453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119572712,"longitude_deg":75.6657344,"latitude_deg":11.9572712,"altitude":34,"angle":345,"satellites":33,"speed":39,"hex_longitude":"2d19acc0","hex_latitude":"072088e8","is_valid_coordinates":true} 
[2026-04-28 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000543744001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115408030396317696,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277271205888,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777345883000,"timestamp_ms":1777345883000,"timestamp_seconds":1777345883,"priority":1,"record_length":96,"hex_timestamp":"0000019dd211eb78"} 
[2026-04-28 08:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:16] 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-04-28 08:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:16] 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-04-28 08:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000543744001,"66":13961,"106":206,"83":41984,"24":39,"16":115408030396317696,"45":1853231277271205888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000543744001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115408030396317696,"km_value":115408030396317.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277271205888,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000543744001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1853231277271205888}} 
[2026-04-28 08:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":56453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:16] local.INFO: GPS data processed {"connection_id":56453,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:16] local.INFO: Acknowledgment sent {"connection_id":56453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:17] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd211f348012d19ac00072090700023000021..."} 
[2026-04-28 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd211f348012d19ac00072090700023000021..."} 
[2026-04-28 08:42:17] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd211f348012d19ac00072090700023000021..."} 
[2026-04-28 08:42:17] local.INFO: Packet analysis {"connection_id":56453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:17] local.INFO: Extracted packet for processing {"connection_id":56453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119574640,"longitude_deg":75.6657152,"latitude_deg":11.957464,"altitude":35,"angle":0,"satellites":33,"speed":35,"hex_longitude":"2d19ac00","hex_latitude":"07209070","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000546048001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115408120590630912,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785578496,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777345885000,"timestamp_ms":1777345885000,"timestamp_seconds":1777345885,"priority":1,"record_length":96,"hex_timestamp":"0000019dd211f348"} 
[2026-04-28 08:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:17] 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-04-28 08: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-04-28 08:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000546048001,"66":14070,"106":206,"83":41984,"24":35,"16":115408120590630912,"45":1850064683785578496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000546048001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115408120590630912,"km_value":115408120590630.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785578496,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000546048001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850064683785578496}} 
[2026-04-28 08:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":56453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:17] local.INFO: GPS data processed {"connection_id":56453,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:17] local.INFO: Acknowledgment sent {"connection_id":56453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:33] local.INFO: TCP Data received {"connection_id":56452,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:33] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd20dd498012d7faa4005afdf10002500ae24..."} 
[2026-04-28 08:42:33] local.INFO: Packet analysis {"connection_id":56452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:42:33] local.INFO: Extracted packet for processing {"connection_id":56452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd20d"} 
[2026-04-28 08:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":37,"angle":174,"satellites":36,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000400384001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345615000,"timestamp_ms":1777345615000,"timestamp_seconds":1777345615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd20dd498"} 
[2026-04-28 08:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000400384001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000400384001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000400384001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":56452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:33] local.INFO: GPS data processed {"connection_id":56452,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:33] local.INFO: Acknowledgment sent {"connection_id":56452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:48] local.INFO: TCP Data received {"connection_id":56453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd211f730012d19ad00072093c00024000c21..."} 
[2026-04-28 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd211f730012d19ad00072093c00024000c21..."} 
[2026-04-28 08:42:48] local.INFO: Processing buffer {"connection_id":56453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd211f730012d19ad00072093c00024000c21..."} 
[2026-04-28 08:42:48] local.INFO: Packet analysis {"connection_id":56453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:48] local.INFO: Extracted packet for processing {"connection_id":56453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd211"} 
[2026-04-28 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119575488,"longitude_deg":75.6657408,"latitude_deg":11.9575488,"altitude":36,"angle":12,"satellites":33,"speed":33,"hex_longitude":"2d19ad00","hex_latitude":"072093c0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000546560001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115408163540303872,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553539072,"note":"Value kept but may cause issues"} 
[2026-04-28 08:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777345886000,"timestamp_ms":1777345886000,"timestamp_seconds":1777345886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd211f730"} 
[2026-04-28 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-04-28 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-28 08:42:48] 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-04-28 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-04-28 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-04-28 08:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 08:42:48] 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-04-28 08:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 08:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 08:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000546560001,"66":14070,"106":206,"83":41984,"24":33,"16":115408163540303872,"45":1849853577553539072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 08:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 08:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 08:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000546560001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:42:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 08:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 08:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115408163540303872,"km_value":115408163540303.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553539072,"description":"Unknown IO ID 45"} 
[2026-04-28 08:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000546560001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1849853577553539072}} 
[2026-04-28 08:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":56453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:42:48] local.INFO: GPS data processed {"connection_id":56453,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:42:48] local.INFO: Acknowledgment sent {"connection_id":56453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:42:54] local.INFO: TCP Data received {"connection_id":57128,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:54] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:42:54] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:43:00] local.INFO: TCP Data received {"connection_id":57128,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:00] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:00] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:43:01] local.INFO: TCP Data received {"connection_id":57128,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:01] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:01] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:43:01] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:43:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:43:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:43:01] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:43:01] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:43:33] local.INFO: TCP Data received {"connection_id":57128,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:33] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:43:33] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:43:33] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:43:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:43:33] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:43:33] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:43:49] local.INFO: TCP Data received {"connection_id":56455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:43:49] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:43:49] local.INFO: IMEI packet received {"connection_id":56455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":56455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:43:54] local.INFO: TCP Data received {"connection_id":56384,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:54] local.INFO: Processing buffer {"connection_id":56384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:43:54] local.INFO: IMEI packet received {"connection_id":56384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":56384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:43:59] local.INFO: TCP Data received {"connection_id":56455,"ip":"42.106.6.15","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:43:59] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 08:43:59] local.INFO: IMEI packet received {"connection_id":56455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:44:00] local.INFO: TCP Data received {"connection_id":56384,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:44:00] local.INFO: Processing buffer {"connection_id":56384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:44:00] local.INFO: IMEI packet received {"connection_id":56384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":56384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:44:01] local.INFO: TCP Data received {"connection_id":56384,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:01] local.INFO: Processing buffer {"connection_id":56384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:01] local.INFO: Packet analysis {"connection_id":56384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:44:01] local.INFO: Extracted packet for processing {"connection_id":56384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:44:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:44:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":56384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:44:01] local.INFO: GPS data processed {"connection_id":56384,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:44:01] local.INFO: Acknowledgment sent {"connection_id":56384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:44:33] local.INFO: TCP Data received {"connection_id":56384,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:33] local.INFO: Processing buffer {"connection_id":56384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:44:33] local.INFO: Packet analysis {"connection_id":56384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:44:33] local.INFO: Extracted packet for processing {"connection_id":56384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:44:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":56384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:44:33] local.INFO: GPS data processed {"connection_id":56384,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:44:33] local.INFO: Acknowledgment sent {"connection_id":56384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:45:00] local.INFO: TCP Data received {"connection_id":57130,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:00] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:00] local.INFO: IMEI packet received {"connection_id":57130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":57130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:45:05] local.INFO: TCP Data received {"connection_id":57130,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:05] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:05] local.INFO: IMEI packet received {"connection_id":57130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":57130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:45:05] local.INFO: TCP Data received {"connection_id":57130,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:05] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:05] local.INFO: Packet analysis {"connection_id":57130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:45:05] local.INFO: Extracted packet for processing {"connection_id":57130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:45:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":57130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:45:05] local.INFO: GPS data processed {"connection_id":57130,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:45:05] local.INFO: Acknowledgment sent {"connection_id":57130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:45:08] local.INFO: TCP Data received {"connection_id":56237,"ip":"118.193.56.171","data_length":257,"data_hex":"16030100fc010000f803030fe438e168e1a8beeec91523069d91644a3297f24d..."} 
[2026-04-28 08:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56237,"packet_length":257,"packet_hex":"16030100fc010000f803030fe438e168e1a8beeec91523069d91644a3297f24d..."} 
[2026-04-28 08:45:08] local.INFO: Processing buffer {"connection_id":56237,"buffer_length":257,"buffer_hex":"16030100fc010000f803030fe438e168e1a8beeec91523069d91644a3297f24d..."} 
[2026-04-28 08:45:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56237,"buffer_length":257,"first_bytes_hex":"16030100fc010000f803030fe438e168"} 
[2026-04-28 08:45:11] local.INFO: TCP Data received {"connection_id":57130,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:11] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:45:11] local.INFO: Packet analysis {"connection_id":57130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:45:11] local.INFO: Extracted packet for processing {"connection_id":57130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":57130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:45:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:45:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":57130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:45:11] local.INFO: GPS data processed {"connection_id":57130,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:45:11] local.INFO: Acknowledgment sent {"connection_id":57130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:45:27] local.INFO: TCP Data received {"connection_id":56385,"ip":"118.193.56.171","data_length":254,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 08:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56385,"packet_length":254,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 08:45:27] local.INFO: Processing buffer {"connection_id":56385,"buffer_length":254,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 08:45:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56385,"buffer_length":254,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-04-28 08:45:45] local.INFO: TCP Data received {"connection_id":56386,"ip":"118.193.56.171","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-04-28 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56386,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-04-28 08:45:45] local.INFO: Processing buffer {"connection_id":56386,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-04-28 08:45:54] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:54] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:45:54] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:46:00] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:00] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:00] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:46:01] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:01] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:01] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:46:01] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:46:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:46:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:46:01] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:46:01] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:46:03] local.INFO: TCP Data received {"connection_id":57131,"ip":"118.193.56.171","data_length":41,"data_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-04-28 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":41,"packet_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-04-28 08:46:03] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":41,"buffer_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-04-28 08:46:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":57131,"buffer_length":41,"first_bytes_hex":"050400010280050100030a6769746875"} 
[2026-04-28 08:46:22] local.INFO: TCP Data received {"connection_id":56460,"ip":"118.193.56.171","data_length":22,"data_hex":"7b0100163133393131313131313132c0a8010113907b..."} 
[2026-04-28 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":22,"packet_hex":"7b0100163133393131313131313132c0a8010113907b..."} 
[2026-04-28 08:46:22] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":22,"buffer_hex":"7b0100163133393131313131313132c0a8010113907b..."} 
[2026-04-28 08:46:22] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56460,"buffer_length":22,"first_bytes_hex":"7b0100163133393131313131313132c0"} 
[2026-04-28 08:46:33] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:33] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:46:33] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:46:33] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:46:33] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:46:33] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:46:40] local.INFO: TCP Data received {"connection_id":56239,"ip":"118.193.56.171","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-04-28 08:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56239,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-04-28 08:46:40] local.INFO: Processing buffer {"connection_id":56239,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-04-28 08:46:54] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:54] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:46:54] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:46:59] local.INFO: TCP Data received {"connection_id":56240,"ip":"118.193.56.171","data_length":51,"data_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56240,"packet_length":51,"packet_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 08:46:59] local.INFO: Processing buffer {"connection_id":56240,"buffer_length":51,"buffer_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 08:46:59] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56240,"buffer_length":51,"first_bytes_hex":"030000332ee00000000000436f6f6b69"} 
[2026-04-28 08:47:00] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:00] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:00] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:47:01] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:01] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:01] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:47:01] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:47:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:47:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:47:01] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:47:01] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:47:05] local.INFO: TCP Data received {"connection_id":56238,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:05] local.INFO: Processing buffer {"connection_id":56238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:05] local.INFO: IMEI packet received {"connection_id":56238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":56238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:47:32] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:32] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2126c60012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:47:32] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:47:32] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd212"} 
[2026-04-28 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000477440001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777345916000,"timestamp_ms":1777345916000,"timestamp_seconds":1777345916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2126c60"} 
[2026-04-28 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000477440001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000477440001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000477440001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:47:32] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:47:32] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:47:35] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:35] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:47:35] local.INFO: IMEI packet received {"connection_id":57132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":57132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:47:55] local.INFO: TCP Data received {"connection_id":56389,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:55] local.INFO: Processing buffer {"connection_id":56389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:55] local.INFO: IMEI packet received {"connection_id":56389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":56389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:47:59] local.INFO: TCP Data received {"connection_id":56389,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:59] local.INFO: Processing buffer {"connection_id":56389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:47:59] local.INFO: IMEI packet received {"connection_id":56389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:48:00] local.INFO: TCP Data received {"connection_id":56389,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:00] local.INFO: Processing buffer {"connection_id":56389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:00] local.INFO: Packet analysis {"connection_id":56389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:48:00] local.INFO: Extracted packet for processing {"connection_id":56389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:48:00] 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-04-28 08: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-04-28 08:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:48:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":56389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:48:00] local.INFO: GPS data processed {"connection_id":56389,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:48:00] local.INFO: Acknowledgment sent {"connection_id":56389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:48:31] local.INFO: TCP Data received {"connection_id":56389,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:31] local.INFO: Processing buffer {"connection_id":56389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:48:31] local.INFO: Packet analysis {"connection_id":56389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:48:31] local.INFO: Extracted packet for processing {"connection_id":56389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:48:31] 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-04-28 08: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-04-28 08:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:48:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":56389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:48:31] local.INFO: GPS data processed {"connection_id":56389,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:48:31] local.INFO: Acknowledgment sent {"connection_id":56389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:48:54] local.INFO: TCP Data received {"connection_id":57134,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:48:54] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:48:54] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:49:00] local.INFO: TCP Data received {"connection_id":57134,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:49:00] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:49:00] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:49:00] local.INFO: TCP Data received {"connection_id":57134,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:00] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:00] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:49:00] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:49:00] 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-04-28 08:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:49:00] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:49:00] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:49:19] local.INFO: TCP Data received {"connection_id":56461,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:49:19] local.INFO: TCP Data received {"connection_id":56461,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:49:19] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:49:32] local.INFO: TCP Data received {"connection_id":57134,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:32] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:49:32] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:49:32] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:49:32] 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-04-28 08:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:49:32] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:49:32] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:50:00] local.INFO: TCP Data received {"connection_id":56242,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:00] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:00] local.INFO: IMEI packet received {"connection_id":56242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:50:05] local.INFO: TCP Data received {"connection_id":56242,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:05] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:05] local.INFO: IMEI packet received {"connection_id":56242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":56242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:50:06] local.INFO: TCP Data received {"connection_id":56242,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:06] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:06] local.INFO: Packet analysis {"connection_id":56242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:50:06] local.INFO: Extracted packet for processing {"connection_id":56242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:50:06] 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-04-28 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:50:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:50:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":56242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:50:06] local.INFO: GPS data processed {"connection_id":56242,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:50:06] local.INFO: Acknowledgment sent {"connection_id":56242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:50:10] local.INFO: TCP Data received {"connection_id":56242,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:10] local.INFO: Processing buffer {"connection_id":56242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:50:10] local.INFO: Packet analysis {"connection_id":56242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:50:10] local.INFO: Extracted packet for processing {"connection_id":56242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:50:10] 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-04-28 08:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:50:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:50:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":56242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:50:10] local.INFO: GPS data processed {"connection_id":56242,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:50:10] local.INFO: Acknowledgment sent {"connection_id":56242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:50:55] local.INFO: TCP Data received {"connection_id":57135,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:55] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:50:55] local.INFO: IMEI packet received {"connection_id":57135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":57135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:51:00] local.INFO: TCP Data received {"connection_id":57135,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:00] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:00] local.INFO: IMEI packet received {"connection_id":57135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":57135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:51:01] local.INFO: TCP Data received {"connection_id":57135,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:01] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:01] local.INFO: Packet analysis {"connection_id":57135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:51:01] local.INFO: Extracted packet for processing {"connection_id":57135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:51:01] 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-04-28 08:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:51:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:51:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":57135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:51:01] local.INFO: GPS data processed {"connection_id":57135,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:51:01] local.INFO: Acknowledgment sent {"connection_id":57135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:51:08] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:08] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:08] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:51:09] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:09] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:09] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:51:13] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:13] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:51:13] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:51:14] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21a0d80012d7a588005e472f80009008a27..."} 
[2026-04-28 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21a0d80012d7a588005e472f80009008a27..."} 
[2026-04-28 08:51:14] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21a0d80012d7a588005e472f80009008a27..."} 
[2026-04-28 08:51:14] local.INFO: Packet analysis {"connection_id":57136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:14] local.INFO: Extracted packet for processing {"connection_id":57136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":762992768,"raw_latitude":98857720,"longitude_deg":76.2992768,"latitude_deg":9.885772,"altitude":9,"angle":138,"satellites":39,"speed":12,"hex_longitude":"2d7a5880","hex_latitude":"05e472f8","is_valid_coordinates":true} 
[2026-04-28 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000677120001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76905946395181056,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809885321376235520,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:14] 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-04-28 08:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777346416000,"timestamp_ms":1777346416000,"timestamp_seconds":1777346416,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21a0d80"} 
[2026-04-28 08:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 08:51:14] 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-04-28 08:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000677120001,"66":13472,"24":12,"16":76905946395181056,"45":8809885321376235520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-04-28 08:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000677120001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76905946395181056,"km_value":76905946395181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809885321376235520,"description":"Unknown IO ID 45"} 
[2026-04-28 08:51:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":455000677120001,"power":13472,"ignition":12,"odometer":null,"unknown_45":8809885321376235520}} 
[2026-04-28 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":57136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:51:14] local.INFO: GPS data processed {"connection_id":57136,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:51:14] local.INFO: Acknowledgment sent {"connection_id":57136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:51:18] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21a24f0012d7a5d8005e46eb8000c007f27..."} 
[2026-04-28 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21a24f0012d7a5d8005e46eb8000c007f27..."} 
[2026-04-28 08:51:18] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21a24f0012d7a5d8005e46eb8000c007f27..."} 
[2026-04-28 08:51:18] local.INFO: Packet analysis {"connection_id":57136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:18] local.INFO: Extracted packet for processing {"connection_id":57136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:18] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":98856632,"longitude_deg":76.2994048,"latitude_deg":9.8856632,"altitude":12,"angle":127,"satellites":39,"speed":9,"hex_longitude":"2d7a5d80","hex_latitude":"05e46eb8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 08:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000682496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815937033373677568,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906027999559680,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51: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-04-28 08:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777346422000,"timestamp_ms":1777346422000,"timestamp_seconds":1777346422,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21a24f0"} 
[2026-04-28 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-04-28 08:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 08:51: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-04-28 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-04-28 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-04-28 08:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000682496001,"66":13493,"45":8815937033373677568,"85":15104,"24":9,"16":76906027999559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-04-28 08:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000682496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815937033373677568,"description":"Unknown IO ID 45"} 
[2026-04-28 08:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906027999559680,"km_value":76906027999559.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:51:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455000682496001,"power":13493,"unknown_45":8815937033373677568,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-04-28 08:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":57136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:51:18] local.INFO: GPS data processed {"connection_id":57136,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:51:18] local.INFO: Acknowledgment sent {"connection_id":57136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:51:33] local.INFO: TCP Data received {"connection_id":57135,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:33] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:51:33] local.INFO: Packet analysis {"connection_id":57135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:51:33] local.INFO: Extracted packet for processing {"connection_id":57135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:51:33] 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-04-28 08:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":57135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:51:33] local.INFO: GPS data processed {"connection_id":57135,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:51:33] local.INFO: Acknowledgment sent {"connection_id":57135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:51:54] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:54] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:51:54] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:51:54] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21a7310012d7a630005e46b78000b008726..."} 
[2026-04-28 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21a7310012d7a630005e46b78000b008726..."} 
[2026-04-28 08:51:54] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21a7310012d7a630005e46b78000b008726..."} 
[2026-04-28 08:51:54] local.INFO: Packet analysis {"connection_id":57136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:54] local.INFO: Extracted packet for processing {"connection_id":57136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:51:54] local.INFO: GPS Element Parsed {"raw_longitude":762995456,"raw_latitude":98855800,"longitude_deg":76.2995456,"latitude_deg":9.88558,"altitude":11,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2d7a6300","hex_latitude":"05e46b78","is_valid_coordinates":true} 
[2026-04-28 08:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000684032001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408256952320,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906105308971008,"note":"Value kept but may cause issues"} 
[2026-04-28 08:51: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-04-28 08:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777346442000,"timestamp_ms":1777346442000,"timestamp_seconds":1777346442,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21a7310"} 
[2026-04-28 08:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:51:54] 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-04-28 08:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-28 08:51:54] 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-04-28 08:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000684032001,"66":13504,"45":8817344408256952320,"85":15104,"24":0,"16":76906105308971008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-04-28 08:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000684032001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408256952320,"description":"Unknown IO ID 45"} 
[2026-04-28 08:51:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906105308971008,"km_value":76906105308971.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:51:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455000684032001,"power":13504,"unknown_45":8817344408256952320,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-28 08:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":57136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:51:54] local.INFO: GPS data processed {"connection_id":57136,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:51:54] local.INFO: Acknowledgment sent {"connection_id":57136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:52:00] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:52:00] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:52:00] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:52:01] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:01] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:01] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:52:01] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:52:01] 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-04-28 08: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-04-28 08:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:52:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:52:01] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:52:01] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:52:19] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:19] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:19] local.INFO: IMEI packet received {"connection_id":56393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":56393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:52:23] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:23] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:52:23] local.INFO: IMEI packet received {"connection_id":56393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":56393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:52:24] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21ad0d0012d7a630005e46b78000b008727..."} 
[2026-04-28 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21ad0d0012d7a630005e46b78000b008727..."} 
[2026-04-28 08:52:24] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21ad0d0012d7a630005e46b78000b008727..."} 
[2026-04-28 08:52:24] local.INFO: Packet analysis {"connection_id":56393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:52:24] local.INFO: Extracted packet for processing {"connection_id":56393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21a"} 
[2026-04-28 08:52:24] local.INFO: GPS Element Parsed {"raw_longitude":762995456,"raw_latitude":98855800,"longitude_deg":76.2995456,"latitude_deg":9.88558,"altitude":11,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d7a6300","hex_latitude":"05e46b78","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000689152001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906105308971008,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818892520628647936,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777346466000,"timestamp_ms":1777346466000,"timestamp_seconds":1777346466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21ad0d0"} 
[2026-04-28 08:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:52:24] 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-04-28 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-28 08:52:24] 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-04-28 08:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000689152001,"66":13613,"97":206,"85":15104,"24":0,"16":76906105308971008,"45":8818892520628647936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000689152001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906105308971008,"km_value":76906105308971.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818892520628647936,"description":"Unknown IO ID 45"} 
[2026-04-28 08:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000689152001,"power":13613,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8818892520628647936}} 
[2026-04-28 08:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":56393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:52:24] local.INFO: GPS data processed {"connection_id":56393,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:52:24] local.INFO: Acknowledgment sent {"connection_id":56393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:52:29] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b22d8012d7a630005e46b78000b008722..."} 
[2026-04-28 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b22d8012d7a630005e46b78000b008722..."} 
[2026-04-28 08:52:29] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b22d8012d7a630005e46b78000b008722..."} 
[2026-04-28 08:52:29] local.INFO: Packet analysis {"connection_id":56393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:52:29] local.INFO: Extracted packet for processing {"connection_id":56393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:52:29] local.INFO: GPS Element Parsed {"raw_longitude":762995456,"raw_latitude":98855800,"longitude_deg":76.2995456,"latitude_deg":9.88558,"altitude":11,"angle":135,"satellites":34,"speed":0,"hex_longitude":"2d7a6300","hex_latitude":"05e46b78","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000695296001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906105308971008,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818892520628647936,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777346487000,"timestamp_ms":1777346487000,"timestamp_seconds":1777346487,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b22d8"} 
[2026-04-28 08:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:52: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-04-28 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-28 08:52:29] 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-04-28 08: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-04-28 08:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000695296001,"66":13602,"97":206,"85":15104,"24":0,"16":76906105308971008,"45":8818892520628647936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000695296001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:52:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906105308971008,"km_value":76906105308971.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818892520628647936,"description":"Unknown IO ID 45"} 
[2026-04-28 08:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000695296001,"power":13602,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8818892520628647936}} 
[2026-04-28 08:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":56393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:52:29] local.INFO: GPS data processed {"connection_id":56393,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:52:29] local.INFO: Acknowledgment sent {"connection_id":56393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:52:33] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:33] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2170428012d7faa4005afdf10001d00ae22..."} 
[2026-04-28 08:52:33] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:52:33] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd217"} 
[2026-04-28 08:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000554496001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777346217000,"timestamp_ms":1777346217000,"timestamp_seconds":1777346217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2170428"} 
[2026-04-28 08:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:52:33] 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-04-28 08:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000554496001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000554496001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:52:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000554496001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:52:33] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:52:33] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:53:00] local.INFO: TCP Data received {"connection_id":56246,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:00] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:00] local.INFO: IMEI packet received {"connection_id":56246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:53:00] local.INFO: TCP Data received {"connection_id":56245,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:00] local.INFO: Processing buffer {"connection_id":56245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:00] local.INFO: IMEI packet received {"connection_id":56245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:53:01] local.INFO: TCP Data received {"connection_id":56246,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:01] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:01] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:01] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:53:01] 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-04-28 08:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:53:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:53:01] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:53:01] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:53:12] local.INFO: TCP Data received {"connection_id":56463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:12] local.INFO: Processing buffer {"connection_id":56463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:12] local.INFO: IMEI packet received {"connection_id":56463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":56463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:53:17] local.INFO: TCP Data received {"connection_id":56463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:17] local.INFO: Processing buffer {"connection_id":56463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:53:17] local.INFO: IMEI packet received {"connection_id":56463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":56463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:53:19] local.INFO: TCP Data received {"connection_id":56463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b55a0012d7a640005e46a40000a007b27..."} 
[2026-04-28 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b55a0012d7a640005e46a40000a007b27..."} 
[2026-04-28 08:53:19] local.INFO: Processing buffer {"connection_id":56463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b55a0012d7a640005e46a40000a007b27..."} 
[2026-04-28 08:53:19] local.INFO: Packet analysis {"connection_id":56463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:19] local.INFO: Extracted packet for processing {"connection_id":56463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":98855488,"longitude_deg":76.2995712,"latitude_deg":9.8855488,"altitude":10,"angle":123,"satellites":39,"speed":3,"hex_longitude":"2d7a6400","hex_latitude":"05e46a40","is_valid_coordinates":true} 
[2026-04-28 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000700672001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906126783807488,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818892520628647936,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346500000,"timestamp_ms":1777346500000,"timestamp_seconds":1777346500,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b55a0"} 
[2026-04-28 08:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 08:53: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-04-28 08:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000700672001,"66":12928,"97":206,"85":15104,"24":3,"16":76906126783807488,"45":8818892520628647936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000700672001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906126783807488,"km_value":76906126783807.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818892520628647936,"description":"Unknown IO ID 45"} 
[2026-04-28 08:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000700672001,"power":12928,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8818892520628647936}} 
[2026-04-28 08:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":56463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:53:19] local.INFO: GPS data processed {"connection_id":56463,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:53:19] local.INFO: Acknowledgment sent {"connection_id":56463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:53:32] local.INFO: TCP Data received {"connection_id":56246,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:32] local.INFO: Processing buffer {"connection_id":56246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:53:32] local.INFO: Packet analysis {"connection_id":56246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:32] local.INFO: Extracted packet for processing {"connection_id":56246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:53:32] 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-04-28 08:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:53:32] local.INFO: GPS data processed {"connection_id":56246,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:53:32] local.INFO: Acknowledgment sent {"connection_id":56246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:53:35] local.INFO: TCP Data received {"connection_id":57137,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:35] local.INFO: Processing buffer {"connection_id":57137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:53:35] local.INFO: IMEI packet received {"connection_id":57137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":57137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:53:51] local.INFO: TCP Data received {"connection_id":56463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:53:51] local.INFO: Processing buffer {"connection_id":56463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:53:51] local.INFO: Packet analysis {"connection_id":56463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:51] local.INFO: Extracted packet for processing {"connection_id":56463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:53: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-04-28 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000704000001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995605278720,"note":"Value kept but may cause issues"} 
[2026-04-28 08:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-28 08:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000704000001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8819173995605278720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000704000001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995605278720,"description":"Unknown IO ID 45"} 
[2026-04-28 08:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000704000001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8819173995605278720}} 
[2026-04-28 08:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":56463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:53:51] local.INFO: GPS data processed {"connection_id":56463,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:53:51] local.INFO: Acknowledgment sent {"connection_id":56463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:53:54] local.INFO: TCP Data received {"connection_id":56247,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:54] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:53:54] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:54:00] local.INFO: TCP Data received {"connection_id":56247,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:00] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:00] local.INFO: IMEI packet received {"connection_id":56247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":56247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:54:00] local.INFO: TCP Data received {"connection_id":56247,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:00] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:00] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:00] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:54:00] 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-04-28 08: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-04-28 08:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:54:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:54:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:54:00] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:54:00] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:54:27] local.INFO: TCP Data received {"connection_id":56248,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:27] local.INFO: Processing buffer {"connection_id":56248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:27] local.INFO: IMEI packet received {"connection_id":56248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":56248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:54:32] local.INFO: TCP Data received {"connection_id":56247,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:32] local.INFO: Processing buffer {"connection_id":56247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:54:32] local.INFO: Packet analysis {"connection_id":56247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:32] local.INFO: Extracted packet for processing {"connection_id":56247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:54:32] 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-04-28 08: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-04-28 08:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":56247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:54:32] local.INFO: GPS data processed {"connection_id":56247,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:54:32] local.INFO: Acknowledgment sent {"connection_id":56247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:54:32] local.INFO: TCP Data received {"connection_id":56248,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:32] local.INFO: Processing buffer {"connection_id":56248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:54:32] local.INFO: IMEI packet received {"connection_id":56248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":56248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:54:33] local.INFO: TCP Data received {"connection_id":56248,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:54:33] local.INFO: Processing buffer {"connection_id":56248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:54:33] local.INFO: Packet analysis {"connection_id":56248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:33] local.INFO: Extracted packet for processing {"connection_id":56248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:54:33] 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-04-28 08:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":56248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:54:33] local.INFO: GPS data processed {"connection_id":56248,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:54:33] local.INFO: Acknowledgment sent {"connection_id":56248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:54:54] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:54] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:54] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:54:59] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:59] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:54:59] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:55:00] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:00] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:00] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:00] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:55:00] 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-04-28 08: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-04-28 08:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:55:00] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:55:00] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:55:15] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:15] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:15] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:55:19] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:19] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:55:19] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 08:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:55:22] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:22] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:22] local.INFO: IMEI packet received {"connection_id":56249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":56249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:55:32] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:32] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:32] local.INFO: IMEI packet received {"connection_id":56249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":56249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:55:32] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:32] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:55:32] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:32] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:55:32] 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-04-28 08: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-04-28 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:55:32] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:55:32] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:55:36] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:36] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:36] local.INFO: IMEI packet received {"connection_id":56249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":56249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:55:37] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:37] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:55:37] local.INFO: IMEI packet received {"connection_id":56249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":56249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:55:42] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:42] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:42] local.INFO: Packet analysis {"connection_id":56249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:42] local.INFO: Extracted packet for processing {"connection_id":56249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:55:42] 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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:55:42] 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-04-28 08: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-04-28 08:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":56249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":56249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":56249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":56249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:55:42] local.INFO: GPS data processed {"connection_id":56249,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:55:42] local.INFO: Acknowledgment sent {"connection_id":56249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:55:54] local.INFO: TCP Data received {"connection_id":57140,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:54] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:54] local.INFO: IMEI packet received {"connection_id":57140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":57140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:55:54] local.INFO: TCP Data received {"connection_id":56249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:54] local.INFO: Processing buffer {"connection_id":56249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:55:54] local.INFO: Packet analysis {"connection_id":56249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:54] local.INFO: Extracted packet for processing {"connection_id":56249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:55:54] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:55: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-04-28 08:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08: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-04-28 08:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":56249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:55:54] local.INFO: GPS data processed {"connection_id":56249,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:55:54] local.INFO: Acknowledgment sent {"connection_id":56249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:55:59] local.INFO: TCP Data received {"connection_id":57140,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:59] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:55:59] local.INFO: IMEI packet received {"connection_id":57140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":57140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:56:00] local.INFO: TCP Data received {"connection_id":57140,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:00] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:00] local.INFO: Packet analysis {"connection_id":57140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:00] local.INFO: Extracted packet for processing {"connection_id":57140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:56:00] 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-04-28 08:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:56:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:56:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":57140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:56:00] local.INFO: GPS data processed {"connection_id":57140,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:56:00] local.INFO: Acknowledgment sent {"connection_id":57140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:56:10] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:56:10] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 08:56:10] local.INFO: IMEI packet received {"connection_id":56465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":56465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:56:12] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:12] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:12] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:56:17] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:17] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:56:17] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:56:19] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:19] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:19] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:19] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:56: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-04-28 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:56:19] 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-04-28 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:56:19] 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-04-28 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:56:20] local.INFO: GPS data processed {"connection_id":56398,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:56:20] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:56:32] local.INFO: TCP Data received {"connection_id":57140,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:32] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:56:32] local.INFO: Packet analysis {"connection_id":57140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:32] local.INFO: Extracted packet for processing {"connection_id":57140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:56: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-04-28 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:56:32] 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-04-28 08:56: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-04-28 08:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":57140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:56:32] local.INFO: GPS data processed {"connection_id":57140,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:56:32] local.INFO: Acknowledgment sent {"connection_id":57140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:56:52] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:52] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b8868012d7a678005e467f00009008226..."} 
[2026-04-28 08:56:52] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:52] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854896,"longitude_deg":76.2996608,"latitude_deg":9.8854896,"altitude":9,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d7a6780","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-04-28 08:56: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-04-28 08:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777346513000,"timestamp_ms":1777346513000,"timestamp_seconds":1777346513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b8868"} 
[2026-04-28 08:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:56: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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:56: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-04-28 08: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-04-28 08:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13450,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:56:52] local.INFO: GPS data processed {"connection_id":56398,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:56:52] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:57:04] local.INFO: TCP Data received {"connection_id":56399,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:04] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:04] local.INFO: IMEI packet received {"connection_id":56399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":56399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:57:05] local.INFO: TCP Data received {"connection_id":56399,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:05] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:05] local.INFO: IMEI packet received {"connection_id":56399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":56399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:57:06] local.INFO: TCP Data received {"connection_id":56399,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:06] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:06] local.INFO: Packet analysis {"connection_id":56399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:57:06] local.INFO: Extracted packet for processing {"connection_id":56399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:57:06] 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-04-28 08:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:57:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:57:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":56399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:57:06] local.INFO: GPS data processed {"connection_id":56399,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:57:06] local.INFO: Acknowledgment sent {"connection_id":56399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:57:10] local.INFO: TCP Data received {"connection_id":56399,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:10] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd21b9bf0012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 08:57:10] local.INFO: Packet analysis {"connection_id":56399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:57:10] local.INFO: Extracted packet for processing {"connection_id":56399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd21b"} 
[2026-04-28 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000631552001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777346518000,"timestamp_ms":1777346518000,"timestamp_seconds":1777346518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd21b9bf0"} 
[2026-04-28 08:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 08:57:10] 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-04-28 08:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000631552001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000631552001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:57:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:57:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000631552001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":56399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:57:10] local.INFO: GPS data processed {"connection_id":56399,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:57:10] local.INFO: Acknowledgment sent {"connection_id":56399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:57:12] local.INFO: TCP Data received {"connection_id":56251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:12] local.INFO: Processing buffer {"connection_id":56251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:12] local.INFO: IMEI packet received {"connection_id":56251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":56251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:57:17] local.INFO: TCP Data received {"connection_id":56251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:17] local.INFO: Processing buffer {"connection_id":56251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:57:17] local.INFO: IMEI packet received {"connection_id":56251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":56251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:57:19] local.INFO: TCP Data received {"connection_id":56251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:19] local.INFO: Processing buffer {"connection_id":56251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:19] local.INFO: Packet analysis {"connection_id":56251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:57:19] local.INFO: Extracted packet for processing {"connection_id":56251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:57:19] 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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:57:19] 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-04-28 08: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-04-28 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":56251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:57:19] local.INFO: GPS data processed {"connection_id":56251,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:57:19] local.INFO: Acknowledgment sent {"connection_id":56251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:57:50] local.INFO: TCP Data received {"connection_id":56251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:50] local.INFO: Processing buffer {"connection_id":56251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:57:50] local.INFO: Packet analysis {"connection_id":56251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:57:50] local.INFO: Extracted packet for processing {"connection_id":56251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:57:50] 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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:57: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-04-28 08: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-04-28 08:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":56251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:57:50] local.INFO: GPS data processed {"connection_id":56251,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:57:50] local.INFO: Acknowledgment sent {"connection_id":56251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:57:55] local.INFO: TCP Data received {"connection_id":57143,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:55] local.INFO: Processing buffer {"connection_id":57143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:57:55] local.INFO: IMEI packet received {"connection_id":57143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":57143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:58:00] local.INFO: TCP Data received {"connection_id":57143,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:00] local.INFO: Processing buffer {"connection_id":57143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:00] local.INFO: IMEI packet received {"connection_id":57143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":57143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:58:01] local.INFO: TCP Data received {"connection_id":57143,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:01] local.INFO: Processing buffer {"connection_id":57143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:01] local.INFO: Packet analysis {"connection_id":57143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:01] local.INFO: Extracted packet for processing {"connection_id":57143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 08:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":57143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:58:01] local.INFO: GPS data processed {"connection_id":57143,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:58:01] local.INFO: Acknowledgment sent {"connection_id":57143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:58:12] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:12] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:12] local.INFO: IMEI packet received {"connection_id":56466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":56466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:58:17] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:17] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:58:17] local.INFO: IMEI packet received {"connection_id":56466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":56466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:58:19] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:19] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:19] local.INFO: Packet analysis {"connection_id":56466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:19] local.INFO: Extracted packet for processing {"connection_id":56466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:58:19] 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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:58:19] 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-04-28 08: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-04-28 08:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":56466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:58:19] local.INFO: GPS data processed {"connection_id":56466,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:58:19] local.INFO: Acknowledgment sent {"connection_id":56466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:58:32] local.INFO: TCP Data received {"connection_id":57143,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:32] local.INFO: Processing buffer {"connection_id":57143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:58:32] local.INFO: Packet analysis {"connection_id":57143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:32] local.INFO: Extracted packet for processing {"connection_id":57143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 08:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":57143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:58:32] local.INFO: GPS data processed {"connection_id":57143,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:58:32] local.INFO: Acknowledgment sent {"connection_id":57143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:58:54] local.INFO: TCP Data received {"connection_id":57145,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:54] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:58:54] local.INFO: IMEI packet received {"connection_id":57145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":57145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:58:55] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:55] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:58:55] local.INFO: Packet analysis {"connection_id":56466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:55] local.INFO: Extracted packet for processing {"connection_id":56466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:58: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-04-28 08: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-04-28 08:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:58:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":56466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:58:55] local.INFO: GPS data processed {"connection_id":56466,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:58:55] local.INFO: Acknowledgment sent {"connection_id":56466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:59:00] local.INFO: TCP Data received {"connection_id":57145,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:00] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:00] local.INFO: IMEI packet received {"connection_id":57145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":57145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:59:00] local.INFO: TCP Data received {"connection_id":57145,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:00] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:00] local.INFO: Packet analysis {"connection_id":57145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:00] local.INFO: Extracted packet for processing {"connection_id":57145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 08:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":57145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:59:00] local.INFO: GPS data processed {"connection_id":57145,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:59:00] local.INFO: Acknowledgment sent {"connection_id":57145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:59:05] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:05] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:05] local.INFO: IMEI packet received {"connection_id":57144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":57144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:59:18] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:18] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:18] local.INFO: IMEI packet received {"connection_id":56468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":56468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:59:23] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:23] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 08:59:23] local.INFO: IMEI packet received {"connection_id":56468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 08:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":56468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 08:59:24] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:24] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:24] local.INFO: Packet analysis {"connection_id":56468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:24] local.INFO: Extracted packet for processing {"connection_id":56468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:59:24] 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-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:59: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-04-28 08: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-04-28 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":56468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:59:24] local.INFO: GPS data processed {"connection_id":56468,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:59:24] local.INFO: Acknowledgment sent {"connection_id":56468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:59:28] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:28] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 08:59:28] local.INFO: Packet analysis {"connection_id":56468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:28] local.INFO: Extracted packet for processing {"connection_id":56468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 08: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-04-28 08:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 08:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 08:59:28] 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-04-28 08: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-04-28 08:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 08:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 08:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 08:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 08:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 08:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 08:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:59:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 08:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 08:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 08:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 08:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":56468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:59:28] local.INFO: GPS data processed {"connection_id":56468,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:59:28] local.INFO: Acknowledgment sent {"connection_id":56468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:59:32] local.INFO: TCP Data received {"connection_id":57145,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:32] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 08:59:32] local.INFO: Packet analysis {"connection_id":57145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:32] local.INFO: Extracted packet for processing {"connection_id":57145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 08:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 08:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 08:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 08:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 08:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 08:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 08:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 08:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 08:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 08:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 08:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 08:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 08:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 08:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 08:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 08:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 08:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 08:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 08:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 08:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 08:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 08:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 08:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 08:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 08:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":57145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 08:59:32] local.INFO: GPS data processed {"connection_id":57145,"processed":1,"errors":0,"total":1} 
[2026-04-28 08:59:32] local.INFO: Acknowledgment sent {"connection_id":57145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 08:59:35] local.INFO: TCP Data received {"connection_id":56253,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:35] local.INFO: Processing buffer {"connection_id":56253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 08:59:35] local.INFO: IMEI packet received {"connection_id":56253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 08:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 08:59:59] local.INFO: TCP Data received {"connection_id":56254,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:59] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 08:59:59] local.INFO: IMEI packet received {"connection_id":56254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 08:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:00:05] local.INFO: TCP Data received {"connection_id":56254,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:05] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:05] local.INFO: IMEI packet received {"connection_id":56254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":56254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:00:05] local.INFO: TCP Data received {"connection_id":56254,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:05] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:05] local.INFO: Packet analysis {"connection_id":56254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:05] local.INFO: Extracted packet for processing {"connection_id":56254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":56254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:00:06] local.INFO: GPS data processed {"connection_id":56254,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:00:06] local.INFO: Acknowledgment sent {"connection_id":56254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:00:11] local.INFO: TCP Data received {"connection_id":56254,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:11] local.INFO: Processing buffer {"connection_id":56254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:00:11] local.INFO: Packet analysis {"connection_id":56254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:11] local.INFO: Extracted packet for processing {"connection_id":56254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:00:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:00:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":56254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:00:11] local.INFO: GPS data processed {"connection_id":56254,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:00:11] local.INFO: Acknowledgment sent {"connection_id":56254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:00:12] local.INFO: TCP Data received {"connection_id":56469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:12] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:12] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:00:17] local.INFO: TCP Data received {"connection_id":56469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:17] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:00:17] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:00:19] local.INFO: TCP Data received {"connection_id":56469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:19] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:19] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:19] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 09:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:00:19] 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-04-28 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 09:00:19] 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-04-28 09: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-04-28 09:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 09:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 09:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:00:19] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:00:19] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:00:51] local.INFO: TCP Data received {"connection_id":56469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:51] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:00:51] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:51] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 09:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 09:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 09:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 09:00: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-04-28 09:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 09:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:00:51] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:00:51] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:00:55] local.INFO: TCP Data received {"connection_id":56255,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:55] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:00:55] local.INFO: IMEI packet received {"connection_id":56255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":56255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:01:00] local.INFO: TCP Data received {"connection_id":56255,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:01:00] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:01:00] local.INFO: IMEI packet received {"connection_id":56255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":56255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:01:01] local.INFO: TCP Data received {"connection_id":56255,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:01] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:01] local.INFO: Packet analysis {"connection_id":56255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:01] local.INFO: Extracted packet for processing {"connection_id":56255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:01:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:01:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":56255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:01:01] local.INFO: GPS data processed {"connection_id":56255,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:01:01] local.INFO: Acknowledgment sent {"connection_id":56255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:01:12] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:12] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:12] local.INFO: IMEI packet received {"connection_id":56257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":56257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:01:14] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:14] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:14] local.INFO: IMEI packet received {"connection_id":56256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":56256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:01:15] local.INFO: TCP Data received {"connection_id":56256,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:15] local.INFO: Processing buffer {"connection_id":56256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:01:15] local.INFO: IMEI packet received {"connection_id":56256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":56256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:01:18] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:18] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:01:18] local.INFO: IMEI packet received {"connection_id":56257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":56257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:01:19] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:19] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:19] local.INFO: Packet analysis {"connection_id":56257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:19] local.INFO: Extracted packet for processing {"connection_id":56257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 09:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:01:19] 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-04-28 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 09:01:19] 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-04-28 09: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-04-28 09:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 09:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 09:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":56257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:01:19] local.INFO: GPS data processed {"connection_id":56257,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:01:19] local.INFO: Acknowledgment sent {"connection_id":56257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:01:33] local.INFO: TCP Data received {"connection_id":56255,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:33] local.INFO: Processing buffer {"connection_id":56255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:01:33] local.INFO: Packet analysis {"connection_id":56255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:33] local.INFO: Extracted packet for processing {"connection_id":56255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:01:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":56255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:01:33] local.INFO: GPS data processed {"connection_id":56255,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:01:33] local.INFO: Acknowledgment sent {"connection_id":56255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:01:50] local.INFO: TCP Data received {"connection_id":56257,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:50] local.INFO: Processing buffer {"connection_id":56257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2202800012d7a668005e468180009008228..."} 
[2026-04-28 09:01:50] local.INFO: Packet analysis {"connection_id":56257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:50] local.INFO: Extracted packet for processing {"connection_id":56257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98854936,"longitude_deg":76.2996352,"latitude_deg":9.8854936,"altitude":9,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d7a6680","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000707328001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76906178323415040,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023614464,"note":"Value kept but may cause issues"} 
[2026-04-28 09:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777346816000,"timestamp_ms":1777346816000,"timestamp_seconds":1777346816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2202800"} 
[2026-04-28 09:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:01:50] 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-04-28 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 09:01: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-04-28 09: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-04-28 09:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000707328001,"66":13037,"97":206,"85":15104,"24":0,"16":76906178323415040,"45":8820159158023614464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000707328001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76906178323415040,"km_value":76906178323415.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023614464,"description":"Unknown IO ID 45"} 
[2026-04-28 09:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000707328001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8820159158023614464}} 
[2026-04-28 09:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":56257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:01:50] local.INFO: GPS data processed {"connection_id":56257,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:01:50] local.INFO: Acknowledgment sent {"connection_id":56257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:02:00] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:00] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:00] local.INFO: IMEI packet received {"connection_id":56400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":56400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:02:05] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:05] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:05] local.INFO: IMEI packet received {"connection_id":56400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":56400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:02:05] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:05] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:05] local.INFO: Packet analysis {"connection_id":56400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:02:05] local.INFO: Extracted packet for processing {"connection_id":56400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:02:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:02:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":56400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:02:06] local.INFO: GPS data processed {"connection_id":56400,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:02:06] local.INFO: Acknowledgment sent {"connection_id":56400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:02:09] local.INFO: TCP Data received {"connection_id":56471,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:02:09] local.INFO: Processing buffer {"connection_id":56471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:02:09] local.INFO: IMEI packet received {"connection_id":56471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":56471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:02:11] local.INFO: TCP Data received {"connection_id":56400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:11] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22033b8012d7faa4005afdf10001d00ae20..."} 
[2026-04-28 09:02:11] local.INFO: Packet analysis {"connection_id":56400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:02:11] local.INFO: Extracted packet for processing {"connection_id":56400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd220"} 
[2026-04-28 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000708608001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777346819000,"timestamp_ms":1777346819000,"timestamp_seconds":1777346819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22033b8"} 
[2026-04-28 09:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000708608001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000708608001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:02:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:02:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000708608001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":56400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:02:11] local.INFO: GPS data processed {"connection_id":56400,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:02:11] local.INFO: Acknowledgment sent {"connection_id":56400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:02:55] local.INFO: TCP Data received {"connection_id":56259,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:55] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:02:55] local.INFO: IMEI packet received {"connection_id":56259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":56259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:03:00] local.INFO: TCP Data received {"connection_id":56259,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:00] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:00] local.INFO: IMEI packet received {"connection_id":56259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":56259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:03:01] local.INFO: TCP Data received {"connection_id":56259,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:01] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:01] local.INFO: Packet analysis {"connection_id":56259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:03:01] local.INFO: Extracted packet for processing {"connection_id":56259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:03:01] 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-04-28 09:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:03:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:03:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":56259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:03:01] local.INFO: GPS data processed {"connection_id":56259,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:03:01] local.INFO: Acknowledgment sent {"connection_id":56259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:03:32] local.INFO: TCP Data received {"connection_id":56259,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:33] local.INFO: Processing buffer {"connection_id":56259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:03:33] local.INFO: Packet analysis {"connection_id":56259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:03:33] local.INFO: Extracted packet for processing {"connection_id":56259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:03:33] 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-04-28 09:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:03:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":56259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:03:33] local.INFO: GPS data processed {"connection_id":56259,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:03:33] local.INFO: Acknowledgment sent {"connection_id":56259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:03:54] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:54] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:03:54] local.INFO: IMEI packet received {"connection_id":56472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":56472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:04:00] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:00] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:00] local.INFO: IMEI packet received {"connection_id":56472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":56472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:04:03] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:03] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:03] local.INFO: Packet analysis {"connection_id":56472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:04:03] local.INFO: Extracted packet for processing {"connection_id":56472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:04:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:04:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":56472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:04:03] local.INFO: GPS data processed {"connection_id":56472,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:04:03] local.INFO: Acknowledgment sent {"connection_id":56472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:04:35] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:35] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:04:35] local.INFO: Packet analysis {"connection_id":56472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:04:35] local.INFO: Extracted packet for processing {"connection_id":56472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:04:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:04:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":56472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:04:35] local.INFO: GPS data processed {"connection_id":56472,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:04:35] local.INFO: Acknowledgment sent {"connection_id":56472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:04:54] local.INFO: TCP Data received {"connection_id":57147,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:54] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:04:54] local.INFO: IMEI packet received {"connection_id":57147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":57147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:04:55] local.INFO: TCP Data received {"connection_id":56405,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:04:55] local.INFO: Processing buffer {"connection_id":56405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:04:55] local.INFO: IMEI packet received {"connection_id":56405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":56405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:05:00] local.INFO: TCP Data received {"connection_id":57147,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:05:00] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:05:00] local.INFO: IMEI packet received {"connection_id":57147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":57147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:05:01] local.INFO: TCP Data received {"connection_id":57147,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:01] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:01] local.INFO: Packet analysis {"connection_id":57147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:05:01] local.INFO: Extracted packet for processing {"connection_id":57147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:05:01] 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-04-28 09:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:05:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:05:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":57147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:05:01] local.INFO: GPS data processed {"connection_id":57147,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:05:01] local.INFO: Acknowledgment sent {"connection_id":57147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:05:32] local.INFO: TCP Data received {"connection_id":57147,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:32] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:05:32] local.INFO: Packet analysis {"connection_id":57147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:05:32] local.INFO: Extracted packet for processing {"connection_id":57147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:05:32] 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-04-28 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:05:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:05:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":57147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:05:32] local.INFO: GPS data processed {"connection_id":57147,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:05:32] local.INFO: Acknowledgment sent {"connection_id":57147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:05:35] local.INFO: TCP Data received {"connection_id":56473,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:05:35] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:05:35] local.INFO: IMEI packet received {"connection_id":56473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":56473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:06:00] local.INFO: TCP Data received {"connection_id":56474,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:00] local.INFO: Processing buffer {"connection_id":56474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:00] local.INFO: IMEI packet received {"connection_id":56474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":56474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:06:05] local.INFO: TCP Data received {"connection_id":56474,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:05] local.INFO: Processing buffer {"connection_id":56474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:05] local.INFO: IMEI packet received {"connection_id":56474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":56474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:06:06] local.INFO: TCP Data received {"connection_id":56474,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:06] local.INFO: Processing buffer {"connection_id":56474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:06] local.INFO: Packet analysis {"connection_id":56474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:06:06] local.INFO: Extracted packet for processing {"connection_id":56474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:06:06] 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-04-28 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:06:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:06:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":56474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:06:06] local.INFO: GPS data processed {"connection_id":56474,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:06:06] local.INFO: Acknowledgment sent {"connection_id":56474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:06:11] local.INFO: TCP Data received {"connection_id":56474,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:11] local.INFO: Processing buffer {"connection_id":56474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:06:11] local.INFO: Packet analysis {"connection_id":56474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:06:11] local.INFO: Extracted packet for processing {"connection_id":56474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:06:11] 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-04-28 09:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:06:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:06:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":56474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:06:11] local.INFO: GPS data processed {"connection_id":56474,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:06:11] local.INFO: Acknowledgment sent {"connection_id":56474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:06:54] local.INFO: TCP Data received {"connection_id":56261,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:54] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:54] local.INFO: IMEI packet received {"connection_id":56261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":56261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:06:59] local.INFO: TCP Data received {"connection_id":56261,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:59] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:06:59] local.INFO: IMEI packet received {"connection_id":56261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:07:01] local.INFO: TCP Data received {"connection_id":56261,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:01] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:01] local.INFO: Packet analysis {"connection_id":56261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:07:01] local.INFO: Extracted packet for processing {"connection_id":56261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:07:01] 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-04-28 09:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:07:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:07:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":56261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:07:01] local.INFO: GPS data processed {"connection_id":56261,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:07:01] local.INFO: Acknowledgment sent {"connection_id":56261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:07:12] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:12] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:12] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:07:14] local.INFO: TCP Data received {"connection_id":56406,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:14] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:07:14] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:07:32] local.INFO: TCP Data received {"connection_id":56261,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:32] local.INFO: Processing buffer {"connection_id":56261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd224cb80012d7faa4005afdf10001d00ae1f..."} 
[2026-04-28 09:07:32] local.INFO: Packet analysis {"connection_id":56261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:07:32] local.INFO: Extracted packet for processing {"connection_id":56261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd224"} 
[2026-04-28 09:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000785664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777347120000,"timestamp_ms":1777347120000,"timestamp_seconds":1777347120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd224cb80"} 
[2026-04-28 09:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:07:32] 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-04-28 09: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-04-28 09:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000785664001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000785664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:07:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000785664001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":56261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:07:32] local.INFO: GPS data processed {"connection_id":56261,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:07:32] local.INFO: Acknowledgment sent {"connection_id":56261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:07:54] local.INFO: TCP Data received {"connection_id":56262,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:07:54] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:07:54] local.INFO: IMEI packet received {"connection_id":56262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:08:00] local.INFO: TCP Data received {"connection_id":56262,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:08:00] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:08:00] local.INFO: IMEI packet received {"connection_id":56262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":56262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:08:01] local.INFO: TCP Data received {"connection_id":56262,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:01] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:01] local.INFO: Packet analysis {"connection_id":56262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:08:01] local.INFO: Extracted packet for processing {"connection_id":56262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:08:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:08:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":56262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:08:01] local.INFO: GPS data processed {"connection_id":56262,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:08:01] local.INFO: Acknowledgment sent {"connection_id":56262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:08:15] local.INFO: TCP Data received {"connection_id":57150,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:08:15] local.INFO: Processing buffer {"connection_id":57150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:08:15] local.INFO: IMEI packet received {"connection_id":57150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":57150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:08:32] local.INFO: TCP Data received {"connection_id":56262,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:32] local.INFO: Processing buffer {"connection_id":56262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:08:32] local.INFO: Packet analysis {"connection_id":56262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:08:32] local.INFO: Extracted packet for processing {"connection_id":56262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":56262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:08:32] local.INFO: GPS data processed {"connection_id":56262,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:08:32] local.INFO: Acknowledgment sent {"connection_id":56262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:09:00] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:00] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:00] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:09:04] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:04] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:04] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:09:05] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:05] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:05] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:09:05] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:09:05] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:09:05] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:09:10] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:10] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:09:10] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:09:10] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:09:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:09:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:09:10] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:09:10] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:09:54] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:54] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:09:54] local.INFO: IMEI packet received {"connection_id":56409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":56409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:10:00] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:00] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:00] local.INFO: IMEI packet received {"connection_id":56409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":56409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:10:01] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:01] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:01] local.INFO: Packet analysis {"connection_id":56409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:10:01] local.INFO: Extracted packet for processing {"connection_id":56409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:10:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:10:01] local.INFO: GPS data processed {"connection_id":56409,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:10:01] local.INFO: Acknowledgment sent {"connection_id":56409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:10:33] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:33] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:10:33] local.INFO: Packet analysis {"connection_id":56409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:10:33] local.INFO: Extracted packet for processing {"connection_id":56409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":56409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:10:33] local.INFO: GPS data processed {"connection_id":56409,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:10:33] local.INFO: Acknowledgment sent {"connection_id":56409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:10:54] local.INFO: TCP Data received {"connection_id":57152,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:54] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:54] local.INFO: IMEI packet received {"connection_id":57152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":57152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:10:55] local.INFO: TCP Data received {"connection_id":57151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:10:55] local.INFO: Processing buffer {"connection_id":57151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:10:55] local.INFO: IMEI packet received {"connection_id":57151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":57151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:10:59] local.INFO: TCP Data received {"connection_id":57152,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:59] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:10:59] local.INFO: IMEI packet received {"connection_id":57152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":57152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:11:00] local.INFO: TCP Data received {"connection_id":57152,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:00] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:00] local.INFO: Packet analysis {"connection_id":57152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:11:00] local.INFO: Extracted packet for processing {"connection_id":57152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":57152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:11:01] local.INFO: GPS data processed {"connection_id":57152,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:11:01] local.INFO: Acknowledgment sent {"connection_id":57152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:11:35] local.INFO: TCP Data received {"connection_id":56411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:11:35] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:11:35] local.INFO: IMEI packet received {"connection_id":56411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":56411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:11:37] local.INFO: TCP Data received {"connection_id":57152,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:37] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2296348012d7faa4005afdf10001d00ae21..."} 
[2026-04-28 09:11:37] local.INFO: Packet analysis {"connection_id":57152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:11:37] local.INFO: Extracted packet for processing {"connection_id":57152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd229"} 
[2026-04-28 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":29,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000862720001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777347421000,"timestamp_ms":1777347421000,"timestamp_seconds":1777347421,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2296348"} 
[2026-04-28 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000862720001,"66":25343,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000862720001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:11:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:11:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000862720001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":57152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:11:37] local.INFO: GPS data processed {"connection_id":57152,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:11:37] local.INFO: Acknowledgment sent {"connection_id":57152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:11:54] local.INFO: TCP Data received {"connection_id":56265,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:54] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:54] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:11:57] local.INFO: TCP Data received {"connection_id":56265,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:57] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:57] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:11:59] local.INFO: TCP Data received {"connection_id":56265,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:59] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:11:59] local.INFO: IMEI packet received {"connection_id":56265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:12:03] local.INFO: TCP Data received {"connection_id":56265,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22d4f30012d7faa4005afdf10001500ae22..."} 
[2026-04-28 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22d4f30012d7faa4005afdf10001500ae22..."} 
[2026-04-28 09:12:03] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22d4f30012d7faa4005afdf10001500ae22..."} 
[2026-04-28 09:12:03] local.INFO: Packet analysis {"connection_id":56265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:03] local.INFO: Extracted packet for processing {"connection_id":56265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411984,"longitude_deg":76.3341376,"latitude_deg":9.5411984,"altitude":21,"angle":174,"satellites":34,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afdf10","is_valid_coordinates":true} 
[2026-04-28 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455000939776001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777347678000,"timestamp_ms":1777347678000,"timestamp_seconds":1777347678,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22d4f30"} 
[2026-04-28 09:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455000939776001,"66":25321,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455000939776001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:12:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:12:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455000939776001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":56265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:12:03] local.INFO: GPS data processed {"connection_id":56265,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:12:03] local.INFO: Acknowledgment sent {"connection_id":56265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:12:35] local.INFO: TCP Data received {"connection_id":56265,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22d5ed0012d7fa3c005afde58001500f422..."} 
[2026-04-28 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22d5ed0012d7fa3c005afde58001500f422..."} 
[2026-04-28 09:12:35] local.INFO: Processing buffer {"connection_id":56265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22d5ed0012d7fa3c005afde58001500f422..."} 
[2026-04-28 09:12:35] local.INFO: Packet analysis {"connection_id":56265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:35] local.INFO: Extracted packet for processing {"connection_id":56265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763339712,"raw_latitude":95411800,"longitude_deg":76.3339712,"latitude_deg":9.54118,"altitude":21,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7fa3c0","hex_latitude":"05afde58","is_valid_coordinates":true} 
[2026-04-28 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001005568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027304960,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777347682000,"timestamp_ms":1777347682000,"timestamp_seconds":1777347682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22d5ed0"} 
[2026-04-28 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001005568001,"66":25180,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9199235582027304960},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001005568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:12:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:12:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027304960,"description":"Unknown IO ID 45"} 
[2026-04-28 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001005568001,"power":25180,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199235582027304960}} 
[2026-04-28 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":56265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:12:35] local.INFO: GPS data processed {"connection_id":56265,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:12:35] local.INFO: Acknowledgment sent {"connection_id":56265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:12:45] local.INFO: TCP Data received {"connection_id":56413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:45] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:45] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:12:50] local.INFO: TCP Data received {"connection_id":56413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:50] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:12:50] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:12:51] local.INFO: TCP Data received {"connection_id":56413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22d5ae8012d7b0cc005e34e700003008826..."} 
[2026-04-28 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22d5ae8012d7b0cc005e34e700003008826..."} 
[2026-04-28 09:12:51] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22d5ae8012d7b0cc005e34e700003008826..."} 
[2026-04-28 09:12:51] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:51] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98782832,"longitude_deg":76.3038912,"latitude_deg":9.8782832,"altitude":3,"angle":136,"satellites":38,"speed":13,"hex_longitude":"2d7b0cc0","hex_latitude":"05e34e70","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001004032001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76910387391365120,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093664256,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777347681000,"timestamp_ms":1777347681000,"timestamp_seconds":1777347681,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22d5ae8"} 
[2026-04-28 09:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:12:51] 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-04-28 09: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-04-28 09:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001004032001,"66":13319,"157":206,"87":12288,"24":13,"16":76910387391365120,"45":8864421098093664256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001004032001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 09:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76910387391365120,"km_value":76910387391365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093664256,"description":"Unknown IO ID 45"} 
[2026-04-28 09:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001004032001,"power":13319,"unknown_157":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8864421098093664256}} 
[2026-04-28 09:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:12:51] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:12:51] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:12:51] local.INFO: TCP Data received {"connection_id":56413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22d7640012d7b108005e34a800004009423..."} 
[2026-04-28 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22d7640012d7b108005e34a800004009423..."} 
[2026-04-28 09:12:51] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22d7640012d7b108005e34a800004009423..."} 
[2026-04-28 09:12:51] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:51] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98781824,"longitude_deg":76.3039872,"latitude_deg":9.8781824,"altitude":4,"angle":148,"satellites":35,"speed":6,"hex_longitude":"2d7b1080","hex_latitude":"05e34a80","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001006336001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76910451815874560,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897906601984,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777347688000,"timestamp_ms":1777347688000,"timestamp_seconds":1777347688,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22d7640"} 
[2026-04-28 09:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09: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":7,"data_length":795,"current_offset":136} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3526109752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2794455044,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2147869640,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823808512,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-898466830814855163,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.WARNING: Large IO value detected {"io_id":228,"raw_value":945755938938431488,"note":"Value kept but may cause issues"} 
[2026-04-28 09:12:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,61,55,45,192,89,1,40,10,66,32,104,39,214,240,12,60,210,227,4,113,205,30,224,56,239,53,2,17,5,3,28,181,43,228],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-04-28 09:12:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216322478904770560,"timestamp_seconds":216322478904770.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 09:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001006336001,"66":13656,"157":206,"87":12288,"24":6,"16":76910451815874560,"45":8866672897906601984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 09:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001006336001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 09:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76910451815874560,"km_value":76910451815874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897906601984,"description":"Unknown IO ID 45"} 
[2026-04-28 09:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001006336001,"power":13656,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8866672897906601984}} 
[2026-04-28 09:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:12:51] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:12:51] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:12:54] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:12:54] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:12:54] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:13:00] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:00] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:00] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:13:01] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22db0d8012d7fa3c005afde58001500f424..."} 
[2026-04-28 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22db0d8012d7fa3c005afde58001500f424..."} 
[2026-04-28 09:13:01] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22db0d8012d7fa3c005afde58001500f424..."} 
[2026-04-28 09:13:01] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:13:01] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763339712,"raw_latitude":95411800,"longitude_deg":76.3339712,"latitude_deg":9.54118,"altitude":21,"angle":244,"satellites":36,"speed":0,"hex_longitude":"2d7fa3c0","hex_latitude":"05afde58","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001006592001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346850776776704,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405994678638592,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347703000,"timestamp_ms":1777347703000,"timestamp_seconds":1777347703,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22db0d8"} 
[2026-04-28 09:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09: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-04-28 09: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 09:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001006592001,"66":27800,"236":206,"19":45568,"24":0,"16":282346850776776704,"45":9197405994678638592},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001006592001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346850776776704,"km_value":282346850776776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405994678638592,"description":"Unknown IO ID 45"} 
[2026-04-28 09:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001006592001,"power":27800,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197405994678638592}} 
[2026-04-28 09:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:13:01] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:13:01] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:13:11] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:11] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:11] local.INFO: IMEI packet received {"connection_id":56414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":56414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:13:12] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:12] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:12] local.INFO: IMEI packet received {"connection_id":56414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":56414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:13:17] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:17] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:13:17] local.INFO: IMEI packet received {"connection_id":56414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":56414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:13:18] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22ec248012d7b150005e31078000000cf28..."} 
[2026-04-28 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22ec248012d7b150005e31078000000cf28..."} 
[2026-04-28 09:13:18] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22ec248012d7b150005e31078000000cf28..."} 
[2026-04-28 09:13:18] local.INFO: Packet analysis {"connection_id":56414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:13:18] local.INFO: Extracted packet for processing {"connection_id":56414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98766968,"longitude_deg":76.3041024,"latitude_deg":9.8766968,"altitude":0,"angle":207,"satellites":40,"speed":2,"hex_longitude":"2d7b1500","hex_latitude":"05e31078","is_valid_coordinates":true} 
[2026-04-28 09:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001028864001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76911212025085952,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435204634624,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777347773000,"timestamp_ms":1777347773000,"timestamp_seconds":1777347773,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22ec248"} 
[2026-04-28 09:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:13: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-04-28 09:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-28 09:13: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-04-28 09:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001028864001,"66":13319,"97":206,"85":15104,"24":2,"16":76911212025085952,"45":8869065435204634624},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001028864001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76911212025085952,"km_value":76911212025085.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435204634624,"description":"Unknown IO ID 45"} 
[2026-04-28 09:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001028864001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8869065435204634624}} 
[2026-04-28 09:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":56414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:13:18] local.INFO: GPS data processed {"connection_id":56414,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:13:18] local.INFO: Acknowledgment sent {"connection_id":56414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:13:20] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:13:20] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:13:20] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:13:32] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22dc460012d7fa70005afdf90000f003e23..."} 
[2026-04-28 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22dc460012d7fa70005afdf90000f003e23..."} 
[2026-04-28 09:13:32] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22dc460012d7fa70005afdf90000f003e23..."} 
[2026-04-28 09:13:32] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:13:32] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22d"} 
[2026-04-28 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95412112,"longitude_deg":76.3340544,"latitude_deg":9.5412112,"altitude":15,"angle":62,"satellites":35,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05afdf90","is_valid_coordinates":true} 
[2026-04-28 09:13: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-04-28 09:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001011968001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405994678638592,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777347708000,"timestamp_ms":1777347708000,"timestamp_seconds":1777347708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22dc460"} 
[2026-04-28 09:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 09:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:13: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-04-28 09:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001011968001,"66":27800,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197405994678638592},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001011968001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405994678638592,"description":"Unknown IO ID 45"} 
[2026-04-28 09:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001011968001,"power":27800,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197405994678638592}} 
[2026-04-28 09:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:13:32] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:13:32] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:13:54] local.INFO: TCP Data received {"connection_id":56267,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:54] local.INFO: Processing buffer {"connection_id":56267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:54] local.INFO: IMEI packet received {"connection_id":56267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":56267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:13:54] local.INFO: TCP Data received {"connection_id":56414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22f56b8012d7b144005e30be0000000ce1f..."} 
[2026-04-28 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22f56b8012d7b144005e30be0000000ce1f..."} 
[2026-04-28 09:13:54] local.INFO: Processing buffer {"connection_id":56414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22f56b8012d7b144005e30be0000000ce1f..."} 
[2026-04-28 09:13:54] local.INFO: Packet analysis {"connection_id":56414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:13:54] local.INFO: Extracted packet for processing {"connection_id":56414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98765792,"longitude_deg":76.3040832,"latitude_deg":9.8765792,"altitude":0,"angle":206,"satellites":31,"speed":2,"hex_longitude":"2d7b1440","hex_latitude":"05e30be0","is_valid_coordinates":true} 
[2026-04-28 09:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001039360001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76911293629464576,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960227586048,"note":"Value kept but may cause issues"} 
[2026-04-28 09:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777347811000,"timestamp_ms":1777347811000,"timestamp_seconds":1777347811,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22f56b8"} 
[2026-04-28 09:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-28 09:13: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-04-28 09:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001039360001,"66":13319,"97":206,"85":15104,"24":2,"16":76911293629464576,"45":8868783960227586048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001039360001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76911293629464576,"km_value":76911293629464.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960227586048,"description":"Unknown IO ID 45"} 
[2026-04-28 09:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001039360001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8868783960227586048}} 
[2026-04-28 09:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":56414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:13:54] local.INFO: GPS data processed {"connection_id":56414,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:13:54] local.INFO: Acknowledgment sent {"connection_id":56414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:13:59] local.INFO: TCP Data received {"connection_id":56267,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:59] local.INFO: Processing buffer {"connection_id":56267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:13:59] local.INFO: IMEI packet received {"connection_id":56267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:14:00] local.INFO: TCP Data received {"connection_id":56267,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e1668012d7fa70005afdf98000f003e21..."} 
[2026-04-28 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e1668012d7fa70005afdf98000f003e21..."} 
[2026-04-28 09:14:00] local.INFO: Processing buffer {"connection_id":56267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e1668012d7fa70005afdf98000f003e21..."} 
[2026-04-28 09:14:00] local.INFO: Packet analysis {"connection_id":56267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:14:00] local.INFO: Extracted packet for processing {"connection_id":56267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95412120,"longitude_deg":76.3340544,"latitude_deg":9.541212,"altitude":15,"angle":62,"satellites":33,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05afdf98","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001013248001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353028096,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777347729000,"timestamp_ms":1777347729000,"timestamp_seconds":1777347729,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e1668"} 
[2026-04-28 09:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 09:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001013248001,"66":27745,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353028096},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001013248001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353028096,"description":"Unknown IO ID 45"} 
[2026-04-28 09:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001013248001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353028096}} 
[2026-04-28 09:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":56267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:14:00] local.INFO: GPS data processed {"connection_id":56267,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:14:00] local.INFO: Acknowledgment sent {"connection_id":56267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:14:09] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:09] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:09] local.INFO: IMEI packet received {"connection_id":57154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":57154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:14:12] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:12] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:14:12] local.INFO: IMEI packet received {"connection_id":57154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":57154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:14:18] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:18] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:18] local.INFO: IMEI packet received {"connection_id":56415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":56415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:14:19] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:19] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:19] local.INFO: IMEI packet received {"connection_id":56415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":56415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:14:22] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:22] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:14:22] local.INFO: IMEI packet received {"connection_id":56415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":56415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:14:23] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e010000019dd22f5aa0012d7b148005e30b80000000c11e..."} 
[2026-04-28 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":93,"packet_hex":"00000000000000518e010000019dd22f5aa0012d7b148005e30b80000000c11e..."} 
[2026-04-28 09:14:23] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd22f5aa0012d7b148005e30b80000000c11e..."} 
[2026-04-28 09:14:23] local.INFO: Packet analysis {"connection_id":56415,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd22f"} 
[2026-04-28 09:14:23] local.INFO: Extracted packet for processing {"connection_id":56415,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd22f"} 
[2026-04-28 09:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98765696,"longitude_deg":76.3040896,"latitude_deg":9.8765696,"altitude":0,"angle":193,"satellites":30,"speed":2,"hex_longitude":"2d7b1480","hex_latitude":"05e30b80","is_valid_coordinates":true} 
[2026-04-28 09: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":93,"current_offset":40} 
[2026-04-28 09:14:23] 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-04-28 09:14:23] 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-04-28 09:14:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:14:23] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 09:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56415,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 09:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 09:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 09:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 09:14:23] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 09:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":56415,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 09:14:23] local.ERROR: GPS data processing failed {"connection_id":56415,"error":"No valid data to process"} 
[2026-04-28 09:14:23] local.INFO: Acknowledgment sent {"connection_id":56415,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 09:14:31] local.INFO: TCP Data received {"connection_id":56267,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e4548012d7fa70005afdf98000f003e23..."} 
[2026-04-28 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e4548012d7fa70005afdf98000f003e23..."} 
[2026-04-28 09:14:31] local.INFO: Processing buffer {"connection_id":56267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e4548012d7fa70005afdf98000f003e23..."} 
[2026-04-28 09:14:31] local.INFO: Packet analysis {"connection_id":56267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:14:31] local.INFO: Extracted packet for processing {"connection_id":56267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95412120,"longitude_deg":76.3340544,"latitude_deg":9.541212,"altitude":15,"angle":62,"satellites":35,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05afdf98","is_valid_coordinates":true} 
[2026-04-28 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001018624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777347741000,"timestamp_ms":1777347741000,"timestamp_seconds":1777347741,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e4548"} 
[2026-04-28 09:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 09:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001018624001,"66":27865,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001018624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:14:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:14:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001018624001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":56267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:14:31] local.INFO: GPS data processed {"connection_id":56267,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:14:31] local.INFO: Acknowledgment sent {"connection_id":56267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:14:54] local.INFO: TCP Data received {"connection_id":56415,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22f75f8012d7b150005e30948000000b51f..."} 
[2026-04-28 09:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22f75f8012d7b150005e30948000000b51f..."} 
[2026-04-28 09:14:54] local.INFO: Processing buffer {"connection_id":56415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22f75f8012d7b150005e30948000000b51f..."} 
[2026-04-28 09:14:54] local.INFO: Packet analysis {"connection_id":56415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:14:54] local.INFO: Extracted packet for processing {"connection_id":56415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98765128,"longitude_deg":76.3041024,"latitude_deg":9.8765128,"altitude":0,"angle":181,"satellites":31,"speed":3,"hex_longitude":"2d7b1500","hex_latitude":"05e30948","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001039872001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76911327989202944,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328971722752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777347819000,"timestamp_ms":1777347819000,"timestamp_seconds":1777347819,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22f75f8"} 
[2026-04-28 09:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3526305752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":925489723443257600,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308454,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809271808,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2589571080588181509,"note":"Value kept but may cause issues"} 
[2026-04-28 09:14:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,62,86,45,64,11,31,10,66,82,12,55,1,240,187,227,210,4,113,205,43,21,208,33,239,52,2,17,5,138,47],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-04-28 09:14:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":212334593310720,"timestamp_seconds":212334593310.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 09:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001039872001,"66":13319,"97":206,"85":15104,"24":3,"16":76911327989202944,"45":8868854328971722752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001039872001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76911327989202944,"km_value":76911327989202.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328971722752,"description":"Unknown IO ID 45"} 
[2026-04-28 09:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001039872001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8868854328971722752}} 
[2026-04-28 09:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":56415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:14:54] local.INFO: GPS data processed {"connection_id":56415,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:14:54] local.INFO: Acknowledgment sent {"connection_id":56415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:14:59] local.INFO: TCP Data received {"connection_id":56268,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:14:59] local.INFO: Processing buffer {"connection_id":56268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:14:59] local.INFO: IMEI packet received {"connection_id":56268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:15:04] local.INFO: TCP Data received {"connection_id":56268,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:04] local.INFO: Processing buffer {"connection_id":56268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:04] local.INFO: IMEI packet received {"connection_id":56268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":56268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:15:06] local.INFO: TCP Data received {"connection_id":56268,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:06] local.INFO: Processing buffer {"connection_id":56268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:06] local.INFO: Packet analysis {"connection_id":56268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:15:06] local.INFO: Extracted packet for processing {"connection_id":56268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:15:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":56268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:15:06] local.INFO: GPS data processed {"connection_id":56268,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:15:06] local.INFO: Acknowledgment sent {"connection_id":56268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:15:10] local.INFO: TCP Data received {"connection_id":56268,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:10] local.INFO: Processing buffer {"connection_id":56268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:15:10] local.INFO: Packet analysis {"connection_id":56268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:15:10] local.INFO: Extracted packet for processing {"connection_id":56268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:15:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:15:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":56268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:15:10] local.INFO: GPS data processed {"connection_id":56268,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:15:10] local.INFO: Acknowledgment sent {"connection_id":56268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:15:12] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:12] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:12] local.INFO: IMEI packet received {"connection_id":56480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":56480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:15:15] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:15] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:15] local.INFO: IMEI packet received {"connection_id":56480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":56480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:15:17] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:17] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:15:17] local.INFO: IMEI packet received {"connection_id":56480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":56480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:15:18] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22fc030012d7b188005e2f5f8000000a622..."} 
[2026-04-28 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22fc030012d7b188005e2f5f8000000a622..."} 
[2026-04-28 09:15:18] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22fc030012d7b188005e2f5f8000000a622..."} 
[2026-04-28 09:15:18] local.INFO: Packet analysis {"connection_id":56480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:18] local.INFO: Extracted packet for processing {"connection_id":56480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763041920,"raw_latitude":98760184,"longitude_deg":76.304192,"latitude_deg":9.8760184,"altitude":0,"angle":166,"satellites":34,"speed":18,"hex_longitude":"2d7b1880","hex_latitude":"05e2f5f8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001041664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76911577097306112,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868995066459932672,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777347838000,"timestamp_ms":1777347838000,"timestamp_seconds":1777347838,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22fc030"} 
[2026-04-28 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-04-28 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3526306752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":927741523256221952,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2871046057298837509,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809267712,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,62,90,45,128,11,30,10,66,86,64,31,82,1,240,51,227,210,4,113,205,47,21,176,33,239,52,2,17,5,138],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-04-28 09:15:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":199144748810240,"timestamp_seconds":199144748810.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 09:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001041664001,"66":13472,"97":206,"85":15104,"24":18,"16":76911577097306112,"45":8868995066459932672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001041664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76911577097306112,"km_value":76911577097306.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868995066459932672,"description":"Unknown IO ID 45"} 
[2026-04-28 09:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001041664001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8868995066459932672}} 
[2026-04-28 09:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":56480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:15:18] local.INFO: GPS data processed {"connection_id":56480,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:15:18] local.INFO: Acknowledgment sent {"connection_id":56480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:15:23] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22fcbe8012d7b19c005e2efc0000000b520..."} 
[2026-04-28 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22fcbe8012d7b19c005e2efc0000000b520..."} 
[2026-04-28 09:15:23] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22fcbe8012d7b19c005e2efc0000000b520..."} 
[2026-04-28 09:15:23] local.INFO: Packet analysis {"connection_id":56480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:23] local.INFO: Extracted packet for processing {"connection_id":56480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763042240,"raw_latitude":98758592,"longitude_deg":76.304224,"latitude_deg":9.8758592,"altitude":0,"angle":181,"satellites":32,"speed":20,"hex_longitude":"2d7b19c0","hex_latitude":"05e2efc0","is_valid_coordinates":true} 
[2026-04-28 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001046528001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76911654406717440,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869980228877154304,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777347841000,"timestamp_ms":1777347841000,"timestamp_seconds":1777347841,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22fcbe8"} 
[2026-04-28 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:15: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-04-28 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 09:15: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-04-28 09:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001046528001,"66":13559,"97":206,"85":15104,"24":20,"16":76911654406717440,"45":8869980228877154304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001046528001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 09:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76911654406717440,"km_value":76911654406717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869980228877154304,"description":"Unknown IO ID 45"} 
[2026-04-28 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001046528001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8869980228877154304}} 
[2026-04-28 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":56480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:15:23] local.INFO: GPS data processed {"connection_id":56480,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:15:23] local.INFO: Acknowledgment sent {"connection_id":56480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:15:54] local.INFO: TCP Data received {"connection_id":56480,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22ffeb0012d7b1e8005e2cd60000000aa22..."} 
[2026-04-28 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22ffeb0012d7b1e8005e2cd60000000aa22..."} 
[2026-04-28 09:15:54] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22ffeb0012d7b1e8005e2cd60000000aa22..."} 
[2026-04-28 09:15:54] local.INFO: Packet analysis {"connection_id":56480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:54] local.INFO: Extracted packet for processing {"connection_id":56480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22f"} 
[2026-04-28 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763043456,"raw_latitude":98749792,"longitude_deg":76.3043456,"latitude_deg":9.8749792,"altitude":0,"angle":170,"satellites":34,"speed":24,"hex_longitude":"2d7b1e80","hex_latitude":"05e2cd60","is_valid_coordinates":true} 
[2026-04-28 09:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001047296001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76912088198414336,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870332072597635072,"note":"Value kept but may cause issues"} 
[2026-04-28 09:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777347854000,"timestamp_ms":1777347854000,"timestamp_seconds":1777347854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22ffeb0"} 
[2026-04-28 09:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-28 09:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001047296001,"66":13406,"96":206,"85":15104,"24":24,"16":76912088198414336,"45":8870332072597635072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 09:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001047296001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:15:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 09:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76912088198414336,"km_value":76912088198414.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870332072597635072,"description":"Unknown IO ID 45"} 
[2026-04-28 09:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001047296001,"power":13406,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8870332072597635072}} 
[2026-04-28 09:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":56480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:15:54] local.INFO: GPS data processed {"connection_id":56480,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:15:54] local.INFO: Acknowledgment sent {"connection_id":56480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:15:54] local.INFO: TCP Data received {"connection_id":56269,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:54] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:54] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:15:59] local.INFO: TCP Data received {"connection_id":56269,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:59] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:15:59] local.INFO: IMEI packet received {"connection_id":56269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:16:00] local.INFO: TCP Data received {"connection_id":56269,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:00] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:00] local.INFO: Packet analysis {"connection_id":56269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:00] local.INFO: Extracted packet for processing {"connection_id":56269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:16: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-04-28 09:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:16:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:16:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":56269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:16:00] local.INFO: GPS data processed {"connection_id":56269,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:16:00] local.INFO: Acknowledgment sent {"connection_id":56269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:16:05] local.INFO: TCP Data received {"connection_id":56269,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:05] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:05] local.INFO: Packet analysis {"connection_id":56269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:05] local.INFO: Extracted packet for processing {"connection_id":56269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:16:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":56269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:16:05] local.INFO: GPS data processed {"connection_id":56269,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:16:05] local.INFO: Acknowledgment sent {"connection_id":56269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:16:37] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:37] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:37] local.INFO: IMEI packet received {"connection_id":57157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":57157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:16:37] local.INFO: TCP Data received {"connection_id":56269,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:37] local.INFO: Processing buffer {"connection_id":56269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:16:37] local.INFO: Packet analysis {"connection_id":56269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:37] local.INFO: Extracted packet for processing {"connection_id":56269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":56269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:16:37] local.INFO: GPS data processed {"connection_id":56269,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:16:37] local.INFO: Acknowledgment sent {"connection_id":56269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:16:41] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:41] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:16:41] local.INFO: IMEI packet received {"connection_id":57157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":57157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:16:44] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2303948012d7b240005e2aaa0000000ac22..."} 
[2026-04-28 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2303948012d7b240005e2aaa0000000ac22..."} 
[2026-04-28 09:16:44] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2303948012d7b240005e2aaa0000000ac22..."} 
[2026-04-28 09:16:44] local.INFO: Packet analysis {"connection_id":57157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd230"} 
[2026-04-28 09:16:44] local.INFO: Extracted packet for processing {"connection_id":57157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd230"} 
[2026-04-28 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":98740896,"longitude_deg":76.3044864,"latitude_deg":9.8740896,"altitude":0,"angle":172,"satellites":34,"speed":24,"hex_longitude":"2d7b2400","hex_latitude":"05e2aaa0","is_valid_coordinates":true} 
[2026-04-28 09:16: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-04-28 09:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001050624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76912526285078528,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871669078734757888,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777347869000,"timestamp_ms":1777347869000,"timestamp_seconds":1777347869,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2303948"} 
[2026-04-28 09:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:16:44] 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-04-28 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-28 09:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:16: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-04-28 09:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001050624001,"66":13624,"96":206,"85":15104,"24":24,"16":76912526285078528,"45":8871669078734757888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 09:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001050624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:16:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 09:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76912526285078528,"km_value":76912526285078.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871669078734757888,"description":"Unknown IO ID 45"} 
[2026-04-28 09:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001050624001,"power":13624,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8871669078734757888}} 
[2026-04-28 09:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":57157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:16:44] local.INFO: GPS data processed {"connection_id":57157,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:16:44] local.INFO: Acknowledgment sent {"connection_id":57157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:16:45] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2306440012d7b284005e286c0000000ac21..."} 
[2026-04-28 09:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2306440012d7b284005e286c0000000ac21..."} 
[2026-04-28 09:16:45] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2306440012d7b284005e286c0000000ac21..."} 
[2026-04-28 09:16:45] local.INFO: Packet analysis {"connection_id":57157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd230"} 
[2026-04-28 09:16:45] local.INFO: Extracted packet for processing {"connection_id":57157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd230"} 
[2026-04-28 09:16:45] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":98731712,"longitude_deg":76.3045952,"latitude_deg":9.8731712,"altitude":0,"angle":172,"satellites":33,"speed":32,"hex_longitude":"2d7b2840","hex_latitude":"05e286c0","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001054464001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76912972961677312,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191104389120,"note":"Value kept but may cause issues"} 
[2026-04-28 09:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777347880000,"timestamp_ms":1777347880000,"timestamp_seconds":1777347880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2306440"} 
[2026-04-28 09:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:16:45] 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-04-28 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 09:16:45] 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-04-28 09: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-04-28 09:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001054464001,"66":13450,"96":206,"85":15104,"24":32,"16":76912972961677312,"45":8873217191104389120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 09:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001054464001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:16:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 09:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76912972961677312,"km_value":76912972961677.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191104389120,"description":"Unknown IO ID 45"} 
[2026-04-28 09:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001054464001,"power":13450,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8873217191104389120}} 
[2026-04-28 09:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":57157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:16:45] local.INFO: GPS data processed {"connection_id":57157,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:16:45] local.INFO: Acknowledgment sent {"connection_id":57157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:16:55] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:55] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:55] local.INFO: IMEI packet received {"connection_id":56482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":56482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:16:59] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:59] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:16:59] local.INFO: IMEI packet received {"connection_id":56482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:17:00] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:00] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:00] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:17:00] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:00] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:00] local.INFO: Packet analysis {"connection_id":56482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:00] local.INFO: Extracted packet for processing {"connection_id":56482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:17: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-04-28 09:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:17:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":56482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:00] local.INFO: GPS data processed {"connection_id":56482,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:00] local.INFO: Acknowledgment sent {"connection_id":56482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:05] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:05] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:05] local.INFO: Packet analysis {"connection_id":56482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:05] local.INFO: Extracted packet for processing {"connection_id":56482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":56482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:05] local.INFO: GPS data processed {"connection_id":56482,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:05] local.INFO: Acknowledgment sent {"connection_id":56482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:15] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:15] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:15] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:17:18] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:18] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:17:18] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:17:19] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2326fb0012d7b4a8005e15cb0000000ea26..."} 
[2026-04-28 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2326fb0012d7b4a8005e15cb0000000ea26..."} 
[2026-04-28 09:17:19] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2326fb0012d7b4a8005e15cb0000000ea26..."} 
[2026-04-28 09:17:19] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:19] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":98655408,"longitude_deg":76.305472,"latitude_deg":9.8655408,"altitude":0,"angle":234,"satellites":38,"speed":7,"hex_longitude":"2d7b4a80","hex_latitude":"05e15cb0","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001091328001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76916713878192128,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346430072832,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777348014000,"timestamp_ms":1777348014000,"timestamp_seconds":1777348014,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2326fb0"} 
[2026-04-28 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3526463752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147869100,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5638506733456055296,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786366976,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-8840564773675335675,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,170,85,24,241,157,16,67,103,45,64,93,35,10,66,96,94,32,21,1,240,133,227,210,225,4,113,205,20,156,36,239,52,2,17,5,7,49],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-04-28 09:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":242042882424832,"timestamp_seconds":242042882424.832,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001091328001,"66":13319,"170":206,"85":15104,"24":7,"16":76916713878192128,"45":8884124346430072832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001091328001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76916713878192128,"km_value":76916713878192.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346430072832,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001091328001,"power":13319,"unknown_170":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8884124346430072832}} 
[2026-04-28 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:19] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:19] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:19] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2327398012d7b4a0005e15c68000000f924..."} 
[2026-04-28 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2327398012d7b4a0005e15c68000000f924..."} 
[2026-04-28 09:17:19] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2327398012d7b4a0005e15c68000000f924..."} 
[2026-04-28 09:17:19] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:19] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98655336,"longitude_deg":76.3054592,"latitude_deg":9.8655336,"altitude":0,"angle":249,"satellites":36,"speed":5,"hex_longitude":"2d7b4a00","hex_latitude":"05e15c68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001091584001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76916722468126720,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977685864448,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777348015000,"timestamp_ms":1777348015000,"timestamp_seconds":1777348015,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2327398"} 
[2026-04-28 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3526466752,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5809643519295413504,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2147869065,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786153984,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-7996139843543367675,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,170,85,24,241,157,16,67,107,45,192,93,35,10,66,103,64,96,1,240,121,227,210,225,4,113,205,26,219,68,80,34,239,51,169,2,17,5,14,7,49],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-04-28 09:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257448930115584,"timestamp_seconds":257448930115.584,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001091584001,"66":13461,"170":206,"85":15104,"24":5,"16":76916722468126720,"45":8884053977685864448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001091584001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76916722468126720,"km_value":76916722468126.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977685864448,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001091584001,"power":13461,"unknown_170":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8884053977685864448}} 
[2026-04-28 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:19] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:19] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:35] local.INFO: TCP Data received {"connection_id":57158,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:35] local.INFO: Processing buffer {"connection_id":57158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:17:35] local.INFO: IMEI packet received {"connection_id":57158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":57158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:17:36] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:36] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:17:36] local.INFO: Packet analysis {"connection_id":56482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:36] local.INFO: Extracted packet for processing {"connection_id":56482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:17:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":56482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:36] local.INFO: GPS data processed {"connection_id":56482,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:36] local.INFO: Acknowledgment sent {"connection_id":56482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:50] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2327780012d7b49c005e15c580000010727..."} 
[2026-04-28 09:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2327780012d7b49c005e15c580000010727..."} 
[2026-04-28 09:17:50] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2327780012d7b49c005e15c580000010727..."} 
[2026-04-28 09:17:50] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:50] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":98655320,"longitude_deg":76.3054528,"latitude_deg":9.865532,"altitude":0,"angle":263,"satellites":39,"speed":3,"hex_longitude":"2d7b49c0","hex_latitude":"05e15c58","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001091840001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76916726763094016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240197490688,"note":"Value kept but may cause issues"} 
[2026-04-28 09:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777348016000,"timestamp_ms":1777348016000,"timestamp_seconds":1777348016,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2327780"} 
[2026-04-28 09:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:17: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-04-28 09:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-28 09:17:50] 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-04-28 09: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-04-28 09:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001091840001,"66":13461,"170":206,"85":15104,"24":3,"16":76916726763094016,"45":8883913240197490688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001091840001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:17:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76916726763094016,"km_value":76916726763094.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240197490688,"description":"Unknown IO ID 45"} 
[2026-04-28 09:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001091840001,"power":13461,"unknown_170":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883913240197490688}} 
[2026-04-28 09:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:17:50] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:17:50] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:17:54] local.INFO: TCP Data received {"connection_id":56417,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:17:54] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:17:54] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:18:00] local.INFO: TCP Data received {"connection_id":56417,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:18:00] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:18:00] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:18:01] local.INFO: TCP Data received {"connection_id":56417,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:18:01] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd22e5cb8012d7fa64005afdfd8000f011226..."} 
[2026-04-28 09:18:01] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:18:01] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd22e"} 
[2026-04-28 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95412184,"longitude_deg":76.3340352,"latitude_deg":9.5412184,"altitude":15,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001021696001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353030144,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777347747000,"timestamp_ms":1777347747000,"timestamp_seconds":1777347747,"priority":1,"record_length":96,"hex_timestamp":"0000019dd22e5cb8"} 
[2026-04-28 09:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 09:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001021696001,"66":26854,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198320788353030144},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001021696001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:18:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353030144,"description":"Unknown IO ID 45"} 
[2026-04-28 09:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001021696001,"power":26854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198320788353030144}} 
[2026-04-28 09:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:18:01] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:18:01] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:18:12] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:12] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:12] local.INFO: IMEI packet received {"connection_id":56485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":56485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:18:18] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:18] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:18:18] local.INFO: IMEI packet received {"connection_id":56485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":56485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:18:18] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2328b08012d7b484005e15c500000011325..."} 
[2026-04-28 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2328b08012d7b484005e15c500000011325..."} 
[2026-04-28 09:18:18] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2328b08012d7b484005e15c500000011325..."} 
[2026-04-28 09:18:18] local.INFO: Packet analysis {"connection_id":56485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:18:18] local.INFO: Extracted packet for processing {"connection_id":56485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":98655312,"longitude_deg":76.3054144,"latitude_deg":9.8655312,"altitude":0,"angle":275,"satellites":37,"speed":1,"hex_longitude":"2d7b4840","hex_latitude":"05e15c50","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001092096001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76916743942963200,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871453308928,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777348021000,"timestamp_ms":1777348021000,"timestamp_seconds":1777348021,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2328b08"} 
[2026-04-28 09:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09: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":149,"data_length":795,"current_offset":136} 
[2026-04-28 09:18:18] 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-04-28 09: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-04-28 09:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001092096001,"66":13656,"170":206,"85":15104,"24":1,"16":76916743942963200,"45":8883842871453308928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001092096001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:18:18] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76916743942963200,"km_value":76916743942963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871453308928,"description":"Unknown IO ID 45"} 
[2026-04-28 09:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001092096001,"power":13656,"unknown_170":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8883842871453308928}} 
[2026-04-28 09:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":56485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:18:18] local.INFO: GPS data processed {"connection_id":56485,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:18:18] local.INFO: Acknowledgment sent {"connection_id":56485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:18:31] local.INFO: TCP Data received {"connection_id":56417,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:18:31] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:18:31] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:18:31] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:18:31] 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-04-28 09:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:18:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:18:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:18:31] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:18:31] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:18:49] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd233ee80012d7ab14005e11cd0000000e829..."} 
[2026-04-28 09:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd233ee80012d7ab14005e11cd0000000e829..."} 
[2026-04-28 09:18:49] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd233ee80012d7ab14005e11cd0000000e829..."} 
[2026-04-28 09:18:49] local.INFO: Packet analysis {"connection_id":56485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd233"} 
[2026-04-28 09:18:49] local.INFO: Extracted packet for processing {"connection_id":56485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd233"} 
[2026-04-28 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":98639056,"longitude_deg":76.3015488,"latitude_deg":9.8639056,"altitude":0,"angle":232,"satellites":41,"speed":24,"hex_longitude":"2d7ab140","hex_latitude":"05e11cd0","is_valid_coordinates":true} 
[2026-04-28 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001112576001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76918784052428800,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849784399267774464,"note":"Value kept but may cause issues"} 
[2026-04-28 09:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777348112000,"timestamp_ms":1777348112000,"timestamp_seconds":1777348112,"priority":1,"record_length":96,"hex_timestamp":"0000019dd233ee80"} 
[2026-04-28 09:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 09:18:49] 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-04-28 09:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001112576001,"66":13820,"170":206,"85":15104,"24":24,"16":76918784052428800,"45":8849784399267774464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001112576001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:18:49] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:18:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76918784052428800,"km_value":76918784052428.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849784399267774464,"description":"Unknown IO ID 45"} 
[2026-04-28 09:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001112576001,"power":13820,"unknown_170":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849784399267774464}} 
[2026-04-28 09:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":56485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:18:49] local.INFO: GPS data processed {"connection_id":56485,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:18:49] local.INFO: Acknowledgment sent {"connection_id":56485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:19:00] local.INFO: TCP Data received {"connection_id":56486,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:00] local.INFO: Processing buffer {"connection_id":56486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:00] local.INFO: IMEI packet received {"connection_id":56486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":56486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:19:04] local.INFO: TCP Data received {"connection_id":56486,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:04] local.INFO: Processing buffer {"connection_id":56486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:04] local.INFO: IMEI packet received {"connection_id":56486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":56486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:19:05] local.INFO: TCP Data received {"connection_id":56486,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:05] local.INFO: Processing buffer {"connection_id":56486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:05] local.INFO: Packet analysis {"connection_id":56486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:19:05] local.INFO: Extracted packet for processing {"connection_id":56486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:19:05] 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-04-28 09:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:19:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":56486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:19:05] local.INFO: GPS data processed {"connection_id":56486,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:19:05] local.INFO: Acknowledgment sent {"connection_id":56486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:19:09] local.INFO: TCP Data received {"connection_id":56486,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:09] local.INFO: Processing buffer {"connection_id":56486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:19:09] local.INFO: Packet analysis {"connection_id":56486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:19:09] local.INFO: Extracted packet for processing {"connection_id":56486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:19:09] 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-04-28 09:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:19:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:19:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":56486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:19:09] local.INFO: GPS data processed {"connection_id":56486,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:19:09] local.INFO: Acknowledgment sent {"connection_id":56486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:19:14] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:14] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:14] local.INFO: IMEI packet received {"connection_id":56271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":56271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:19:14] local.INFO: TCP Data received {"connection_id":56418,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:19:14] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:19:14] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:19:18] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:18] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:19:18] local.INFO: IMEI packet received {"connection_id":56271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":56271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:19:24] local.INFO: TCP Data received {"connection_id":56271,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23405f0012d7aa3c005e113a8000000f629..."} 
[2026-04-28 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23405f0012d7aa3c005e113a8000000f629..."} 
[2026-04-28 09:19:24] local.INFO: Processing buffer {"connection_id":56271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23405f0012d7aa3c005e113a8000000f629..."} 
[2026-04-28 09:19:24] local.INFO: Packet analysis {"connection_id":56271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd234"} 
[2026-04-28 09:19:24] local.INFO: Extracted packet for processing {"connection_id":56271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd234"} 
[2026-04-28 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":98636712,"longitude_deg":76.3012032,"latitude_deg":9.8636712,"altitude":0,"angle":246,"satellites":41,"speed":27,"hex_longitude":"2d7aa3c0","hex_latitude":"05e113a8","is_valid_coordinates":true} 
[2026-04-28 09:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001116672001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76918990210859008,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937500770304,"note":"Value kept but may cause issues"} 
[2026-04-28 09:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777348118000,"timestamp_ms":1777348118000,"timestamp_seconds":1777348118,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23405f0"} 
[2026-04-28 09:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 09:19:24] 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-04-28 09:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001116672001,"66":13613,"170":206,"85":15104,"24":27,"16":76918990210859008,"45":8840917937500770304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 09:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001116672001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:19:24] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 09:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 09:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76918990210859008,"km_value":76918990210859.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937500770304,"description":"Unknown IO ID 45"} 
[2026-04-28 09:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001116672001,"power":13613,"unknown_170":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8840917937500770304}} 
[2026-04-28 09:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":56271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:19:24] local.INFO: GPS data processed {"connection_id":56271,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:19:24] local.INFO: Acknowledgment sent {"connection_id":56271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:19:54] local.INFO: TCP Data received {"connection_id":57160,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:54] local.INFO: Processing buffer {"connection_id":57160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:19:54] local.INFO: IMEI packet received {"connection_id":57160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":57160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:20:00] local.INFO: TCP Data received {"connection_id":57160,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:00] local.INFO: Processing buffer {"connection_id":57160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:00] local.INFO: IMEI packet received {"connection_id":57160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":57160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:20:01] local.INFO: TCP Data received {"connection_id":57160,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:01] local.INFO: Processing buffer {"connection_id":57160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:01] local.INFO: Packet analysis {"connection_id":57160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:20:01] local.INFO: Extracted packet for processing {"connection_id":57160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:20:01] 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-04-28 09:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:20:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:20:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":57160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:20:01] local.INFO: GPS data processed {"connection_id":57160,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:20:01] local.INFO: Acknowledgment sent {"connection_id":57160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:20:07] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:07] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:07] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:20:09] local.INFO: TCP Data received {"connection_id":57161,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:09] local.INFO: Processing buffer {"connection_id":57161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:09] local.INFO: IMEI packet received {"connection_id":57161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":57161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:20:13] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:13] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:13] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:20:13] local.INFO: TCP Data received {"connection_id":57161,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:13] local.INFO: Processing buffer {"connection_id":57161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:20:13] local.INFO: IMEI packet received {"connection_id":57161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":57161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:20:14] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:14] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 09:20:14] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:20:14] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23536a0012d7a288005e0ebb00001010329..."} 
[2026-04-28 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23536a0012d7a288005e0ebb00001010329..."} 
[2026-04-28 09:20:14] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23536a0012d7a288005e0ebb00001010329..."} 
[2026-04-28 09:20:14] local.INFO: Packet analysis {"connection_id":56487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:14] local.INFO: Extracted packet for processing {"connection_id":56487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":762980480,"raw_latitude":98626480,"longitude_deg":76.298048,"latitude_deg":9.862648,"altitude":1,"angle":259,"satellites":41,"speed":14,"hex_longitude":"2d7a2880","hex_latitude":"05e0ebb0","is_valid_coordinates":true} 
[2026-04-28 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001137664001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76920669543071744,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815641655296,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777348196000,"timestamp_ms":1777348196000,"timestamp_seconds":1777348196,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23536a0"} 
[2026-04-28 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:20:14] 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-04-28 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-28 09:20: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-04-28 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001137664001,"66":13406,"83":206,"87":12288,"24":14,"16":76920669543071744,"45":8802918815641655296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-28 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001137664001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 09:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76920669543071744,"km_value":76920669543071.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815641655296,"description":"Unknown IO ID 45"} 
[2026-04-28 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001137664001,"power":13406,"unknown_83":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8802918815641655296}} 
[2026-04-28 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":56487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:20:14] local.INFO: GPS data processed {"connection_id":56487,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:20:14] local.INFO: Acknowledgment sent {"connection_id":56487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:20:15] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2357520012d7a120005e0e6f8000700f429..."} 
[2026-04-28 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2357520012d7a120005e0e6f8000700f429..."} 
[2026-04-28 09:20:15] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2357520012d7a120005e0e6f8000700f429..."} 
[2026-04-28 09:20:15] local.INFO: Packet analysis {"connection_id":56487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:15] local.INFO: Extracted packet for processing {"connection_id":56487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":98625272,"longitude_deg":76.297472,"latitude_deg":9.8625272,"altitude":7,"angle":244,"satellites":41,"speed":10,"hex_longitude":"2d7a1200","hex_latitude":"05e0e6f8","is_valid_coordinates":true} 
[2026-04-28 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001138176001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76920957305880576,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802426234432368640,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777348212000,"timestamp_ms":1777348212000,"timestamp_seconds":1777348212,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2357520"} 
[2026-04-28 09:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:20:15] 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-04-28 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-28 09:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001138176001,"66":13341,"83":206,"87":12288,"24":10,"16":76920957305880576,"45":8802426234432368640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-28 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001138176001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 09:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76920957305880576,"km_value":76920957305880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802426234432368640,"description":"Unknown IO ID 45"} 
[2026-04-28 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001138176001,"power":13341,"unknown_83":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8802426234432368640}} 
[2026-04-28 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":56487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:20:15] local.INFO: GPS data processed {"connection_id":56487,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:20:15] local.INFO: Acknowledgment sent {"connection_id":56487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:20:32] local.INFO: TCP Data received {"connection_id":57160,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:32] local.INFO: Processing buffer {"connection_id":57160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:20:32] local.INFO: Packet analysis {"connection_id":57160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:20:32] local.INFO: Extracted packet for processing {"connection_id":57160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:20:32] 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-04-28 09:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":57160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:20:32] local.INFO: GPS data processed {"connection_id":57160,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:20:32] local.INFO: Acknowledgment sent {"connection_id":57160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:20:46] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2357908012d7a114005e0e638000600e329..."} 
[2026-04-28 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2357908012d7a114005e0e638000600e329..."} 
[2026-04-28 09:20:46] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2357908012d7a114005e0e638000600e329..."} 
[2026-04-28 09:20:46] local.INFO: Packet analysis {"connection_id":56487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:46] local.INFO: Extracted packet for processing {"connection_id":56487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd235"} 
[2026-04-28 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":98625080,"longitude_deg":76.2974528,"latitude_deg":9.862508,"altitude":6,"angle":227,"satellites":41,"speed":9,"hex_longitude":"2d7a1140","hex_latitude":"05e0e638","is_valid_coordinates":true} 
[2026-04-28 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001142272001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76920965895815168,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047456069632,"note":"Value kept but may cause issues"} 
[2026-04-28 09:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777348213000,"timestamp_ms":1777348213000,"timestamp_seconds":1777348213,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2357908"} 
[2026-04-28 09:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:20: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-04-28 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 09:20: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-04-28 09:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 09:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 09:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 09:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001142272001,"66":12667,"83":206,"87":12288,"24":9,"16":76920965895815168,"45":8796093047456069632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-28 09:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 09:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 09:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001142272001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 09:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 09:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76920965895815168,"km_value":76920965895815.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047456069632,"description":"Unknown IO ID 45"} 
[2026-04-28 09:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001142272001,"power":12667,"unknown_83":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8796093047456069632}} 
[2026-04-28 09:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":56487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:20:47] local.INFO: GPS data processed {"connection_id":56487,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:20:47] local.INFO: Acknowledgment sent {"connection_id":56487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:20:54] local.INFO: TCP Data received {"connection_id":56420,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:54] local.INFO: Processing buffer {"connection_id":56420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:20:54] local.INFO: IMEI packet received {"connection_id":56420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:21:00] local.INFO: TCP Data received {"connection_id":56420,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:00] local.INFO: Processing buffer {"connection_id":56420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:00] local.INFO: IMEI packet received {"connection_id":56420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":56420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:21:01] local.INFO: TCP Data received {"connection_id":56420,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:01] local.INFO: Processing buffer {"connection_id":56420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:01] local.INFO: Packet analysis {"connection_id":56420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:21:01] local.INFO: Extracted packet for processing {"connection_id":56420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:21:01] 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-04-28 09:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:21:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:21:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":56420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:21:01] local.INFO: GPS data processed {"connection_id":56420,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:21:01] local.INFO: Acknowledgment sent {"connection_id":56420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:21:32] local.INFO: TCP Data received {"connection_id":56420,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:32] local.INFO: Processing buffer {"connection_id":56420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:21:32] local.INFO: Packet analysis {"connection_id":56420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:21:32] local.INFO: Extracted packet for processing {"connection_id":56420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:21: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-04-28 09:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:21: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:21:32] 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-04-28 09:21: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-04-28 09:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:21:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":56420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:21:33] local.INFO: GPS data processed {"connection_id":56420,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:21:33] local.INFO: Acknowledgment sent {"connection_id":56420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:21:59] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:59] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:21:59] local.INFO: IMEI packet received {"connection_id":56489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:22:04] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:04] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:04] local.INFO: IMEI packet received {"connection_id":56489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":56489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:22:05] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:05] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:05] local.INFO: Packet analysis {"connection_id":56489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:22:05] local.INFO: Extracted packet for processing {"connection_id":56489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:22:05] 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-04-28 09: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-04-28 09:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":56489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:22:05] local.INFO: GPS data processed {"connection_id":56489,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:22:05] local.INFO: Acknowledgment sent {"connection_id":56489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:22:12] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:12] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:22:12] local.INFO: Packet analysis {"connection_id":56489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:22:12] local.INFO: Extracted packet for processing {"connection_id":56489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:22:12] 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-04-28 09:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":56489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:22:12] local.INFO: GPS data processed {"connection_id":56489,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:22:12] local.INFO: Acknowledgment sent {"connection_id":56489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:22:55] local.INFO: TCP Data received {"connection_id":56274,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:55] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:55] local.INFO: IMEI packet received {"connection_id":56274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":56274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:22:59] local.INFO: TCP Data received {"connection_id":56274,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:59] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:22:59] local.INFO: IMEI packet received {"connection_id":56274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":56274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:23:00] local.INFO: TCP Data received {"connection_id":56273,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:00] local.INFO: Processing buffer {"connection_id":56273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:00] local.INFO: IMEI packet received {"connection_id":56273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:23:01] local.INFO: TCP Data received {"connection_id":56274,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:01] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:01] local.INFO: Packet analysis {"connection_id":56274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:23:01] local.INFO: Extracted packet for processing {"connection_id":56274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:23:01] 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-04-28 09:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:23:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":56274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:23:01] local.INFO: GPS data processed {"connection_id":56274,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:23:01] local.INFO: Acknowledgment sent {"connection_id":56274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:23:05] local.INFO: TCP Data received {"connection_id":56274,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:05] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd232f480012d7fa44005afde68000901122a..."} 
[2026-04-28 09:23:05] local.INFO: Packet analysis {"connection_id":56274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:23:05] local.INFO: Extracted packet for processing {"connection_id":56274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd232"} 
[2026-04-28 09:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001023232001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120513536,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348048000,"timestamp_ms":1777348048000,"timestamp_seconds":1777348048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd232f480"} 
[2026-04-28 09:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 09:23:05] 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-04-28 09:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001023232001,"66":25647,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9198109682120513536},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001023232001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:23:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120513536,"description":"Unknown IO ID 45"} 
[2026-04-28 09:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001023232001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9198109682120513536}} 
[2026-04-28 09:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":56274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:23:05] local.INFO: GPS data processed {"connection_id":56274,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:23:05] local.INFO: Acknowledgment sent {"connection_id":56274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:23:35] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:35] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:23:35] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:23:37] local.INFO: TCP Data received {"connection_id":56274,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:23:37] local.INFO: Processing buffer {"connection_id":56274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:23:37] local.INFO: Packet analysis {"connection_id":56274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:23:37] local.INFO: Extracted packet for processing {"connection_id":56274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:23:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:23:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":56274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:23:37] local.INFO: GPS data processed {"connection_id":56274,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:23:37] local.INFO: Acknowledgment sent {"connection_id":56274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:23:54] local.INFO: TCP Data received {"connection_id":57163,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:54] local.INFO: Processing buffer {"connection_id":57163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:54] local.INFO: IMEI packet received {"connection_id":57163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":57163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:23:59] local.INFO: TCP Data received {"connection_id":57163,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:59] local.INFO: Processing buffer {"connection_id":57163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:23:59] local.INFO: IMEI packet received {"connection_id":57163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":57163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:24:01] local.INFO: TCP Data received {"connection_id":57163,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:01] local.INFO: Processing buffer {"connection_id":57163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:01] local.INFO: Packet analysis {"connection_id":57163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:24:01] local.INFO: Extracted packet for processing {"connection_id":57163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:24:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:24:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":57163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:24:01] local.INFO: GPS data processed {"connection_id":57163,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:24:01] local.INFO: Acknowledgment sent {"connection_id":57163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:24:33] local.INFO: TCP Data received {"connection_id":57163,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:33] local.INFO: Processing buffer {"connection_id":57163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:24:33] local.INFO: Packet analysis {"connection_id":57163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:24:33] local.INFO: Extracted packet for processing {"connection_id":57163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:24:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":57163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:24:33] local.INFO: GPS data processed {"connection_id":57163,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:24:33] local.INFO: Acknowledgment sent {"connection_id":57163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:25:00] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:00] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:00] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:25:04] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:04] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:04] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:25:05] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:05] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:05] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:25:05] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:25: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-04-28 09:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:25:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:25:06] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:25:06] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:25:09] local.INFO: TCP Data received {"connection_id":56424,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:09] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:25:09] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:25:09] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:25:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:25:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:25:09] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:25:09] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:25:54] local.INFO: TCP Data received {"connection_id":57164,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:54] local.INFO: Processing buffer {"connection_id":57164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:25:54] local.INFO: IMEI packet received {"connection_id":57164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":57164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:26:00] local.INFO: TCP Data received {"connection_id":57164,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:00] local.INFO: Processing buffer {"connection_id":57164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:00] local.INFO: IMEI packet received {"connection_id":57164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":57164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:26:01] local.INFO: TCP Data received {"connection_id":57164,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:01] local.INFO: Processing buffer {"connection_id":57164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:01] local.INFO: Packet analysis {"connection_id":57164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:26:01] local.INFO: Extracted packet for processing {"connection_id":57164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:26: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-04-28 09:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:26:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":57164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:26:01] local.INFO: GPS data processed {"connection_id":57164,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:26:01] local.INFO: Acknowledgment sent {"connection_id":57164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:26:14] local.INFO: TCP Data received {"connection_id":56425,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:14] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:14] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:26:20] local.INFO: TCP Data received {"connection_id":56425,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:20] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:20] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:26:32] local.INFO: TCP Data received {"connection_id":57164,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:32] local.INFO: Processing buffer {"connection_id":57164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:26:32] local.INFO: Packet analysis {"connection_id":57164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:26:32] local.INFO: Extracted packet for processing {"connection_id":57164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":57164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:26:32] local.INFO: GPS data processed {"connection_id":57164,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:26:32] local.INFO: Acknowledgment sent {"connection_id":57164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:26:54] local.INFO: TCP Data received {"connection_id":57165,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:54] local.INFO: Processing buffer {"connection_id":57165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:26:54] local.INFO: IMEI packet received {"connection_id":57165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":57165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:26:55] local.INFO: TCP Data received {"connection_id":56425,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:55] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:26:55] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:27:00] local.INFO: TCP Data received {"connection_id":57165,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:00] local.INFO: Processing buffer {"connection_id":57165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:00] local.INFO: IMEI packet received {"connection_id":57165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":57165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:27:01] local.INFO: TCP Data received {"connection_id":57165,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:01] local.INFO: Processing buffer {"connection_id":57165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:01] local.INFO: Packet analysis {"connection_id":57165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:27:01] local.INFO: Extracted packet for processing {"connection_id":57165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:27: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-04-28 09:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:27:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":57165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:27:01] local.INFO: GPS data processed {"connection_id":57165,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:27:01] local.INFO: Acknowledgment sent {"connection_id":57165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:27:09] local.INFO: TCP Data received {"connection_id":56426,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:27:09] local.INFO: Processing buffer {"connection_id":56426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:27:09] local.INFO: IMEI packet received {"connection_id":56426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":56426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:27:33] local.INFO: TCP Data received {"connection_id":57165,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:33] local.INFO: Processing buffer {"connection_id":57165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:27:33] local.INFO: Packet analysis {"connection_id":57165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:27:33] local.INFO: Extracted packet for processing {"connection_id":57165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":57165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:27:33] local.INFO: GPS data processed {"connection_id":57165,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:27:33] local.INFO: Acknowledgment sent {"connection_id":57165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:27:59] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:59] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:27:59] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:28:04] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:04] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:04] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:28:05] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:28:05] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2378c48012d7fa44005afde680009011229..."} 
[2026-04-28 09:28:05] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:28:05] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd237"} 
[2026-04-28 09:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001100288001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348349000,"timestamp_ms":1777348349000,"timestamp_seconds":1777348349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2378c48"} 
[2026-04-28 09:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 09:28: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-04-28 09:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001100288001,"66":25397,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001100288001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:28:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001100288001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:28:05] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:28:05] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:28:08] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:28:08] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:28:08] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:28:08] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:28:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:28:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:28:08] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:28:08] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:28:54] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:54] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:54] local.INFO: IMEI packet received {"connection_id":56493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:28:59] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:59] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:28:59] local.INFO: IMEI packet received {"connection_id":56493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:29:00] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:00] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:00] local.INFO: Packet analysis {"connection_id":56493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:29:00] local.INFO: Extracted packet for processing {"connection_id":56493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:29:00] 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-04-28 09:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:29:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:29:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":56493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:29:00] local.INFO: GPS data processed {"connection_id":56493,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:29:00] local.INFO: Acknowledgment sent {"connection_id":56493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:29:05] local.INFO: TCP Data received {"connection_id":56492,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:05] local.INFO: Processing buffer {"connection_id":56492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:05] local.INFO: IMEI packet received {"connection_id":56492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":56492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:29:32] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:32] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:29:32] local.INFO: Packet analysis {"connection_id":56493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:29:32] local.INFO: Extracted packet for processing {"connection_id":56493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:29:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:29:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":56493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:29:32] local.INFO: GPS data processed {"connection_id":56493,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:29:32] local.INFO: Acknowledgment sent {"connection_id":56493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:29:35] local.INFO: TCP Data received {"connection_id":56428,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:35] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:29:35] local.INFO: IMEI packet received {"connection_id":56428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":56428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:29:54] local.INFO: TCP Data received {"connection_id":57166,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:54] local.INFO: Processing buffer {"connection_id":57166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:54] local.INFO: IMEI packet received {"connection_id":57166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":57166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:29:59] local.INFO: TCP Data received {"connection_id":57166,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:59] local.INFO: Processing buffer {"connection_id":57166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:29:59] local.INFO: IMEI packet received {"connection_id":57166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":57166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:30:00] local.INFO: TCP Data received {"connection_id":57166,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:00] local.INFO: Processing buffer {"connection_id":57166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:00] local.INFO: Packet analysis {"connection_id":57166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:30:00] local.INFO: Extracted packet for processing {"connection_id":57166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:30:00] 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-04-28 09: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-04-28 09:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:30:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:30:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":57166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:30:00] local.INFO: GPS data processed {"connection_id":57166,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:30:00] local.INFO: Acknowledgment sent {"connection_id":57166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:30:32] local.INFO: TCP Data received {"connection_id":57166,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:32] local.INFO: Processing buffer {"connection_id":57166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:30:32] local.INFO: Packet analysis {"connection_id":57166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:30:32] local.INFO: Extracted packet for processing {"connection_id":57166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:30: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-04-28 09:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:30: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-04-28 09:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":57166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:30:32] local.INFO: GPS data processed {"connection_id":57166,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:30:32] local.INFO: Acknowledgment sent {"connection_id":57166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:30:59] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:30:59] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:30:59] local.INFO: IMEI packet received {"connection_id":56281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:31:04] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:04] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:04] local.INFO: IMEI packet received {"connection_id":56281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":56281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:31:05] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:05] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:05] local.INFO: Packet analysis {"connection_id":56281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:31:05] local.INFO: Extracted packet for processing {"connection_id":56281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:31:05] 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-04-28 09:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:31:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:31:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":56281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:31:05] local.INFO: GPS data processed {"connection_id":56281,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:31:05] local.INFO: Acknowledgment sent {"connection_id":56281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:31:10] local.INFO: TCP Data received {"connection_id":56281,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:10] local.INFO: Processing buffer {"connection_id":56281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:31:10] local.INFO: Packet analysis {"connection_id":56281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:31:10] local.INFO: Extracted packet for processing {"connection_id":56281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:31:10] 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-04-28 09:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:31:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:31:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":56281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:31:10] local.INFO: GPS data processed {"connection_id":56281,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:31:10] local.INFO: Acknowledgment sent {"connection_id":56281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:31:54] local.INFO: TCP Data received {"connection_id":57167,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:54] local.INFO: Processing buffer {"connection_id":57167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:54] local.INFO: IMEI packet received {"connection_id":57167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":57167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:31:59] local.INFO: TCP Data received {"connection_id":57167,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:59] local.INFO: Processing buffer {"connection_id":57167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:31:59] local.INFO: IMEI packet received {"connection_id":57167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":57167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:32:01] local.INFO: TCP Data received {"connection_id":57167,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:01] local.INFO: Processing buffer {"connection_id":57167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:01] local.INFO: Packet analysis {"connection_id":57167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:32:01] local.INFO: Extracted packet for processing {"connection_id":57167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:32:01] 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-04-28 09:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:32:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:32:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":57167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:32:01] local.INFO: GPS data processed {"connection_id":57167,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:32:01] local.INFO: Acknowledgment sent {"connection_id":57167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:32:11] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:11] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:11] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:32:12] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:12] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:32:12] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:32:33] local.INFO: TCP Data received {"connection_id":57167,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:33] local.INFO: Processing buffer {"connection_id":57167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:32:33] local.INFO: Packet analysis {"connection_id":57167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:32:33] local.INFO: Extracted packet for processing {"connection_id":57167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:32:33] 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-04-28 09:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:32:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":57167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:32:33] local.INFO: GPS data processed {"connection_id":57167,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:32:33] local.INFO: Acknowledgment sent {"connection_id":57167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:32:54] local.INFO: TCP Data received {"connection_id":56496,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:54] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:54] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:32:59] local.INFO: TCP Data received {"connection_id":56496,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:59] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:32:59] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:33:00] local.INFO: TCP Data received {"connection_id":56496,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:33:00] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd23c2410012d7fa44005afde68000901122a..."} 
[2026-04-28 09:33:00] local.INFO: Packet analysis {"connection_id":56496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:33:00] local.INFO: Extracted packet for processing {"connection_id":56496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd23c"} 
[2026-04-28 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001177344001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348650000,"timestamp_ms":1777348650000,"timestamp_seconds":1777348650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd23c2410"} 
[2026-04-28 09:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 09:33:00] 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-04-28 09:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001177344001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001177344001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:33:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001177344001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":56496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:33:00] local.INFO: GPS data processed {"connection_id":56496,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:33:00] local.INFO: Acknowledgment sent {"connection_id":56496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:33:31] local.INFO: TCP Data received {"connection_id":56496,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:33:31] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:33:31] local.INFO: Packet analysis {"connection_id":56496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:33:31] local.INFO: Extracted packet for processing {"connection_id":56496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:33:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:33:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":56496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:33:31] local.INFO: GPS data processed {"connection_id":56496,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:33:31] local.INFO: Acknowledgment sent {"connection_id":56496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:33:54] local.INFO: TCP Data received {"connection_id":57168,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:54] local.INFO: Processing buffer {"connection_id":57168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:54] local.INFO: IMEI packet received {"connection_id":57168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":57168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:33:59] local.INFO: TCP Data received {"connection_id":57168,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:59] local.INFO: Processing buffer {"connection_id":57168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:33:59] local.INFO: IMEI packet received {"connection_id":57168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":57168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:34:00] local.INFO: TCP Data received {"connection_id":57168,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:00] local.INFO: Processing buffer {"connection_id":57168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:00] local.INFO: Packet analysis {"connection_id":57168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:34:00] local.INFO: Extracted packet for processing {"connection_id":57168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:34:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:34:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":57168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:34:00] local.INFO: GPS data processed {"connection_id":57168,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:34:00] local.INFO: Acknowledgment sent {"connection_id":57168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:34:32] local.INFO: TCP Data received {"connection_id":57168,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:32] local.INFO: Processing buffer {"connection_id":57168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:34:32] local.INFO: Packet analysis {"connection_id":57168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:34:32] local.INFO: Extracted packet for processing {"connection_id":57168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:34:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":57168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:34:32] local.INFO: GPS data processed {"connection_id":57168,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:34:32] local.INFO: Acknowledgment sent {"connection_id":57168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:34:50] local.INFO: TCP Data received {"connection_id":57169,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:34:50] local.INFO: Processing buffer {"connection_id":57169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:34:50] local.INFO: IMEI packet received {"connection_id":57169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":57169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:34:54] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:54] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:54] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:34:59] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:59] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:34:59] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:35:01] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:01] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:01] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:35:01] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:35:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:35:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:35:01] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:35:01] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:35:33] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:33] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:35:33] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:35:33] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:35:33] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:35:33] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:35:40] local.INFO: TCP Data received {"connection_id":56284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:35:40] local.INFO: Processing buffer {"connection_id":56284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:35:40] local.INFO: IMEI packet received {"connection_id":56284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":56284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:35:54] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:54] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:54] local.INFO: IMEI packet received {"connection_id":56285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":56285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:35:59] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:59] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:35:59] local.INFO: IMEI packet received {"connection_id":56285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:36:00] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:00] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:00] local.INFO: Packet analysis {"connection_id":56285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:36:00] local.INFO: Extracted packet for processing {"connection_id":56285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:36:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:36:00] local.INFO: GPS data processed {"connection_id":56285,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:36:00] local.INFO: Acknowledgment sent {"connection_id":56285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:36:32] local.INFO: TCP Data received {"connection_id":56285,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:32] local.INFO: Processing buffer {"connection_id":56285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:36:32] local.INFO: Packet analysis {"connection_id":56285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:36:32] local.INFO: Extracted packet for processing {"connection_id":56285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":56285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:36:32] local.INFO: GPS data processed {"connection_id":56285,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:36:32] local.INFO: Acknowledgment sent {"connection_id":56285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:37:04] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:04] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:04] local.INFO: IMEI packet received {"connection_id":56498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":56498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:37:05] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:05] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:05] local.INFO: IMEI packet received {"connection_id":56498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":56498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:37:05] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:05] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:05] local.INFO: Packet analysis {"connection_id":56498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:37:05] local.INFO: Extracted packet for processing {"connection_id":56498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:37:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:37:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":56498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:37:05] local.INFO: GPS data processed {"connection_id":56498,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:37:05] local.INFO: Acknowledgment sent {"connection_id":56498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:37:10] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:10] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:37:10] local.INFO: Packet analysis {"connection_id":56498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:37:10] local.INFO: Extracted packet for processing {"connection_id":56498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:37:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:37:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":56498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:37:10] local.INFO: GPS data processed {"connection_id":56498,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:37:10] local.INFO: Acknowledgment sent {"connection_id":56498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:37:54] local.INFO: TCP Data received {"connection_id":56286,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:54] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:54] local.INFO: IMEI packet received {"connection_id":56286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:37:59] local.INFO: TCP Data received {"connection_id":56286,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:59] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:37:59] local.INFO: IMEI packet received {"connection_id":56286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:38:00] local.INFO: TCP Data received {"connection_id":56286,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:38:00] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd240bbd8012d7fa44005afde680009011229..."} 
[2026-04-28 09:38:00] local.INFO: Packet analysis {"connection_id":56286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:38:00] local.INFO: Extracted packet for processing {"connection_id":56286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd240"} 
[2026-04-28 09:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001254400001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777348951000,"timestamp_ms":1777348951000,"timestamp_seconds":1777348951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd240bbd8"} 
[2026-04-28 09:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 09:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001254400001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001254400001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:38:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:38:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001254400001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:38:00] local.INFO: GPS data processed {"connection_id":56286,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:38:00] local.INFO: Acknowledgment sent {"connection_id":56286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:38:14] local.INFO: TCP Data received {"connection_id":56500,"ip":"192.253.248.180","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 09:38:14] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 09:38:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56500,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-04-28 09:38:24] local.INFO: TCP Data received {"connection_id":56499,"ip":"117.224.68.13","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:24] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:24] local.INFO: IMEI packet received {"connection_id":56499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":56499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:38:31] local.INFO: TCP Data received {"connection_id":56286,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:38:31] local.INFO: Processing buffer {"connection_id":56286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:38:31] local.INFO: Packet analysis {"connection_id":56286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:38:31] local.INFO: Extracted packet for processing {"connection_id":56286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:38:31] 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-04-28 09:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:38:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:38:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":56286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:38:31] local.INFO: GPS data processed {"connection_id":56286,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:38:31] local.INFO: Acknowledgment sent {"connection_id":56286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:38:37] local.INFO: TCP Data received {"connection_id":56499,"ip":"117.224.68.13","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:37] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:38:37] local.INFO: IMEI packet received {"connection_id":56499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 09:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":56499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:39:04] local.INFO: TCP Data received {"connection_id":57171,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:04] local.INFO: Processing buffer {"connection_id":57171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:04] local.INFO: IMEI packet received {"connection_id":57171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":57171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:39:09] local.INFO: TCP Data received {"connection_id":57171,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:09] local.INFO: Processing buffer {"connection_id":57171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:39:09] local.INFO: IMEI packet received {"connection_id":57171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":57171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:39:10] local.INFO: TCP Data received {"connection_id":57171,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:10] local.INFO: Processing buffer {"connection_id":57171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:10] local.INFO: Packet analysis {"connection_id":57171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:39:10] local.INFO: Extracted packet for processing {"connection_id":57171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:39:10] 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-04-28 09:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:39:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:39:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":57171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:39:10] local.INFO: GPS data processed {"connection_id":57171,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:39:10] local.INFO: Acknowledgment sent {"connection_id":57171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:39:14] local.INFO: TCP Data received {"connection_id":57171,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:14] local.INFO: Processing buffer {"connection_id":57171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:39:14] local.INFO: Packet analysis {"connection_id":57171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:39:14] local.INFO: Extracted packet for processing {"connection_id":57171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:39:14] 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-04-28 09:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:39:14] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:39:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":57171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:39:14] local.INFO: GPS data processed {"connection_id":57171,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:39:14] local.INFO: Acknowledgment sent {"connection_id":57171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:40:00] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:00] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:00] local.INFO: IMEI packet received {"connection_id":56502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":56502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:40:04] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:04] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:04] local.INFO: IMEI packet received {"connection_id":56502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":56502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:40:05] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:05] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:05] local.INFO: Packet analysis {"connection_id":56502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:40:05] local.INFO: Extracted packet for processing {"connection_id":56502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:40:05] 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-04-28 09:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:40:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":56502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:40:05] local.INFO: GPS data processed {"connection_id":56502,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:40:05] local.INFO: Acknowledgment sent {"connection_id":56502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:40:19] local.INFO: TCP Data received {"connection_id":56499,"ip":"117.224.68.13","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2444de8012d1b7e80071fb0c00046016628..."} 
[2026-04-28 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2444de8012d1b7e80071fb0c00046016628..."} 
[2026-04-28 09:40:19] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2444de8012d1b7e80071fb0c00046016628..."} 
[2026-04-28 09:40:19] local.INFO: Packet analysis {"connection_id":56499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd244"} 
[2026-04-28 09:40:19] local.INFO: Extracted packet for processing {"connection_id":56499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd244"} 
[2026-04-28 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756776576,"raw_latitude":119517376,"longitude_deg":75.6776576,"latitude_deg":11.9517376,"altitude":70,"angle":358,"satellites":40,"speed":11,"hex_longitude":"2d1b7e80","hex_latitude":"071fb0c0","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001389824001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115453544164753408,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981583866638995456,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:19] 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-04-28 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777349185000,"timestamp_ms":1777349185000,"timestamp_seconds":1777349185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2444de8"} 
[2026-04-28 09:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 09:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 09:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.68.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001389824001,"66":13015,"50":206,"28":31744,"24":11,"16":115453544164753408,"45":1981583866638995456},"client_ip":"117.224.68.13","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-28 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001389824001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:40:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 09:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-28 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115453544164753408,"km_value":115453544164753.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981583866638995456,"description":"Unknown IO ID 45"} 
[2026-04-28 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001389824001,"power":13015,"unknown_50":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1981583866638995456}} 
[2026-04-28 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":56499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:40:19] local.INFO: GPS data processed {"connection_id":56499,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:40:19] local.INFO: Acknowledgment sent {"connection_id":56499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:40:37] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:37] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:40:37] local.INFO: Packet analysis {"connection_id":56502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:40:37] local.INFO: Extracted packet for processing {"connection_id":56502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:40:37] 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-04-28 09:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:40:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:40:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":56502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:40:37] local.INFO: GPS data processed {"connection_id":56502,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:40:37] local.INFO: Acknowledgment sent {"connection_id":56502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:40:54] local.INFO: TCP Data received {"connection_id":56504,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:54] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:54] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:40:59] local.INFO: TCP Data received {"connection_id":56504,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:59] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:40:59] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:41:00] local.INFO: TCP Data received {"connection_id":56504,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:00] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:00] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:41:00] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:41:00] 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-04-28 09: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-04-28 09:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:41:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:41:00] local.INFO: GPS data processed {"connection_id":56504,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:41:00] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:41:05] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:05] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:05] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:41:32] local.INFO: TCP Data received {"connection_id":56504,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:32] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:41:32] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:41:32] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:41:32] 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-04-28 09: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-04-28 09:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:41:32] local.INFO: GPS data processed {"connection_id":56504,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:41:32] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:41:35] local.INFO: TCP Data received {"connection_id":56435,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:35] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:41:35] local.INFO: IMEI packet received {"connection_id":56435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":56435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:41:54] local.INFO: TCP Data received {"connection_id":56436,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:54] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:54] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:41:59] local.INFO: TCP Data received {"connection_id":56436,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:59] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:41:59] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:42:00] local.INFO: TCP Data received {"connection_id":56436,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:00] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:00] local.INFO: Packet analysis {"connection_id":56436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:42:00] local.INFO: Extracted packet for processing {"connection_id":56436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:42:00] 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-04-28 09:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:42:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:42:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":56436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:42:00] local.INFO: GPS data processed {"connection_id":56436,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:42:00] local.INFO: Acknowledgment sent {"connection_id":56436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:42:33] local.INFO: TCP Data received {"connection_id":56436,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:33] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:42:33] local.INFO: Packet analysis {"connection_id":56436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:42:33] local.INFO: Extracted packet for processing {"connection_id":56436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:42:33] 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-04-28 09:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":56436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:42:33] local.INFO: GPS data processed {"connection_id":56436,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:42:33] local.INFO: Acknowledgment sent {"connection_id":56436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:43:00] local.INFO: TCP Data received {"connection_id":56287,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:00] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:00] local.INFO: IMEI packet received {"connection_id":56287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":56287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:43:04] local.INFO: TCP Data received {"connection_id":56287,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:04] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:04] local.INFO: IMEI packet received {"connection_id":56287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":56287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:43:05] local.INFO: TCP Data received {"connection_id":56287,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:05] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:05] local.INFO: Packet analysis {"connection_id":56287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:43:05] local.INFO: Extracted packet for processing {"connection_id":56287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:43:05] 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-04-28 09: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-04-28 09:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:43:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":56287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:43:05] local.INFO: GPS data processed {"connection_id":56287,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:43:05] local.INFO: Acknowledgment sent {"connection_id":56287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:43:09] local.INFO: TCP Data received {"connection_id":56287,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:09] local.INFO: Processing buffer {"connection_id":56287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24553a0012d7fa44005afde68000901122a..."} 
[2026-04-28 09:43:09] local.INFO: Packet analysis {"connection_id":56287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:43:09] local.INFO: Extracted packet for processing {"connection_id":56287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd245"} 
[2026-04-28 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001331456001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777349252000,"timestamp_ms":1777349252000,"timestamp_seconds":1777349252,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24553a0"} 
[2026-04-28 09:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001331456001,"66":25299,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001331456001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:43:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:43:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001331456001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":56287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:43:09] local.INFO: GPS data processed {"connection_id":56287,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:43:09] local.INFO: Acknowledgment sent {"connection_id":56287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:43:54] local.INFO: TCP Data received {"connection_id":57173,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:54] local.INFO: Processing buffer {"connection_id":57173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:54] local.INFO: IMEI packet received {"connection_id":57173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":57173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:43:59] local.INFO: TCP Data received {"connection_id":57173,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:59] local.INFO: Processing buffer {"connection_id":57173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:43:59] local.INFO: IMEI packet received {"connection_id":57173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":57173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:44:00] local.INFO: TCP Data received {"connection_id":57173,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:00] local.INFO: Processing buffer {"connection_id":57173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:00] local.INFO: Packet analysis {"connection_id":57173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:44:00] local.INFO: Extracted packet for processing {"connection_id":57173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:44:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":57173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:44:00] local.INFO: GPS data processed {"connection_id":57173,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:44:00] local.INFO: Acknowledgment sent {"connection_id":57173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:44:32] local.INFO: TCP Data received {"connection_id":57173,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:32] local.INFO: Processing buffer {"connection_id":57173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:44:32] local.INFO: Packet analysis {"connection_id":57173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:44:32] local.INFO: Extracted packet for processing {"connection_id":57173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":57173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:44:32] local.INFO: GPS data processed {"connection_id":57173,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:44:32] local.INFO: Acknowledgment sent {"connection_id":57173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:44:54] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:54] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:54] local.INFO: IMEI packet received {"connection_id":56438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":56438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:44:59] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:59] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:44:59] local.INFO: IMEI packet received {"connection_id":56438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:45:01] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:01] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:01] local.INFO: Packet analysis {"connection_id":56438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:45:01] local.INFO: Extracted packet for processing {"connection_id":56438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:45:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:45:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":56438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:45:01] local.INFO: GPS data processed {"connection_id":56438,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:45:01] local.INFO: Acknowledgment sent {"connection_id":56438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:45:32] local.INFO: TCP Data received {"connection_id":56438,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:32] local.INFO: Processing buffer {"connection_id":56438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:45:32] local.INFO: Packet analysis {"connection_id":56438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:45:32] local.INFO: Extracted packet for processing {"connection_id":56438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:45:32] local.INFO: GPS data processed {"connection_id":56438,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:45:32] local.INFO: Acknowledgment sent {"connection_id":56438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:45:59] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:45:59] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:45:59] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:46:04] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:04] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:04] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:46:05] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:05] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:05] local.INFO: Packet analysis {"connection_id":56439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:46:05] local.INFO: Extracted packet for processing {"connection_id":56439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:46:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:46:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":56439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:46:05] local.INFO: GPS data processed {"connection_id":56439,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:46:05] local.INFO: Acknowledgment sent {"connection_id":56439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:46:10] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:10] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:46:10] local.INFO: Packet analysis {"connection_id":56439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:46:10] local.INFO: Extracted packet for processing {"connection_id":56439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:46:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:46:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":56439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:46:10] local.INFO: GPS data processed {"connection_id":56439,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:46:10] local.INFO: Acknowledgment sent {"connection_id":56439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:46:54] local.INFO: TCP Data received {"connection_id":56289,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:54] local.INFO: Processing buffer {"connection_id":56289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:54] local.INFO: IMEI packet received {"connection_id":56289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":56289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:46:59] local.INFO: TCP Data received {"connection_id":56289,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:59] local.INFO: Processing buffer {"connection_id":56289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:46:59] local.INFO: IMEI packet received {"connection_id":56289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:47:00] local.INFO: TCP Data received {"connection_id":57174,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:00] local.INFO: Processing buffer {"connection_id":57174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:00] local.INFO: IMEI packet received {"connection_id":57174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":57174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:47:00] local.INFO: TCP Data received {"connection_id":56289,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:00] local.INFO: Processing buffer {"connection_id":56289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:00] local.INFO: Packet analysis {"connection_id":56289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:47:00] local.INFO: Extracted packet for processing {"connection_id":56289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":56289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:47:00] local.INFO: GPS data processed {"connection_id":56289,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:47:00] local.INFO: Acknowledgment sent {"connection_id":56289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:47:32] local.INFO: TCP Data received {"connection_id":56289,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:32] local.INFO: Processing buffer {"connection_id":56289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:47:32] local.INFO: Packet analysis {"connection_id":56289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:47:32] local.INFO: Extracted packet for processing {"connection_id":56289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:47:32] local.INFO: GPS data processed {"connection_id":56289,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:47:32] local.INFO: Acknowledgment sent {"connection_id":56289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:47:35] local.INFO: TCP Data received {"connection_id":56290,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:35] local.INFO: Processing buffer {"connection_id":56290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:47:35] local.INFO: IMEI packet received {"connection_id":56290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":56290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:47:54] local.INFO: TCP Data received {"connection_id":57175,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:54] local.INFO: Processing buffer {"connection_id":57175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:54] local.INFO: IMEI packet received {"connection_id":57175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":57175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:47:59] local.INFO: TCP Data received {"connection_id":57175,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:59] local.INFO: Processing buffer {"connection_id":57175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:47:59] local.INFO: IMEI packet received {"connection_id":57175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":57175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:48:00] local.INFO: TCP Data received {"connection_id":57175,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:48:00] local.INFO: Processing buffer {"connection_id":57175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd249eb68012d7fa44005afde68000901122b..."} 
[2026-04-28 09:48:00] local.INFO: Packet analysis {"connection_id":57175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:48:00] local.INFO: Extracted packet for processing {"connection_id":57175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd249"} 
[2026-04-28 09:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001408512001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349553000,"timestamp_ms":1777349553000,"timestamp_seconds":1777349553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd249eb68"} 
[2026-04-28 09:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 09:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001408512001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001408512001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:48:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001408512001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":57175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:48:00] local.INFO: GPS data processed {"connection_id":57175,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:48:00] local.INFO: Acknowledgment sent {"connection_id":57175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:48:32] local.INFO: TCP Data received {"connection_id":57175,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:48:32] local.INFO: Processing buffer {"connection_id":57175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:48:32] local.INFO: Packet analysis {"connection_id":57175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:48:32] local.INFO: Extracted packet for processing {"connection_id":57175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":57175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:48:32] local.INFO: GPS data processed {"connection_id":57175,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:48:32] local.INFO: Acknowledgment sent {"connection_id":57175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:48:54] local.INFO: TCP Data received {"connection_id":56291,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:54] local.INFO: Processing buffer {"connection_id":56291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:54] local.INFO: IMEI packet received {"connection_id":56291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":56291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:48:59] local.INFO: TCP Data received {"connection_id":56291,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:59] local.INFO: Processing buffer {"connection_id":56291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:48:59] local.INFO: IMEI packet received {"connection_id":56291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:49:00] local.INFO: TCP Data received {"connection_id":56291,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:00] local.INFO: Processing buffer {"connection_id":56291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:00] local.INFO: Packet analysis {"connection_id":56291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:49:00] local.INFO: Extracted packet for processing {"connection_id":56291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:49:00] local.INFO: GPS data processed {"connection_id":56291,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:49:00] local.INFO: Acknowledgment sent {"connection_id":56291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:49:32] local.INFO: TCP Data received {"connection_id":56291,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:32] local.INFO: Processing buffer {"connection_id":56291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:49:32] local.INFO: Packet analysis {"connection_id":56291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:49:32] local.INFO: Extracted packet for processing {"connection_id":56291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:49:32] local.INFO: GPS data processed {"connection_id":56291,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:49:32] local.INFO: Acknowledgment sent {"connection_id":56291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:49:54] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:49:54] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:49:54] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:50:00] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:00] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:00] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:50:01] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:01] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:01] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:50:01] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:50:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:50:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:50:01] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:50:01] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:50:32] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:32] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:50:32] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:50:32] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:50:33] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:50:33] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:50:54] local.INFO: TCP Data received {"connection_id":57177,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:54] local.INFO: Processing buffer {"connection_id":57177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:54] local.INFO: IMEI packet received {"connection_id":57177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":57177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:50:59] local.INFO: TCP Data received {"connection_id":57177,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:59] local.INFO: Processing buffer {"connection_id":57177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:50:59] local.INFO: IMEI packet received {"connection_id":57177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":57177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:51:00] local.INFO: TCP Data received {"connection_id":57177,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:00] local.INFO: Processing buffer {"connection_id":57177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:00] local.INFO: Packet analysis {"connection_id":57177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:51:00] local.INFO: Extracted packet for processing {"connection_id":57177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:51:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":57177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:51:00] local.INFO: GPS data processed {"connection_id":57177,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:51:00] local.INFO: Acknowledgment sent {"connection_id":57177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:51:32] local.INFO: TCP Data received {"connection_id":57177,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:32] local.INFO: Processing buffer {"connection_id":57177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:51:32] local.INFO: Packet analysis {"connection_id":57177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:51:32] local.INFO: Extracted packet for processing {"connection_id":57177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":57177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:51:32] local.INFO: GPS data processed {"connection_id":57177,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:51:32] local.INFO: Acknowledgment sent {"connection_id":57177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:51:49] local.INFO: TCP Data received {"connection_id":56293,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:51:49] local.INFO: Processing buffer {"connection_id":56293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:51:49] local.INFO: IMEI packet received {"connection_id":56293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":56293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:51:59] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:51:59] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:51:59] local.INFO: IMEI packet received {"connection_id":56443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:52:04] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:04] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:04] local.INFO: IMEI packet received {"connection_id":56443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":56443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:52:06] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:06] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:06] local.INFO: Packet analysis {"connection_id":56443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:52:06] local.INFO: Extracted packet for processing {"connection_id":56443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:52:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:52:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":56443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:52:06] local.INFO: GPS data processed {"connection_id":56443,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:52:06] local.INFO: Acknowledgment sent {"connection_id":56443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:52:11] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:11] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:52:11] local.INFO: Packet analysis {"connection_id":56443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:52:11] local.INFO: Extracted packet for processing {"connection_id":56443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:52:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:52:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":56443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:52:11] local.INFO: GPS data processed {"connection_id":56443,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:52:11] local.INFO: Acknowledgment sent {"connection_id":56443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:52:54] local.INFO: TCP Data received {"connection_id":56444,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:54] local.INFO: Processing buffer {"connection_id":56444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:54] local.INFO: IMEI packet received {"connection_id":56444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":56444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:52:55] local.INFO: TCP Data received {"connection_id":57178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:52:55] local.INFO: Processing buffer {"connection_id":57178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:52:55] local.INFO: IMEI packet received {"connection_id":57178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":57178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:52:59] local.INFO: TCP Data received {"connection_id":56444,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:59] local.INFO: Processing buffer {"connection_id":56444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:52:59] local.INFO: IMEI packet received {"connection_id":56444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:53:00] local.INFO: TCP Data received {"connection_id":56444,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:00] local.INFO: Processing buffer {"connection_id":56444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd24e8330012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:00] local.INFO: Packet analysis {"connection_id":56444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:53:00] local.INFO: Extracted packet for processing {"connection_id":56444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd24e"} 
[2026-04-28 09:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001485568001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777349854000,"timestamp_ms":1777349854000,"timestamp_seconds":1777349854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd24e8330"} 
[2026-04-28 09:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 09:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09: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-04-28 09:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001485568001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001485568001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001485568001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:53:00] local.INFO: GPS data processed {"connection_id":56444,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:53:00] local.INFO: Acknowledgment sent {"connection_id":56444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:53:32] local.INFO: TCP Data received {"connection_id":56444,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:32] local.INFO: Processing buffer {"connection_id":56444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:53:32] local.INFO: Packet analysis {"connection_id":56444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:53:32] local.INFO: Extracted packet for processing {"connection_id":56444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:53:32] 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-04-28 09:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:53:32] local.INFO: GPS data processed {"connection_id":56444,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:53:32] local.INFO: Acknowledgment sent {"connection_id":56444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:53:35] local.INFO: TCP Data received {"connection_id":56506,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:53:35] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:53:35] local.INFO: IMEI packet received {"connection_id":56506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":56506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:53:59] local.INFO: TCP Data received {"connection_id":57179,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:53:59] local.INFO: Processing buffer {"connection_id":57179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:53:59] local.INFO: IMEI packet received {"connection_id":57179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":57179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:54:04] local.INFO: TCP Data received {"connection_id":57179,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:04] local.INFO: Processing buffer {"connection_id":57179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:04] local.INFO: IMEI packet received {"connection_id":57179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":57179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:54:06] local.INFO: TCP Data received {"connection_id":57179,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:06] local.INFO: Processing buffer {"connection_id":57179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:06] local.INFO: Packet analysis {"connection_id":57179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:54:06] local.INFO: Extracted packet for processing {"connection_id":57179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:54:06] 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-04-28 09:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:54:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:54:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":57179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:54:06] local.INFO: GPS data processed {"connection_id":57179,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:54:06] local.INFO: Acknowledgment sent {"connection_id":57179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:54:09] local.INFO: TCP Data received {"connection_id":57179,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:09] local.INFO: Processing buffer {"connection_id":57179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:54:09] local.INFO: Packet analysis {"connection_id":57179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:54:09] local.INFO: Extracted packet for processing {"connection_id":57179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:54: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-04-28 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:54: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-04-28 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":57179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:54:09] local.INFO: GPS data processed {"connection_id":57179,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:54:09] local.INFO: Acknowledgment sent {"connection_id":57179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:54:55] local.INFO: TCP Data received {"connection_id":56445,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:55] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:55] local.INFO: IMEI packet received {"connection_id":56445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":56445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:54:59] local.INFO: TCP Data received {"connection_id":56445,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:59] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:54:59] local.INFO: IMEI packet received {"connection_id":56445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:55:00] local.INFO: TCP Data received {"connection_id":56445,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:00] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:00] local.INFO: Packet analysis {"connection_id":56445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:55:00] local.INFO: Extracted packet for processing {"connection_id":56445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:55:00] 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-04-28 09: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-04-28 09:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:55:00] local.INFO: GPS data processed {"connection_id":56445,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:55:00] local.INFO: Acknowledgment sent {"connection_id":56445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:55:31] local.INFO: TCP Data received {"connection_id":56445,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:31] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:55:31] local.INFO: Packet analysis {"connection_id":56445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:55:31] local.INFO: Extracted packet for processing {"connection_id":56445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:55:31] 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-04-28 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:55:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:55:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":56445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:55:31] local.INFO: GPS data processed {"connection_id":56445,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:55:31] local.INFO: Acknowledgment sent {"connection_id":56445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:55:59] local.INFO: TCP Data received {"connection_id":57182,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:55:59] local.INFO: Processing buffer {"connection_id":57182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:55:59] local.INFO: IMEI packet received {"connection_id":57182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":57182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:56:04] local.INFO: TCP Data received {"connection_id":57182,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:04] local.INFO: Processing buffer {"connection_id":57182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:04] local.INFO: IMEI packet received {"connection_id":57182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":57182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:56:05] local.INFO: TCP Data received {"connection_id":57182,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:05] local.INFO: Processing buffer {"connection_id":57182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:05] local.INFO: Packet analysis {"connection_id":57182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:56:05] local.INFO: Extracted packet for processing {"connection_id":57182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:56:05] 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-04-28 09:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:56:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:56:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":57182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:56:05] local.INFO: GPS data processed {"connection_id":57182,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:56:05] local.INFO: Acknowledgment sent {"connection_id":57182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:56:36] local.INFO: TCP Data received {"connection_id":57182,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:36] local.INFO: Processing buffer {"connection_id":57182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:56:36] local.INFO: Packet analysis {"connection_id":57182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:56:36] local.INFO: Extracted packet for processing {"connection_id":57182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 09:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:56:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:56:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":57182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:56:36] local.INFO: GPS data processed {"connection_id":57182,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:56:36] local.INFO: Acknowledgment sent {"connection_id":57182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:56:54] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:54] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:54] local.INFO: IMEI packet received {"connection_id":56508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":56508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:56:59] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:59] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:56:59] local.INFO: IMEI packet received {"connection_id":56508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:57:00] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:00] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:00] local.INFO: Packet analysis {"connection_id":56508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:57:00] local.INFO: Extracted packet for processing {"connection_id":56508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:57:00] 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-04-28 09: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-04-28 09:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:57:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":56508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:57:00] local.INFO: GPS data processed {"connection_id":56508,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:57:00] local.INFO: Acknowledgment sent {"connection_id":56508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:57:19] local.INFO: TCP Data received {"connection_id":56294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:57:19] local.INFO: Processing buffer {"connection_id":56294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 09:57:19] local.INFO: IMEI packet received {"connection_id":56294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 09:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":56294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:57:32] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:32] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:57:32] local.INFO: Packet analysis {"connection_id":56508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:57:32] local.INFO: Extracted packet for processing {"connection_id":56508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:57:32] 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-04-28 09:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:57:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:57:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":56508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:57:32] local.INFO: GPS data processed {"connection_id":56508,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:57:32] local.INFO: Acknowledgment sent {"connection_id":56508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:58:04] local.INFO: TCP Data received {"connection_id":56509,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:04] local.INFO: Processing buffer {"connection_id":56509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:04] local.INFO: IMEI packet received {"connection_id":56509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":56509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:58:05] local.INFO: TCP Data received {"connection_id":56509,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:05] local.INFO: Processing buffer {"connection_id":56509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:05] local.INFO: IMEI packet received {"connection_id":56509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":56509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:58:05] local.INFO: TCP Data received {"connection_id":56509,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:05] local.INFO: Processing buffer {"connection_id":56509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:05] local.INFO: Packet analysis {"connection_id":56509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:58:05] local.INFO: Extracted packet for processing {"connection_id":56509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:58:05] 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-04-28 09:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:58:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:58:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":56509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:58:05] local.INFO: GPS data processed {"connection_id":56509,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:58:05] local.INFO: Acknowledgment sent {"connection_id":56509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:58:10] local.INFO: TCP Data received {"connection_id":56509,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:10] local.INFO: Processing buffer {"connection_id":56509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2531af8012d7fa44005afde68000901122a..."} 
[2026-04-28 09:58:10] local.INFO: Packet analysis {"connection_id":56509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:58:10] local.INFO: Extracted packet for processing {"connection_id":56509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd253"} 
[2026-04-28 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001562624001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777350155000,"timestamp_ms":1777350155000,"timestamp_seconds":1777350155,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2531af8"} 
[2026-04-28 09:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:58:10] 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-04-28 09:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001562624001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001562624001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:58:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:58:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001562624001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":56509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:58:10] local.INFO: GPS data processed {"connection_id":56509,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:58:10] local.INFO: Acknowledgment sent {"connection_id":56509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:58:54] local.INFO: TCP Data received {"connection_id":56297,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:54] local.INFO: Processing buffer {"connection_id":56297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:54] local.INFO: IMEI packet received {"connection_id":56297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":56297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:58:55] local.INFO: TCP Data received {"connection_id":56446,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:58:55] local.INFO: Processing buffer {"connection_id":56446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:58:55] local.INFO: IMEI packet received {"connection_id":56446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":56446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:58:59] local.INFO: TCP Data received {"connection_id":56297,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:59] local.INFO: Processing buffer {"connection_id":56297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:58:59] local.INFO: IMEI packet received {"connection_id":56297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 09:59:00] local.INFO: TCP Data received {"connection_id":56297,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:00] local.INFO: Processing buffer {"connection_id":56297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:00] local.INFO: Packet analysis {"connection_id":56297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 09:59:00] local.INFO: Extracted packet for processing {"connection_id":56297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09: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-04-28 09:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 09:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:59:00] 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-04-28 09: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-04-28 09:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":56297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:59:00] local.INFO: GPS data processed {"connection_id":56297,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:59:00] local.INFO: Acknowledgment sent {"connection_id":56297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:59:32] local.INFO: TCP Data received {"connection_id":56297,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:32] local.INFO: Processing buffer {"connection_id":56297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 09:59:32] local.INFO: Packet analysis {"connection_id":56297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 09:59:32] local.INFO: Extracted packet for processing {"connection_id":56297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 09:59:32] 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-04-28 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 09:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 09:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":56297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 09:59:32] local.INFO: GPS data processed {"connection_id":56297,"processed":1,"errors":0,"total":1} 
[2026-04-28 09:59:32] local.INFO: Acknowledgment sent {"connection_id":56297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 09:59:35] local.INFO: TCP Data received {"connection_id":56298,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:59:35] local.INFO: Processing buffer {"connection_id":56298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 09:59:35] local.INFO: IMEI packet received {"connection_id":56298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":56298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:59:54] local.INFO: TCP Data received {"connection_id":57184,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:54] local.INFO: Processing buffer {"connection_id":57184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:54] local.INFO: IMEI packet received {"connection_id":57184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 09:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":57184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 09:59:59] local.INFO: TCP Data received {"connection_id":57184,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:59] local.INFO: Processing buffer {"connection_id":57184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 09:59:59] local.INFO: IMEI packet received {"connection_id":57184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":57184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:00:00] local.INFO: TCP Data received {"connection_id":57184,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:00] local.INFO: Processing buffer {"connection_id":57184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:00] local.INFO: Packet analysis {"connection_id":57184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:00:00] local.INFO: Extracted packet for processing {"connection_id":57184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:00: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-04-28 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:00:00] 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-04-28 10:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:00:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:00:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":57184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:00:00] local.INFO: GPS data processed {"connection_id":57184,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:00:00] local.INFO: Acknowledgment sent {"connection_id":57184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:00:32] local.INFO: TCP Data received {"connection_id":57184,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:32] local.INFO: Processing buffer {"connection_id":57184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:00:32] local.INFO: Packet analysis {"connection_id":57184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:00:32] local.INFO: Extracted packet for processing {"connection_id":57184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:00:32] 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-04-28 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:00:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":57184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:00:32] local.INFO: GPS data processed {"connection_id":57184,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:00:32] local.INFO: Acknowledgment sent {"connection_id":57184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:00:59] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:00:59] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:00:59] local.INFO: IMEI packet received {"connection_id":56511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:01:04] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:04] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:04] local.INFO: IMEI packet received {"connection_id":56511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":56511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:01:05] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:05] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:05] local.INFO: Packet analysis {"connection_id":56511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:01:05] local.INFO: Extracted packet for processing {"connection_id":56511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:01:05] 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-04-28 10:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:01:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:01:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":56511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:01:05] local.INFO: GPS data processed {"connection_id":56511,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:01:05] local.INFO: Acknowledgment sent {"connection_id":56511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:01:09] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:09] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:01:09] local.INFO: Packet analysis {"connection_id":56511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:01:09] local.INFO: Extracted packet for processing {"connection_id":56511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":56511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:01:09] local.INFO: GPS data processed {"connection_id":56511,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:01:09] local.INFO: Acknowledgment sent {"connection_id":56511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:01:55] local.INFO: TCP Data received {"connection_id":57185,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:55] local.INFO: Processing buffer {"connection_id":57185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:01:55] local.INFO: IMEI packet received {"connection_id":57185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":57185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:02:00] local.INFO: TCP Data received {"connection_id":57185,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:00] local.INFO: Processing buffer {"connection_id":57185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:00] local.INFO: IMEI packet received {"connection_id":57185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":57185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:02:01] local.INFO: TCP Data received {"connection_id":57185,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:01] local.INFO: Processing buffer {"connection_id":57185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:01] local.INFO: Packet analysis {"connection_id":57185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:02:01] local.INFO: Extracted packet for processing {"connection_id":57185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:02:01] 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-04-28 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:02:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:02:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":57185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:02:01] local.INFO: GPS data processed {"connection_id":57185,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:02:01] local.INFO: Acknowledgment sent {"connection_id":57185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:02:32] local.INFO: TCP Data received {"connection_id":57185,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:32] local.INFO: Processing buffer {"connection_id":57185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:02:32] local.INFO: Packet analysis {"connection_id":57185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:02:32] local.INFO: Extracted packet for processing {"connection_id":57185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:02:32] 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-04-28 10:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":57185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:02:32] local.INFO: GPS data processed {"connection_id":57185,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:02:32] local.INFO: Acknowledgment sent {"connection_id":57185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:02:38] local.INFO: TCP Data received {"connection_id":56512,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:02:38] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:02:38] local.INFO: IMEI packet received {"connection_id":56512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":56512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:02:54] local.INFO: TCP Data received {"connection_id":56514,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:54] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:54] local.INFO: IMEI packet received {"connection_id":56514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":56514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:02:59] local.INFO: TCP Data received {"connection_id":56514,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:59] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:02:59] local.INFO: IMEI packet received {"connection_id":56514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:03:00] local.INFO: TCP Data received {"connection_id":56514,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:00] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd257b2c0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:00] local.INFO: Packet analysis {"connection_id":56514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:03:00] local.INFO: Extracted packet for processing {"connection_id":56514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd257"} 
[2026-04-28 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001639680001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350456000,"timestamp_ms":1777350456000,"timestamp_seconds":1777350456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd257b2c0"} 
[2026-04-28 10:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:03:00] 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-04-28 10:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001639680001,"66":25201,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001639680001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:03:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:03:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001639680001,"power":25201,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":56514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:03:00] local.INFO: GPS data processed {"connection_id":56514,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:03:00] local.INFO: Acknowledgment sent {"connection_id":56514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:03:13] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:03:13] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:03:13] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:03:32] local.INFO: TCP Data received {"connection_id":56514,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:32] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:03:32] local.INFO: Packet analysis {"connection_id":56514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:03:32] local.INFO: Extracted packet for processing {"connection_id":56514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:03:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":56514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:03:32] local.INFO: GPS data processed {"connection_id":56514,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:03:32] local.INFO: Acknowledgment sent {"connection_id":56514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:03:59] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:03:59] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:03:59] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:04:04] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:04] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:04] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:04:05] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:05] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:05] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:04:05] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:04:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:04:05] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:04:05] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:04:10] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:10] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:04:10] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:04:10] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:04:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:04:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:04:10] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:04:10] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:04:54] local.INFO: TCP Data received {"connection_id":57187,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:54] local.INFO: Processing buffer {"connection_id":57187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:54] local.INFO: IMEI packet received {"connection_id":57187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":57187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:04:55] local.INFO: TCP Data received {"connection_id":57186,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:04:55] local.INFO: Processing buffer {"connection_id":57186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:04:55] local.INFO: IMEI packet received {"connection_id":57186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":57186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:04:59] local.INFO: TCP Data received {"connection_id":57187,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:59] local.INFO: Processing buffer {"connection_id":57187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:04:59] local.INFO: IMEI packet received {"connection_id":57187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":57187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:05:02] local.INFO: TCP Data received {"connection_id":57187,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:02] local.INFO: Processing buffer {"connection_id":57187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:02] local.INFO: Packet analysis {"connection_id":57187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:05:02] local.INFO: Extracted packet for processing {"connection_id":57187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:05:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:05:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":57187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:05:02] local.INFO: GPS data processed {"connection_id":57187,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:05:02] local.INFO: Acknowledgment sent {"connection_id":57187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:05:34] local.INFO: TCP Data received {"connection_id":57187,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:34] local.INFO: Processing buffer {"connection_id":57187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:05:34] local.INFO: Packet analysis {"connection_id":57187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:05:34] local.INFO: Extracted packet for processing {"connection_id":57187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:05:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:05:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":57187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:05:34] local.INFO: GPS data processed {"connection_id":57187,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:05:34] local.INFO: Acknowledgment sent {"connection_id":57187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:05:40] local.INFO: TCP Data received {"connection_id":56454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:05:40] local.INFO: Processing buffer {"connection_id":56454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:05:40] local.INFO: IMEI packet received {"connection_id":56454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":56454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:05:54] local.INFO: TCP Data received {"connection_id":56455,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:54] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:54] local.INFO: IMEI packet received {"connection_id":56455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":56455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:05:59] local.INFO: TCP Data received {"connection_id":56455,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:59] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:05:59] local.INFO: IMEI packet received {"connection_id":56455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:06:01] local.INFO: TCP Data received {"connection_id":56455,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:01] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:01] local.INFO: Packet analysis {"connection_id":56455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:06:01] local.INFO: Extracted packet for processing {"connection_id":56455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:06:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:06:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":56455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:06:01] local.INFO: GPS data processed {"connection_id":56455,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:06:01] local.INFO: Acknowledgment sent {"connection_id":56455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:06:32] local.INFO: TCP Data received {"connection_id":56455,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:32] local.INFO: Processing buffer {"connection_id":56455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:06:32] local.INFO: Packet analysis {"connection_id":56455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:06:32] local.INFO: Extracted packet for processing {"connection_id":56455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":56455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:06:32] local.INFO: GPS data processed {"connection_id":56455,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:06:32] local.INFO: Acknowledgment sent {"connection_id":56455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:06:59] local.INFO: TCP Data received {"connection_id":56302,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:06:59] local.INFO: Processing buffer {"connection_id":56302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:06:59] local.INFO: IMEI packet received {"connection_id":56302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:07:04] local.INFO: TCP Data received {"connection_id":56302,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:04] local.INFO: Processing buffer {"connection_id":56302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:04] local.INFO: IMEI packet received {"connection_id":56302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:07:05] local.INFO: TCP Data received {"connection_id":56302,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:05] local.INFO: Processing buffer {"connection_id":56302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:05] local.INFO: Packet analysis {"connection_id":56302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:07:05] local.INFO: Extracted packet for processing {"connection_id":56302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":56302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:07:05] local.INFO: GPS data processed {"connection_id":56302,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:07:05] local.INFO: Acknowledgment sent {"connection_id":56302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:07:09] local.INFO: TCP Data received {"connection_id":56302,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:09] local.INFO: Processing buffer {"connection_id":56302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:07:09] local.INFO: Packet analysis {"connection_id":56302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:07:09] local.INFO: Extracted packet for processing {"connection_id":56302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":56302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:07:09] local.INFO: GPS data processed {"connection_id":56302,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:07:09] local.INFO: Acknowledgment sent {"connection_id":56302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:07:54] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:54] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:54] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:07:59] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:59] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:07:59] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:08:00] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:08:00] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c4a88012d7fa44005afde68000901122b..."} 
[2026-04-28 10:08:00] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:08:00] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001716736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777350757000,"timestamp_ms":1777350757000,"timestamp_seconds":1777350757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c4a88"} 
[2026-04-28 10:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:08: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-04-28 10:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 10:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001716736001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001716736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:08:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:08:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001716736001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:08:00] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:08:00] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:08:30] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:08:30] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:08:30] local.INFO: IMEI packet received {"connection_id":56457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":56457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:08:30] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c69c8012d191bc0072323e80050002c21..."} 
[2026-04-28 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c69c8012d191bc0072323e80050002c21..."} 
[2026-04-28 10:08:30] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c69c8012d191bc0072323e80050002c21..."} 
[2026-04-28 10:08:30] local.INFO: Packet analysis {"connection_id":56457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:08:30] local.INFO: Extracted packet for processing {"connection_id":56457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756620224,"raw_latitude":119743464,"longitude_deg":75.6620224,"latitude_deg":11.9743464,"altitude":80,"angle":44,"satellites":33,"speed":44,"hex_longitude":"2d191bc0","hex_latitude":"072323e8","is_valid_coordinates":true} 
[2026-04-28 10:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115478854407028736,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802706518995894272,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777350765000,"timestamp_ms":1777350765000,"timestamp_seconds":1777350765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c69c8"} 
[2026-04-28 10:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:08: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-04-28 10:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:08: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-04-28 10:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:08:30] 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-04-28 10:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":12287,"177":206,"83":42752,"24":44,"16":115478854407028736,"45":1802706518995894272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 10:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:08:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 10:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115478854407028736,"km_value":115478854407028.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802706518995894272,"description":"Unknown IO ID 45"} 
[2026-04-28 10:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":12287,"unknown_177":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1802706518995894272}} 
[2026-04-28 10:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":56457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:08:30] local.INFO: GPS data processed {"connection_id":56457,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:08:30] local.INFO: Acknowledgment sent {"connection_id":56457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:08:31] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:08:31] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:08:31] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:08:31] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:08:31] 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-04-28 10: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-04-28 10:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:08:32] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:08:32] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:08:59] local.INFO: TCP Data received {"connection_id":57190,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:08:59] local.INFO: Processing buffer {"connection_id":57190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:08:59] local.INFO: IMEI packet received {"connection_id":57190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":57190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:09:04] local.INFO: TCP Data received {"connection_id":57190,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:04] local.INFO: Processing buffer {"connection_id":57190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:04] local.INFO: IMEI packet received {"connection_id":57190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":57190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:09:05] local.INFO: TCP Data received {"connection_id":57190,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:05] local.INFO: Processing buffer {"connection_id":57190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:05] local.INFO: Packet analysis {"connection_id":57190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:09:05] local.INFO: Extracted packet for processing {"connection_id":57190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:09:05] 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-04-28 10:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":57190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:09:05] local.INFO: GPS data processed {"connection_id":57190,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:09:05] local.INFO: Acknowledgment sent {"connection_id":57190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:09:09] local.INFO: TCP Data received {"connection_id":57190,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:09] local.INFO: Processing buffer {"connection_id":57190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:09:09] local.INFO: Packet analysis {"connection_id":57190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:09:09] local.INFO: Extracted packet for processing {"connection_id":57190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:09:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:09:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":57190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:09:09] local.INFO: GPS data processed {"connection_id":57190,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:09:09] local.INFO: Acknowledgment sent {"connection_id":57190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:09:09] local.INFO: TCP Data received {"connection_id":56303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:09] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:09] local.INFO: IMEI packet received {"connection_id":56303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":56303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:09:17] local.INFO: TCP Data received {"connection_id":56303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:17] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:09:17] local.INFO: IMEI packet received {"connection_id":56303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":56303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:09:19] local.INFO: TCP Data received {"connection_id":56303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25c8cf0012d19358007233dc0004c002620..."} 
[2026-04-28 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25c8cf0012d19358007233dc0004c002620..."} 
[2026-04-28 10:09:19] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25c8cf0012d19358007233dc0004c002620..."} 
[2026-04-28 10:09:19] local.INFO: Packet analysis {"connection_id":56303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:09:19] local.INFO: Extracted packet for processing {"connection_id":56303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756626816,"raw_latitude":119750080,"longitude_deg":75.6626816,"latitude_deg":11.975008,"altitude":76,"angle":38,"satellites":32,"speed":31,"hex_longitude":"2d193580","hex_latitude":"07233dc0","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001795840001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115479301083627520,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809250812206245888,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777350774000,"timestamp_ms":1777350774000,"timestamp_seconds":1777350774,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25c8cf0"} 
[2026-04-28 10:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001795840001,"66":11961,"177":206,"83":42752,"24":31,"16":115479301083627520,"45":1809250812206245888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 10:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001795840001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:09:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 10:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115479301083627520,"km_value":115479301083627.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809250812206245888,"description":"Unknown IO ID 45"} 
[2026-04-28 10:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001795840001,"power":11961,"unknown_177":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1809250812206245888}} 
[2026-04-28 10:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":56303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:09:19] local.INFO: GPS data processed {"connection_id":56303,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:09:19] local.INFO: Acknowledgment sent {"connection_id":56303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:09:52] local.INFO: TCP Data received {"connection_id":56303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd25cc788012d194c4007235a980049002221..."} 
[2026-04-28 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd25cc788012d194c4007235a980049002221..."} 
[2026-04-28 10:09:52] local.INFO: Processing buffer {"connection_id":56303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd25cc788012d194c4007235a980049002221..."} 
[2026-04-28 10:09:52] local.INFO: Packet analysis {"connection_id":56303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:09:52] local.INFO: Extracted packet for processing {"connection_id":56303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd25c"} 
[2026-04-28 10:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756632640,"raw_latitude":119757464,"longitude_deg":75.663264,"latitude_deg":11.9757464,"altitude":73,"angle":34,"satellites":33,"speed":30,"hex_longitude":"2d194c40","hex_latitude":"07235a98","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001798144001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115479752055193600,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816498792858238976,"note":"Value kept but may cause issues"} 
[2026-04-28 10:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777350789000,"timestamp_ms":1777350789000,"timestamp_seconds":1777350789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd25cc788"} 
[2026-04-28 10:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 10:09:52] 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-04-28 10:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001798144001,"66":11961,"186":206,"83":42752,"24":30,"16":115479752055193600,"45":1816498792858238976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-04-28 10:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001798144001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:09:52] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-28 10:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115479752055193600,"km_value":115479752055193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816498792858238976,"description":"Unknown IO ID 45"} 
[2026-04-28 10:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001798144001,"power":11961,"unknown_186":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1816498792858238976}} 
[2026-04-28 10:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":56303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:09:52] local.INFO: GPS data processed {"connection_id":56303,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:09:52] local.INFO: Acknowledgment sent {"connection_id":56303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:09:55] local.INFO: TCP Data received {"connection_id":57191,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:55] local.INFO: Processing buffer {"connection_id":57191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:55] local.INFO: IMEI packet received {"connection_id":57191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":57191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:09:59] local.INFO: TCP Data received {"connection_id":57191,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:59] local.INFO: Processing buffer {"connection_id":57191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:09:59] local.INFO: IMEI packet received {"connection_id":57191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":57191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:10:00] local.INFO: TCP Data received {"connection_id":57191,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:00] local.INFO: Processing buffer {"connection_id":57191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:00] local.INFO: Packet analysis {"connection_id":57191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:00] local.INFO: Extracted packet for processing {"connection_id":57191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:10: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-04-28 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:10:00] 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-04-28 10:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":57191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:10:00] local.INFO: GPS data processed {"connection_id":57191,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:10:00] local.INFO: Acknowledgment sent {"connection_id":57191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:10:05] local.INFO: TCP Data received {"connection_id":57191,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:05] local.INFO: Processing buffer {"connection_id":57191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:05] local.INFO: Packet analysis {"connection_id":57191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:05] local.INFO: Extracted packet for processing {"connection_id":57191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:10:05] 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-04-28 10: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-04-28 10:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:10:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:10:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":57191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:10:05] local.INFO: GPS data processed {"connection_id":57191,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:10:05] local.INFO: Acknowledgment sent {"connection_id":57191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:10:09] local.INFO: TCP Data received {"connection_id":56459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:09] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:09] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:10:10] local.INFO: TCP Data received {"connection_id":56459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:10] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:10] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:10:14] local.INFO: TCP Data received {"connection_id":56459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:14] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:10:14] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:10:15] local.INFO: TCP Data received {"connection_id":56459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:15] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:15] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:10:15] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756686080,"raw_latitude":119778120,"longitude_deg":75.668608,"latitude_deg":11.977812,"altitude":46,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d1a1d00","hex_latitude":"0723ab48","is_valid_coordinates":true} 
[2026-04-28 10:10:15] 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-04-28 10:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001892352001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115482161531846656,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881660249973934080,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351167000,"timestamp_ms":1777351167000,"timestamp_seconds":1777351167,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2628c18"} 
[2026-04-28 10:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 10:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001892352001,"66":2166,"42":206,"83":42752,"24":0,"16":115482161531846656,"45":1881660249973934080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001892352001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:10:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115482161531846656,"km_value":115482161531846.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881660249973934080,"description":"Unknown IO ID 45"} 
[2026-04-28 10:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001892352001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1881660249973934080}} 
[2026-04-28 10:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:10:15] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:10:15] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:10:37] local.INFO: TCP Data received {"connection_id":57191,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:37] local.INFO: Processing buffer {"connection_id":57191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:10:37] local.INFO: Packet analysis {"connection_id":57191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:37] local.INFO: Extracted packet for processing {"connection_id":57191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:10:37] 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-04-28 10:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":57191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:10:37] local.INFO: GPS data processed {"connection_id":57191,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:10:37] local.INFO: Acknowledgment sent {"connection_id":57191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:10:46] local.INFO: TCP Data received {"connection_id":56459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:46] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:10:46] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:10:46] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756686080,"raw_latitude":119778120,"longitude_deg":75.668608,"latitude_deg":11.977812,"altitude":46,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d1a1d00","hex_latitude":"0723ab48","is_valid_coordinates":true} 
[2026-04-28 10:10: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-04-28 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001898752001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115482161531846656,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881660249973934080,"note":"Value kept but may cause issues"} 
[2026-04-28 10:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777351167000,"timestamp_ms":1777351167000,"timestamp_seconds":1777351167,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2628c18"} 
[2026-04-28 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-04-28 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:10:46] 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-04-28 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001898752001,"66":2166,"42":206,"83":42752,"24":0,"16":115482161531846656,"45":1881660249973934080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001898752001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:10:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115482161531846656,"km_value":115482161531846.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881660249973934080,"description":"Unknown IO ID 45"} 
[2026-04-28 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001898752001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1881660249973934080}} 
[2026-04-28 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:10:46] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:10:46] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:10:54] local.INFO: TCP Data received {"connection_id":56460,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:54] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:54] local.INFO: IMEI packet received {"connection_id":56460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":56460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:10:59] local.INFO: TCP Data received {"connection_id":56460,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:59] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:10:59] local.INFO: IMEI packet received {"connection_id":56460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:11:00] local.INFO: TCP Data received {"connection_id":56460,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:00] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:00] local.INFO: Packet analysis {"connection_id":56460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:11:00] local.INFO: Extracted packet for processing {"connection_id":56460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:11: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-04-28 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:11:00] 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-04-28 10:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:11:00] local.INFO: GPS data processed {"connection_id":56460,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:11:00] local.INFO: Acknowledgment sent {"connection_id":56460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:11:05] local.INFO: TCP Data received {"connection_id":57192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:05] local.INFO: Processing buffer {"connection_id":57192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:05] local.INFO: IMEI packet received {"connection_id":57192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":57192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:11:09] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:09] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:09] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:11:10] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:10] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:10] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:11:14] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:14] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:11:14] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:11:15] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:11:15] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2628c18012d1a1d000723ab48002e005527..."} 
[2026-04-28 10:11:15] local.INFO: Packet analysis {"connection_id":56518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:11:15] local.INFO: Extracted packet for processing {"connection_id":56518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd262"} 
[2026-04-28 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756686080,"raw_latitude":119778120,"longitude_deg":75.668608,"latitude_deg":11.977812,"altitude":46,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d1a1d00","hex_latitude":"0723ab48","is_valid_coordinates":true} 
[2026-04-28 10:11: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-04-28 10:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001898752001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115482161531846656,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881660249973934080,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351167000,"timestamp_ms":1777351167000,"timestamp_seconds":1777351167,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2628c18"} 
[2026-04-28 10:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001898752001,"66":2166,"42":206,"83":42752,"24":0,"16":115482161531846656,"45":1881660249973934080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001898752001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:11:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115482161531846656,"km_value":115482161531846.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881660249973934080,"description":"Unknown IO ID 45"} 
[2026-04-28 10:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001898752001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1881660249973934080}} 
[2026-04-28 10:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":56518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:11:15] local.INFO: GPS data processed {"connection_id":56518,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:11:15] local.INFO: Acknowledgment sent {"connection_id":56518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:11:32] local.INFO: TCP Data received {"connection_id":56460,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:32] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:11:32] local.INFO: Packet analysis {"connection_id":56460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:11:32] local.INFO: Extracted packet for processing {"connection_id":56460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:11: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-04-28 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:11:32] 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-04-28 10:11: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-04-28 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:11:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":56460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:11:32] local.INFO: GPS data processed {"connection_id":56460,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:11:32] local.INFO: Acknowledgment sent {"connection_id":56460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:11:34] local.INFO: TCP Data received {"connection_id":56519,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:34] local.INFO: Processing buffer {"connection_id":56519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:11:34] local.INFO: IMEI packet received {"connection_id":56519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":56519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:11:46] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2639d88012d1a1e400723ad780031010226..."} 
[2026-04-28 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2639d88012d1a1e400723ad780031010226..."} 
[2026-04-28 10:11:46] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2639d88012d1a1e400723ad780031010226..."} 
[2026-04-28 10:11:46] local.INFO: Packet analysis {"connection_id":56518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd263"} 
[2026-04-28 10:11:46] local.INFO: Extracted packet for processing {"connection_id":56518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd263"} 
[2026-04-28 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756686400,"raw_latitude":119778680,"longitude_deg":75.66864,"latitude_deg":11.977868,"altitude":49,"angle":258,"satellites":38,"speed":6,"hex_longitude":"2d1a1e40","hex_latitude":"0723ad78","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001916416001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115482281790930944,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568671678464,"note":"Value kept but may cause issues"} 
[2026-04-28 10:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777351237000,"timestamp_ms":1777351237000,"timestamp_seconds":1777351237,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2639d88"} 
[2026-04-28 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-04-28 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-28 10:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:11:46] 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-04-28 10:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001916416001,"66":14004,"42":206,"83":42752,"24":6,"16":115482281790930944,"45":1882293568671678464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001916416001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:11:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115482281790930944,"km_value":115482281790930.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568671678464,"description":"Unknown IO ID 45"} 
[2026-04-28 10:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001916416001,"power":14004,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1882293568671678464}} 
[2026-04-28 10:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":56518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:11:46] local.INFO: GPS data processed {"connection_id":56518,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:11:46] local.INFO: Acknowledgment sent {"connection_id":56518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:11:54] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:54] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:54] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:11:59] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:59] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:11:59] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:12:01] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:01] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:01] local.INFO: Packet analysis {"connection_id":56461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:12:01] local.INFO: Extracted packet for processing {"connection_id":56461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:12:01] 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-04-28 10:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:12:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:12:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":56461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:12:01] local.INFO: GPS data processed {"connection_id":56461,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:12:01] local.INFO: Acknowledgment sent {"connection_id":56461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:12:10] local.INFO: TCP Data received {"connection_id":56462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:10] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:10] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:12:14] local.INFO: TCP Data received {"connection_id":56462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:14] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:12:14] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:12:15] local.INFO: TCP Data received {"connection_id":56462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd263dff0012d19fb800723a7500033010625..."} 
[2026-04-28 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd263dff0012d19fb800723a7500033010625..."} 
[2026-04-28 10:12:15] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd263dff0012d19fb800723a7500033010625..."} 
[2026-04-28 10:12:15] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd263"} 
[2026-04-28 10:12:15] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd263"} 
[2026-04-28 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756677504,"raw_latitude":119777104,"longitude_deg":75.6677504,"latitude_deg":11.9777104,"altitude":51,"angle":262,"satellites":37,"speed":33,"hex_longitude":"2d19fb80","hex_latitude":"0723a750","is_valid_coordinates":true} 
[2026-04-28 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001916672001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115482711287660544,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882012093694965760,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351254000,"timestamp_ms":1777351254000,"timestamp_seconds":1777351254,"priority":1,"record_length":96,"hex_timestamp":"0000019dd263dff0"} 
[2026-04-28 10:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:12:15] 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-04-28 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 10:12:15] 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-04-28 10:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001916672001,"66":13450,"42":206,"83":42752,"24":33,"16":115482711287660544,"45":1882012093694965760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001916672001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:12:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115482711287660544,"km_value":115482711287660.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882012093694965760,"description":"Unknown IO ID 45"} 
[2026-04-28 10:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001916672001,"power":13450,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1882012093694965760}} 
[2026-04-28 10:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:12:15] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:12:15] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:12:33] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:33] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:12:33] local.INFO: Packet analysis {"connection_id":56461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:12:33] local.INFO: Extracted packet for processing {"connection_id":56461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:12:33] 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-04-28 10:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":56461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:12:33] local.INFO: GPS data processed {"connection_id":56461,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:12:33] local.INFO: Acknowledgment sent {"connection_id":56461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:12:46] local.INFO: TCP Data received {"connection_id":56462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2640ed0012d19da800723a2c8003400e825..."} 
[2026-04-28 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2640ed0012d19da800723a2c8003400e825..."} 
[2026-04-28 10:12:46] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2640ed0012d19da800723a2c8003400e825..."} 
[2026-04-28 10:12:46] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:12:46] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756669056,"raw_latitude":119775944,"longitude_deg":75.6669056,"latitude_deg":11.9775944,"altitude":52,"angle":232,"satellites":37,"speed":10,"hex_longitude":"2d19da80","hex_latitude":"0723a2c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001921024001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483115014586368,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872230838253867008,"note":"Value kept but may cause issues"} 
[2026-04-28 10:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777351266000,"timestamp_ms":1777351266000,"timestamp_seconds":1777351266,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2640ed0"} 
[2026-04-28 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-04-28 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 10:12: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-04-28 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-04-28 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-04-28 10:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:12:46] 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-04-28 10:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001921024001,"66":13396,"42":206,"83":42752,"24":10,"16":115483115014586368,"45":1872230838253867008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001921024001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:12:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483115014586368,"km_value":115483115014586.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872230838253867008,"description":"Unknown IO ID 45"} 
[2026-04-28 10:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001921024001,"power":13396,"unknown_42":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1872230838253867008}} 
[2026-04-28 10:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:12:46] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:12:46] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:12:59] local.INFO: TCP Data received {"connection_id":56304,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:12:59] local.INFO: Processing buffer {"connection_id":56304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:12:59] local.INFO: IMEI packet received {"connection_id":56304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:13:04] local.INFO: TCP Data received {"connection_id":56304,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:04] local.INFO: Processing buffer {"connection_id":56304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:04] local.INFO: IMEI packet received {"connection_id":56304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":56304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:13:05] local.INFO: TCP Data received {"connection_id":56304,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:05] local.INFO: Processing buffer {"connection_id":56304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:05] local.INFO: Packet analysis {"connection_id":56304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:13:05] local.INFO: Extracted packet for processing {"connection_id":56304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:13:05] 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-04-28 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:13:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:13:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":56304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:13:05] local.INFO: GPS data processed {"connection_id":56304,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:13:05] local.INFO: Acknowledgment sent {"connection_id":56304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:13:09] local.INFO: TCP Data received {"connection_id":56304,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:09] local.INFO: Processing buffer {"connection_id":56304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd260e250012d7fa44005afde680009011229..."} 
[2026-04-28 10:13:09] local.INFO: Packet analysis {"connection_id":56304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:13:09] local.INFO: Extracted packet for processing {"connection_id":56304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd260"} 
[2026-04-28 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001793792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777351058000,"timestamp_ms":1777351058000,"timestamp_seconds":1777351058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd260e250"} 
[2026-04-28 10:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001793792001,"66":25321,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001793792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:13:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:13:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001793792001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":56304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:13:09] local.INFO: GPS data processed {"connection_id":56304,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:13:09] local.INFO: Acknowledgment sent {"connection_id":56304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:13:09] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:09] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:09] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:13:14] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:14] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:13:14] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:13:17] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26416a0012d19d9c00723a168003300bc25..."} 
[2026-04-28 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26416a0012d19d9c00723a168003300bc25..."} 
[2026-04-28 10:13:17] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26416a0012d19d9c00723a168003300bc25..."} 
[2026-04-28 10:13:17] local.INFO: Packet analysis {"connection_id":56520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:13:17] local.INFO: Extracted packet for processing {"connection_id":56520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756668864,"raw_latitude":119775592,"longitude_deg":75.6668864,"latitude_deg":11.9775592,"altitude":51,"angle":188,"satellites":37,"speed":7,"hex_longitude":"2d19d9c0","hex_latitude":"0723a168","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001924096001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483136489422848,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862942164022118400,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777351268000,"timestamp_ms":1777351268000,"timestamp_seconds":1777351268,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26416a0"} 
[2026-04-28 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-04-28 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-28 10:13:17] 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-04-28 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-04-28 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-04-28 10:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:13:17] 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-04-28 10:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001924096001,"66":13374,"42":206,"83":42752,"24":7,"16":115483136489422848,"45":1862942164022118400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001924096001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:13:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483136489422848,"km_value":115483136489422.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862942164022118400,"description":"Unknown IO ID 45"} 
[2026-04-28 10:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001924096001,"power":13374,"unknown_42":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1862942164022118400}} 
[2026-04-28 10:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":56520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:13:17] local.INFO: GPS data processed {"connection_id":56520,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:13:17] local.INFO: Acknowledgment sent {"connection_id":56520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:13:48] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2642e10012d19d88007239b30003400ce24..."} 
[2026-04-28 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2642e10012d19d88007239b30003400ce24..."} 
[2026-04-28 10:13:48] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2642e10012d19d88007239b30003400ce24..."} 
[2026-04-28 10:13:48] local.INFO: Packet analysis {"connection_id":56520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:13:48] local.INFO: Extracted packet for processing {"connection_id":56520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119774000,"longitude_deg":75.6668544,"latitude_deg":11.9774,"altitude":52,"angle":206,"satellites":36,"speed":11,"hex_longitude":"2d19d880","hex_latitude":"07239b30","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001924608001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483213798834176,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862731057789495296,"note":"Value kept but may cause issues"} 
[2026-04-28 10:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777351274000,"timestamp_ms":1777351274000,"timestamp_seconds":1777351274,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2642e10"} 
[2026-04-28 10:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:13: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-04-28 10: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":62,"data_length":795,"current_offset":136} 
[2026-04-28 10:13:48] 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-04-28 10: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-04-28 10:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:13:48] 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-04-28 10:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001924608001,"66":13341,"42":206,"83":42752,"24":11,"16":115483213798834176,"45":1862731057789495296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001924608001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:13:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483213798834176,"km_value":115483213798834.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862731057789495296,"description":"Unknown IO ID 45"} 
[2026-04-28 10:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001924608001,"power":13341,"unknown_42":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1862731057789495296}} 
[2026-04-28 10:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":56520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:13:49] local.INFO: GPS data processed {"connection_id":56520,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:13:49] local.INFO: Acknowledgment sent {"connection_id":56520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:13:59] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:59] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:13:59] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:14:04] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:04] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:04] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:14:06] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:06] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:06] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:14:06] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:14:06] 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-04-28 10:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:14:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:14:06] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:14:06] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:14:16] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:16] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:16] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:14:19] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:19] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:14:19] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:14:20] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26431f8012d19d80007239a68003400e124..."} 
[2026-04-28 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26431f8012d19d80007239a68003400e124..."} 
[2026-04-28 10:14:20] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26431f8012d19d80007239a68003400e124..."} 
[2026-04-28 10:14:20] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:20] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119773800,"longitude_deg":75.6668416,"latitude_deg":11.97738,"altitude":52,"angle":225,"satellites":36,"speed":10,"hex_longitude":"2d19d800","hex_latitude":"07239a68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001926144001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483226683736064,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068199424,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777351275000,"timestamp_ms":1777351275000,"timestamp_seconds":1777351275,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26431f8"} 
[2026-04-28 10:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:14:20] 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-04-28 10:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 10:14:20] 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-04-28 10: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-04-28 10:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001926144001,"66":13341,"42":206,"83":42752,"24":10,"16":115483226683736064,"45":1862379214068199424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001926144001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:14:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483226683736064,"km_value":115483226683736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068199424,"description":"Unknown IO ID 45"} 
[2026-04-28 10:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001926144001,"power":13341,"unknown_42":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1862379214068199424}} 
[2026-04-28 10:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:14:20] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:14:20] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:14:24] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26439c8012d19d640072399a80034010125..."} 
[2026-04-28 10:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26439c8012d19d640072399a80034010125..."} 
[2026-04-28 10:14:24] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26439c8012d19d640072399a80034010125..."} 
[2026-04-28 10:14:24] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:24] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773608,"longitude_deg":75.6667968,"latitude_deg":11.9773608,"altitude":52,"angle":257,"satellites":37,"speed":9,"hex_longitude":"2d19d640","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001926400001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483248158572544,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476579792896,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777351277000,"timestamp_ms":1777351277000,"timestamp_seconds":1777351277,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26439c8"} 
[2026-04-28 10:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:14: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-04-28 10: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 10:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001926400001,"66":13319,"42":206,"83":42752,"24":9,"16":115483248158572544,"45":1862238476579792896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001926400001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:14:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483248158572544,"km_value":115483248158572.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476579792896,"description":"Unknown IO ID 45"} 
[2026-04-28 10:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001926400001,"power":13319,"unknown_42":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1862238476579792896}} 
[2026-04-28 10:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:14:24] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:14:24] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:14:38] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:38] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:14:38] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:14:38] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:14:38] 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-04-28 10:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:14:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:14:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:14:38] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:14:38] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:14:54] local.INFO: TCP Data received {"connection_id":56305,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:54] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:54] local.INFO: IMEI packet received {"connection_id":56305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":56305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:14:55] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2643db0012d19d580072399a80034011424..."} 
[2026-04-28 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2643db0012d19d580072399a80034011424..."} 
[2026-04-28 10:14:55] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2643db0012d19d580072399a80034011424..."} 
[2026-04-28 10:14:55] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:55] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773608,"longitude_deg":75.6667776,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":36,"speed":6,"hex_longitude":"2d19d580","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001926912001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483256748507136,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370500096,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777351278000,"timestamp_ms":1777351278000,"timestamp_seconds":1777351278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2643db0"} 
[2026-04-28 10:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3529743752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308383,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-5944751297657821696,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2147951527,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57807004232471463,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-7376894896409460729,"note":"Value kept but may cause issues"} 
[2026-04-28 10:14:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,42,83,24,241,157,16,71,49,45,154,52,36,10,66,46,128,155,22,192,1,240,62,227,210,35,4,113,205,223,251,80,37,239,2,7,6,180,99],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-04-28 10:14:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747277623374970880,"timestamp_seconds":3747277623374971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 10:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001926912001,"66":13330,"42":206,"83":42752,"24":6,"16":115483256748507136,"45":1861745895370500096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001926912001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:14:55] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483256748507136,"km_value":115483256748507.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370500096,"description":"Unknown IO ID 45"} 
[2026-04-28 10:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001926912001,"power":13330,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1861745895370500096}} 
[2026-04-28 10:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:14:55] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:14:55] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:14:59] local.INFO: TCP Data received {"connection_id":56305,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:59] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:14:59] local.INFO: IMEI packet received {"connection_id":56305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:15:01] local.INFO: TCP Data received {"connection_id":56305,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:01] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:01] local.INFO: Packet analysis {"connection_id":56305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:15:01] local.INFO: Extracted packet for processing {"connection_id":56305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:15:01] 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-04-28 10:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:15:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:15:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":56305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:15:01] local.INFO: GPS data processed {"connection_id":56305,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:15:01] local.INFO: Acknowledgment sent {"connection_id":56305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:15:10] local.INFO: TCP Data received {"connection_id":57194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:10] local.INFO: Processing buffer {"connection_id":57194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:10] local.INFO: IMEI packet received {"connection_id":57194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":57194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:15:15] local.INFO: TCP Data received {"connection_id":57194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:15] local.INFO: Processing buffer {"connection_id":57194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:15:15] local.INFO: IMEI packet received {"connection_id":57194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":57194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:15:15] local.INFO: TCP Data received {"connection_id":57194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2648fb8012d19d4c0072399a80034011420..."} 
[2026-04-28 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2648fb8012d19d4c0072399a80034011420..."} 
[2026-04-28 10:15:15] local.INFO: Processing buffer {"connection_id":57194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2648fb8012d19d4c0072399a80034011420..."} 
[2026-04-28 10:15:15] local.INFO: Packet analysis {"connection_id":57194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:15:15] local.INFO: Extracted packet for processing {"connection_id":57194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001927168001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137967104,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351299000,"timestamp_ms":1777351299000,"timestamp_seconds":1777351299,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2648fb8"} 
[2026-04-28 10:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:15:15] 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-04-28 10:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3529760752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249944440959380864,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-5947003097472424448,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2147951522,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3408104,"corrected_to":0} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57807004232471463,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-7095419919698870265,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3026645808272381952,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,42,83,24,241,157,16,71,57,45,64,153,52,37,10,66,49,154,36,46,128,1,240,29,227,210,35,4,113,205,7,14,218,200,239,2,51,33,138,99,6,95,65],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0},{"io_id":200,"original":3408104,"validated":0}]} 
[2026-04-28 10:15:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747298509800734720,"timestamp_seconds":3747298509800734.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 10:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001927168001,"66":13243,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861534789137967104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001927168001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137967104,"description":"Unknown IO ID 45"} 
[2026-04-28 10:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001927168001,"power":13243,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861534789137967104}} 
[2026-04-28 10:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":57194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:15:15] local.INFO: GPS data processed {"connection_id":57194,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:15:15] local.INFO: Acknowledgment sent {"connection_id":57194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:15:32] local.INFO: TCP Data received {"connection_id":56305,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:32] local.INFO: Processing buffer {"connection_id":56305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:15:32] local.INFO: Packet analysis {"connection_id":56305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:15:32] local.INFO: Extracted packet for processing {"connection_id":56305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:15: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-04-28 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:15:32] 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-04-28 10:15: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-04-28 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:15:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":56305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:15:32] local.INFO: GPS data processed {"connection_id":56305,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:15:32] local.INFO: Acknowledgment sent {"connection_id":56305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:15:49] local.INFO: TCP Data received {"connection_id":57194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd264e1c0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd264e1c0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:15:49] local.INFO: Processing buffer {"connection_id":57194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd264e1c0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:15:49] local.INFO: Packet analysis {"connection_id":57194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:15:49] local.INFO: Extracted packet for processing {"connection_id":57194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd264"} 
[2026-04-28 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001932544001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777351320000,"timestamp_ms":1777351320000,"timestamp_seconds":1777351320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd264e1c0"} 
[2026-04-28 10:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-28 10:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001932544001,"66":13135,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001932544001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:15:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001932544001,"power":13135,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":57194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:15:50] local.INFO: GPS data processed {"connection_id":57194,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:15:50] local.INFO: Acknowledgment sent {"connection_id":57194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:15:59] local.INFO: TCP Data received {"connection_id":56307,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:15:59] local.INFO: Processing buffer {"connection_id":56307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:15:59] local.INFO: IMEI packet received {"connection_id":56307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:16:09] local.INFO: TCP Data received {"connection_id":57195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: Processing buffer {"connection_id":57195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: IMEI packet received {"connection_id":57195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:16:09] local.INFO: TCP Data received {"connection_id":56307,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:09] local.INFO: Processing buffer {"connection_id":56307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:09] local.INFO: IMEI packet received {"connection_id":56307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":56307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:16:09] local.INFO: TCP Data received {"connection_id":57195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: Processing buffer {"connection_id":57195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:09] local.INFO: IMEI packet received {"connection_id":57195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:16:11] local.INFO: TCP Data received {"connection_id":56307,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:11] local.INFO: Processing buffer {"connection_id":56307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:11] local.INFO: Packet analysis {"connection_id":56307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:11] local.INFO: Extracted packet for processing {"connection_id":56307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:16:11] 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-04-28 10:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:16:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:16:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":56307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:16:11] local.INFO: GPS data processed {"connection_id":56307,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:16:11] local.INFO: Acknowledgment sent {"connection_id":56307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:16:12] local.INFO: TCP Data received {"connection_id":56307,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:12] local.INFO: Processing buffer {"connection_id":56307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:16:12] local.INFO: Packet analysis {"connection_id":56307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:12] local.INFO: Extracted packet for processing {"connection_id":56307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:16:12] 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-04-28 10:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:16:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:16:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":56307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:16:12] local.INFO: GPS data processed {"connection_id":56307,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:16:12] local.INFO: Acknowledgment sent {"connection_id":56307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:16:15] local.INFO: TCP Data received {"connection_id":57195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:15] local.INFO: Processing buffer {"connection_id":57195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:16:15] local.INFO: IMEI packet received {"connection_id":57195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":57195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:16:15] local.INFO: TCP Data received {"connection_id":57195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26533c8012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26533c8012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:15] local.INFO: Processing buffer {"connection_id":57195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26533c8012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:15] local.INFO: Packet analysis {"connection_id":57195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:15] local.INFO: Extracted packet for processing {"connection_id":57195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001937920001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351341000,"timestamp_ms":1777351341000,"timestamp_seconds":1777351341,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26533c8"} 
[2026-04-28 10:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-28 10:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001937920001,"66":13102,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001937920001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:16:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001937920001,"power":13102,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":57195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:16:16] local.INFO: GPS data processed {"connection_id":57195,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:16:16] local.INFO: Acknowledgment sent {"connection_id":57195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:16:47] local.INFO: TCP Data received {"connection_id":57195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26585d0012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26585d0012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:47] local.INFO: Processing buffer {"connection_id":57195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26585d0012d19d4c0072399a80034011424..."} 
[2026-04-28 10:16:47] local.INFO: Packet analysis {"connection_id":57195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:47] local.INFO: Extracted packet for processing {"connection_id":57195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001943296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777351362000,"timestamp_ms":1777351362000,"timestamp_seconds":1777351362,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26585d0"} 
[2026-04-28 10:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:16: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-04-28 10:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 10:16: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-04-28 10:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001943296001,"66":13015,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001943296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:16:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001943296001,"power":13015,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":57195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:16:47] local.INFO: GPS data processed {"connection_id":57195,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:16:47] local.INFO: Acknowledgment sent {"connection_id":57195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:16:54] local.INFO: TCP Data received {"connection_id":57197,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:54] local.INFO: Processing buffer {"connection_id":57197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:54] local.INFO: IMEI packet received {"connection_id":57197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":57197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:16:59] local.INFO: TCP Data received {"connection_id":57197,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:59] local.INFO: Processing buffer {"connection_id":57197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:16:59] local.INFO: IMEI packet received {"connection_id":57197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":57197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:17:00] local.INFO: TCP Data received {"connection_id":57196,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:00] local.INFO: Processing buffer {"connection_id":57196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:00] local.INFO: IMEI packet received {"connection_id":57196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":57196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:17:01] local.INFO: TCP Data received {"connection_id":57197,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:01] local.INFO: Processing buffer {"connection_id":57197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:01] local.INFO: Packet analysis {"connection_id":57197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:01] local.INFO: Extracted packet for processing {"connection_id":57197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:17:01] 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-04-28 10:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:17:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:17:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":57197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:17:01] local.INFO: GPS data processed {"connection_id":57197,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:17:01] local.INFO: Acknowledgment sent {"connection_id":57197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:17:13] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: IMEI packet received {"connection_id":56466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:17:13] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:13] local.INFO: IMEI packet received {"connection_id":56466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:17:14] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:14] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:17:14] local.INFO: IMEI packet received {"connection_id":56466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:17:17] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd265d7d8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd265d7d8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:17] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd265d7d8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:17] local.INFO: Packet analysis {"connection_id":56466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:17] local.INFO: Extracted packet for processing {"connection_id":56466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001948672001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777351383000,"timestamp_ms":1777351383000,"timestamp_seconds":1777351383,"priority":1,"record_length":96,"hex_timestamp":"0000019dd265d7d8"} 
[2026-04-28 10:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:17:17] 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-04-28 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 10:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001948672001,"66":12993,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001948672001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:17:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001948672001,"power":12993,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":56466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:17:17] local.INFO: GPS data processed {"connection_id":56466,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:17:17] local.INFO: Acknowledgment sent {"connection_id":56466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:17:20] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26629e0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26629e0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:17:20] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26629e0012d19d4c0072399a80034011422..."} 
[2026-04-28 10:17:20] local.INFO: Packet analysis {"connection_id":56466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:17:20] local.INFO: Extracted packet for processing {"connection_id":56466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001954048001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777351404000,"timestamp_ms":1777351404000,"timestamp_seconds":1777351404,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26629e0"} 
[2026-04-28 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:17:20] 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-04-28 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-28 10:17:20] 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-04-28 10:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001954048001,"66":12972,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001954048001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:17:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001954048001,"power":12972,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":56466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:17:20] local.INFO: GPS data processed {"connection_id":56466,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:17:20] local.INFO: Acknowledgment sent {"connection_id":56466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:17:32] local.INFO: TCP Data received {"connection_id":57197,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:32] local.INFO: Processing buffer {"connection_id":57197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:17:32] local.INFO: Packet analysis {"connection_id":57197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:32] local.INFO: Extracted packet for processing {"connection_id":57197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:17:32] 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-04-28 10: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-04-28 10:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":57197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:17:32] local.INFO: GPS data processed {"connection_id":57197,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:17:32] local.INFO: Acknowledgment sent {"connection_id":57197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:17:35] local.INFO: TCP Data received {"connection_id":56308,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:35] local.INFO: Processing buffer {"connection_id":56308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:17:35] local.INFO: IMEI packet received {"connection_id":56308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":56308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:17:51] local.INFO: TCP Data received {"connection_id":56466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2667be8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2667be8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:51] local.INFO: Processing buffer {"connection_id":56466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2667be8012d19d4c0072399a80034011423..."} 
[2026-04-28 10:17:51] local.INFO: Packet analysis {"connection_id":56466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:17:51] local.INFO: Extracted packet for processing {"connection_id":56466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001959424001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777351425000,"timestamp_ms":1777351425000,"timestamp_seconds":1777351425,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2667be8"} 
[2026-04-28 10:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 10:17:51] 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-04-28 10:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001959424001,"66":12939,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001959424001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:17:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001959424001,"power":12939,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":56466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:17:51] local.INFO: GPS data processed {"connection_id":56466,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:17:51] local.INFO: Acknowledgment sent {"connection_id":56466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:17:54] local.INFO: TCP Data received {"connection_id":56467,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:54] local.INFO: Processing buffer {"connection_id":56467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:54] local.INFO: IMEI packet received {"connection_id":56467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":56467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:17:59] local.INFO: TCP Data received {"connection_id":56467,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:59] local.INFO: Processing buffer {"connection_id":56467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:17:59] local.INFO: IMEI packet received {"connection_id":56467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:18:01] local.INFO: TCP Data received {"connection_id":56467,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:01] local.INFO: Processing buffer {"connection_id":56467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2657a18012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:01] local.INFO: Packet analysis {"connection_id":56467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:18:01] local.INFO: Extracted packet for processing {"connection_id":56467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd265"} 
[2026-04-28 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001870848001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777351359000,"timestamp_ms":1777351359000,"timestamp_seconds":1777351359,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2657a18"} 
[2026-04-28 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-28 10:18:01] 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-04-28 10:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001870848001,"66":25288,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001870848001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:18:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001870848001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":56467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:18:01] local.INFO: GPS data processed {"connection_id":56467,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:18:01] local.INFO: Acknowledgment sent {"connection_id":56467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:18:09] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:09] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:09] local.INFO: IMEI packet received {"connection_id":56468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:18:14] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:14] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:18:14] local.INFO: IMEI packet received {"connection_id":56468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":56468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:18:15] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd266cdf0012d19d4c0072399a80034011423..."} 
[2026-04-28 10:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd266cdf0012d19d4c0072399a80034011423..."} 
[2026-04-28 10:18:15] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd266cdf0012d19d4c0072399a80034011423..."} 
[2026-04-28 10:18:15] local.INFO: Packet analysis {"connection_id":56468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:18:15] local.INFO: Extracted packet for processing {"connection_id":56468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd266"} 
[2026-04-28 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119773608,"longitude_deg":75.6667584,"latitude_deg":11.9773608,"altitude":52,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d19d4c0","hex_latitude":"072399a8","is_valid_coordinates":true} 
[2026-04-28 10:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001964800001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483269633409024,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905434112,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351446000,"timestamp_ms":1777351446000,"timestamp_seconds":1777351446,"priority":1,"record_length":96,"hex_timestamp":"0000019dd266cdf0"} 
[2026-04-28 10:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 10:18:15] 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-04-28 10:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001964800001,"66":12852,"42":206,"83":42752,"24":0,"16":115483269633409024,"45":1861323682905434112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001964800001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:18:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483269633409024,"km_value":115483269633409.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905434112,"description":"Unknown IO ID 45"} 
[2026-04-28 10:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001964800001,"power":12852,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861323682905434112}} 
[2026-04-28 10:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":56468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:18:15] local.INFO: GPS data processed {"connection_id":56468,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:18:15] local.INFO: Acknowledgment sent {"connection_id":56468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:18:33] local.INFO: TCP Data received {"connection_id":56467,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:33] local.INFO: Processing buffer {"connection_id":56467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:18:33] local.INFO: Packet analysis {"connection_id":56467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:18:33] local.INFO: Extracted packet for processing {"connection_id":56467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:18:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":56467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:18:33] local.INFO: GPS data processed {"connection_id":56467,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:18:33] local.INFO: Acknowledgment sent {"connection_id":56467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:18:53] local.INFO: TCP Data received {"connection_id":56468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a6fa0012d19d7400723a2200033012c25..."} 
[2026-04-28 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a6fa0012d19d7400723a2200033012c25..."} 
[2026-04-28 10:18:53] local.INFO: Processing buffer {"connection_id":56468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a6fa0012d19d7400723a2200033012c25..."} 
[2026-04-28 10:18:53] local.INFO: Packet analysis {"connection_id":56468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:18:53] local.INFO: Extracted packet for processing {"connection_id":56468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756668224,"raw_latitude":119775776,"longitude_deg":75.6668224,"latitude_deg":11.9775776,"altitude":51,"angle":300,"satellites":37,"speed":4,"hex_longitude":"2d19d740","hex_latitude":"0723a220","is_valid_coordinates":true} 
[2026-04-28 10:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002030592001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115483424252231680,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845324453888,"note":"Value kept but may cause issues"} 
[2026-04-28 10:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777351684000,"timestamp_ms":1777351684000,"timestamp_seconds":1777351684,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a6fa0"} 
[2026-04-28 10:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:18:53] 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-04-28 10:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 10:18:53] 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-04-28 10:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002030592001,"66":14157,"42":206,"83":42752,"24":4,"16":115483424252231680,"45":1862308845324453888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-28 10:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002030592001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:18:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-28 10:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-28 10:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115483424252231680,"km_value":115483424252231.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845324453888,"description":"Unknown IO ID 45"} 
[2026-04-28 10:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002030592001,"power":14157,"unknown_42":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862308845324453888}} 
[2026-04-28 10:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":56468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:18:53] local.INFO: GPS data processed {"connection_id":56468,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:18:53] local.INFO: Acknowledgment sent {"connection_id":56468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:18:59] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:18:59] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:18:59] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:19:04] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:04] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:04] local.INFO: IMEI packet received {"connection_id":56309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":56309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:19:05] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:05] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:05] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:19:05] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:19:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:19:05] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:19:05] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:19:09] local.INFO: TCP Data received {"connection_id":56309,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:09] local.INFO: Processing buffer {"connection_id":56309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:19:09] local.INFO: Packet analysis {"connection_id":56309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:19:09] local.INFO: Extracted packet for processing {"connection_id":56309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":56309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:19:09] local.INFO: GPS data processed {"connection_id":56309,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:19:09] local.INFO: Acknowledgment sent {"connection_id":56309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:19:54] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:54] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:54] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:19:59] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:59] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:19:59] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:20:00] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:00] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:00] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:20:00] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:20:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:20:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:20:00] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:20:00] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:20:32] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:32] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:20:32] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:20:32] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:20:32] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:20:32] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:20:54] local.INFO: TCP Data received {"connection_id":56471,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:54] local.INFO: Processing buffer {"connection_id":56471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:54] local.INFO: IMEI packet received {"connection_id":56471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:20:59] local.INFO: TCP Data received {"connection_id":56471,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:59] local.INFO: Processing buffer {"connection_id":56471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:20:59] local.INFO: IMEI packet received {"connection_id":56471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:21:02] local.INFO: TCP Data received {"connection_id":56471,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:02] local.INFO: Processing buffer {"connection_id":56471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:02] local.INFO: Packet analysis {"connection_id":56471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:21:02] local.INFO: Extracted packet for processing {"connection_id":56471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:21:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:21:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":56471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:21:02] local.INFO: GPS data processed {"connection_id":56471,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:21:02] local.INFO: Acknowledgment sent {"connection_id":56471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:21:12] local.INFO: TCP Data received {"connection_id":57198,"ip":"42.106.6.22","data_length":68,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57198,"packet_length":68,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:21:12] local.INFO: Processing buffer {"connection_id":57198,"buffer_length":68,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:21:12] local.INFO: IMEI packet received {"connection_id":57198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":57198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:21:34] local.INFO: TCP Data received {"connection_id":56471,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:34] local.INFO: Processing buffer {"connection_id":56471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:21:34] local.INFO: Packet analysis {"connection_id":56471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:21:34] local.INFO: Extracted packet for processing {"connection_id":56471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:21:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:21:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":56471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:21:34] local.INFO: GPS data processed {"connection_id":56471,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:21:34] local.INFO: Acknowledgment sent {"connection_id":56471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:21:59] local.INFO: TCP Data received {"connection_id":57200,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:21:59] local.INFO: Processing buffer {"connection_id":57200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:21:59] local.INFO: IMEI packet received {"connection_id":57200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":57200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:22:04] local.INFO: TCP Data received {"connection_id":57200,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:04] local.INFO: Processing buffer {"connection_id":57200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:04] local.INFO: IMEI packet received {"connection_id":57200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":57200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:22:05] local.INFO: TCP Data received {"connection_id":57200,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:05] local.INFO: Processing buffer {"connection_id":57200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:05] local.INFO: Packet analysis {"connection_id":57200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:05] local.INFO: Extracted packet for processing {"connection_id":57200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":57200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:22:05] local.INFO: GPS data processed {"connection_id":57200,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:22:05] local.INFO: Acknowledgment sent {"connection_id":57200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:22:10] local.INFO: TCP Data received {"connection_id":57200,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:10] local.INFO: Processing buffer {"connection_id":57200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:10] local.INFO: Packet analysis {"connection_id":57200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:10] local.INFO: Extracted packet for processing {"connection_id":57200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:22:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:22:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":57200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:22:10] local.INFO: GPS data processed {"connection_id":57200,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:22:10] local.INFO: Acknowledgment sent {"connection_id":57200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:22:15] local.INFO: TCP Data received {"connection_id":57200,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:15] local.INFO: Processing buffer {"connection_id":57200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:22:15] local.INFO: Packet analysis {"connection_id":57200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:15] local.INFO: Extracted packet for processing {"connection_id":57200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:22:15] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:22:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":57200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:22:15] local.INFO: GPS data processed {"connection_id":57200,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:22:15] local.INFO: Acknowledgment sent {"connection_id":57200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:22:50] local.INFO: TCP Data received {"connection_id":56473,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:22:50] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:22:50] local.INFO: IMEI packet received {"connection_id":56473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":56473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:22:54] local.INFO: TCP Data received {"connection_id":57201,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:54] local.INFO: Processing buffer {"connection_id":57201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:54] local.INFO: IMEI packet received {"connection_id":57201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":57201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:22:59] local.INFO: TCP Data received {"connection_id":57201,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:59] local.INFO: Processing buffer {"connection_id":57201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:22:59] local.INFO: IMEI packet received {"connection_id":57201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":57201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:23:01] local.INFO: TCP Data received {"connection_id":57201,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:23:01] local.INFO: Processing buffer {"connection_id":57201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26a11e0012d7fa44005afde68000901122b..."} 
[2026-04-28 10:23:01] local.INFO: Packet analysis {"connection_id":57201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:23:01] local.INFO: Extracted packet for processing {"connection_id":57201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26a"} 
[2026-04-28 10:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777351660000,"timestamp_ms":1777351660000,"timestamp_seconds":1777351660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26a11e0"} 
[2026-04-28 10:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 10:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455001947904001,"66":25343,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455001947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:23:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455001947904001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":57201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:23:01] local.INFO: GPS data processed {"connection_id":57201,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:23:01] local.INFO: Acknowledgment sent {"connection_id":57201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:23:33] local.INFO: TCP Data received {"connection_id":57201,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:23:33] local.INFO: Processing buffer {"connection_id":57201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:23:33] local.INFO: Packet analysis {"connection_id":57201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:23:33] local.INFO: Extracted packet for processing {"connection_id":57201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":57201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:23:33] local.INFO: GPS data processed {"connection_id":57201,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:23:33] local.INFO: Acknowledgment sent {"connection_id":57201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:23:34] local.INFO: TCP Data received {"connection_id":56474,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:23:34] local.INFO: Processing buffer {"connection_id":56474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:23:34] local.INFO: IMEI packet received {"connection_id":56474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":56474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:23:54] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:54] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:54] local.INFO: IMEI packet received {"connection_id":56525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":56525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:23:59] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:59] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:23:59] local.INFO: IMEI packet received {"connection_id":56525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:24:00] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:00] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:00] local.INFO: Packet analysis {"connection_id":56525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:24:00] local.INFO: Extracted packet for processing {"connection_id":56525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:24:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:24:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:24:00] local.INFO: GPS data processed {"connection_id":56525,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:24:00] local.INFO: Acknowledgment sent {"connection_id":56525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:24:32] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:32] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:24:32] local.INFO: Packet analysis {"connection_id":56525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:24:32] local.INFO: Extracted packet for processing {"connection_id":56525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:24:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":56525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:24:32] local.INFO: GPS data processed {"connection_id":56525,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:24:32] local.INFO: Acknowledgment sent {"connection_id":56525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:24:59] local.INFO: TCP Data received {"connection_id":57202,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:24:59] local.INFO: Processing buffer {"connection_id":57202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:24:59] local.INFO: IMEI packet received {"connection_id":57202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":57202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:25:04] local.INFO: TCP Data received {"connection_id":57202,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:04] local.INFO: Processing buffer {"connection_id":57202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:04] local.INFO: IMEI packet received {"connection_id":57202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":57202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:25:05] local.INFO: TCP Data received {"connection_id":57202,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:05] local.INFO: Processing buffer {"connection_id":57202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:05] local.INFO: Packet analysis {"connection_id":57202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:25:05] local.INFO: Extracted packet for processing {"connection_id":57202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:25:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":57202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:25:05] local.INFO: GPS data processed {"connection_id":57202,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:25:05] local.INFO: Acknowledgment sent {"connection_id":57202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:25:09] local.INFO: TCP Data received {"connection_id":57202,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:09] local.INFO: Processing buffer {"connection_id":57202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:25:09] local.INFO: Packet analysis {"connection_id":57202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:25:09] local.INFO: Extracted packet for processing {"connection_id":57202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:25:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:25:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":57202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:25:09] local.INFO: GPS data processed {"connection_id":57202,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:25:09] local.INFO: Acknowledgment sent {"connection_id":57202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:25:10] local.INFO: TCP Data received {"connection_id":56477,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:10] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:10] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:25:15] local.INFO: TCP Data received {"connection_id":56477,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:15] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:25:15] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:25:15] local.INFO: TCP Data received {"connection_id":56477,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26f45e8012d182ac007219da00049008125..."} 
[2026-04-28 10:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26f45e8012d182ac007219da00049008125..."} 
[2026-04-28 10:25:15] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26f45e8012d182ac007219da00049008125..."} 
[2026-04-28 10:25:15] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26f"} 
[2026-04-28 10:25:15] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26f"} 
[2026-04-28 10:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643552,"longitude_deg":75.6558528,"latitude_deg":11.9643552,"altitude":73,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219da0","is_valid_coordinates":true} 
[2026-04-28 10:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002106880001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115492881770217472,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793400320,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777352001000,"timestamp_ms":1777352001000,"timestamp_seconds":1777352001,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26f45e8"} 
[2026-04-28 10:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 10:25:15] 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-04-28 10:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002106880001,"66":12558,"105":206,"83":41984,"24":0,"16":115492881770217472,"45":1741415342793400320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 10:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002106880001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 10:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115492881770217472,"km_value":115492881770217.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793400320,"description":"Unknown IO ID 45"} 
[2026-04-28 10:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002106880001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793400320}} 
[2026-04-28 10:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:25:15] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:25:15] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:25:46] local.INFO: TCP Data received {"connection_id":56477,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26f97f0012d182ac007219da00049008126..."} 
[2026-04-28 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26f97f0012d182ac007219da00049008126..."} 
[2026-04-28 10:25:46] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26f97f0012d182ac007219da00049008126..."} 
[2026-04-28 10:25:46] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26f"} 
[2026-04-28 10:25:46] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26f"} 
[2026-04-28 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643552,"longitude_deg":75.6558528,"latitude_deg":11.9643552,"altitude":73,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115492881770217472,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793400320,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777352022000,"timestamp_ms":1777352022000,"timestamp_seconds":1777352022,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26f97f0"} 
[2026-04-28 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-04-28 10:25:46] 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-04-28 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3530400752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250013232,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2644508745,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692838,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408436738,"note":"Value kept but may cause issues"} 
[2026-04-28 10:25:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,80,243,45,192,73,38,10,66,161,37,79,1,240,178,227,210,33,4,113,205,171,32,56,239,50,2,154,7,72,8,106,69,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 10:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260346360682512384,"timestamp_seconds":5260346360682512.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002112256001,"66":12558,"105":206,"83":41984,"24":0,"16":115492881770217472,"45":1741415342793400320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 10:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115492881770217472,"km_value":115492881770217.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793400320,"description":"Unknown IO ID 45"} 
[2026-04-28 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002112256001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793400320}} 
[2026-04-28 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:25:46] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:25:46] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:25:54] local.INFO: TCP Data received {"connection_id":57204,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:54] local.INFO: Processing buffer {"connection_id":57204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:54] local.INFO: IMEI packet received {"connection_id":57204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":57204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:25:59] local.INFO: TCP Data received {"connection_id":57204,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:59] local.INFO: Processing buffer {"connection_id":57204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:25:59] local.INFO: IMEI packet received {"connection_id":57204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":57204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:26:00] local.INFO: TCP Data received {"connection_id":57204,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:00] local.INFO: Processing buffer {"connection_id":57204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:00] local.INFO: Packet analysis {"connection_id":57204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:26:00] local.INFO: Extracted packet for processing {"connection_id":57204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:26:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:26:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":57204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:26:00] local.INFO: GPS data processed {"connection_id":57204,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:26:00] local.INFO: Acknowledgment sent {"connection_id":57204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:26:10] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:26:10] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:26:10] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:10] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:26:14] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:14] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:26:14] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:26:15] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2711e90012d18b1c007216c480046009124..."} 
[2026-04-28 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2711e90012d18b1c007216c480046009124..."} 
[2026-04-28 10:26:15] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2711e90012d18b1c007216c480046009124..."} 
[2026-04-28 10:26:15] local.INFO: Packet analysis {"connection_id":56478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:15] local.INFO: Extracted packet for processing {"connection_id":56478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756593088,"raw_latitude":119630920,"longitude_deg":75.6593088,"latitude_deg":11.963092,"altitude":70,"angle":145,"satellites":36,"speed":34,"hex_longitude":"2d18b1c0","hex_latitude":"07216c48","is_valid_coordinates":true} 
[2026-04-28 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002142720001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115494685656481792,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995420672,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777352122000,"timestamp_ms":1777352122000,"timestamp_seconds":1777352122,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2711e90"} 
[2026-04-28 10:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 10:26:15] 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-04-28 10:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002142720001,"66":13091,"106":206,"83":41984,"24":34,"16":115494685656481792,"45":1778218195995420672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002142720001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:26:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115494685656481792,"km_value":115494685656481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995420672,"description":"Unknown IO ID 45"} 
[2026-04-28 10:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002142720001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1778218195995420672}} 
[2026-04-28 10:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":56478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:26:15] local.INFO: GPS data processed {"connection_id":56478,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:26:15] local.INFO: Acknowledgment sent {"connection_id":56478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:26:18] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27141b8012d18c3c007215038003f00a427..."} 
[2026-04-28 10:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27141b8012d18c3c007215038003f00a427..."} 
[2026-04-28 10:26:18] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27141b8012d18c3c007215038003f00a427..."} 
[2026-04-28 10:26:18] local.INFO: Packet analysis {"connection_id":56478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:18] local.INFO: Extracted packet for processing {"connection_id":56478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119623736,"longitude_deg":75.6597696,"latitude_deg":11.9623736,"altitude":63,"angle":164,"satellites":39,"speed":37,"hex_longitude":"2d18c3c0","hex_latitude":"07215038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002143232001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495097973342208,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779414464646105088,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777352131000,"timestamp_ms":1777352131000,"timestamp_seconds":1777352131,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27141b8"} 
[2026-04-28 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-04-28 10:26: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-04-28 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-28 10:26: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-04-28 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-04-28 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-04-28 10:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002143232001,"66":13091,"106":206,"83":41984,"24":37,"16":115495097973342208,"45":1779414464646105088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002143232001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:26:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495097973342208,"km_value":115495097973342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779414464646105088,"description":"Unknown IO ID 45"} 
[2026-04-28 10:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002143232001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1779414464646105088}} 
[2026-04-28 10:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":56478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:26:18] local.INFO: GPS data processed {"connection_id":56478,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:26:18] local.INFO: Acknowledgment sent {"connection_id":56478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:26:32] local.INFO: TCP Data received {"connection_id":57204,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:32] local.INFO: Processing buffer {"connection_id":57204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:26:32] local.INFO: Packet analysis {"connection_id":57204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:26:32] local.INFO: Extracted packet for processing {"connection_id":57204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":57204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:26:32] local.INFO: GPS data processed {"connection_id":57204,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:26:32] local.INFO: Acknowledgment sent {"connection_id":57204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:26:49] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27145a0012d18c44007214ca0003f00b027..."} 
[2026-04-28 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27145a0012d18c44007214ca0003f00b027..."} 
[2026-04-28 10:26:49] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27145a0012d18c44007214ca0003f00b027..."} 
[2026-04-28 10:26:49] local.INFO: Packet analysis {"connection_id":56478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:49] local.INFO: Extracted packet for processing {"connection_id":56478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119622816,"longitude_deg":75.6597824,"latitude_deg":11.9622816,"altitude":63,"angle":176,"satellites":39,"speed":37,"hex_longitude":"2d18c440","hex_latitude":"07214ca0","is_valid_coordinates":true} 
[2026-04-28 10:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002145536001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495140923015168,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225057792,"note":"Value kept but may cause issues"} 
[2026-04-28 10:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352132000,"timestamp_ms":1777352132000,"timestamp_seconds":1777352132,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27145a0"} 
[2026-04-28 10:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:26:49] 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-04-28 10:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-28 10:26: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-04-28 10:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002145536001,"66":13037,"106":206,"83":41984,"24":37,"16":115495140923015168,"45":1784481014225057792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002145536001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:26:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495140923015168,"km_value":115495140923015.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225057792,"description":"Unknown IO ID 45"} 
[2026-04-28 10:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002145536001,"power":13037,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784481014225057792}} 
[2026-04-28 10:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":56478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:26:49] local.INFO: GPS data processed {"connection_id":56478,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:26:49] local.INFO: Acknowledgment sent {"connection_id":56478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:26:54] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:54] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:54] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:26:59] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:59] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:26:59] local.INFO: IMEI packet received {"connection_id":56313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":56313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:27:00] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:00] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:00] local.INFO: Packet analysis {"connection_id":56313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:27:00] local.INFO: Extracted packet for processing {"connection_id":56313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:27:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:27:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":56313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:27:00] local.INFO: GPS data processed {"connection_id":56313,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:27:00] local.INFO: Acknowledgment sent {"connection_id":56313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:27:11] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:11] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:11] local.INFO: IMEI packet received {"connection_id":57206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":57206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:27:12] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:12] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:12] local.INFO: IMEI packet received {"connection_id":57206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":57206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:27:14] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:14] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:27:14] local.INFO: IMEI packet received {"connection_id":57206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":57206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:27:17] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2715540012d18c5c007213e78003e00a426..."} 
[2026-04-28 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2715540012d18c5c007213e78003e00a426..."} 
[2026-04-28 10:27:17] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2715540012d18c5c007213e78003e00a426..."} 
[2026-04-28 10:27:17] local.INFO: Packet analysis {"connection_id":57206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:17] local.INFO: Extracted packet for processing {"connection_id":57206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119619192,"longitude_deg":75.6598208,"latitude_deg":11.9619192,"altitude":62,"angle":164,"satellites":38,"speed":35,"hex_longitude":"2d18c5c0","hex_latitude":"07213e78","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002145792001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495317016674304,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713177600,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777352136000,"timestamp_ms":1777352136000,"timestamp_seconds":1777352136,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2715540"} 
[2026-04-28 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-04-28 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-04-28 10:27: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-04-28 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-04-28 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-04-28 10:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002145792001,"66":13004,"106":206,"83":41984,"24":35,"16":115495317016674304,"45":1784621751713177600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002145792001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:27:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495317016674304,"km_value":115495317016674.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713177600,"description":"Unknown IO ID 45"} 
[2026-04-28 10:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002145792001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784621751713177600}} 
[2026-04-28 10:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":57206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:27:17] local.INFO: GPS data processed {"connection_id":57206,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:27:17] local.INFO: Acknowledgment sent {"connection_id":57206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:27:21] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2715d10012d18c8c007213820003d009626..."} 
[2026-04-28 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2715d10012d18c8c007213820003d009626..."} 
[2026-04-28 10:27:21] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2715d10012d18c8c007213820003d009626..."} 
[2026-04-28 10:27:21] local.INFO: Packet analysis {"connection_id":57206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:21] local.INFO: Extracted packet for processing {"connection_id":57206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756598976,"raw_latitude":119617568,"longitude_deg":75.6598976,"latitude_deg":11.9617568,"altitude":61,"angle":150,"satellites":38,"speed":35,"hex_longitude":"2d18c8c0","hex_latitude":"07213820","is_valid_coordinates":true} 
[2026-04-28 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002146816001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495407210987520,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177315840,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:21] 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-04-28 10:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777352138000,"timestamp_ms":1777352138000,"timestamp_seconds":1777352138,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2715d10"} 
[2026-04-28 10:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 10:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002146816001,"66":13015,"106":206,"83":41984,"24":35,"16":115495407210987520,"45":1785043964177315840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002146816001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:27:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495407210987520,"km_value":115495407210987.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177315840,"description":"Unknown IO ID 45"} 
[2026-04-28 10:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002146816001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1785043964177315840}} 
[2026-04-28 10:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":57206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:27:21] local.INFO: GPS data processed {"connection_id":57206,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:27:21] local.INFO: Acknowledgment sent {"connection_id":57206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:27:32] local.INFO: TCP Data received {"connection_id":56313,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:32] local.INFO: Processing buffer {"connection_id":56313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:27:32] local.INFO: Packet analysis {"connection_id":56313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:27:32] local.INFO: Extracted packet for processing {"connection_id":56313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:27:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":56313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:27:32] local.INFO: GPS data processed {"connection_id":56313,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:27:32] local.INFO: Acknowledgment sent {"connection_id":56313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:27:52] local.INFO: TCP Data received {"connection_id":57206,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2717480012d18d28007212660003b00ab26..."} 
[2026-04-28 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2717480012d18d28007212660003b00ab26..."} 
[2026-04-28 10:27:52] local.INFO: Processing buffer {"connection_id":57206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2717480012d18d28007212660003b00ab26..."} 
[2026-04-28 10:27:52] local.INFO: Packet analysis {"connection_id":57206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:52] local.INFO: Extracted packet for processing {"connection_id":57206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613024,"longitude_deg":75.6601472,"latitude_deg":11.9613024,"altitude":59,"angle":171,"satellites":38,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"07212660","is_valid_coordinates":true} 
[2026-04-28 10:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002147328001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495656319090688,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785888389107032064,"note":"Value kept but may cause issues"} 
[2026-04-28 10:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777352144000,"timestamp_ms":1777352144000,"timestamp_seconds":1777352144,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2717480"} 
[2026-04-28 10:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 10:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002147328001,"66":13015,"106":206,"83":41984,"24":33,"16":115495656319090688,"45":1785888389107032064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002147328001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:27:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495656319090688,"km_value":115495656319090.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785888389107032064,"description":"Unknown IO ID 45"} 
[2026-04-28 10:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002147328001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1785888389107032064}} 
[2026-04-28 10:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":57206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:27:52] local.INFO: GPS data processed {"connection_id":57206,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:27:52] local.INFO: Acknowledgment sent {"connection_id":57206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:27:54] local.INFO: TCP Data received {"connection_id":57208,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:54] local.INFO: Processing buffer {"connection_id":57208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:54] local.INFO: IMEI packet received {"connection_id":57208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":57208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:27:59] local.INFO: TCP Data received {"connection_id":57208,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:59] local.INFO: Processing buffer {"connection_id":57208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:27:59] local.INFO: IMEI packet received {"connection_id":57208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":57208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:28:00] local.INFO: TCP Data received {"connection_id":57208,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:28:00] local.INFO: Processing buffer {"connection_id":57208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd26ea9a8012d7fa44005afde680009011229..."} 
[2026-04-28 10:28:00] local.INFO: Packet analysis {"connection_id":57208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:28:00] local.INFO: Extracted packet for processing {"connection_id":57208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd26e"} 
[2026-04-28 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002024960001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777351961000,"timestamp_ms":1777351961000,"timestamp_seconds":1777351961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd26ea9a8"} 
[2026-04-28 10:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 10:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002024960001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002024960001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002024960001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":57208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:28:00] local.INFO: GPS data processed {"connection_id":57208,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:28:00] local.INFO: Acknowledgment sent {"connection_id":57208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:28:10] local.INFO: TCP Data received {"connection_id":57209,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:10] local.INFO: Processing buffer {"connection_id":57209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:10] local.INFO: IMEI packet received {"connection_id":57209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":57209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:28:15] local.INFO: TCP Data received {"connection_id":57209,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:15] local.INFO: Processing buffer {"connection_id":57209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:28:15] local.INFO: IMEI packet received {"connection_id":57209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":57209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:28:15] local.INFO: TCP Data received {"connection_id":57209,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2718038012d18d24007211ce0003a00b722..."} 
[2026-04-28 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2718038012d18d24007211ce0003a00b722..."} 
[2026-04-28 10:28:15] local.INFO: Processing buffer {"connection_id":57209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2718038012d18d24007211ce0003a00b722..."} 
[2026-04-28 10:28:15] local.INFO: Packet analysis {"connection_id":57209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:28:15] local.INFO: Extracted packet for processing {"connection_id":57209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd271"} 
[2026-04-28 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119610592,"longitude_deg":75.6601408,"latitude_deg":11.9610592,"altitude":58,"angle":183,"satellites":34,"speed":31,"hex_longitude":"2d18d240","hex_latitude":"07211ce0","is_valid_coordinates":true} 
[2026-04-28 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002148864001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115495776578174976,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128797696,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777352147000,"timestamp_ms":1777352147000,"timestamp_seconds":1777352147,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2718038"} 
[2026-04-28 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 10:28: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-04-28 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002148864001,"66":13004,"106":206,"83":41984,"24":31,"16":115495776578174976,"45":1788632770128797696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002148864001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:28:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115495776578174976,"km_value":115495776578174.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128797696,"description":"Unknown IO ID 45"} 
[2026-04-28 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002148864001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788632770128797696}} 
[2026-04-28 10:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":57209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:28:16] local.INFO: GPS data processed {"connection_id":57209,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:28:16] local.INFO: Acknowledgment sent {"connection_id":57209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:28:33] local.INFO: TCP Data received {"connection_id":57208,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:28:33] local.INFO: Processing buffer {"connection_id":57208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:28:33] local.INFO: Packet analysis {"connection_id":57208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:28:33] local.INFO: Extracted packet for processing {"connection_id":57208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:28:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:28:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":57208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:28:33] local.INFO: GPS data processed {"connection_id":57208,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:28:33] local.INFO: Acknowledgment sent {"connection_id":57208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:28:46] local.INFO: TCP Data received {"connection_id":57209,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2736880012d18f8c00720d6a00034008225..."} 
[2026-04-28 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2736880012d18f8c00720d6a00034008225..."} 
[2026-04-28 10:28:46] local.INFO: Processing buffer {"connection_id":57209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2736880012d18f8c00720d6a00034008225..."} 
[2026-04-28 10:28:46] local.INFO: Packet analysis {"connection_id":57209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:28:46] local.INFO: Extracted packet for processing {"connection_id":57209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756611264,"raw_latitude":119592608,"longitude_deg":75.6611264,"latitude_deg":11.9592608,"altitude":52,"angle":130,"satellites":37,"speed":45,"hex_longitude":"2d18f8c0","hex_latitude":"0720d6a0","is_valid_coordinates":true} 
[2026-04-28 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002181632001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115496815960260608,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799399187982753792,"note":"Value kept but may cause issues"} 
[2026-04-28 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777352272000,"timestamp_ms":1777352272000,"timestamp_seconds":1777352272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2736880"} 
[2026-04-28 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:28:46] 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-04-28 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-28 10:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002181632001,"66":14243,"106":206,"83":41984,"24":45,"16":115496815960260608,"45":1799399187982753792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002181632001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:28:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115496815960260608,"km_value":115496815960260.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799399187982753792,"description":"Unknown IO ID 45"} 
[2026-04-28 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002181632001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1799399187982753792}} 
[2026-04-28 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":57209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:28:46] local.INFO: GPS data processed {"connection_id":57209,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:28:46] local.INFO: Acknowledgment sent {"connection_id":57209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:28:54] local.INFO: TCP Data received {"connection_id":56314,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:54] local.INFO: Processing buffer {"connection_id":56314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:54] local.INFO: IMEI packet received {"connection_id":56314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":56314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:28:59] local.INFO: TCP Data received {"connection_id":56314,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:59] local.INFO: Processing buffer {"connection_id":56314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:28:59] local.INFO: IMEI packet received {"connection_id":56314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:29:00] local.INFO: TCP Data received {"connection_id":56526,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:00] local.INFO: Processing buffer {"connection_id":56526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:00] local.INFO: IMEI packet received {"connection_id":56526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:29:01] local.INFO: TCP Data received {"connection_id":56314,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:01] local.INFO: Processing buffer {"connection_id":56314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:01] local.INFO: Packet analysis {"connection_id":56314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:29:01] local.INFO: Extracted packet for processing {"connection_id":56314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:29:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":56314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:29:01] local.INFO: GPS data processed {"connection_id":56314,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:29:01] local.INFO: Acknowledgment sent {"connection_id":56314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:29:33] local.INFO: TCP Data received {"connection_id":56314,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:33] local.INFO: Processing buffer {"connection_id":56314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:29:33] local.INFO: Packet analysis {"connection_id":56314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:29:33] local.INFO: Extracted packet for processing {"connection_id":56314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:29:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":56314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:29:33] local.INFO: GPS data processed {"connection_id":56314,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:29:33] local.INFO: Acknowledgment sent {"connection_id":56314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:29:35] local.INFO: TCP Data received {"connection_id":57210,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:35] local.INFO: Processing buffer {"connection_id":57210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:29:35] local.INFO: IMEI packet received {"connection_id":57210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":57210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:29:47] local.INFO: TCP Data received {"connection_id":56315,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:29:47] local.INFO: Processing buffer {"connection_id":56315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:29:47] local.INFO: IMEI packet received {"connection_id":56315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":56315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:29:47] local.INFO: TCP Data received {"connection_id":56315,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56315,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:29:47] local.INFO: Processing buffer {"connection_id":56315,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:29:47] local.INFO: IMEI packet received {"connection_id":56315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":56315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:29:48] local.INFO: TCP Data received {"connection_id":56315,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2744ef8012d19ae0007208818002e00ab25..."} 
[2026-04-28 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2744ef8012d19ae0007208818002e00ab25..."} 
[2026-04-28 10:29:48] local.INFO: Processing buffer {"connection_id":56315,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 10:29:48] local.INFO: IMEI packet received {"connection_id":56315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":56315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:29:49] local.INFO: TCP Data received {"connection_id":56315,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2746280012d19b480072071d0002b009d24..."} 
[2026-04-28 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2746280012d19b480072071d0002b009d24..."} 
[2026-04-28 10:29:49] local.INFO: Processing buffer {"connection_id":56315,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd2744ef8012d19ae0007208818002e00ab25..."} 
[2026-04-28 10:29:49] local.INFO: Packet analysis {"connection_id":56315,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: Extracted packet for processing {"connection_id":56315,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572504,"longitude_deg":75.6657664,"latitude_deg":11.9572504,"altitude":46,"angle":171,"satellites":37,"speed":42,"hex_longitude":"2d19ae00","hex_latitude":"07208818","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002196224001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115499826732335104,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274384384,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352331000,"timestamp_ms":1777352331000,"timestamp_seconds":1777352331,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2744ef8"} 
[2026-04-28 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-04-28 10:29:49] 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-04-28 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942782480,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3530825752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362007392256,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2744647729,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221692581,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3211420,"corrected_to":0} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84752207400345775,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":112,"raw_value":14355705385461760,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,86,67,45,64,147,47,36,10,66,55,192,156,48,1,240,27,227,210,32,4,113,205,19,39,188,200,239,2,154,7,50,26,206,120,112],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":3211420,"validated":0}]} 
[2026-04-28 10:29:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314857283768483840,"timestamp_seconds":3314857283768484.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002196224001,"66":13928,"106":206,"83":41984,"24":42,"16":115499826732335104,"45":1850205421274384384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002196224001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115499826732335104,"km_value":115499826732335.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274384384,"description":"Unknown IO ID 45"} 
[2026-04-28 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002196224001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850205421274384384}} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":56315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:29:49] local.INFO: GPS data processed {"connection_id":56315,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:29:49] local.INFO: Acknowledgment sent {"connection_id":56315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:29:49] local.INFO: Packet analysis {"connection_id":56315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: Extracted packet for processing {"connection_id":56315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756659328,"raw_latitude":119566800,"longitude_deg":75.6659328,"latitude_deg":11.95668,"altitude":43,"angle":157,"satellites":36,"speed":47,"hex_longitude":"2d19b480","hex_latitude":"072071d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002196736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115500114495143936,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506413568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352336000,"timestamp_ms":1777352336000,"timestamp_seconds":1777352336,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2746280"} 
[2026-04-28 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-04-28 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 10:29:49] 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-04-28 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-04-28 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-04-28 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002196736001,"66":14374,"106":206,"83":41984,"24":47,"16":115500114495143936,"45":1850416527506413568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002196736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115500114495143936,"km_value":115500114495143.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506413568,"description":"Unknown IO ID 45"} 
[2026-04-28 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002196736001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1850416527506413568}} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":56315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:29:49] local.INFO: GPS data processed {"connection_id":56315,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:29:49] local.INFO: Acknowledgment sent {"connection_id":56315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:29:49] local.INFO: TCP Data received {"connection_id":56315,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2746e38012d19b90007206480002900a824..."} 
[2026-04-28 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2746e38012d19b90007206480002900a824..."} 
[2026-04-28 10:29:49] local.INFO: Processing buffer {"connection_id":56315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2746e38012d19b90007206480002900a824..."} 
[2026-04-28 10:29:49] local.INFO: Packet analysis {"connection_id":56315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: Extracted packet for processing {"connection_id":56315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd274"} 
[2026-04-28 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119563392,"longitude_deg":75.666048,"latitude_deg":11.9563392,"altitude":41,"angle":168,"satellites":36,"speed":47,"hex_longitude":"2d19b900","hex_latitude":"07206480","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002198016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115500290588803072,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114853572608,"note":"Value kept but may cause issues"} 
[2026-04-28 10:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352339000,"timestamp_ms":1777352339000,"timestamp_seconds":1777352339,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2746e38"} 
[2026-04-28 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-04-28 10:29:49] 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-04-28 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 10:29:49] 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-04-28 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-04-28 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-04-28 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002198016001,"66":14298,"106":206,"83":41984,"24":47,"16":115500290588803072,"45":1852246114853572608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002198016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115500290588803072,"km_value":115500290588803.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114853572608,"description":"Unknown IO ID 45"} 
[2026-04-28 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002198016001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1852246114853572608}} 
[2026-04-28 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":56315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:29:49] local.INFO: GPS data processed {"connection_id":56315,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:29:49] local.INFO: Acknowledgment sent {"connection_id":56315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:29:54] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:54] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:54] local.INFO: IMEI packet received {"connection_id":56527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":56527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:29:59] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:59] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:29:59] local.INFO: IMEI packet received {"connection_id":56527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:30:02] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:02] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:02] local.INFO: Packet analysis {"connection_id":56527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:30:02] local.INFO: Extracted packet for processing {"connection_id":56527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:30:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:30:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":56527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:30:02] local.INFO: GPS data processed {"connection_id":56527,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:30:02] local.INFO: Acknowledgment sent {"connection_id":56527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:30:08] local.INFO: TCP Data received {"connection_id":56479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:08] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:08] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:30:09] local.INFO: TCP Data received {"connection_id":56479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:09] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:09] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:30:17] local.INFO: TCP Data received {"connection_id":56479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:30:17] local.INFO: TCP Data received {"connection_id":56479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:30:17] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:30:34] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:34] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:30:34] local.INFO: Packet analysis {"connection_id":56527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:30:34] local.INFO: Extracted packet for processing {"connection_id":56527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:30:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:30:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":56527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:30:34] local.INFO: GPS data processed {"connection_id":56527,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:30:34] local.INFO: Acknowledgment sent {"connection_id":56527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:30:54] local.INFO: TCP Data received {"connection_id":56481,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:54] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:54] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:30:59] local.INFO: TCP Data received {"connection_id":56481,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:59] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:30:59] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:31:00] local.INFO: TCP Data received {"connection_id":56481,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:00] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:00] local.INFO: Packet analysis {"connection_id":56481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:31:00] local.INFO: Extracted packet for processing {"connection_id":56481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:31:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:31:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":56481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:31:00] local.INFO: GPS data processed {"connection_id":56481,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:31:00] local.INFO: Acknowledgment sent {"connection_id":56481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:31:32] local.INFO: TCP Data received {"connection_id":56481,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:32] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:31:32] local.INFO: Packet analysis {"connection_id":56481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:31:32] local.INFO: Extracted packet for processing {"connection_id":56481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":56481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:31:32] local.INFO: GPS data processed {"connection_id":56481,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:31:32] local.INFO: Acknowledgment sent {"connection_id":56481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:31:59] local.INFO: TCP Data received {"connection_id":56529,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:31:59] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:31:59] local.INFO: IMEI packet received {"connection_id":56529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:32:04] local.INFO: TCP Data received {"connection_id":56529,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:04] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:04] local.INFO: IMEI packet received {"connection_id":56529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":56529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:32:05] local.INFO: TCP Data received {"connection_id":56529,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:05] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:05] local.INFO: Packet analysis {"connection_id":56529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:32:05] local.INFO: Extracted packet for processing {"connection_id":56529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:32:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":56529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:32:05] local.INFO: GPS data processed {"connection_id":56529,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:32:05] local.INFO: Acknowledgment sent {"connection_id":56529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:32:10] local.INFO: TCP Data received {"connection_id":56529,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:10] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:32:10] local.INFO: Packet analysis {"connection_id":56529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:32:10] local.INFO: Extracted packet for processing {"connection_id":56529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:32:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:32:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":56529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:32:10] local.INFO: GPS data processed {"connection_id":56529,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:32:10] local.INFO: Acknowledgment sent {"connection_id":56529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:32:55] local.INFO: TCP Data received {"connection_id":56483,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:55] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:55] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:32:59] local.INFO: TCP Data received {"connection_id":56483,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:59] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:32:59] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:33:00] local.INFO: TCP Data received {"connection_id":56483,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:33:00] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2734170012d7fa44005afde68000901122b..."} 
[2026-04-28 10:33:00] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:33:00] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd273"} 
[2026-04-28 10:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002102016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352262000,"timestamp_ms":1777352262000,"timestamp_seconds":1777352262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2734170"} 
[2026-04-28 10:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 10:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002102016001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002102016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:33:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002102016001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:33:00] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:33:00] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:33:32] local.INFO: TCP Data received {"connection_id":56483,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:33:32] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:33:32] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:33:32] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:33:32] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:33:32] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:33:59] local.INFO: TCP Data received {"connection_id":56317,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:33:59] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:33:59] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:34:04] local.INFO: TCP Data received {"connection_id":56317,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:04] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:04] local.INFO: IMEI packet received {"connection_id":56317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":56317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:34:05] local.INFO: TCP Data received {"connection_id":56317,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:05] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:05] local.INFO: Packet analysis {"connection_id":56317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:34:05] local.INFO: Extracted packet for processing {"connection_id":56317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:34:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":56317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:34:05] local.INFO: GPS data processed {"connection_id":56317,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:34:05] local.INFO: Acknowledgment sent {"connection_id":56317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:34:10] local.INFO: TCP Data received {"connection_id":56317,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:10] local.INFO: Processing buffer {"connection_id":56317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:34:10] local.INFO: Packet analysis {"connection_id":56317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:34:10] local.INFO: Extracted packet for processing {"connection_id":56317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:34:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:34:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":56317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:34:10] local.INFO: GPS data processed {"connection_id":56317,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:34:10] local.INFO: Acknowledgment sent {"connection_id":56317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:34:54] local.INFO: TCP Data received {"connection_id":56484,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:54] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:54] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:34:59] local.INFO: TCP Data received {"connection_id":56484,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:59] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:34:59] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:35:00] local.INFO: TCP Data received {"connection_id":56532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:00] local.INFO: Processing buffer {"connection_id":56532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:00] local.INFO: IMEI packet received {"connection_id":56532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:35:04] local.INFO: TCP Data received {"connection_id":56484,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:04] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:04] local.INFO: Packet analysis {"connection_id":56484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:35:04] local.INFO: Extracted packet for processing {"connection_id":56484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:35: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-04-28 10:35: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-04-28 10:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:35:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:35:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":56484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:35:04] local.INFO: GPS data processed {"connection_id":56484,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:35:04] local.INFO: Acknowledgment sent {"connection_id":56484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:35:16] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:35:16] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:35:16] local.INFO: IMEI packet received {"connection_id":56485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":56485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:35:18] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2782f28012d19a000071fef68003300ff26..."} 
[2026-04-28 10:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2782f28012d19a000071fef68003300ff26..."} 
[2026-04-28 10:35:18] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2782f28012d19a000071fef68003300ff26..."} 
[2026-04-28 10:35:18] local.INFO: Packet analysis {"connection_id":56485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:35:18] local.INFO: Extracted packet for processing {"connection_id":56485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119533416,"longitude_deg":75.665408,"latitude_deg":11.9533416,"altitude":51,"angle":255,"satellites":38,"speed":13,"hex_longitude":"2d19a000","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002260992001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115507802486603776,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496871936,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777352585000,"timestamp_ms":1777352585000,"timestamp_seconds":1777352585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2782f28"} 
[2026-04-28 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-04-28 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-04-28 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-28 10:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002260992001,"66":13993,"106":206,"83":41984,"24":13,"16":115507802486603776,"45":1847390671496871936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002260992001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:35:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115507802486603776,"km_value":115507802486603.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496871936,"description":"Unknown IO ID 45"} 
[2026-04-28 10:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002260992001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847390671496871936}} 
[2026-04-28 10:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":56485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:35:18] local.INFO: GPS data processed {"connection_id":56485,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:35:18] local.INFO: Acknowledgment sent {"connection_id":56485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:35:34] local.INFO: TCP Data received {"connection_id":57213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:34] local.INFO: Processing buffer {"connection_id":57213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:35:34] local.INFO: IMEI packet received {"connection_id":57213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":57213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:35:36] local.INFO: TCP Data received {"connection_id":56484,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:36] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:35:36] local.INFO: Packet analysis {"connection_id":56484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:35:36] local.INFO: Extracted packet for processing {"connection_id":56484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:35:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:35:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":56484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:35:36] local.INFO: GPS data processed {"connection_id":56484,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:35:36] local.INFO: Acknowledgment sent {"connection_id":56484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:35:49] local.INFO: TCP Data received {"connection_id":56485,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2783310012d199e80071fef400033010c24..."} 
[2026-04-28 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2783310012d199e80071fef400033010c24..."} 
[2026-04-28 10:35:49] local.INFO: Processing buffer {"connection_id":56485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2783310012d199e80071fef400033010c24..."} 
[2026-04-28 10:35:49] local.INFO: Packet analysis {"connection_id":56485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:35:49] local.INFO: Extracted packet for processing {"connection_id":56485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533376,"longitude_deg":75.6653696,"latitude_deg":11.9533376,"altitude":51,"angle":268,"satellites":36,"speed":14,"hex_longitude":"2d199e80","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-04-28 10:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002261760001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115507819666472960,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822457856,"note":"Value kept but may cause issues"} 
[2026-04-28 10:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352586000,"timestamp_ms":1777352586000,"timestamp_seconds":1777352586,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2783310"} 
[2026-04-28 10:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-28 10:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002261760001,"66":14004,"106":206,"83":41984,"24":14,"16":115507819666472960,"45":1846475877822457856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002261760001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:35:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115507819666472960,"km_value":115507819666472.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822457856,"description":"Unknown IO ID 45"} 
[2026-04-28 10:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002261760001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1846475877822457856}} 
[2026-04-28 10:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":56485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:35:49] local.INFO: GPS data processed {"connection_id":56485,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:35:49] local.INFO: Acknowledgment sent {"connection_id":56485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:35:54] local.INFO: TCP Data received {"connection_id":56318,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:54] local.INFO: Processing buffer {"connection_id":56318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:54] local.INFO: IMEI packet received {"connection_id":56318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":56318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:35:59] local.INFO: TCP Data received {"connection_id":56318,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:59] local.INFO: Processing buffer {"connection_id":56318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:35:59] local.INFO: IMEI packet received {"connection_id":56318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:36:00] local.INFO: TCP Data received {"connection_id":56318,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:00] local.INFO: Processing buffer {"connection_id":56318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:00] local.INFO: Packet analysis {"connection_id":56318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:36:00] local.INFO: Extracted packet for processing {"connection_id":56318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:36: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-04-28 10: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-04-28 10:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:36:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:36:00] local.INFO: GPS data processed {"connection_id":56318,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:36:00] local.INFO: Acknowledgment sent {"connection_id":56318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:36:10] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:10] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:10] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:36:16] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:16] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:36:16] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:36:17] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27869c0012d1985c0071ff048003800fe27..."} 
[2026-04-28 10:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27869c0012d1985c0071ff048003800fe27..."} 
[2026-04-28 10:36:17] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27869c0012d1985c0071ff048003800fe27..."} 
[2026-04-28 10:36:17] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:36:17] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533640,"longitude_deg":75.664736,"latitude_deg":11.953364,"altitude":56,"angle":254,"satellites":39,"speed":18,"hex_longitude":"2d1985c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002262016001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508120314183680,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357381632,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777352600000,"timestamp_ms":1777352600000,"timestamp_seconds":1777352600,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27869c0"} 
[2026-04-28 10:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 10:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002262016001,"66":13972,"106":206,"83":41984,"24":18,"16":115508120314183680,"45":1846053665357381632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002262016001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:36:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508120314183680,"km_value":115508120314183.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357381632,"description":"Unknown IO ID 45"} 
[2026-04-28 10:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002262016001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1846053665357381632}} 
[2026-04-28 10:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:36:17] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:36:17] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:36:32] local.INFO: TCP Data received {"connection_id":56318,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:32] local.INFO: Processing buffer {"connection_id":56318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:36:32] local.INFO: Packet analysis {"connection_id":56318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:36:32] local.INFO: Extracted packet for processing {"connection_id":56318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":56318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:36:32] local.INFO: GPS data processed {"connection_id":56318,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:36:32] local.INFO: Acknowledgment sent {"connection_id":56318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:36:54] local.INFO: TCP Data received {"connection_id":56487,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:54] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:54] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:36:54] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2786da8012d198400071fefa8003800f227..."} 
[2026-04-28 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2786da8012d198400071fefa8003800f227..."} 
[2026-04-28 10:36:54] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2786da8012d198400071fefa8003800f227..."} 
[2026-04-28 10:36:54] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:36:54] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533480,"longitude_deg":75.6646912,"latitude_deg":11.953348,"altitude":56,"angle":242,"satellites":39,"speed":18,"hex_longitude":"2d198400","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508146083987456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683860480,"note":"Value kept but may cause issues"} 
[2026-04-28 10:36:54] 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-04-28 10:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777352601000,"timestamp_ms":1777352601000,"timestamp_seconds":1777352601,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2786da8"} 
[2026-04-28 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-04-28 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 10:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002265600001,"66":13972,"106":206,"83":41984,"24":18,"16":115508146083987456,"45":1839087159683860480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:36:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508146083987456,"km_value":115508146083987.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683860480,"description":"Unknown IO ID 45"} 
[2026-04-28 10:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002265600001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1839087159683860480}} 
[2026-04-28 10:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:36:54] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:36:54] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:36:59] local.INFO: TCP Data received {"connection_id":56487,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:59] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:36:59] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:37:00] local.INFO: TCP Data received {"connection_id":56487,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:00] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:00] local.INFO: Packet analysis {"connection_id":56487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:37:00] local.INFO: Extracted packet for processing {"connection_id":56487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:37:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:37:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":56487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:37:00] local.INFO: GPS data processed {"connection_id":56487,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:37:00] local.INFO: Acknowledgment sent {"connection_id":56487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:37:09] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:09] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:09] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:37:17] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:17] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:37:17] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:37:18] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2787578012d198080071feda8003800e727..."} 
[2026-04-28 10:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2787578012d198080071feda8003800e727..."} 
[2026-04-28 10:37:18] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2787578012d198080071feda8003800e727..."} 
[2026-04-28 10:37:18] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:37:18] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756646016,"raw_latitude":119532968,"longitude_deg":75.6646016,"latitude_deg":11.9532968,"altitude":56,"angle":231,"satellites":39,"speed":19,"hex_longitude":"2d198080","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002265856001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508189033660416,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474575872,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777352603000,"timestamp_ms":1777352603000,"timestamp_seconds":1777352603,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2787578"} 
[2026-04-28 10:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 10:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002265856001,"66":13972,"106":206,"83":41984,"24":19,"16":115508189033660416,"45":1838594578474575872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002265856001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:37:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508189033660416,"km_value":115508189033660.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474575872,"description":"Unknown IO ID 45"} 
[2026-04-28 10:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002265856001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1838594578474575872}} 
[2026-04-28 10:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:37:18] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:37:18] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:37:32] local.INFO: TCP Data received {"connection_id":56487,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:32] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:37:32] local.INFO: Packet analysis {"connection_id":56487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:37:32] local.INFO: Extracted packet for processing {"connection_id":56487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:37:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":56487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:37:32] local.INFO: GPS data processed {"connection_id":56487,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:37:32] local.INFO: Acknowledgment sent {"connection_id":56487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:37:49] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2787d48012d197d80071fec00003700fd26..."} 
[2026-04-28 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2787d48012d197d80071fec00003700fd26..."} 
[2026-04-28 10:37:49] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2787d48012d197d80071fec00003700fd26..."} 
[2026-04-28 10:37:49] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:37:49] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd278"} 
[2026-04-28 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532544,"longitude_deg":75.6645248,"latitude_deg":11.9532544,"altitude":55,"angle":253,"satellites":38,"speed":14,"hex_longitude":"2d197d80","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-04-28 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002266368001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508231983333376,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837609416055957504,"note":"Value kept but may cause issues"} 
[2026-04-28 10:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777352605000,"timestamp_ms":1777352605000,"timestamp_seconds":1777352605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2787d48"} 
[2026-04-28 10:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 10:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002266368001,"66":13787,"106":206,"83":41984,"24":14,"16":115508231983333376,"45":1837609416055957504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002266368001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508231983333376,"km_value":115508231983333.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837609416055957504,"description":"Unknown IO ID 45"} 
[2026-04-28 10:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002266368001,"power":13787,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1837609416055957504}} 
[2026-04-28 10:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:37:49] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:37:49] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:37:59] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:37:59] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:37:59] local.INFO: IMEI packet received {"connection_id":56489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:38:04] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:04] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:04] local.INFO: IMEI packet received {"connection_id":56489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":56489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:38:05] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:05] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:05] local.INFO: Packet analysis {"connection_id":56489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:38:05] local.INFO: Extracted packet for processing {"connection_id":56489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:38:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":56489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:38:05] local.INFO: GPS data processed {"connection_id":56489,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:38:05] local.INFO: Acknowledgment sent {"connection_id":56489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:38:10] local.INFO: TCP Data received {"connection_id":56489,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:10] local.INFO: Processing buffer {"connection_id":56489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd277d938012d7fa44005afde68000901122c..."} 
[2026-04-28 10:38:10] local.INFO: Packet analysis {"connection_id":56489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:38:10] local.INFO: Extracted packet for processing {"connection_id":56489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd277"} 
[2026-04-28 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002179072001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777352563000,"timestamp_ms":1777352563000,"timestamp_seconds":1777352563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd277d938"} 
[2026-04-28 10:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002179072001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002179072001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:38:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:38:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002179072001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":56489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:38:10] local.INFO: GPS data processed {"connection_id":56489,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:38:10] local.INFO: Acknowledgment sent {"connection_id":56489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:38:28] local.INFO: TCP Data received {"connection_id":57214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:28] local.INFO: Processing buffer {"connection_id":57214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:28] local.INFO: IMEI packet received {"connection_id":57214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":57214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:38:29] local.INFO: TCP Data received {"connection_id":57214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:29] local.INFO: Processing buffer {"connection_id":57214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:38:29] local.INFO: IMEI packet received {"connection_id":57214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":57214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:38:32] local.INFO: TCP Data received {"connection_id":57214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27b9e10012d1968c0071fec600039010c27..."} 
[2026-04-28 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27b9e10012d1968c0071fec600039010c27..."} 
[2026-04-28 10:38:32] local.INFO: Processing buffer {"connection_id":57214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27b9e10012d1968c0071fec600039010c27..."} 
[2026-04-28 10:38:32] local.INFO: Packet analysis {"connection_id":57214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27b"} 
[2026-04-28 10:38:32] local.INFO: Extracted packet for processing {"connection_id":57214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27b"} 
[2026-04-28 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002313984001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352810000,"timestamp_ms":1777352810000,"timestamp_seconds":1777352810,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27b9e10"} 
[2026-04-28 10:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 10:38:32] 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-04-28 10:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002313984001,"66":12798,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 10:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002313984001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:38:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 10:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002313984001,"power":12798,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":57214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:38:33] local.INFO: GPS data processed {"connection_id":57214,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:38:33] local.INFO: Acknowledgment sent {"connection_id":57214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:38:33] local.INFO: TCP Data received {"connection_id":57214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27bf018012d1968c0071fec600039010c26..."} 
[2026-04-28 10:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27bf018012d1968c0071fec600039010c26..."} 
[2026-04-28 10:38:33] local.INFO: Processing buffer {"connection_id":57214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27bf018012d1968c0071fec600039010c26..."} 
[2026-04-28 10:38:33] local.INFO: Packet analysis {"connection_id":57214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27b"} 
[2026-04-28 10:38:33] local.INFO: Extracted packet for processing {"connection_id":57214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27b"} 
[2026-04-28 10:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002319360001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777352831000,"timestamp_ms":1777352831000,"timestamp_seconds":1777352831,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27bf018"} 
[2026-04-28 10:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 10:38:33] 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-04-28 10:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002319360001,"66":12776,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 10:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002319360001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:38:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 10:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002319360001,"power":12776,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":57214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:38:33] local.INFO: GPS data processed {"connection_id":57214,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:38:33] local.INFO: Acknowledgment sent {"connection_id":57214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:38:54] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:54] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:54] local.INFO: IMEI packet received {"connection_id":56319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":56319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:38:59] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:59] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:38:59] local.INFO: IMEI packet received {"connection_id":56319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":56319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:39:00] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:00] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:00] local.INFO: Packet analysis {"connection_id":56319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:00] local.INFO: Extracted packet for processing {"connection_id":56319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:39:00] 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-04-28 10: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-04-28 10:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:39:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:39:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:39:00] local.INFO: GPS data processed {"connection_id":56319,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:39:00] local.INFO: Acknowledgment sent {"connection_id":56319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:39:09] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:09] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:09] local.INFO: IMEI packet received {"connection_id":56490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":56490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:39:14] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:14] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:14] local.INFO: IMEI packet received {"connection_id":56490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":56490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:39:16] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:16] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:39:16] local.INFO: IMEI packet received {"connection_id":56490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":56490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:39:17] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c4220012d1968c0071fec600039010c21..."} 
[2026-04-28 10:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c4220012d1968c0071fec600039010c21..."} 
[2026-04-28 10:39:17] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c4220012d1968c0071fec600039010c21..."} 
[2026-04-28 10:39:17] local.INFO: Packet analysis {"connection_id":56490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:17] local.INFO: Extracted packet for processing {"connection_id":56490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002324736001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777352852000,"timestamp_ms":1777352852000,"timestamp_seconds":1777352852,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c4220"} 
[2026-04-28 10:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 10:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002324736001,"66":12743,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 10:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002324736001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:39:17] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 10:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002324736001,"power":12743,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":56490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:39:17] local.INFO: GPS data processed {"connection_id":56490,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:39:17] local.INFO: Acknowledgment sent {"connection_id":56490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:39:20] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c9428012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c9428012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:20] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c9428012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:20] local.INFO: Packet analysis {"connection_id":56490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:20] local.INFO: Extracted packet for processing {"connection_id":56490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002330112001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777352873000,"timestamp_ms":1777352873000,"timestamp_seconds":1777352873,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c9428"} 
[2026-04-28 10:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 10:39:20] 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-04-28 10: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-04-28 10:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002330112001,"66":12743,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002330112001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:39:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002330112001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":56490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:39:20] local.INFO: GPS data processed {"connection_id":56490,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:39:20] local.INFO: Acknowledgment sent {"connection_id":56490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:39:31] local.INFO: TCP Data received {"connection_id":56319,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:31] local.INFO: Processing buffer {"connection_id":56319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:39:31] local.INFO: Packet analysis {"connection_id":56319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:31] local.INFO: Extracted packet for processing {"connection_id":56319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:39:31] 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-04-28 10: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-04-28 10:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:39:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:39:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":56319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:39:31] local.INFO: GPS data processed {"connection_id":56319,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:39:31] local.INFO: Acknowledgment sent {"connection_id":56319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:39:52] local.INFO: TCP Data received {"connection_id":56490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27ce630012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27ce630012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:52] local.INFO: Processing buffer {"connection_id":56490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27ce630012d1968c0071fec600039010c22..."} 
[2026-04-28 10:39:52] local.INFO: Packet analysis {"connection_id":56490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:52] local.INFO: Extracted packet for processing {"connection_id":56490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002335488001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777352894000,"timestamp_ms":1777352894000,"timestamp_seconds":1777352894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27ce630"} 
[2026-04-28 10:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:39: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-04-28 10: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 10:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002335488001,"66":12722,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002335488001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:39:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002335488001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":56490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:39:52] local.INFO: GPS data processed {"connection_id":56490,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:39:52] local.INFO: Acknowledgment sent {"connection_id":56490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:39:59] local.INFO: TCP Data received {"connection_id":57216,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:39:59] local.INFO: Processing buffer {"connection_id":57216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:39:59] local.INFO: IMEI packet received {"connection_id":57216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":57216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:40:04] local.INFO: TCP Data received {"connection_id":57216,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:04] local.INFO: Processing buffer {"connection_id":57216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:04] local.INFO: IMEI packet received {"connection_id":57216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":57216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:40:05] local.INFO: TCP Data received {"connection_id":57216,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:05] local.INFO: Processing buffer {"connection_id":57216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:05] local.INFO: Packet analysis {"connection_id":57216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:40:05] local.INFO: Extracted packet for processing {"connection_id":57216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:40:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":57216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:40:05] local.INFO: GPS data processed {"connection_id":57216,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:40:05] local.INFO: Acknowledgment sent {"connection_id":57216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:40:09] local.INFO: TCP Data received {"connection_id":56320,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:09] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:09] local.INFO: IMEI packet received {"connection_id":56320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":56320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:40:10] local.INFO: TCP Data received {"connection_id":57216,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:10] local.INFO: Processing buffer {"connection_id":57216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:40:10] local.INFO: Packet analysis {"connection_id":57216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:40:10] local.INFO: Extracted packet for processing {"connection_id":57216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:40:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:40:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":57216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:40:10] local.INFO: GPS data processed {"connection_id":57216,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:40:10] local.INFO: Acknowledgment sent {"connection_id":57216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:40:20] local.INFO: TCP Data received {"connection_id":56320,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:20] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:40:20] local.INFO: IMEI packet received {"connection_id":56320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":56320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:40:23] local.INFO: TCP Data received {"connection_id":56320,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27d3838012d1968c0071fec600039010c24..."} 
[2026-04-28 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27d3838012d1968c0071fec600039010c24..."} 
[2026-04-28 10:40:23] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27d3838012d1968c0071fec600039010c24..."} 
[2026-04-28 10:40:23] local.INFO: Packet analysis {"connection_id":56320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:40:23] local.INFO: Extracted packet for processing {"connection_id":56320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002340864001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777352915000,"timestamp_ms":1777352915000,"timestamp_seconds":1777352915,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27d3838"} 
[2026-04-28 10:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:40: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-04-28 10:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 10:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002340864001,"66":12689,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002340864001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:40:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002340864001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":56320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:40:23] local.INFO: GPS data processed {"connection_id":56320,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:40:23] local.INFO: Acknowledgment sent {"connection_id":56320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:40:54] local.INFO: TCP Data received {"connection_id":56320,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27d8a40012d1968c0071fec600039010c25..."} 
[2026-04-28 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27d8a40012d1968c0071fec600039010c25..."} 
[2026-04-28 10:40:54] local.INFO: Processing buffer {"connection_id":56320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27d8a40012d1968c0071fec600039010c25..."} 
[2026-04-28 10:40:54] local.INFO: Packet analysis {"connection_id":56320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:40:54] local.INFO: Extracted packet for processing {"connection_id":56320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002346240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:40:54] 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-04-28 10:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777352936000,"timestamp_ms":1777352936000,"timestamp_seconds":1777352936,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27d8a40"} 
[2026-04-28 10:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 10:40:54] 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-04-28 10:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002346240001,"66":12678,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002346240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:40:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002346240001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":56320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:40:54] local.INFO: GPS data processed {"connection_id":56320,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:40:54] local.INFO: Acknowledgment sent {"connection_id":56320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:40:54] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:54] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:54] local.INFO: IMEI packet received {"connection_id":56321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":56321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:40:59] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:59] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:40:59] local.INFO: IMEI packet received {"connection_id":56321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:41:00] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:00] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:00] local.INFO: Packet analysis {"connection_id":56321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:41:00] local.INFO: Extracted packet for processing {"connection_id":56321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:41:00] 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-04-28 10: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-04-28 10:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:41:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":56321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:41:01] local.INFO: GPS data processed {"connection_id":56321,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:41:01] local.INFO: Acknowledgment sent {"connection_id":56321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:41:05] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:05] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:05] local.INFO: IMEI packet received {"connection_id":56536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":56536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:41:14] local.INFO: TCP Data received {"connection_id":56491,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:14] local.INFO: Processing buffer {"connection_id":56491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:14] local.INFO: IMEI packet received {"connection_id":56491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":56491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:41:19] local.INFO: TCP Data received {"connection_id":56491,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:19] local.INFO: Processing buffer {"connection_id":56491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:41:19] local.INFO: IMEI packet received {"connection_id":56491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":56491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:41:20] local.INFO: TCP Data received {"connection_id":56491,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27ddc48012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27ddc48012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:20] local.INFO: Processing buffer {"connection_id":56491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27ddc48012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:20] local.INFO: Packet analysis {"connection_id":56491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:41:20] local.INFO: Extracted packet for processing {"connection_id":56491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27d"} 
[2026-04-28 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002351616001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777352957000,"timestamp_ms":1777352957000,"timestamp_seconds":1777352957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27ddc48"} 
[2026-04-28 10:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 10:41:20] 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-04-28 10: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-04-28 10:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002351616001,"66":12678,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002351616001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:41:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002351616001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":56491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:41:20] local.INFO: GPS data processed {"connection_id":56491,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:41:20] local.INFO: Acknowledgment sent {"connection_id":56491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:41:32] local.INFO: TCP Data received {"connection_id":56321,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:32] local.INFO: Processing buffer {"connection_id":56321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:41:32] local.INFO: Packet analysis {"connection_id":56321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:41:32] local.INFO: Extracted packet for processing {"connection_id":56321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:41:32] 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-04-28 10: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-04-28 10:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":56321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:41:32] local.INFO: GPS data processed {"connection_id":56321,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:41:32] local.INFO: Acknowledgment sent {"connection_id":56321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:41:34] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:34] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:41:34] local.INFO: IMEI packet received {"connection_id":56537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":56537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:41:51] local.INFO: TCP Data received {"connection_id":56491,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27e2e50012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27e2e50012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:51] local.INFO: Processing buffer {"connection_id":56491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27e2e50012d1968c0071fec600039010c25..."} 
[2026-04-28 10:41:51] local.INFO: Packet analysis {"connection_id":56491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:41:51] local.INFO: Extracted packet for processing {"connection_id":56491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002356992001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777352978000,"timestamp_ms":1777352978000,"timestamp_seconds":1777352978,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27e2e50"} 
[2026-04-28 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 10:41:51] 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-04-28 10: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-04-28 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002356992001,"66":12667,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002356992001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:41:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002356992001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":56491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:41:51] local.INFO: GPS data processed {"connection_id":56491,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:41:51] local.INFO: Acknowledgment sent {"connection_id":56491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:41:54] local.INFO: TCP Data received {"connection_id":56492,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:54] local.INFO: Processing buffer {"connection_id":56492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:54] local.INFO: IMEI packet received {"connection_id":56492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":56492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:41:59] local.INFO: TCP Data received {"connection_id":56492,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:59] local.INFO: Processing buffer {"connection_id":56492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:41:59] local.INFO: IMEI packet received {"connection_id":56492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:42:01] local.INFO: TCP Data received {"connection_id":56492,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:01] local.INFO: Processing buffer {"connection_id":56492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:01] local.INFO: Packet analysis {"connection_id":56492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:42:01] local.INFO: Extracted packet for processing {"connection_id":56492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:42:01] 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-04-28 10:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:42:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:42:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":56492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:42:01] local.INFO: GPS data processed {"connection_id":56492,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:42:01] local.INFO: Acknowledgment sent {"connection_id":56492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:42:09] local.INFO: TCP Data received {"connection_id":57217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:09] local.INFO: Processing buffer {"connection_id":57217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:09] local.INFO: IMEI packet received {"connection_id":57217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":57217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:42:14] local.INFO: TCP Data received {"connection_id":57217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:14] local.INFO: Processing buffer {"connection_id":57217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:42:14] local.INFO: IMEI packet received {"connection_id":57217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":57217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:42:15] local.INFO: TCP Data received {"connection_id":57217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27e8058012d1968c0071fec600039010c27..."} 
[2026-04-28 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27e8058012d1968c0071fec600039010c27..."} 
[2026-04-28 10:42:15] local.INFO: Processing buffer {"connection_id":57217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27e8058012d1968c0071fec600039010c27..."} 
[2026-04-28 10:42:15] local.INFO: Packet analysis {"connection_id":57217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:42:15] local.INFO: Extracted packet for processing {"connection_id":57217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002362368001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777352999000,"timestamp_ms":1777352999000,"timestamp_seconds":1777352999,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27e8058"} 
[2026-04-28 10:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 10:42:15] 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-04-28 10: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-04-28 10:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002362368001,"66":12667,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002362368001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:42:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002362368001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":57217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:42:15] local.INFO: GPS data processed {"connection_id":57217,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:42:15] local.INFO: Acknowledgment sent {"connection_id":57217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:42:33] local.INFO: TCP Data received {"connection_id":56492,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:33] local.INFO: Processing buffer {"connection_id":56492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:42:33] local.INFO: Packet analysis {"connection_id":56492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:42:33] local.INFO: Extracted packet for processing {"connection_id":56492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":56492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:42:33] local.INFO: GPS data processed {"connection_id":56492,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:42:33] local.INFO: Acknowledgment sent {"connection_id":56492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:42:46] local.INFO: TCP Data received {"connection_id":57217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27ed260012d1968c0071fec600039010c25..."} 
[2026-04-28 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27ed260012d1968c0071fec600039010c25..."} 
[2026-04-28 10:42:46] local.INFO: Processing buffer {"connection_id":57217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27ed260012d1968c0071fec600039010c25..."} 
[2026-04-28 10:42:46] local.INFO: Packet analysis {"connection_id":57217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:42:46] local.INFO: Extracted packet for processing {"connection_id":57217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27e"} 
[2026-04-28 10:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002367744001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777353020000,"timestamp_ms":1777353020000,"timestamp_seconds":1777353020,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27ed260"} 
[2026-04-28 10:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 10:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002367744001,"66":12645,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002367744001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:42:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002367744001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":57217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:42:46] local.INFO: GPS data processed {"connection_id":57217,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:42:46] local.INFO: Acknowledgment sent {"connection_id":57217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:42:53] local.INFO: TCP Data received {"connection_id":56323,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:53] local.INFO: Processing buffer {"connection_id":56323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:53] local.INFO: IMEI packet received {"connection_id":56323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:42:59] local.INFO: TCP Data received {"connection_id":56323,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:59] local.INFO: Processing buffer {"connection_id":56323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:42:59] local.INFO: IMEI packet received {"connection_id":56323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:43:01] local.INFO: TCP Data received {"connection_id":56323,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:43:01] local.INFO: Processing buffer {"connection_id":56323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27c7100012d7fa44005afde680009011229..."} 
[2026-04-28 10:43:01] local.INFO: Packet analysis {"connection_id":56323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:43:01] local.INFO: Extracted packet for processing {"connection_id":56323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27c"} 
[2026-04-28 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002256128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777352864000,"timestamp_ms":1777352864000,"timestamp_seconds":1777352864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27c7100"} 
[2026-04-28 10:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 10:43:01] 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-04-28 10:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002256128001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002256128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:43:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:43:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002256128001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":56323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:43:01] local.INFO: GPS data processed {"connection_id":56323,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:43:01] local.INFO: Acknowledgment sent {"connection_id":56323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:43:14] local.INFO: TCP Data received {"connection_id":56538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:14] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:14] local.INFO: IMEI packet received {"connection_id":56538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":56538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:43:19] local.INFO: TCP Data received {"connection_id":56538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:19] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:43:19] local.INFO: IMEI packet received {"connection_id":56538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":56538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:43:20] local.INFO: TCP Data received {"connection_id":56538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27f2468012d1968c0071fec600039010c25..."} 
[2026-04-28 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27f2468012d1968c0071fec600039010c25..."} 
[2026-04-28 10:43:20] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27f2468012d1968c0071fec600039010c25..."} 
[2026-04-28 10:43:20] local.INFO: Packet analysis {"connection_id":56538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:43:20] local.INFO: Extracted packet for processing {"connection_id":56538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002373120001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777353041000,"timestamp_ms":1777353041000,"timestamp_seconds":1777353041,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27f2468"} 
[2026-04-28 10:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 10:43:20] 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-04-28 10: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-04-28 10:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002373120001,"66":12613,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002373120001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:43:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002373120001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":56538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:43:20] local.INFO: GPS data processed {"connection_id":56538,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:43:20] local.INFO: Acknowledgment sent {"connection_id":56538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:43:27] local.INFO: TCP Data received {"connection_id":56538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27f7670012d1968c0071fec600039010c24..."} 
[2026-04-28 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27f7670012d1968c0071fec600039010c24..."} 
[2026-04-28 10:43:27] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27f7670012d1968c0071fec600039010c24..."} 
[2026-04-28 10:43:27] local.INFO: Packet analysis {"connection_id":56538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:43:27] local.INFO: Extracted packet for processing {"connection_id":56538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002378496001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43: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-04-28 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777353062000,"timestamp_ms":1777353062000,"timestamp_seconds":1777353062,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27f7670"} 
[2026-04-28 10:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 10:43:27] 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-04-28 10:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002378496001,"66":12645,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002378496001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002378496001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":56538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:43:27] local.INFO: GPS data processed {"connection_id":56538,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:43:27] local.INFO: Acknowledgment sent {"connection_id":56538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:43:33] local.INFO: TCP Data received {"connection_id":56323,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:43:33] local.INFO: Processing buffer {"connection_id":56323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:43:33] local.INFO: Packet analysis {"connection_id":56323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:43:33] local.INFO: Extracted packet for processing {"connection_id":56323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:43:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":56323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:43:33] local.INFO: GPS data processed {"connection_id":56323,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:43:33] local.INFO: Acknowledgment sent {"connection_id":56323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:43:54] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:54] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:54] local.INFO: IMEI packet received {"connection_id":56493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":56493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:43:59] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:59] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:43:59] local.INFO: IMEI packet received {"connection_id":56493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:44:00] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:00] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:00] local.INFO: Packet analysis {"connection_id":56493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:44:00] local.INFO: Extracted packet for processing {"connection_id":56493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:44:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:44:00] local.INFO: GPS data processed {"connection_id":56493,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:44:00] local.INFO: Acknowledgment sent {"connection_id":56493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:44:07] local.INFO: TCP Data received {"connection_id":57218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:07] local.INFO: Processing buffer {"connection_id":57218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:07] local.INFO: IMEI packet received {"connection_id":57218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":57218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:44:09] local.INFO: TCP Data received {"connection_id":57218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:09] local.INFO: Processing buffer {"connection_id":57218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:09] local.INFO: IMEI packet received {"connection_id":57218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":57218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:44:14] local.INFO: TCP Data received {"connection_id":57218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:14] local.INFO: Processing buffer {"connection_id":57218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:44:14] local.INFO: IMEI packet received {"connection_id":57218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":57218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:44:15] local.INFO: TCP Data received {"connection_id":57218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd27fc878012d1968c0071fec600039010c24..."} 
[2026-04-28 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd27fc878012d1968c0071fec600039010c24..."} 
[2026-04-28 10:44:15] local.INFO: Processing buffer {"connection_id":57218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd27fc878012d1968c0071fec600039010c24..."} 
[2026-04-28 10:44:15] local.INFO: Packet analysis {"connection_id":57218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:44:15] local.INFO: Extracted packet for processing {"connection_id":57218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd27f"} 
[2026-04-28 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002383872001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353083000,"timestamp_ms":1777353083000,"timestamp_seconds":1777353083,"priority":1,"record_length":96,"hex_timestamp":"0000019dd27fc878"} 
[2026-04-28 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 10:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002383872001,"66":12558,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002383872001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:44:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002383872001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":57218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:44:15] local.INFO: GPS data processed {"connection_id":57218,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:44:15] local.INFO: Acknowledgment sent {"connection_id":57218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:44:32] local.INFO: TCP Data received {"connection_id":56493,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:32] local.INFO: Processing buffer {"connection_id":56493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:44:32] local.INFO: Packet analysis {"connection_id":56493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:44:32] local.INFO: Extracted packet for processing {"connection_id":56493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":56493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:44:32] local.INFO: GPS data processed {"connection_id":56493,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:44:32] local.INFO: Acknowledgment sent {"connection_id":56493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:44:52] local.INFO: TCP Data received {"connection_id":57218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2801a80012d1968c0071fec600039010c25..."} 
[2026-04-28 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2801a80012d1968c0071fec600039010c25..."} 
[2026-04-28 10:44:52] local.INFO: Processing buffer {"connection_id":57218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2801a80012d1968c0071fec600039010c25..."} 
[2026-04-28 10:44:52] local.INFO: Packet analysis {"connection_id":57218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:44:52] local.INFO: Extracted packet for processing {"connection_id":57218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002389248001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777353104000,"timestamp_ms":1777353104000,"timestamp_seconds":1777353104,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2801a80"} 
[2026-04-28 10:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3531463752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087065696,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965714489,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 10:44:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,94,118,45,192,236,57,36,10,66,37,210,1,240,101,227,31,4,113,205,46,104,96,239,49,2,154,7,70,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 10:44:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577683896958976,"timestamp_seconds":4107577683896959.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 10:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002389248001,"66":12591,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002389248001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:44:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002389248001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":57218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:44:52] local.INFO: GPS data processed {"connection_id":57218,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:44:52] local.INFO: Acknowledgment sent {"connection_id":57218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:44:54] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:54] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:54] local.INFO: IMEI packet received {"connection_id":56324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":56324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:44:59] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:59] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:44:59] local.INFO: IMEI packet received {"connection_id":56324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:45:00] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:00] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:00] local.INFO: Packet analysis {"connection_id":56324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:00] local.INFO: Extracted packet for processing {"connection_id":56324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:45: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-04-28 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":56324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:45:00] local.INFO: GPS data processed {"connection_id":56324,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:45:00] local.INFO: Acknowledgment sent {"connection_id":56324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:45:13] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:45:13] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:13] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:45:14] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:14] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:45:14] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:45:15] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2806c88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2806c88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:15] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2806c88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:15] local.INFO: Packet analysis {"connection_id":56494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:45:15] local.INFO: Extracted packet for processing {"connection_id":56494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002394624001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353125000,"timestamp_ms":1777353125000,"timestamp_seconds":1777353125,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2806c88"} 
[2026-04-28 10:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 10:45:15] 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-04-28 10:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002394624001,"66":12591,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002394624001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:45:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002394624001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":56494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:45:15] local.INFO: GPS data processed {"connection_id":56494,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:45:15] local.INFO: Acknowledgment sent {"connection_id":56494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:45:20] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd280be90012d1968c0071fec600039010c24..."} 
[2026-04-28 10:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd280be90012d1968c0071fec600039010c24..."} 
[2026-04-28 10:45:20] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd280be90012d1968c0071fec600039010c24..."} 
[2026-04-28 10:45:20] local.INFO: Packet analysis {"connection_id":56494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:45:20] local.INFO: Extracted packet for processing {"connection_id":56494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd280"} 
[2026-04-28 10:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002400000001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777353146000,"timestamp_ms":1777353146000,"timestamp_seconds":1777353146,"priority":1,"record_length":96,"hex_timestamp":"0000019dd280be90"} 
[2026-04-28 10:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 10:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002400000001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002400000001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:45:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002400000001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":56494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:45:20] local.INFO: GPS data processed {"connection_id":56494,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:45:20] local.INFO: Acknowledgment sent {"connection_id":56494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:45:32] local.INFO: TCP Data received {"connection_id":56324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:32] local.INFO: Processing buffer {"connection_id":56324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:45:32] local.INFO: Packet analysis {"connection_id":56324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:32] local.INFO: Extracted packet for processing {"connection_id":56324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:45:32] local.INFO: GPS data processed {"connection_id":56324,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:45:32] local.INFO: Acknowledgment sent {"connection_id":56324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:45:51] local.INFO: TCP Data received {"connection_id":56494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2811098012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2811098012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:51] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2811098012d1968c0071fec600039010c25..."} 
[2026-04-28 10:45:51] local.INFO: Packet analysis {"connection_id":56494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:51] local.INFO: Extracted packet for processing {"connection_id":56494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002405376001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777353167000,"timestamp_ms":1777353167000,"timestamp_seconds":1777353167,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2811098"} 
[2026-04-28 10:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 10:45: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-04-28 10:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002405376001,"66":12580,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002405376001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:45:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002405376001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":56494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:45:51] local.INFO: GPS data processed {"connection_id":56494,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:45:51] local.INFO: Acknowledgment sent {"connection_id":56494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:45:53] local.INFO: TCP Data received {"connection_id":57219,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:53] local.INFO: Processing buffer {"connection_id":57219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:53] local.INFO: IMEI packet received {"connection_id":57219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":57219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:45:59] local.INFO: TCP Data received {"connection_id":57219,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:59] local.INFO: Processing buffer {"connection_id":57219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:45:59] local.INFO: IMEI packet received {"connection_id":57219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":57219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:46:01] local.INFO: TCP Data received {"connection_id":57219,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:01] local.INFO: Processing buffer {"connection_id":57219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:01] local.INFO: Packet analysis {"connection_id":57219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:01] local.INFO: Extracted packet for processing {"connection_id":57219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:46:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:46:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":57219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:46:01] local.INFO: GPS data processed {"connection_id":57219,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:46:01] local.INFO: Acknowledgment sent {"connection_id":57219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:46:09] local.INFO: TCP Data received {"connection_id":56495,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:09] local.INFO: Processing buffer {"connection_id":56495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:09] local.INFO: IMEI packet received {"connection_id":56495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":56495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:46:21] local.INFO: TCP Data received {"connection_id":56495,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:21] local.INFO: Processing buffer {"connection_id":56495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:46:21] local.INFO: IMEI packet received {"connection_id":56495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":56495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:46:23] local.INFO: TCP Data received {"connection_id":56495,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28162a0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28162a0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:46:23] local.INFO: Processing buffer {"connection_id":56495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28162a0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:46:23] local.INFO: Packet analysis {"connection_id":56495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:23] local.INFO: Extracted packet for processing {"connection_id":56495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410752001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777353188000,"timestamp_ms":1777353188000,"timestamp_seconds":1777353188,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28162a0"} 
[2026-04-28 10:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:46: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-04-28 10:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 10:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410752001,"66":12548,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410752001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:46:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410752001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":56495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:46:23] local.INFO: GPS data processed {"connection_id":56495,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:46:23] local.INFO: Acknowledgment sent {"connection_id":56495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:46:33] local.INFO: TCP Data received {"connection_id":57219,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:33] local.INFO: Processing buffer {"connection_id":57219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:46:33] local.INFO: Packet analysis {"connection_id":57219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:33] local.INFO: Extracted packet for processing {"connection_id":57219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":57219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:46:33] local.INFO: GPS data processed {"connection_id":57219,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:46:33] local.INFO: Acknowledgment sent {"connection_id":57219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:46:55] local.INFO: TCP Data received {"connection_id":57220,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:46:55] local.INFO: Processing buffer {"connection_id":57220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:46:55] local.INFO: IMEI packet received {"connection_id":57220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":57220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:46:59] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:46:59] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:46:59] local.INFO: IMEI packet received {"connection_id":56542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:47:04] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:04] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:04] local.INFO: IMEI packet received {"connection_id":56542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":56542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:47:05] local.INFO: TCP Data received {"connection_id":56495,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd281b4a8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd281b4a8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:47:05] local.INFO: Processing buffer {"connection_id":56495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd281b4a8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:47:05] local.INFO: Packet analysis {"connection_id":56495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:05] local.INFO: Extracted packet for processing {"connection_id":56495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002416128001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777353209000,"timestamp_ms":1777353209000,"timestamp_seconds":1777353209,"priority":1,"record_length":96,"hex_timestamp":"0000019dd281b4a8"} 
[2026-04-28 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:47: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-04-28 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3531568752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2149220353,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965714489,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 10:47:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2013343001,"corrected_to":0} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,94,45,192,236,57,37,10,66,190,36,108,1,240,47,227,210,31,4,113,205,200,104,96,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":2013343001,"validated":0}]} 
[2026-04-28 10:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577683896958976,"timestamp_seconds":4107577683896959.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002416128001,"66":12515,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002416128001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002416128001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":56495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:47:05] local.INFO: GPS data processed {"connection_id":56495,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:47:05] local.INFO: Acknowledgment sent {"connection_id":56495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:47:05] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:05] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:05] local.INFO: Packet analysis {"connection_id":56542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:05] local.INFO: Extracted packet for processing {"connection_id":56542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":56542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:47:05] local.INFO: GPS data processed {"connection_id":56542,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:47:05] local.INFO: Acknowledgment sent {"connection_id":56542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:47:09] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:09] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:09] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:47:09] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:09] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:47:09] local.INFO: Packet analysis {"connection_id":56542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:09] local.INFO: Extracted packet for processing {"connection_id":56542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:47:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:47:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":56542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:47:09] local.INFO: GPS data processed {"connection_id":56542,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:47:09] local.INFO: Acknowledgment sent {"connection_id":56542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:47:14] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:14] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:47:14] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:47:15] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28206b0012d1968c0071fec600039010c23..."} 
[2026-04-28 10:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28206b0012d1968c0071fec600039010c23..."} 
[2026-04-28 10:47:15] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28206b0012d1968c0071fec600039010c23..."} 
[2026-04-28 10:47:15] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:47:15] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002421504001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353230000,"timestamp_ms":1777353230000,"timestamp_seconds":1777353230,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28206b0"} 
[2026-04-28 10:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 10:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002421504001,"66":12548,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002421504001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:47:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002421504001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:47:15] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:47:15] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:47:34] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:47:34] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:47:34] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:47:55] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:55] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:55] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:47:59] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:59] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:47:59] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:48:00] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:48:00] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28108c8012d7fa44005afde68000901122a..."} 
[2026-04-28 10:48:00] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:48:00] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd281"} 
[2026-04-28 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002333184001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353165000,"timestamp_ms":1777353165000,"timestamp_seconds":1777353165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28108c8"} 
[2026-04-28 10:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002333184001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002333184001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:48:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002333184001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:48:00] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:48:00] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:48:05] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28258b8012d1968c0071fec600039010c23..."} 
[2026-04-28 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28258b8012d1968c0071fec600039010c23..."} 
[2026-04-28 10:48:05] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28258b8012d1968c0071fec600039010c23..."} 
[2026-04-28 10:48:05] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:48:05] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002426880001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777353251000,"timestamp_ms":1777353251000,"timestamp_seconds":1777353251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28258b8"} 
[2026-04-28 10:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3531610752,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2159972353,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965714489,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:05] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,106,83,24,241,157,16,94,180,45,192,236,57,37,10,66,98,36,1,240,227,210,31,4,113,205,108,104,96,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 10:48:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107577679601991680,"timestamp_seconds":4107577679601991.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 10:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002426880001,"66":12526,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002426880001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:48:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002426880001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:48:05] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:48:05] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:48:16] local.INFO: TCP Data received {"connection_id":56325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:16] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:16] local.INFO: IMEI packet received {"connection_id":56325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":56325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:48:20] local.INFO: TCP Data received {"connection_id":56325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:20] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:48:20] local.INFO: IMEI packet received {"connection_id":56325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":56325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:48:23] local.INFO: TCP Data received {"connection_id":56325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd282aac0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd282aac0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:48:23] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd282aac0012d1968c0071fec600039010c24..."} 
[2026-04-28 10:48:23] local.INFO: Packet analysis {"connection_id":56325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:48:23] local.INFO: Extracted packet for processing {"connection_id":56325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002432256001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777353272000,"timestamp_ms":1777353272000,"timestamp_seconds":1777353272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd282aac0"} 
[2026-04-28 10:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:48: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-04-28 10:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 10:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002432256001,"66":12526,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002432256001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:48:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002432256001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":56325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:48:23] local.INFO: GPS data processed {"connection_id":56325,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:48:23] local.INFO: Acknowledgment sent {"connection_id":56325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:48:32] local.INFO: TCP Data received {"connection_id":56497,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:48:32] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:48:32] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:48:32] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:48:32] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:48:32] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:48:53] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:53] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:53] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:48:59] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:59] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:48:59] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:49:00] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:00] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:00] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:49:00] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:49: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-04-28 10: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-04-28 10:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:49:00] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:49:00] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:49:06] local.INFO: TCP Data received {"connection_id":56325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd282fcc8012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd282fcc8012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:06] local.INFO: Processing buffer {"connection_id":56325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd282fcc8012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:06] local.INFO: Packet analysis {"connection_id":56325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:49:06] local.INFO: Extracted packet for processing {"connection_id":56325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd282"} 
[2026-04-28 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002437632001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777353293000,"timestamp_ms":1777353293000,"timestamp_seconds":1777353293,"priority":1,"record_length":96,"hex_timestamp":"0000019dd282fcc8"} 
[2026-04-28 10:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 10:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002437632001,"66":12504,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002437632001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:49:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002437632001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":56325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:49:06] local.INFO: GPS data processed {"connection_id":56325,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:49:06] local.INFO: Acknowledgment sent {"connection_id":56325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:49:10] local.INFO: TCP Data received {"connection_id":56499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:10] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:10] local.INFO: IMEI packet received {"connection_id":56499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":56499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:49:14] local.INFO: TCP Data received {"connection_id":56499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:14] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:49:14] local.INFO: IMEI packet received {"connection_id":56499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":56499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:49:15] local.INFO: TCP Data received {"connection_id":56499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2834ed0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2834ed0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:15] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2834ed0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:49:15] local.INFO: Packet analysis {"connection_id":56499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:49:15] local.INFO: Extracted packet for processing {"connection_id":56499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002443008001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353314000,"timestamp_ms":1777353314000,"timestamp_seconds":1777353314,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2834ed0"} 
[2026-04-28 10:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 10:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002443008001,"66":12504,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002443008001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:49:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002443008001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":56499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:49:15] local.INFO: GPS data processed {"connection_id":56499,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:49:15] local.INFO: Acknowledgment sent {"connection_id":56499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:49:32] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:32] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:49:32] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:49:32] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:49:32] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:49:32] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:49:46] local.INFO: TCP Data received {"connection_id":56499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd283a0d8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd283a0d8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:49:46] local.INFO: Processing buffer {"connection_id":56499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd283a0d8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:49:46] local.INFO: Packet analysis {"connection_id":56499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:49:46] local.INFO: Extracted packet for processing {"connection_id":56499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002448384001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777353335000,"timestamp_ms":1777353335000,"timestamp_seconds":1777353335,"priority":1,"record_length":96,"hex_timestamp":"0000019dd283a0d8"} 
[2026-04-28 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-04-28 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 10:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002448384001,"66":12504,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002448384001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:49:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002448384001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":56499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:49:46] local.INFO: GPS data processed {"connection_id":56499,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:49:46] local.INFO: Acknowledgment sent {"connection_id":56499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:49:53] local.INFO: TCP Data received {"connection_id":56500,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:53] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:53] local.INFO: IMEI packet received {"connection_id":56500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:49:59] local.INFO: TCP Data received {"connection_id":56500,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:59] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:49:59] local.INFO: IMEI packet received {"connection_id":56500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:50:00] local.INFO: TCP Data received {"connection_id":56500,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:00] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:00] local.INFO: Packet analysis {"connection_id":56500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:50:00] local.INFO: Extracted packet for processing {"connection_id":56500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:50: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-04-28 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:50:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:50:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":56500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:50:00] local.INFO: GPS data processed {"connection_id":56500,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:50:00] local.INFO: Acknowledgment sent {"connection_id":56500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:50:09] local.INFO: TCP Data received {"connection_id":56501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:09] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:09] local.INFO: IMEI packet received {"connection_id":56501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":56501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:50:17] local.INFO: TCP Data received {"connection_id":56501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:17] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:50:17] local.INFO: IMEI packet received {"connection_id":56501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":56501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:50:18] local.INFO: TCP Data received {"connection_id":56501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd283f2e0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd283f2e0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:50:18] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd283f2e0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:50:18] local.INFO: Packet analysis {"connection_id":56501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:50:18] local.INFO: Extracted packet for processing {"connection_id":56501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd283"} 
[2026-04-28 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002453760001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777353356000,"timestamp_ms":1777353356000,"timestamp_seconds":1777353356,"priority":1,"record_length":96,"hex_timestamp":"0000019dd283f2e0"} 
[2026-04-28 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-04-28 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 10:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002453760001,"66":12526,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 10:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002453760001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:50:18] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 10:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002453760001,"power":12526,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":56501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:50:18] local.INFO: GPS data processed {"connection_id":56501,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:50:18] local.INFO: Acknowledgment sent {"connection_id":56501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:50:32] local.INFO: TCP Data received {"connection_id":56500,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:32] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:50:32] local.INFO: Packet analysis {"connection_id":56500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:50:32] local.INFO: Extracted packet for processing {"connection_id":56500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":56500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:50:32] local.INFO: GPS data processed {"connection_id":56500,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:50:32] local.INFO: Acknowledgment sent {"connection_id":56500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:50:48] local.INFO: TCP Data received {"connection_id":56501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28444e8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28444e8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:50:48] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28444e8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:50:48] local.INFO: Packet analysis {"connection_id":56501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:50:48] local.INFO: Extracted packet for processing {"connection_id":56501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002459136001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777353377000,"timestamp_ms":1777353377000,"timestamp_seconds":1777353377,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28444e8"} 
[2026-04-28 10:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 10:50: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-04-28 10: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-04-28 10:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002459136001,"66":12515,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002459136001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:50:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002459136001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":56501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:50:48] local.INFO: GPS data processed {"connection_id":56501,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:50:48] local.INFO: Acknowledgment sent {"connection_id":56501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:50:59] local.INFO: TCP Data received {"connection_id":57222,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:50:59] local.INFO: Processing buffer {"connection_id":57222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:50:59] local.INFO: IMEI packet received {"connection_id":57222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":57222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:51:04] local.INFO: TCP Data received {"connection_id":57222,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:04] local.INFO: Processing buffer {"connection_id":57222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:04] local.INFO: IMEI packet received {"connection_id":57222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":57222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:51:05] local.INFO: TCP Data received {"connection_id":57222,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:05] local.INFO: Processing buffer {"connection_id":57222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:05] local.INFO: Packet analysis {"connection_id":57222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:51:05] local.INFO: Extracted packet for processing {"connection_id":57222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:51:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:51:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":57222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:51:05] local.INFO: GPS data processed {"connection_id":57222,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:51:05] local.INFO: Acknowledgment sent {"connection_id":57222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:51:09] local.INFO: TCP Data received {"connection_id":57222,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:09] local.INFO: Processing buffer {"connection_id":57222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:51:09] local.INFO: Packet analysis {"connection_id":57222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:51:09] local.INFO: Extracted packet for processing {"connection_id":57222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:51:09] 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-04-28 10:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:51:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:51:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":57222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:51:09] local.INFO: GPS data processed {"connection_id":57222,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:51:09] local.INFO: Acknowledgment sent {"connection_id":57222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:51:09] local.INFO: TCP Data received {"connection_id":56545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:09] local.INFO: Processing buffer {"connection_id":56545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:09] local.INFO: IMEI packet received {"connection_id":56545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":56545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:51:14] local.INFO: TCP Data received {"connection_id":56545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:14] local.INFO: Processing buffer {"connection_id":56545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:51:14] local.INFO: IMEI packet received {"connection_id":56545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":56545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:51:15] local.INFO: TCP Data received {"connection_id":56545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28496f0012d1968c0071fec600039010c25..."} 
[2026-04-28 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28496f0012d1968c0071fec600039010c25..."} 
[2026-04-28 10:51:15] local.INFO: Processing buffer {"connection_id":56545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28496f0012d1968c0071fec600039010c25..."} 
[2026-04-28 10:51:15] local.INFO: Packet analysis {"connection_id":56545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:51:15] local.INFO: Extracted packet for processing {"connection_id":56545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002464512001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353398000,"timestamp_ms":1777353398000,"timestamp_seconds":1777353398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28496f0"} 
[2026-04-28 10:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 10:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002464512001,"66":12504,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002464512001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:51:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002464512001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":56545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:51:15] local.INFO: GPS data processed {"connection_id":56545,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:51:15] local.INFO: Acknowledgment sent {"connection_id":56545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:51:46] local.INFO: TCP Data received {"connection_id":56545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd284e8f8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd284e8f8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:51:46] local.INFO: Processing buffer {"connection_id":56545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd284e8f8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:51:46] local.INFO: Packet analysis {"connection_id":56545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:51:46] local.INFO: Extracted packet for processing {"connection_id":56545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd284"} 
[2026-04-28 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002469888001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777353419000,"timestamp_ms":1777353419000,"timestamp_seconds":1777353419,"priority":1,"record_length":96,"hex_timestamp":"0000019dd284e8f8"} 
[2026-04-28 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-04-28 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 10:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002469888001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002469888001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:51:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002469888001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":56545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:51:46] local.INFO: GPS data processed {"connection_id":56545,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:51:46] local.INFO: Acknowledgment sent {"connection_id":56545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:51:53] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:53] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:53] local.INFO: IMEI packet received {"connection_id":56502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":56502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:51:59] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:59] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:51:59] local.INFO: IMEI packet received {"connection_id":56502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:52:00] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:00] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:00] local.INFO: Packet analysis {"connection_id":56502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:52:00] local.INFO: Extracted packet for processing {"connection_id":56502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:52: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-04-28 10: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-04-28 10:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:52:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:52:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":56502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:52:00] local.INFO: GPS data processed {"connection_id":56502,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:52:00] local.INFO: Acknowledgment sent {"connection_id":56502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:52:09] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:09] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:09] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:52:10] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:10] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:10] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:52:14] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:14] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:52:14] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:52:20] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2886f50012d1968c0071fec600039010c24..."} 
[2026-04-28 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2886f50012d1968c0071fec600039010c24..."} 
[2026-04-28 10:52:20] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2886f50012d1968c0071fec600039010c24..."} 
[2026-04-28 10:52:20] local.INFO: Packet analysis {"connection_id":56503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd288"} 
[2026-04-28 10:52:20] local.INFO: Extracted packet for processing {"connection_id":56503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd288"} 
[2026-04-28 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002529024001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777353650000,"timestamp_ms":1777353650000,"timestamp_seconds":1777353650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2886f50"} 
[2026-04-28 10:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-28 10:52:20] 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-04-28 10:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002529024001,"66":12439,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002529024001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:52:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002529024001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":56503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:52:20] local.INFO: GPS data processed {"connection_id":56503,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:52:20] local.INFO: Acknowledgment sent {"connection_id":56503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:52:32] local.INFO: TCP Data received {"connection_id":56502,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:32] local.INFO: Processing buffer {"connection_id":56502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:52:32] local.INFO: Packet analysis {"connection_id":56502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:52:32] local.INFO: Extracted packet for processing {"connection_id":56502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":56502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:52:32] local.INFO: GPS data processed {"connection_id":56502,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:52:32] local.INFO: Acknowledgment sent {"connection_id":56502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:52:53] local.INFO: TCP Data received {"connection_id":57223,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:53] local.INFO: Processing buffer {"connection_id":57223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:53] local.INFO: IMEI packet received {"connection_id":57223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":57223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:52:55] local.INFO: TCP Data received {"connection_id":56327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:52:55] local.INFO: Processing buffer {"connection_id":56327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:52:55] local.INFO: IMEI packet received {"connection_id":56327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":56327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:52:57] local.INFO: TCP Data received {"connection_id":56503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd288c158012d1968c0071fec600039010c26..."} 
[2026-04-28 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd288c158012d1968c0071fec600039010c26..."} 
[2026-04-28 10:52:57] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd288c158012d1968c0071fec600039010c26..."} 
[2026-04-28 10:52:57] local.INFO: Packet analysis {"connection_id":56503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd288"} 
[2026-04-28 10:52:57] local.INFO: Extracted packet for processing {"connection_id":56503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd288"} 
[2026-04-28 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002534400001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10: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-04-28 10:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777353671000,"timestamp_ms":1777353671000,"timestamp_seconds":1777353671,"priority":1,"record_length":96,"hex_timestamp":"0000019dd288c158"} 
[2026-04-28 10:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:52:57] 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-04-28 10: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:52:57] 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-04-28 10:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002534400001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002534400001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:52:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002534400001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":56503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:52:57] local.INFO: GPS data processed {"connection_id":56503,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:52:57] local.INFO: Acknowledgment sent {"connection_id":56503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:52:59] local.INFO: TCP Data received {"connection_id":57223,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:59] local.INFO: Processing buffer {"connection_id":57223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:52:59] local.INFO: IMEI packet received {"connection_id":57223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":57223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:53:01] local.INFO: TCP Data received {"connection_id":57223,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:01] local.INFO: Processing buffer {"connection_id":57223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd285a090012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:01] local.INFO: Packet analysis {"connection_id":57223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:53:01] local.INFO: Extracted packet for processing {"connection_id":57223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd285"} 
[2026-04-28 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002410240001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777353466000,"timestamp_ms":1777353466000,"timestamp_seconds":1777353466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd285a090"} 
[2026-04-28 10:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 10:53:01] 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-04-28 10:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002410240001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002410240001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:53:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002410240001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":57223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:53:01] local.INFO: GPS data processed {"connection_id":57223,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:53:01] local.INFO: Acknowledgment sent {"connection_id":57223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:53:14] local.INFO: TCP Data received {"connection_id":56547,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: IMEI packet received {"connection_id":56547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":56547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:53:14] local.INFO: TCP Data received {"connection_id":56547,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:14] local.INFO: IMEI packet received {"connection_id":56547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":56547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:53:21] local.INFO: TCP Data received {"connection_id":56547,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:21] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:53:21] local.INFO: IMEI packet received {"connection_id":56547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":56547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:53:22] local.INFO: TCP Data received {"connection_id":56547,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2891360012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2891360012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:22] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2891360012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:22] local.INFO: Packet analysis {"connection_id":56547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:53:22] local.INFO: Extracted packet for processing {"connection_id":56547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002539776001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777353692000,"timestamp_ms":1777353692000,"timestamp_seconds":1777353692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2891360"} 
[2026-04-28 10:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:53:22] 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-04-28 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 10:53:22] 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-04-28 10:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002539776001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002539776001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:53:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002539776001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":56547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:53:22] local.INFO: GPS data processed {"connection_id":56547,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:53:22] local.INFO: Acknowledgment sent {"connection_id":56547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:53:24] local.INFO: TCP Data received {"connection_id":56547,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2896568012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2896568012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:24] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2896568012d1968c0071fec600039010c25..."} 
[2026-04-28 10:53:24] local.INFO: Packet analysis {"connection_id":56547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:53:24] local.INFO: Extracted packet for processing {"connection_id":56547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002545152001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777353713000,"timestamp_ms":1777353713000,"timestamp_seconds":1777353713,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2896568"} 
[2026-04-28 10:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002545152001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002545152001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:53:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002545152001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":56547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:53:24] local.INFO: GPS data processed {"connection_id":56547,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:53:24] local.INFO: Acknowledgment sent {"connection_id":56547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:53:32] local.INFO: TCP Data received {"connection_id":57223,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:32] local.INFO: Processing buffer {"connection_id":57223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:53:32] local.INFO: Packet analysis {"connection_id":57223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:53:32] local.INFO: Extracted packet for processing {"connection_id":57223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":57223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:53:32] local.INFO: GPS data processed {"connection_id":57223,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:53:32] local.INFO: Acknowledgment sent {"connection_id":57223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:53:34] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:53:34] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:53:34] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:53:59] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:53:59] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:53:59] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:54:04] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:04] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:04] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:54:05] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:05] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:05] local.INFO: Packet analysis {"connection_id":56549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:05] local.INFO: Extracted packet for processing {"connection_id":56549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":56549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:54:05] local.INFO: GPS data processed {"connection_id":56549,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:54:05] local.INFO: Acknowledgment sent {"connection_id":56549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:54:09] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:09] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:09] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:54:14] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:14] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:54:14] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:54:15] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd289b770012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd289b770012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:15] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd289b770012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:15] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:54:15] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd289"} 
[2026-04-28 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002550528001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:15] 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-04-28 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777353734000,"timestamp_ms":1777353734000,"timestamp_seconds":1777353734,"priority":1,"record_length":96,"hex_timestamp":"0000019dd289b770"} 
[2026-04-28 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:54:15] 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-04-28 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002550528001,"66":12504,"57":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-04-28 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002550528001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:54:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-28 10:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002550528001,"power":12504,"unknown_57":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:54:15] local.INFO: GPS data processed {"connection_id":56504,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:54:15] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:54:37] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:37] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:54:37] local.INFO: Packet analysis {"connection_id":56549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:37] local.INFO: Extracted packet for processing {"connection_id":56549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:54:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:54:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":56549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:54:37] local.INFO: GPS data processed {"connection_id":56549,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:54:37] local.INFO: Acknowledgment sent {"connection_id":56549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:54:47] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a0978012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a0978012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:47] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a0978012d1968c0071fec600039010c27..."} 
[2026-04-28 10:54:47] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:47] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002555904001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777353755000,"timestamp_ms":1777353755000,"timestamp_seconds":1777353755,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a0978"} 
[2026-04-28 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-04-28 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002555904001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002555904001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:54:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002555904001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:54:47] local.INFO: GPS data processed {"connection_id":56504,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:54:47] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:54:54] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:54] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:54] local.INFO: IMEI packet received {"connection_id":56550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:54:59] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:59] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:54:59] local.INFO: IMEI packet received {"connection_id":56550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:55:02] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:02] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:02] local.INFO: Packet analysis {"connection_id":56550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:02] local.INFO: Extracted packet for processing {"connection_id":56550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:55:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:55:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":56550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:55:02] local.INFO: GPS data processed {"connection_id":56550,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:55:02] local.INFO: Acknowledgment sent {"connection_id":56550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:55:09] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:09] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:09] local.INFO: IMEI packet received {"connection_id":56505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":56505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:55:15] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:16] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:55:16] local.INFO: IMEI packet received {"connection_id":56505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":56505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:55:16] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a5b80012d1968c0071fec600039010c24..."} 
[2026-04-28 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a5b80012d1968c0071fec600039010c24..."} 
[2026-04-28 10:55:16] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a5b80012d1968c0071fec600039010c24..."} 
[2026-04-28 10:55:16] local.INFO: Packet analysis {"connection_id":56505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:16] local.INFO: Extracted packet for processing {"connection_id":56505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002561280001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777353776000,"timestamp_ms":1777353776000,"timestamp_seconds":1777353776,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a5b80"} 
[2026-04-28 10:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002561280001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002561280001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:55:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002561280001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":56505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:55:16] local.INFO: GPS data processed {"connection_id":56505,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:55:16] local.INFO: Acknowledgment sent {"connection_id":56505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:55:33] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:33] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:55:33] local.INFO: Packet analysis {"connection_id":56550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:33] local.INFO: Extracted packet for processing {"connection_id":56550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:55:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:55:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":56550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:55:33] local.INFO: GPS data processed {"connection_id":56550,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:55:33] local.INFO: Acknowledgment sent {"connection_id":56550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:55:49] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28aad88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28aad88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:55:49] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28aad88012d1968c0071fec600039010c25..."} 
[2026-04-28 10:55:49] local.INFO: Packet analysis {"connection_id":56505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:49] local.INFO: Extracted packet for processing {"connection_id":56505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002566656001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777353797000,"timestamp_ms":1777353797000,"timestamp_seconds":1777353797,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28aad88"} 
[2026-04-28 10:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002566656001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002566656001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:55:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002566656001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":56505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:55:50] local.INFO: GPS data processed {"connection_id":56505,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:55:50] local.INFO: Acknowledgment sent {"connection_id":56505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:55:53] local.INFO: TCP Data received {"connection_id":56551,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:53] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:53] local.INFO: IMEI packet received {"connection_id":56551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:55:59] local.INFO: TCP Data received {"connection_id":56551,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:59] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:55:59] local.INFO: IMEI packet received {"connection_id":56551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:56:01] local.INFO: TCP Data received {"connection_id":56551,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:01] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:01] local.INFO: Packet analysis {"connection_id":56551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:01] local.INFO: Extracted packet for processing {"connection_id":56551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:56:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:56:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":56551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:56:01] local.INFO: GPS data processed {"connection_id":56551,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:56:01] local.INFO: Acknowledgment sent {"connection_id":56551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:56:18] local.INFO: TCP Data received {"connection_id":56552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:18] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:18] local.INFO: IMEI packet received {"connection_id":56552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":56552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:56:19] local.INFO: TCP Data received {"connection_id":56552,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:19] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:56:19] local.INFO: IMEI packet received {"connection_id":56552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":56552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:56:20] local.INFO: TCP Data received {"connection_id":56552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28aff90012d1968c0071fec600039010c23..."} 
[2026-04-28 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28aff90012d1968c0071fec600039010c23..."} 
[2026-04-28 10:56:20] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28aff90012d1968c0071fec600039010c23..."} 
[2026-04-28 10:56:20] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:20] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777353818000,"timestamp_ms":1777353818000,"timestamp_seconds":1777353818,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28aff90"} 
[2026-04-28 10:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002572032001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:56:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002572032001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:56:20] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:56:20] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:56:23] local.INFO: TCP Data received {"connection_id":56552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28b5198012d1968c0071fec600039010c24..."} 
[2026-04-28 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28b5198012d1968c0071fec600039010c24..."} 
[2026-04-28 10:56:23] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28b5198012d1968c0071fec600039010c24..."} 
[2026-04-28 10:56:23] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:56:23] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002577408001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777353839000,"timestamp_ms":1777353839000,"timestamp_seconds":1777353839,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28b5198"} 
[2026-04-28 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:56: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-04-28 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002577408001,"66":12363,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002577408001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:56:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002577408001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:56:23] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:56:23] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:56:33] local.INFO: TCP Data received {"connection_id":56551,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:33] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:56:33] local.INFO: Packet analysis {"connection_id":56551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:33] local.INFO: Extracted packet for processing {"connection_id":56551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":56551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:56:33] local.INFO: GPS data processed {"connection_id":56551,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:56:33] local.INFO: Acknowledgment sent {"connection_id":56551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:56:54] local.INFO: TCP Data received {"connection_id":56552,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ba3a0012d1968c0071fec600039010c26..."} 
[2026-04-28 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ba3a0012d1968c0071fec600039010c26..."} 
[2026-04-28 10:56:54] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ba3a0012d1968c0071fec600039010c26..."} 
[2026-04-28 10:56:54] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:56:54] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002582784001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:56:54] 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-04-28 10:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777353860000,"timestamp_ms":1777353860000,"timestamp_seconds":1777353860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ba3a0"} 
[2026-04-28 10:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 10:56:54] 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-04-28 10:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002582784001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002582784001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:56:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002582784001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:56:54] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:56:54] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:56:59] local.INFO: TCP Data received {"connection_id":56506,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:56:59] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:56:59] local.INFO: IMEI packet received {"connection_id":56506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:57:04] local.INFO: TCP Data received {"connection_id":56506,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:04] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:04] local.INFO: IMEI packet received {"connection_id":56506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":56506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:57:06] local.INFO: TCP Data received {"connection_id":56506,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:06] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:06] local.INFO: Packet analysis {"connection_id":56506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:57:06] local.INFO: Extracted packet for processing {"connection_id":56506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:57:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:57:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":56506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:57:06] local.INFO: GPS data processed {"connection_id":56506,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:57:06] local.INFO: Acknowledgment sent {"connection_id":56506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:57:09] local.INFO: TCP Data received {"connection_id":56506,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:09] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:57:09] local.INFO: Packet analysis {"connection_id":56506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:57:09] local.INFO: Extracted packet for processing {"connection_id":56506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:57:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:57:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":56506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:57:09] local.INFO: GPS data processed {"connection_id":56506,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:57:09] local.INFO: Acknowledgment sent {"connection_id":56506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:57:09] local.INFO: TCP Data received {"connection_id":56329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:09] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:09] local.INFO: IMEI packet received {"connection_id":56329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":56329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:57:16] local.INFO: TCP Data received {"connection_id":56329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:16] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:57:16] local.INFO: IMEI packet received {"connection_id":56329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":56329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:57:16] local.INFO: TCP Data received {"connection_id":56329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28bf5a8012d1968c0071fec600039010c22..."} 
[2026-04-28 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28bf5a8012d1968c0071fec600039010c22..."} 
[2026-04-28 10:57:16] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28bf5a8012d1968c0071fec600039010c22..."} 
[2026-04-28 10:57:16] local.INFO: Packet analysis {"connection_id":56329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:57:16] local.INFO: Extracted packet for processing {"connection_id":56329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28b"} 
[2026-04-28 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002588160001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777353881000,"timestamp_ms":1777353881000,"timestamp_seconds":1777353881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28bf5a8"} 
[2026-04-28 10:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 10:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002588160001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002588160001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:57:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002588160001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":56329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:57:16] local.INFO: GPS data processed {"connection_id":56329,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:57:16] local.INFO: Acknowledgment sent {"connection_id":56329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:57:47] local.INFO: TCP Data received {"connection_id":56329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28c47b0012d1968c0071fec600039010c28..."} 
[2026-04-28 10:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28c47b0012d1968c0071fec600039010c28..."} 
[2026-04-28 10:57:47] local.INFO: Processing buffer {"connection_id":56329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28c47b0012d1968c0071fec600039010c28..."} 
[2026-04-28 10:57:47] local.INFO: Packet analysis {"connection_id":56329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:57:47] local.INFO: Extracted packet for processing {"connection_id":56329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002593536001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777353902000,"timestamp_ms":1777353902000,"timestamp_seconds":1777353902,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28c47b0"} 
[2026-04-28 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-04-28 10:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 10:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002593536001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002593536001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:57:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002593536001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":56329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:57:47] local.INFO: GPS data processed {"connection_id":56329,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:57:47] local.INFO: Acknowledgment sent {"connection_id":56329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:57:55] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:55] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:55] local.INFO: IMEI packet received {"connection_id":56553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":56553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:57:59] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:59] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:57:59] local.INFO: IMEI packet received {"connection_id":56553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:58:01] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:58:01] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28a3858012d7fa44005afde68000901122b..."} 
[2026-04-28 10:58:01] local.INFO: Packet analysis {"connection_id":56553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:58:01] local.INFO: Extracted packet for processing {"connection_id":56553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28a"} 
[2026-04-28 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002487296001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777353767000,"timestamp_ms":1777353767000,"timestamp_seconds":1777353767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28a3858"} 
[2026-04-28 10:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002487296001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002487296001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002487296001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:58:01] local.INFO: GPS data processed {"connection_id":56553,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:58:01] local.INFO: Acknowledgment sent {"connection_id":56553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:58:14] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:58:14] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:58:14] local.INFO: IMEI packet received {"connection_id":56331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":56331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:58:32] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:58:32] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:58:32] local.INFO: Packet analysis {"connection_id":56553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:58:32] local.INFO: Extracted packet for processing {"connection_id":56553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 10:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:58:32] local.INFO: GPS data processed {"connection_id":56553,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:58:32] local.INFO: Acknowledgment sent {"connection_id":56553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:58:37] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:58:37] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 10:58:37] local.INFO: IMEI packet received {"connection_id":56331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":56331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:58:38] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28c99b8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28c99b8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:58:38] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 10:58:38] local.INFO: IMEI packet received {"connection_id":56331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":56331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:58:38] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28cebc0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28cebc0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:58:39] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd28c99b8012d1968c0071fec600039010c26..."} 
[2026-04-28 10:58:39] local.INFO: Packet analysis {"connection_id":56331,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:58:39] local.INFO: Extracted packet for processing {"connection_id":56331,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002598912001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777353923000,"timestamp_ms":1777353923000,"timestamp_seconds":1777353923,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28c99b8"} 
[2026-04-28 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:58:39] 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-04-28 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:58:39] 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-04-28 10:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002598912001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002598912001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002598912001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":56331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:58:39] local.INFO: GPS data processed {"connection_id":56331,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:58:39] local.INFO: Acknowledgment sent {"connection_id":56331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:58:39] local.INFO: Packet analysis {"connection_id":56331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:58:39] local.INFO: Extracted packet for processing {"connection_id":56331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28c"} 
[2026-04-28 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002604288001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777353944000,"timestamp_ms":1777353944000,"timestamp_seconds":1777353944,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28cebc0"} 
[2026-04-28 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:58:39] 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-04-28 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 10:58:39] 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-04-28 10:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002604288001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002604288001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002604288001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":56331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:58:39] local.INFO: GPS data processed {"connection_id":56331,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:58:39] local.INFO: Acknowledgment sent {"connection_id":56331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:58:44] local.INFO: TCP Data received {"connection_id":56331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28d3dc8012d1968c0071fec600039010c28..."} 
[2026-04-28 10:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28d3dc8012d1968c0071fec600039010c28..."} 
[2026-04-28 10:58:44] local.INFO: Processing buffer {"connection_id":56331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28d3dc8012d1968c0071fec600039010c28..."} 
[2026-04-28 10:58:44] local.INFO: Packet analysis {"connection_id":56331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:58:44] local.INFO: Extracted packet for processing {"connection_id":56331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002609664001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777353965000,"timestamp_ms":1777353965000,"timestamp_seconds":1777353965,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28d3dc8"} 
[2026-04-28 10:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:58:44] 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-04-28 10: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-04-28 10:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002609664001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002609664001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:58:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002609664001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":56331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:58:44] local.INFO: GPS data processed {"connection_id":56331,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:58:44] local.INFO: Acknowledgment sent {"connection_id":56331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:58:53] local.INFO: TCP Data received {"connection_id":57227,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:53] local.INFO: Processing buffer {"connection_id":57227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:53] local.INFO: IMEI packet received {"connection_id":57227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":57227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:58:59] local.INFO: TCP Data received {"connection_id":57227,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:59] local.INFO: Processing buffer {"connection_id":57227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:58:59] local.INFO: IMEI packet received {"connection_id":57227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":57227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:59:00] local.INFO: TCP Data received {"connection_id":57226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:00] local.INFO: Processing buffer {"connection_id":57226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:00] local.INFO: IMEI packet received {"connection_id":57226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":57226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:59:01] local.INFO: TCP Data received {"connection_id":57227,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:01] local.INFO: Processing buffer {"connection_id":57227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:01] local.INFO: Packet analysis {"connection_id":57227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:59:01] local.INFO: Extracted packet for processing {"connection_id":57227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 10:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:59:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":57227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:59:01] local.INFO: GPS data processed {"connection_id":57227,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:59:01] local.INFO: Acknowledgment sent {"connection_id":57227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:59:14] local.INFO: TCP Data received {"connection_id":57228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:14] local.INFO: Processing buffer {"connection_id":57228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:14] local.INFO: IMEI packet received {"connection_id":57228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":57228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:59:19] local.INFO: TCP Data received {"connection_id":57228,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:19] local.INFO: Processing buffer {"connection_id":57228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 10:59:19] local.INFO: IMEI packet received {"connection_id":57228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":57228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 10:59:20] local.INFO: TCP Data received {"connection_id":57228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28d8fd0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28d8fd0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:59:20] local.INFO: Processing buffer {"connection_id":57228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28d8fd0012d1968c0071fec600039010c27..."} 
[2026-04-28 10:59:20] local.INFO: Packet analysis {"connection_id":57228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:59:20] local.INFO: Extracted packet for processing {"connection_id":57228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 10: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-04-28 10:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002615040001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777353986000,"timestamp_ms":1777353986000,"timestamp_seconds":1777353986,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28d8fd0"} 
[2026-04-28 10:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 10:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10: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-04-28 10:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002615040001,"66":12439,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002615040001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:59:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002615040001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":57228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:59:20] local.INFO: GPS data processed {"connection_id":57228,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:59:20] local.INFO: Acknowledgment sent {"connection_id":57228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:59:33] local.INFO: TCP Data received {"connection_id":57227,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:33] local.INFO: Processing buffer {"connection_id":57227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 10:59:33] local.INFO: Packet analysis {"connection_id":57227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:59:33] local.INFO: Extracted packet for processing {"connection_id":57227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 10:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 10:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 10:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 10:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":57227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:59:33] local.INFO: GPS data processed {"connection_id":57227,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:59:33] local.INFO: Acknowledgment sent {"connection_id":57227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:59:34] local.INFO: TCP Data received {"connection_id":56554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:34] local.INFO: Processing buffer {"connection_id":56554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 10:59:34] local.INFO: IMEI packet received {"connection_id":56554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 10:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":56554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:59:52] local.INFO: TCP Data received {"connection_id":57228,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28de1d8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28de1d8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:59:52] local.INFO: Processing buffer {"connection_id":57228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28de1d8012d1968c0071fec600039010c25..."} 
[2026-04-28 10:59:52] local.INFO: Packet analysis {"connection_id":57228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:59:52] local.INFO: Extracted packet for processing {"connection_id":57228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28d"} 
[2026-04-28 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 10:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002620416001,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 10:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 10:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777354007000,"timestamp_ms":1777354007000,"timestamp_seconds":1777354007,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28de1d8"} 
[2026-04-28 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-04-28 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 10:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 10:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 10:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 10:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 10:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 10:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 10:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 10:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002620416001,"66":11863,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 10:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 10:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 10:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002620416001,"description":"Unknown IO ID 0"} 
[2026-04-28 10:59:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 10:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 10:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 10:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 10:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002620416001,"power":11863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 10:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":57228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 10:59:53] local.INFO: GPS data processed {"connection_id":57228,"processed":1,"errors":0,"total":1} 
[2026-04-28 10:59:53] local.INFO: Acknowledgment sent {"connection_id":57228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 10:59:54] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:54] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:54] local.INFO: IMEI packet received {"connection_id":56555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 10:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":56555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 10:59:59] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:59] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 10:59:59] local.INFO: IMEI packet received {"connection_id":56555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:00:00] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:00] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:00] local.INFO: Packet analysis {"connection_id":56555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:00] local.INFO: Extracted packet for processing {"connection_id":56555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:00:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:00:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":56555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:00:00] local.INFO: GPS data processed {"connection_id":56555,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:00:00] local.INFO: Acknowledgment sent {"connection_id":56555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:00:13] local.INFO: TCP Data received {"connection_id":57229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:13] local.INFO: Processing buffer {"connection_id":57229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:13] local.INFO: IMEI packet received {"connection_id":57229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":57229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:00:15] local.INFO: TCP Data received {"connection_id":57229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:15] local.INFO: Processing buffer {"connection_id":57229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:15] local.INFO: IMEI packet received {"connection_id":57229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":57229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:00:19] local.INFO: TCP Data received {"connection_id":57229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:19] local.INFO: Processing buffer {"connection_id":57229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:00:19] local.INFO: IMEI packet received {"connection_id":57229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":57229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:00:22] local.INFO: TCP Data received {"connection_id":57229,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28e33e0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28e33e0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:00:22] local.INFO: Processing buffer {"connection_id":57229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28e33e0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:00:22] local.INFO: Packet analysis {"connection_id":57229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:22] local.INFO: Extracted packet for processing {"connection_id":57229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002625792001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777354028000,"timestamp_ms":1777354028000,"timestamp_seconds":1777354028,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28e33e0"} 
[2026-04-28 11:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:00:22] 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-04-28 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-28 11:00:22] 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-04-28 11:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002625792001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002625792001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:00:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002625792001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":57229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:00:22] local.INFO: GPS data processed {"connection_id":57229,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:00:22] local.INFO: Acknowledgment sent {"connection_id":57229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:00:32] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:32] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:00:32] local.INFO: Packet analysis {"connection_id":56555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:32] local.INFO: Extracted packet for processing {"connection_id":56555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:00:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":56555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:00:32] local.INFO: GPS data processed {"connection_id":56555,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:00:32] local.INFO: Acknowledgment sent {"connection_id":56555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:00:59] local.INFO: TCP Data received {"connection_id":57230,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:00:59] local.INFO: Processing buffer {"connection_id":57230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:00:59] local.INFO: IMEI packet received {"connection_id":57230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":57230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:01:04] local.INFO: TCP Data received {"connection_id":57230,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:04] local.INFO: Processing buffer {"connection_id":57230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:04] local.INFO: IMEI packet received {"connection_id":57230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":57230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:01:05] local.INFO: TCP Data received {"connection_id":57230,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:05] local.INFO: Processing buffer {"connection_id":57230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:05] local.INFO: Packet analysis {"connection_id":57230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:05] local.INFO: Extracted packet for processing {"connection_id":57230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:01:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:01:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":57230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:01:05] local.INFO: GPS data processed {"connection_id":57230,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:01:05] local.INFO: Acknowledgment sent {"connection_id":57230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:01:09] local.INFO: TCP Data received {"connection_id":57230,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:09] local.INFO: Processing buffer {"connection_id":57230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:01:09] local.INFO: Packet analysis {"connection_id":57230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:09] local.INFO: Extracted packet for processing {"connection_id":57230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:01:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:01:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":57230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:01:09] local.INFO: GPS data processed {"connection_id":57230,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:01:09] local.INFO: Acknowledgment sent {"connection_id":57230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:01:11] local.INFO: TCP Data received {"connection_id":57231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:11] local.INFO: Processing buffer {"connection_id":57231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:11] local.INFO: IMEI packet received {"connection_id":57231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":57231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:01:16] local.INFO: TCP Data received {"connection_id":57231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:16] local.INFO: Processing buffer {"connection_id":57231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:01:16] local.INFO: IMEI packet received {"connection_id":57231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":57231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:01:19] local.INFO: TCP Data received {"connection_id":57231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28e85e8012d1968c0071fec600039010c26..."} 
[2026-04-28 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28e85e8012d1968c0071fec600039010c26..."} 
[2026-04-28 11:01:19] local.INFO: Processing buffer {"connection_id":57231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28e85e8012d1968c0071fec600039010c26..."} 
[2026-04-28 11:01:19] local.INFO: Packet analysis {"connection_id":57231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:19] local.INFO: Extracted packet for processing {"connection_id":57231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002631168001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777354049000,"timestamp_ms":1777354049000,"timestamp_seconds":1777354049,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28e85e8"} 
[2026-04-28 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-04-28 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:01: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-04-28 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-04-28 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-04-28 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002631168001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002631168001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:01:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002631168001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":57231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:01:19] local.INFO: GPS data processed {"connection_id":57231,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:01:19] local.INFO: Acknowledgment sent {"connection_id":57231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:01:50] local.INFO: TCP Data received {"connection_id":57231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed7f0012d1968c0071fec600039010c27..."} 
[2026-04-28 11:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed7f0012d1968c0071fec600039010c27..."} 
[2026-04-28 11:01:50] local.INFO: Processing buffer {"connection_id":57231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed7f0012d1968c0071fec600039010c27..."} 
[2026-04-28 11:01:50] local.INFO: Packet analysis {"connection_id":57231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:50] local.INFO: Extracted packet for processing {"connection_id":57231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002636544001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:01:50] 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-04-28 11:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777354070000,"timestamp_ms":1777354070000,"timestamp_seconds":1777354070,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed7f0"} 
[2026-04-28 11:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:01:50] 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-04-28 11:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002636544001,"66":12439,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002636544001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:01:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002636544001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":57231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:01:50] local.INFO: GPS data processed {"connection_id":57231,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:01:50] local.INFO: Acknowledgment sent {"connection_id":57231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:01:54] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:54] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:54] local.INFO: IMEI packet received {"connection_id":56557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":56557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:01:59] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:59] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:01:59] local.INFO: IMEI packet received {"connection_id":56557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":56557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:02:00] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:00] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:00] local.INFO: Packet analysis {"connection_id":56557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:02:00] local.INFO: Extracted packet for processing {"connection_id":56557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":56557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:02:00] local.INFO: GPS data processed {"connection_id":56557,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:02:00] local.INFO: Acknowledgment sent {"connection_id":56557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:02:15] local.INFO: TCP Data received {"connection_id":56332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:15] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:15] local.INFO: IMEI packet received {"connection_id":56332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":56332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:02:20] local.INFO: TCP Data received {"connection_id":56332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:20] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:02:20] local.INFO: IMEI packet received {"connection_id":56332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":56332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:02:20] local.INFO: TCP Data received {"connection_id":56332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28f29f8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28f29f8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:02:20] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28f29f8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:02:20] local.INFO: Packet analysis {"connection_id":56332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:02:20] local.INFO: Extracted packet for processing {"connection_id":56332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641920001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777354091000,"timestamp_ms":1777354091000,"timestamp_seconds":1777354091,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28f29f8"} 
[2026-04-28 11:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:02:20] 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-04-28 11:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641920001,"66":12439,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641920001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:02:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641920001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":56332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:02:21] local.INFO: GPS data processed {"connection_id":56332,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:02:21] local.INFO: Acknowledgment sent {"connection_id":56332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:02:21] local.INFO: TCP Data received {"connection_id":56332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28f7c00012d1968c0071fec600039010c26..."} 
[2026-04-28 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28f7c00012d1968c0071fec600039010c26..."} 
[2026-04-28 11:02:21] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28f7c00012d1968c0071fec600039010c26..."} 
[2026-04-28 11:02:21] local.INFO: Packet analysis {"connection_id":56332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:02:21] local.INFO: Extracted packet for processing {"connection_id":56332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002647296001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:21] 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-04-28 11:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777354112000,"timestamp_ms":1777354112000,"timestamp_seconds":1777354112,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28f7c00"} 
[2026-04-28 11:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:02:21] 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-04-28 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:02:21] 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-04-28 11: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-04-28 11:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002647296001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002647296001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:02:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002647296001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":56332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:02:21] local.INFO: GPS data processed {"connection_id":56332,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:02:21] local.INFO: Acknowledgment sent {"connection_id":56332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:02:32] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:32] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:02:32] local.INFO: Packet analysis {"connection_id":56557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:02:32] local.INFO: Extracted packet for processing {"connection_id":56557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":56557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:02:32] local.INFO: GPS data processed {"connection_id":56557,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:02:32] local.INFO: Acknowledgment sent {"connection_id":56557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:02:53] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:53] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:53] local.INFO: IMEI packet received {"connection_id":56333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":56333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:02:59] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:59] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:02:59] local.INFO: IMEI packet received {"connection_id":56333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:03:00] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:03:00] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28ed020012d7fa44005afde68000901122c..."} 
[2026-04-28 11:03:00] local.INFO: Packet analysis {"connection_id":56333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:03:00] local.INFO: Extracted packet for processing {"connection_id":56333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28e"} 
[2026-04-28 11:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002564352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354068000,"timestamp_ms":1777354068000,"timestamp_seconds":1777354068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28ed020"} 
[2026-04-28 11:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002564352001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002564352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:03:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:03:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002564352001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":56333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:03:00] local.INFO: GPS data processed {"connection_id":56333,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:03:00] local.INFO: Acknowledgment sent {"connection_id":56333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:03:07] local.INFO: TCP Data received {"connection_id":56332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd28fce08012d1968c0071fec600039010c25..."} 
[2026-04-28 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd28fce08012d1968c0071fec600039010c25..."} 
[2026-04-28 11:03:07] local.INFO: Processing buffer {"connection_id":56332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd28fce08012d1968c0071fec600039010c25..."} 
[2026-04-28 11:03:07] local.INFO: Packet analysis {"connection_id":56332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:03:07] local.INFO: Extracted packet for processing {"connection_id":56332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd28f"} 
[2026-04-28 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002652672001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777354133000,"timestamp_ms":1777354133000,"timestamp_seconds":1777354133,"priority":1,"record_length":96,"hex_timestamp":"0000019dd28fce08"} 
[2026-04-28 11:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002652672001,"66":12428,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002652672001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:03:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002652672001,"power":12428,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":56332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:03:07] local.INFO: GPS data processed {"connection_id":56332,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:03:07] local.INFO: Acknowledgment sent {"connection_id":56332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:03:10] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:10] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:10] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:03:14] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:14] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:03:14] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:03:15] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2902010012d1968c0071fec600039010c24..."} 
[2026-04-28 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2902010012d1968c0071fec600039010c24..."} 
[2026-04-28 11:03:15] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2902010012d1968c0071fec600039010c24..."} 
[2026-04-28 11:03:15] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:03:15] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002658048001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777354154000,"timestamp_ms":1777354154000,"timestamp_seconds":1777354154,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2902010"} 
[2026-04-28 11:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:03:15] 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-04-28 11:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002658048001,"66":12406,"85":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-28 11:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002658048001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-28 11:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002658048001,"power":12406,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:03:15] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:03:15] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:03:32] local.INFO: TCP Data received {"connection_id":56333,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:03:32] local.INFO: Processing buffer {"connection_id":56333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:03:32] local.INFO: Packet analysis {"connection_id":56333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:03:32] local.INFO: Extracted packet for processing {"connection_id":56333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:03:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":56333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:03:32] local.INFO: GPS data processed {"connection_id":56333,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:03:32] local.INFO: Acknowledgment sent {"connection_id":56333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:03:46] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2907218012d1968c0071fec600039010c22..."} 
[2026-04-28 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2907218012d1968c0071fec600039010c22..."} 
[2026-04-28 11:03:46] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2907218012d1968c0071fec600039010c22..."} 
[2026-04-28 11:03:46] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:03:46] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002663424001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777354175000,"timestamp_ms":1777354175000,"timestamp_seconds":1777354175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2907218"} 
[2026-04-28 11:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002663424001,"66":12385,"19":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-28 11:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002663424001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:03:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-28 11:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002663424001,"power":12385,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:03:46] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:03:46] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:03:59] local.INFO: TCP Data received {"connection_id":56560,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:03:59] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:03:59] local.INFO: IMEI packet received {"connection_id":56560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:04:04] local.INFO: TCP Data received {"connection_id":56560,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:04] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:04] local.INFO: IMEI packet received {"connection_id":56560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":56560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:04:05] local.INFO: TCP Data received {"connection_id":56560,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:05] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:05] local.INFO: Packet analysis {"connection_id":56560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:04:05] local.INFO: Extracted packet for processing {"connection_id":56560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:04:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":56560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:04:05] local.INFO: GPS data processed {"connection_id":56560,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:04:05] local.INFO: Acknowledgment sent {"connection_id":56560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:04:09] local.INFO: TCP Data received {"connection_id":57232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:09] local.INFO: Processing buffer {"connection_id":57232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:09] local.INFO: IMEI packet received {"connection_id":57232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":57232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:04:15] local.INFO: TCP Data received {"connection_id":57232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:15] local.INFO: Processing buffer {"connection_id":57232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:04:15] local.INFO: IMEI packet received {"connection_id":57232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":57232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:04:15] local.INFO: TCP Data received {"connection_id":57232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd290c420012d1968c0071fec600039010c21..."} 
[2026-04-28 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd290c420012d1968c0071fec600039010c21..."} 
[2026-04-28 11:04:15] local.INFO: Processing buffer {"connection_id":57232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd290c420012d1968c0071fec600039010c21..."} 
[2026-04-28 11:04:15] local.INFO: Packet analysis {"connection_id":57232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:04:15] local.INFO: Extracted packet for processing {"connection_id":57232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd290"} 
[2026-04-28 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002668800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777354196000,"timestamp_ms":1777354196000,"timestamp_seconds":1777354196,"priority":1,"record_length":96,"hex_timestamp":"0000019dd290c420"} 
[2026-04-28 11:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002668800001,"66":12428,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002668800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:04:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002668800001,"power":12428,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":57232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:04:15] local.INFO: GPS data processed {"connection_id":57232,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:04:15] local.INFO: Acknowledgment sent {"connection_id":57232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:04:37] local.INFO: TCP Data received {"connection_id":56560,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:37] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:04:37] local.INFO: Packet analysis {"connection_id":56560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:04:37] local.INFO: Extracted packet for processing {"connection_id":56560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":56560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:04:37] local.INFO: GPS data processed {"connection_id":56560,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:04:37] local.INFO: Acknowledgment sent {"connection_id":56560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:04:46] local.INFO: TCP Data received {"connection_id":57232,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2911628012d1968c0071fec600039010c22..."} 
[2026-04-28 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2911628012d1968c0071fec600039010c22..."} 
[2026-04-28 11:04:46] local.INFO: Processing buffer {"connection_id":57232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2911628012d1968c0071fec600039010c22..."} 
[2026-04-28 11:04:46] local.INFO: Packet analysis {"connection_id":57232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:04:46] local.INFO: Extracted packet for processing {"connection_id":57232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002674176001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777354217000,"timestamp_ms":1777354217000,"timestamp_seconds":1777354217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2911628"} 
[2026-04-28 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-04-28 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002674176001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002674176001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:04:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002674176001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":57232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:04:46] local.INFO: GPS data processed {"connection_id":57232,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:04:46] local.INFO: Acknowledgment sent {"connection_id":57232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:04:54] local.INFO: TCP Data received {"connection_id":56334,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:54] local.INFO: Processing buffer {"connection_id":56334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:54] local.INFO: IMEI packet received {"connection_id":56334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":56334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:04:59] local.INFO: TCP Data received {"connection_id":56334,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:59] local.INFO: Processing buffer {"connection_id":56334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:04:59] local.INFO: IMEI packet received {"connection_id":56334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:05:00] local.INFO: TCP Data received {"connection_id":56509,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:00] local.INFO: Processing buffer {"connection_id":56509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:00] local.INFO: IMEI packet received {"connection_id":56509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":56509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:05:01] local.INFO: TCP Data received {"connection_id":56334,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:01] local.INFO: Processing buffer {"connection_id":56334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:01] local.INFO: Packet analysis {"connection_id":56334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:05:01] local.INFO: Extracted packet for processing {"connection_id":56334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:05:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:05:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":56334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:05:01] local.INFO: GPS data processed {"connection_id":56334,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:05:01] local.INFO: Acknowledgment sent {"connection_id":56334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:05:11] local.INFO: TCP Data received {"connection_id":56561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:11] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:11] local.INFO: IMEI packet received {"connection_id":56561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":56561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:05:14] local.INFO: TCP Data received {"connection_id":56561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:14] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:05:14] local.INFO: IMEI packet received {"connection_id":56561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":56561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:05:15] local.INFO: TCP Data received {"connection_id":56561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2916830012d1968c0071fec600039010c22..."} 
[2026-04-28 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2916830012d1968c0071fec600039010c22..."} 
[2026-04-28 11:05:15] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2916830012d1968c0071fec600039010c22..."} 
[2026-04-28 11:05:15] local.INFO: Packet analysis {"connection_id":56561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:05:15] local.INFO: Extracted packet for processing {"connection_id":56561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002679552001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777354238000,"timestamp_ms":1777354238000,"timestamp_seconds":1777354238,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2916830"} 
[2026-04-28 11:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002679552001,"66":12461,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002679552001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:05:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002679552001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":56561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:05:15] local.INFO: GPS data processed {"connection_id":56561,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:05:15] local.INFO: Acknowledgment sent {"connection_id":56561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:05:33] local.INFO: TCP Data received {"connection_id":56334,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:33] local.INFO: Processing buffer {"connection_id":56334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:05:33] local.INFO: Packet analysis {"connection_id":56334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:05:33] local.INFO: Extracted packet for processing {"connection_id":56334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:05:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":56334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:05:33] local.INFO: GPS data processed {"connection_id":56334,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:05:33] local.INFO: Acknowledgment sent {"connection_id":56334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:05:34] local.INFO: TCP Data received {"connection_id":56510,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:34] local.INFO: Processing buffer {"connection_id":56510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:05:34] local.INFO: IMEI packet received {"connection_id":56510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":56510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:05:51] local.INFO: TCP Data received {"connection_id":56561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd291ba38012d1968c0071fec600039010c20..."} 
[2026-04-28 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd291ba38012d1968c0071fec600039010c20..."} 
[2026-04-28 11:05:51] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd291ba38012d1968c0071fec600039010c20..."} 
[2026-04-28 11:05:51] local.INFO: Packet analysis {"connection_id":56561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:05:51] local.INFO: Extracted packet for processing {"connection_id":56561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd291"} 
[2026-04-28 11:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002684928001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777354259000,"timestamp_ms":1777354259000,"timestamp_seconds":1777354259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd291ba38"} 
[2026-04-28 11:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002684928001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002684928001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:05:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002684928001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":56561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:05:51] local.INFO: GPS data processed {"connection_id":56561,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:05:51] local.INFO: Acknowledgment sent {"connection_id":56561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:05:53] local.INFO: TCP Data received {"connection_id":57233,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:53] local.INFO: Processing buffer {"connection_id":57233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:53] local.INFO: IMEI packet received {"connection_id":57233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":57233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:05:59] local.INFO: TCP Data received {"connection_id":57233,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:59] local.INFO: Processing buffer {"connection_id":57233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:05:59] local.INFO: IMEI packet received {"connection_id":57233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":57233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:06:00] local.INFO: TCP Data received {"connection_id":57233,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:00] local.INFO: Processing buffer {"connection_id":57233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:00] local.INFO: Packet analysis {"connection_id":57233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:06:00] local.INFO: Extracted packet for processing {"connection_id":57233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:06:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:06:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":57233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:06:00] local.INFO: GPS data processed {"connection_id":57233,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:06:00] local.INFO: Acknowledgment sent {"connection_id":57233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:06:09] local.INFO: TCP Data received {"connection_id":56562,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:09] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:09] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:06:10] local.INFO: TCP Data received {"connection_id":56562,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:10] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:10] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:06:22] local.INFO: TCP Data received {"connection_id":56562,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:22] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:06:22] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:06:24] local.INFO: TCP Data received {"connection_id":56562,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2954090012d1968c0071fec600039010c24..."} 
[2026-04-28 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2954090012d1968c0071fec600039010c24..."} 
[2026-04-28 11:06:24] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2954090012d1968c0071fec600039010c24..."} 
[2026-04-28 11:06:24] local.INFO: Packet analysis {"connection_id":56562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:06:24] local.INFO: Extracted packet for processing {"connection_id":56562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002744064001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777354490000,"timestamp_ms":1777354490000,"timestamp_seconds":1777354490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2954090"} 
[2026-04-28 11:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:06:24] 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-04-28 11:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002744064001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002744064001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:06:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002744064001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":56562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:06:24] local.INFO: GPS data processed {"connection_id":56562,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:06:24] local.INFO: Acknowledgment sent {"connection_id":56562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:06:32] local.INFO: TCP Data received {"connection_id":57233,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:32] local.INFO: Processing buffer {"connection_id":57233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:06:32] local.INFO: Packet analysis {"connection_id":57233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:06:32] local.INFO: Extracted packet for processing {"connection_id":57233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":57233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:06:32] local.INFO: GPS data processed {"connection_id":57233,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:06:32] local.INFO: Acknowledgment sent {"connection_id":57233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:06:59] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:06:59] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:06:59] local.INFO: IMEI packet received {"connection_id":56512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:07:04] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:04] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:04] local.INFO: IMEI packet received {"connection_id":56512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:07:05] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:05] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:05] local.INFO: Packet analysis {"connection_id":56512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:07:05] local.INFO: Extracted packet for processing {"connection_id":56512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":56512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:07:05] local.INFO: GPS data processed {"connection_id":56512,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:07:05] local.INFO: Acknowledgment sent {"connection_id":56512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:07:09] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:09] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:07:09] local.INFO: Packet analysis {"connection_id":56512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:07:09] local.INFO: Extracted packet for processing {"connection_id":56512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":56512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:07:09] local.INFO: GPS data processed {"connection_id":56512,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:07:09] local.INFO: Acknowledgment sent {"connection_id":56512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:07:20] local.INFO: TCP Data received {"connection_id":56513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:20] local.INFO: Processing buffer {"connection_id":56513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:20] local.INFO: IMEI packet received {"connection_id":56513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":56513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:07:24] local.INFO: TCP Data received {"connection_id":56513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:24] local.INFO: Processing buffer {"connection_id":56513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:07:24] local.INFO: IMEI packet received {"connection_id":56513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":56513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:07:25] local.INFO: TCP Data received {"connection_id":56513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2959298012d1968c0071fec600039010c24..."} 
[2026-04-28 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2959298012d1968c0071fec600039010c24..."} 
[2026-04-28 11:07:25] local.INFO: Processing buffer {"connection_id":56513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2959298012d1968c0071fec600039010c24..."} 
[2026-04-28 11:07:25] local.INFO: Packet analysis {"connection_id":56513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:07:25] local.INFO: Extracted packet for processing {"connection_id":56513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002749440001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777354511000,"timestamp_ms":1777354511000,"timestamp_seconds":1777354511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2959298"} 
[2026-04-28 11:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:07:25] 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-04-28 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:07:25] 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-04-28 11: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-04-28 11:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002749440001,"66":12385,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002749440001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:07:25] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002749440001,"power":12385,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":56513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:07:25] local.INFO: GPS data processed {"connection_id":56513,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:07:25] local.INFO: Acknowledgment sent {"connection_id":56513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:07:55] local.INFO: TCP Data received {"connection_id":57234,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:55] local.INFO: Processing buffer {"connection_id":57234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:55] local.INFO: IMEI packet received {"connection_id":57234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":57234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:07:59] local.INFO: TCP Data received {"connection_id":57234,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:59] local.INFO: Processing buffer {"connection_id":57234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:07:59] local.INFO: IMEI packet received {"connection_id":57234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":57234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:08:00] local.INFO: TCP Data received {"connection_id":57234,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:08:00] local.INFO: Processing buffer {"connection_id":57234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29367e8012d7fa44005afde680009011228..."} 
[2026-04-28 11:08:00] local.INFO: Packet analysis {"connection_id":57234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:08:00] local.INFO: Extracted packet for processing {"connection_id":57234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd293"} 
[2026-04-28 11:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002641408001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354369000,"timestamp_ms":1777354369000,"timestamp_seconds":1777354369,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29367e8"} 
[2026-04-28 11:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002641408001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002641408001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:08:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:08:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002641408001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":57234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:08:00] local.INFO: GPS data processed {"connection_id":57234,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:08:00] local.INFO: Acknowledgment sent {"connection_id":57234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:08:09] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:09] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:09] local.INFO: IMEI packet received {"connection_id":56336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":56336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:08:14] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:14] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:08:14] local.INFO: IMEI packet received {"connection_id":56336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":56336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:08:16] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd295e4a0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd295e4a0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:08:16] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd295e4a0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:08:16] local.INFO: Packet analysis {"connection_id":56336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:08:16] local.INFO: Extracted packet for processing {"connection_id":56336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd295"} 
[2026-04-28 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002754816001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777354532000,"timestamp_ms":1777354532000,"timestamp_seconds":1777354532,"priority":1,"record_length":96,"hex_timestamp":"0000019dd295e4a0"} 
[2026-04-28 11:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:08:16] 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-04-28 11:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002754816001,"66":12406,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002754816001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:08:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002754816001,"power":12406,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":56336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:08:16] local.INFO: GPS data processed {"connection_id":56336,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:08:16] local.INFO: Acknowledgment sent {"connection_id":56336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:08:32] local.INFO: TCP Data received {"connection_id":57234,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:08:32] local.INFO: Processing buffer {"connection_id":57234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:08:32] local.INFO: Packet analysis {"connection_id":57234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:08:32] local.INFO: Extracted packet for processing {"connection_id":57234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:08:32] 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-04-28 11:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":57234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:08:32] local.INFO: GPS data processed {"connection_id":57234,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:08:32] local.INFO: Acknowledgment sent {"connection_id":57234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:08:47] local.INFO: TCP Data received {"connection_id":56336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29636a8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29636a8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:08:47] local.INFO: Processing buffer {"connection_id":56336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29636a8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:08:47] local.INFO: Packet analysis {"connection_id":56336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:08:47] local.INFO: Extracted packet for processing {"connection_id":56336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002760192001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777354553000,"timestamp_ms":1777354553000,"timestamp_seconds":1777354553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29636a8"} 
[2026-04-28 11:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:08: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-04-28 11:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:08:47] 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-04-28 11:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:08:47] 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-04-28 11:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002760192001,"66":12461,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002760192001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:08:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002760192001,"power":12461,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":56336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:08:47] local.INFO: GPS data processed {"connection_id":56336,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:08:47] local.INFO: Acknowledgment sent {"connection_id":56336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:08:54] local.INFO: TCP Data received {"connection_id":57235,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:54] local.INFO: Processing buffer {"connection_id":57235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:54] local.INFO: IMEI packet received {"connection_id":57235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":57235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:08:59] local.INFO: TCP Data received {"connection_id":57235,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:59] local.INFO: Processing buffer {"connection_id":57235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:08:59] local.INFO: IMEI packet received {"connection_id":57235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":57235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:09:00] local.INFO: TCP Data received {"connection_id":57235,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:00] local.INFO: Processing buffer {"connection_id":57235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:00] local.INFO: Packet analysis {"connection_id":57235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:09:00] local.INFO: Extracted packet for processing {"connection_id":57235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:09:00] 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-04-28 11:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:09:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:09:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":57235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:09:00] local.INFO: GPS data processed {"connection_id":57235,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:09:00] local.INFO: Acknowledgment sent {"connection_id":57235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:09:17] local.INFO: TCP Data received {"connection_id":56514,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:17] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:17] local.INFO: IMEI packet received {"connection_id":56514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":56514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:09:21] local.INFO: TCP Data received {"connection_id":56514,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:21] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:09:21] local.INFO: IMEI packet received {"connection_id":56514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":56514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:09:22] local.INFO: TCP Data received {"connection_id":56514,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29688b0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29688b0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:22] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29688b0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:22] local.INFO: Packet analysis {"connection_id":56514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:09:22] local.INFO: Extracted packet for processing {"connection_id":56514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002765568001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777354574000,"timestamp_ms":1777354574000,"timestamp_seconds":1777354574,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29688b0"} 
[2026-04-28 11:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:09: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-04-28 11:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:09:22] 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-04-28 11:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002765568001,"66":12428,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002765568001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:09:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002765568001,"power":12428,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":56514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:09:22] local.INFO: GPS data processed {"connection_id":56514,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:09:22] local.INFO: Acknowledgment sent {"connection_id":56514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:09:25] local.INFO: TCP Data received {"connection_id":56514,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd296dab8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd296dab8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:25] local.INFO: Processing buffer {"connection_id":56514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd296dab8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:09:25] local.INFO: Packet analysis {"connection_id":56514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:09:25] local.INFO: Extracted packet for processing {"connection_id":56514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002770944001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777354595000,"timestamp_ms":1777354595000,"timestamp_seconds":1777354595,"priority":1,"record_length":96,"hex_timestamp":"0000019dd296dab8"} 
[2026-04-28 11:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:09:25] 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-04-28 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:09:25] 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-04-28 11:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:09:25] 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-04-28 11:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002770944001,"66":12406,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002770944001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:09:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002770944001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":56514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:09:25] local.INFO: GPS data processed {"connection_id":56514,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:09:25] local.INFO: Acknowledgment sent {"connection_id":56514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:09:33] local.INFO: TCP Data received {"connection_id":57235,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:33] local.INFO: Processing buffer {"connection_id":57235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:09:33] local.INFO: Packet analysis {"connection_id":57235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:09:33] local.INFO: Extracted packet for processing {"connection_id":57235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":57235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:09:33] local.INFO: GPS data processed {"connection_id":57235,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:09:33] local.INFO: Acknowledgment sent {"connection_id":57235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:09:53] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:53] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:53] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:09:59] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:59] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:09:59] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:10:01] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:01] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:01] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:01] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:10:01] 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-04-28 11:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:10:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:10:01] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:10:01] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:10:09] local.INFO: TCP Data received {"connection_id":56339,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:09] local.INFO: Processing buffer {"connection_id":56339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:09] local.INFO: IMEI packet received {"connection_id":56339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":56339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:10:14] local.INFO: TCP Data received {"connection_id":56339,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:14] local.INFO: Processing buffer {"connection_id":56339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:10:14] local.INFO: IMEI packet received {"connection_id":56339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:10:15] local.INFO: TCP Data received {"connection_id":56339,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2972cc0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2972cc0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:10:15] local.INFO: Processing buffer {"connection_id":56339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2972cc0012d1968c0071fec600039010c23..."} 
[2026-04-28 11:10:15] local.INFO: Packet analysis {"connection_id":56339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:15] local.INFO: Extracted packet for processing {"connection_id":56339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002776320001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777354616000,"timestamp_ms":1777354616000,"timestamp_seconds":1777354616,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2972cc0"} 
[2026-04-28 11:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002776320001,"66":12439,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002776320001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:10:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002776320001,"power":12439,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":56339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:10:15] local.INFO: GPS data processed {"connection_id":56339,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:10:15] local.INFO: Acknowledgment sent {"connection_id":56339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:10:33] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:33] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:10:33] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:33] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:10:33] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:10:33] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:10:49] local.INFO: TCP Data received {"connection_id":56339,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2977ec8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2977ec8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:10:49] local.INFO: Processing buffer {"connection_id":56339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2977ec8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:10:49] local.INFO: Packet analysis {"connection_id":56339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:49] local.INFO: Extracted packet for processing {"connection_id":56339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002781696001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777354637000,"timestamp_ms":1777354637000,"timestamp_seconds":1777354637,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2977ec8"} 
[2026-04-28 11:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:10:49] 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-04-28 11: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-04-28 11:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:10:49] 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-04-28 11:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002781696001,"66":12428,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002781696001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:10:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002781696001,"power":12428,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":56339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:10:49] local.INFO: GPS data processed {"connection_id":56339,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:10:49] local.INFO: Acknowledgment sent {"connection_id":56339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:10:55] local.INFO: TCP Data received {"connection_id":57236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:10:55] local.INFO: Processing buffer {"connection_id":57236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:10:55] local.INFO: IMEI packet received {"connection_id":57236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":57236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:10:59] local.INFO: TCP Data received {"connection_id":56516,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:10:59] local.INFO: Processing buffer {"connection_id":56516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:10:59] local.INFO: IMEI packet received {"connection_id":56516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:11:04] local.INFO: TCP Data received {"connection_id":56516,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:04] local.INFO: Processing buffer {"connection_id":56516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:04] local.INFO: IMEI packet received {"connection_id":56516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":56516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:11:05] local.INFO: TCP Data received {"connection_id":56516,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:05] local.INFO: Processing buffer {"connection_id":56516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:05] local.INFO: Packet analysis {"connection_id":56516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:05] local.INFO: Extracted packet for processing {"connection_id":56516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:11:05] 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-04-28 11:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:11:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:11:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":56516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:11:05] local.INFO: GPS data processed {"connection_id":56516,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:11:05] local.INFO: Acknowledgment sent {"connection_id":56516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:11:09] local.INFO: TCP Data received {"connection_id":56516,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:09] local.INFO: Processing buffer {"connection_id":56516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:11:09] local.INFO: Packet analysis {"connection_id":56516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:09] local.INFO: Extracted packet for processing {"connection_id":56516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:11:09] 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-04-28 11:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:11:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:11:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":56516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:11:09] local.INFO: GPS data processed {"connection_id":56516,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:11:09] local.INFO: Acknowledgment sent {"connection_id":56516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:11:14] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:14] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:14] local.INFO: IMEI packet received {"connection_id":56563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":56563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:11:34] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:34] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:11:34] local.INFO: IMEI packet received {"connection_id":56563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":56563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:11:34] local.INFO: TCP Data received {"connection_id":57237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:11:34] local.INFO: Processing buffer {"connection_id":57237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:11:34] local.INFO: IMEI packet received {"connection_id":57237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":57237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:11:43] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297d0d0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297d0d0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:11:43] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297d0d0012d1968c0071fec600039010c24..."} 
[2026-04-28 11:11:43] local.INFO: Packet analysis {"connection_id":56563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:43] local.INFO: Extracted packet for processing {"connection_id":56563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002787072001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777354658000,"timestamp_ms":1777354658000,"timestamp_seconds":1777354658,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297d0d0"} 
[2026-04-28 11:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:11: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-04-28 11:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:11:43] 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-04-28 11:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002787072001,"66":12385,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002787072001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:11:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002787072001,"power":12385,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":56563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:11:43] local.INFO: GPS data processed {"connection_id":56563,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:11:43] local.INFO: Acknowledgment sent {"connection_id":56563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:11:44] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29822d8012d1968c0071fec600039010c25..."} 
[2026-04-28 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29822d8012d1968c0071fec600039010c25..."} 
[2026-04-28 11:11:44] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29822d8012d1968c0071fec600039010c25..."} 
[2026-04-28 11:11:44] local.INFO: Packet analysis {"connection_id":56563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:11:44] local.INFO: Extracted packet for processing {"connection_id":56563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002792448001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777354679000,"timestamp_ms":1777354679000,"timestamp_seconds":1777354679,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29822d8"} 
[2026-04-28 11:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:11:44] 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-04-28 11: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-04-28 11:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:11:44] 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-04-28 11:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002792448001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002792448001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:11:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002792448001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":56563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:11:44] local.INFO: GPS data processed {"connection_id":56563,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:11:44] local.INFO: Acknowledgment sent {"connection_id":56563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:11:54] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:54] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:54] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:11:59] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:59] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:11:59] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:12:00] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:00] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:00] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:12:00] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:12:00] 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-04-28 11:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:12:00] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:12:00] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:12:07] local.INFO: TCP Data received {"connection_id":57239,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:12:07] local.INFO: Processing buffer {"connection_id":57239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:12:07] local.INFO: IMEI packet received {"connection_id":57239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":57239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:12:28] local.INFO: TCP Data received {"connection_id":57239,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57239,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:12:28] local.INFO: Processing buffer {"connection_id":57239,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:12:28] local.INFO: IMEI packet received {"connection_id":57239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":57239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:12:34] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:34] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:12:34] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:12:34] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:12:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:12:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:12:34] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:12:34] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:12:45] local.INFO: TCP Data received {"connection_id":57239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29874e0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29874e0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:12:45] local.INFO: Processing buffer {"connection_id":57239,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 11:12:45] local.INFO: IMEI packet received {"connection_id":57239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":57239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:12:53] local.INFO: TCP Data received {"connection_id":56340,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:53] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:53] local.INFO: IMEI packet received {"connection_id":56340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":56340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:12:59] local.INFO: TCP Data received {"connection_id":56340,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:59] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:12:59] local.INFO: IMEI packet received {"connection_id":56340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:13:01] local.INFO: TCP Data received {"connection_id":56340,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:01] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd297ffb0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:01] local.INFO: Packet analysis {"connection_id":56340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:13:01] local.INFO: Extracted packet for processing {"connection_id":56340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd297"} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002718464001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354670000,"timestamp_ms":1777354670000,"timestamp_seconds":1777354670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd297ffb0"} 
[2026-04-28 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 11:13:01] 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-04-28 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002718464001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002718464001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002718464001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:01] local.INFO: GPS data processed {"connection_id":56340,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:01] local.INFO: Acknowledgment sent {"connection_id":56340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:01] local.INFO: TCP Data received {"connection_id":57239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd298c6e8012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd298c6e8012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:01] local.INFO: Processing buffer {"connection_id":57239,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd29874e0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:01] local.INFO: Packet analysis {"connection_id":57239,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:13:01] local.INFO: Extracted packet for processing {"connection_id":57239,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002797824001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13: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-04-28 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354700000,"timestamp_ms":1777354700000,"timestamp_seconds":1777354700,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29874e0"} 
[2026-04-28 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:13: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-04-28 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:01] 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-04-28 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002797824001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002797824001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002797824001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":57239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:01] local.INFO: GPS data processed {"connection_id":57239,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:01] local.INFO: Acknowledgment sent {"connection_id":57239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:01] local.INFO: Packet analysis {"connection_id":57239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:13:01] local.INFO: Extracted packet for processing {"connection_id":57239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd298"} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002803200001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13: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-04-28 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354721000,"timestamp_ms":1777354721000,"timestamp_seconds":1777354721,"priority":1,"record_length":96,"hex_timestamp":"0000019dd298c6e8"} 
[2026-04-28 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:01] 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-04-28 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002803200001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002803200001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002803200001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":57239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:01] local.INFO: GPS data processed {"connection_id":57239,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:01] local.INFO: Acknowledgment sent {"connection_id":57239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:17] local.INFO: TCP Data received {"connection_id":57241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:18] local.INFO: Processing buffer {"connection_id":57241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:18] local.INFO: IMEI packet received {"connection_id":57241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":57241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:13:29] local.INFO: TCP Data received {"connection_id":57241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:29] local.INFO: Processing buffer {"connection_id":57241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:13:29] local.INFO: IMEI packet received {"connection_id":57241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":57241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:13:30] local.INFO: TCP Data received {"connection_id":57241,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29918f0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29918f0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:30] local.INFO: Processing buffer {"connection_id":57241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29918f0012d1968c0071fec600039010c25..."} 
[2026-04-28 11:13:30] local.INFO: Packet analysis {"connection_id":57241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd299"} 
[2026-04-28 11:13:30] local.INFO: Extracted packet for processing {"connection_id":57241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd299"} 
[2026-04-28 11:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002808576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13: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-04-28 11:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777354742000,"timestamp_ms":1777354742000,"timestamp_seconds":1777354742,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29918f0"} 
[2026-04-28 11:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13: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-04-28 11:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:13: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-04-28 11:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:30] 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-04-28 11:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002808576001,"66":12439,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002808576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002808576001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":57241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:30] local.INFO: GPS data processed {"connection_id":57241,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:30] local.INFO: Acknowledgment sent {"connection_id":57241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:32] local.INFO: TCP Data received {"connection_id":57241,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2996af8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2996af8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:13:32] local.INFO: Processing buffer {"connection_id":57241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2996af8012d1968c0071fec600039010c24..."} 
[2026-04-28 11:13:32] local.INFO: Packet analysis {"connection_id":57241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd299"} 
[2026-04-28 11:13:32] local.INFO: Extracted packet for processing {"connection_id":57241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd299"} 
[2026-04-28 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:13: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-04-28 11:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002813952001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:32] 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-04-28 11:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777354763000,"timestamp_ms":1777354763000,"timestamp_seconds":1777354763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2996af8"} 
[2026-04-28 11:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13:32] 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-04-28 11:13: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":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:13:32] 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-04-28 11:13: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-04-28 11:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:13:32] 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-04-28 11:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002813952001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002813952001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002813952001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":57241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:32] local.INFO: GPS data processed {"connection_id":57241,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:32] local.INFO: Acknowledgment sent {"connection_id":57241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:33] local.INFO: TCP Data received {"connection_id":56340,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:33] local.INFO: Processing buffer {"connection_id":56340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:13:33] local.INFO: Packet analysis {"connection_id":56340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:13:33] local.INFO: Extracted packet for processing {"connection_id":56340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:13:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":56340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:13:33] local.INFO: GPS data processed {"connection_id":56340,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:13:33] local.INFO: Acknowledgment sent {"connection_id":56340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:13:59] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:13:59] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:13:59] local.INFO: IMEI packet received {"connection_id":56342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:14:04] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:04] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:04] local.INFO: IMEI packet received {"connection_id":56342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":56342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:14:06] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:06] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:06] local.INFO: Packet analysis {"connection_id":56342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:14:06] local.INFO: Extracted packet for processing {"connection_id":56342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:14: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-04-28 11:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:14:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":56342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:14:06] local.INFO: GPS data processed {"connection_id":56342,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:14:06] local.INFO: Acknowledgment sent {"connection_id":56342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:14:09] local.INFO: TCP Data received {"connection_id":56342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:09] local.INFO: Processing buffer {"connection_id":56342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:14:09] local.INFO: Packet analysis {"connection_id":56342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:14:09] local.INFO: Extracted packet for processing {"connection_id":56342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:14:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:14:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":56342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:14:09] local.INFO: GPS data processed {"connection_id":56342,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:14:09] local.INFO: Acknowledgment sent {"connection_id":56342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:14:13] local.INFO: TCP Data received {"connection_id":56564,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:13] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:13] local.INFO: IMEI packet received {"connection_id":56564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":56564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:14:40] local.INFO: TCP Data received {"connection_id":56564,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:40] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:14:40] local.INFO: IMEI packet received {"connection_id":56564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":56564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:14:53] local.INFO: TCP Data received {"connection_id":57243,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:53] local.INFO: Processing buffer {"connection_id":57243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:53] local.INFO: IMEI packet received {"connection_id":57243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":57243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:14:59] local.INFO: TCP Data received {"connection_id":57243,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:59] local.INFO: Processing buffer {"connection_id":57243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:14:59] local.INFO: IMEI packet received {"connection_id":57243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":57243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:15:01] local.INFO: TCP Data received {"connection_id":57243,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:01] local.INFO: Processing buffer {"connection_id":57243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:01] local.INFO: Packet analysis {"connection_id":57243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:15:01] local.INFO: Extracted packet for processing {"connection_id":57243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:15: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-04-28 11:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:15:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:15:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":57243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:15:01] local.INFO: GPS data processed {"connection_id":57243,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:15:01] local.INFO: Acknowledgment sent {"connection_id":57243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:15:14] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:14] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:14] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:15:18] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:18] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:15:18] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:15:19] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29d9560012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29d9560012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:19] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29d9560012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:19] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29d"} 
[2026-04-28 11:15:19] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29d"} 
[2026-04-28 11:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002883840001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777355036000,"timestamp_ms":1777355036000,"timestamp_seconds":1777355036,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29d9560"} 
[2026-04-28 11:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:15:19] 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-04-28 11: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-04-28 11:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:15:19] 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-04-28 11:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002883840001,"66":12428,"12":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-28 11:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002883840001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:15:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-28 11:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002883840001,"power":12428,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:15:19] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:15:19] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:15:33] local.INFO: TCP Data received {"connection_id":57243,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:33] local.INFO: Processing buffer {"connection_id":57243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:15:33] local.INFO: Packet analysis {"connection_id":57243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:15:33] local.INFO: Extracted packet for processing {"connection_id":57243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":57243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:15:33] local.INFO: GPS data processed {"connection_id":57243,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:15:33] local.INFO: Acknowledgment sent {"connection_id":57243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:15:52] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29de768012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29de768012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:52] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29de768012d1968c0071fec600039010c26..."} 
[2026-04-28 11:15:52] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29d"} 
[2026-04-28 11:15:52] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29d"} 
[2026-04-28 11:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002889216001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777355057000,"timestamp_ms":1777355057000,"timestamp_seconds":1777355057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29de768"} 
[2026-04-28 11:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:15: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-04-28 11:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:15:52] 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-04-28 11:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002889216001,"66":12406,"107":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 11:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002889216001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:15:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 11:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002889216001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:15:52] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:15:52] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:15:53] local.INFO: TCP Data received {"connection_id":56343,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:53] local.INFO: Processing buffer {"connection_id":56343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:53] local.INFO: IMEI packet received {"connection_id":56343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":56343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:15:59] local.INFO: TCP Data received {"connection_id":56343,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:59] local.INFO: Processing buffer {"connection_id":56343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:15:59] local.INFO: IMEI packet received {"connection_id":56343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:16:01] local.INFO: TCP Data received {"connection_id":56343,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:01] local.INFO: Processing buffer {"connection_id":56343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:01] local.INFO: Packet analysis {"connection_id":56343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:16:01] local.INFO: Extracted packet for processing {"connection_id":56343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:16: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-04-28 11:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:16:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:16:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":56343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:16:01] local.INFO: GPS data processed {"connection_id":56343,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:16:01] local.INFO: Acknowledgment sent {"connection_id":56343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:16:15] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:15] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:15] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:16:20] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:20] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:16:20] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:16:25] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29e3970012d1968c0071fec600039010c25..."} 
[2026-04-28 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29e3970012d1968c0071fec600039010c25..."} 
[2026-04-28 11:16:25] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29e3970012d1968c0071fec600039010c25..."} 
[2026-04-28 11:16:25] local.INFO: Packet analysis {"connection_id":56518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:16:25] local.INFO: Extracted packet for processing {"connection_id":56518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002894592001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:25] 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-04-28 11:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777355078000,"timestamp_ms":1777355078000,"timestamp_seconds":1777355078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29e3970"} 
[2026-04-28 11:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:16:25] 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-04-28 11:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:16:25] 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-04-28 11:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002894592001,"66":12385,"107":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 11:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002894592001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:16:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 11:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002894592001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":56518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:16:25] local.INFO: GPS data processed {"connection_id":56518,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:16:25] local.INFO: Acknowledgment sent {"connection_id":56518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:16:33] local.INFO: TCP Data received {"connection_id":56343,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:33] local.INFO: Processing buffer {"connection_id":56343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:16:33] local.INFO: Packet analysis {"connection_id":56343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:16:33] local.INFO: Extracted packet for processing {"connection_id":56343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":56343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:16:33] local.INFO: GPS data processed {"connection_id":56343,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:16:33] local.INFO: Acknowledgment sent {"connection_id":56343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:16:55] local.INFO: TCP Data received {"connection_id":56567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:16:55] local.INFO: Processing buffer {"connection_id":56567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:16:55] local.INFO: IMEI packet received {"connection_id":56567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":56567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:16:59] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:16:59] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:16:59] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:17:04] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:04] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:04] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:17:05] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:05] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:05] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:17:05] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:17:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:17:05] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:17:05] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:17:09] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:09] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:17:09] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:17:09] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:17: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-04-28 11:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:17: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-04-28 11:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:17:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:17:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:17:09] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:17:09] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:17:14] local.INFO: TCP Data received {"connection_id":56519,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:14] local.INFO: Processing buffer {"connection_id":56519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:14] local.INFO: IMEI packet received {"connection_id":56519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:17:19] local.INFO: TCP Data received {"connection_id":56519,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:19] local.INFO: Processing buffer {"connection_id":56519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:17:19] local.INFO: IMEI packet received {"connection_id":56519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":56519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:17:24] local.INFO: TCP Data received {"connection_id":56519,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29e8b78012d1968c0071fec600039010c21..."} 
[2026-04-28 11:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29e8b78012d1968c0071fec600039010c21..."} 
[2026-04-28 11:17:24] local.INFO: Processing buffer {"connection_id":56519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29e8b78012d1968c0071fec600039010c21..."} 
[2026-04-28 11:17:24] local.INFO: Packet analysis {"connection_id":56519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:17:24] local.INFO: Extracted packet for processing {"connection_id":56519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002899968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777355099000,"timestamp_ms":1777355099000,"timestamp_seconds":1777355099,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29e8b78"} 
[2026-04-28 11:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:17:24] 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-04-28 11:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:17:24] 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-04-28 11:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002899968001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002899968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:17:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002899968001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":56519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:17:25] local.INFO: GPS data processed {"connection_id":56519,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:17:25] local.INFO: Acknowledgment sent {"connection_id":56519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:17:34] local.INFO: TCP Data received {"connection_id":56344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:17:34] local.INFO: Processing buffer {"connection_id":56344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:17:34] local.INFO: IMEI packet received {"connection_id":56344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":56344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:17:54] local.INFO: TCP Data received {"connection_id":57244,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:54] local.INFO: Processing buffer {"connection_id":57244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:54] local.INFO: IMEI packet received {"connection_id":57244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":57244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:17:59] local.INFO: TCP Data received {"connection_id":57244,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:59] local.INFO: Processing buffer {"connection_id":57244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:17:59] local.INFO: IMEI packet received {"connection_id":57244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":57244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:18:01] local.INFO: TCP Data received {"connection_id":57244,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:18:01] local.INFO: Processing buffer {"connection_id":57244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29c9778012d7fa44005afde68000901122a..."} 
[2026-04-28 11:18:01] local.INFO: Packet analysis {"connection_id":57244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:18:01] local.INFO: Extracted packet for processing {"connection_id":57244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29c"} 
[2026-04-28 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777354971000,"timestamp_ms":1777354971000,"timestamp_seconds":1777354971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29c9778"} 
[2026-04-28 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:18: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-04-28 11:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002795520001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:18:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002795520001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":57244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:18:01] local.INFO: GPS data processed {"connection_id":57244,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:18:01] local.INFO: Acknowledgment sent {"connection_id":57244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:18:09] local.INFO: TCP Data received {"connection_id":56345,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:09] local.INFO: Processing buffer {"connection_id":56345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:09] local.INFO: IMEI packet received {"connection_id":56345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:18:20] local.INFO: TCP Data received {"connection_id":56345,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:20] local.INFO: Processing buffer {"connection_id":56345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:18:20] local.INFO: IMEI packet received {"connection_id":56345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":56345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:18:29] local.INFO: TCP Data received {"connection_id":56345,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29edd80012d1968c0071fec600039010c24..."} 
[2026-04-28 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29edd80012d1968c0071fec600039010c24..."} 
[2026-04-28 11:18:29] local.INFO: Processing buffer {"connection_id":56345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29edd80012d1968c0071fec600039010c24..."} 
[2026-04-28 11:18:29] local.INFO: Packet analysis {"connection_id":56345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:18:29] local.INFO: Extracted packet for processing {"connection_id":56345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29e"} 
[2026-04-28 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002905344001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18: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-04-28 11:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777355120000,"timestamp_ms":1777355120000,"timestamp_seconds":1777355120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29edd80"} 
[2026-04-28 11:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:18: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-04-28 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:18: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-04-28 11: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-04-28 11:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:18: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-04-28 11:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002905344001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002905344001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:18:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002905344001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":56345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:18:29] local.INFO: GPS data processed {"connection_id":56345,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:18:29] local.INFO: Acknowledgment sent {"connection_id":56345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:18:33] local.INFO: TCP Data received {"connection_id":57244,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:18:33] local.INFO: Processing buffer {"connection_id":57244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:18:33] local.INFO: Packet analysis {"connection_id":57244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:18:33] local.INFO: Extracted packet for processing {"connection_id":57244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:18:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":57244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:18:33] local.INFO: GPS data processed {"connection_id":57244,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:18:33] local.INFO: Acknowledgment sent {"connection_id":57244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:18:53] local.INFO: TCP Data received {"connection_id":56346,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:53] local.INFO: Processing buffer {"connection_id":56346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:53] local.INFO: IMEI packet received {"connection_id":56346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":56346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:18:59] local.INFO: TCP Data received {"connection_id":56346,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:59] local.INFO: Processing buffer {"connection_id":56346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:18:59] local.INFO: IMEI packet received {"connection_id":56346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:19:00] local.INFO: TCP Data received {"connection_id":56346,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:00] local.INFO: Processing buffer {"connection_id":56346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:00] local.INFO: Packet analysis {"connection_id":56346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:19:00] local.INFO: Extracted packet for processing {"connection_id":56346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:19: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-04-28 11: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-04-28 11:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:19:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:19:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":56346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:19:00] local.INFO: GPS data processed {"connection_id":56346,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:19:00] local.INFO: Acknowledgment sent {"connection_id":56346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:19:09] local.INFO: TCP Data received {"connection_id":57245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:09] local.INFO: Processing buffer {"connection_id":57245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:09] local.INFO: IMEI packet received {"connection_id":57245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":57245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:19:14] local.INFO: TCP Data received {"connection_id":57245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:14] local.INFO: Processing buffer {"connection_id":57245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:19:14] local.INFO: IMEI packet received {"connection_id":57245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":57245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:19:20] local.INFO: TCP Data received {"connection_id":57245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29f2f88012d1968c0071fec600039010c26..."} 
[2026-04-28 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29f2f88012d1968c0071fec600039010c26..."} 
[2026-04-28 11:19:20] local.INFO: Processing buffer {"connection_id":57245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29f2f88012d1968c0071fec600039010c26..."} 
[2026-04-28 11:19:20] local.INFO: Packet analysis {"connection_id":57245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:19:20] local.INFO: Extracted packet for processing {"connection_id":57245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002910720001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777355141000,"timestamp_ms":1777355141000,"timestamp_seconds":1777355141,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29f2f88"} 
[2026-04-28 11:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:19:20] 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-04-28 11:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002910720001,"66":12406,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002910720001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:19:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002910720001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":57245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:19:20] local.INFO: GPS data processed {"connection_id":57245,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:19:20] local.INFO: Acknowledgment sent {"connection_id":57245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:19:32] local.INFO: TCP Data received {"connection_id":56346,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:32] local.INFO: Processing buffer {"connection_id":56346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:19:32] local.INFO: Packet analysis {"connection_id":56346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:19:32] local.INFO: Extracted packet for processing {"connection_id":56346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":56346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:19:32] local.INFO: GPS data processed {"connection_id":56346,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:19:32] local.INFO: Acknowledgment sent {"connection_id":56346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:19:50] local.INFO: TCP Data received {"connection_id":57245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29f8190012d1968c0071fec600039010c24..."} 
[2026-04-28 11:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29f8190012d1968c0071fec600039010c24..."} 
[2026-04-28 11:19:50] local.INFO: Processing buffer {"connection_id":57245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29f8190012d1968c0071fec600039010c24..."} 
[2026-04-28 11:19:50] local.INFO: Packet analysis {"connection_id":57245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:19:50] local.INFO: Extracted packet for processing {"connection_id":57245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002916096001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:19:50] 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-04-28 11:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777355162000,"timestamp_ms":1777355162000,"timestamp_seconds":1777355162,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29f8190"} 
[2026-04-28 11:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:19:50] 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-04-28 11:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:19:50] 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-04-28 11:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002916096001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002916096001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:19:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002916096001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":57245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:19:50] local.INFO: GPS data processed {"connection_id":57245,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:19:50] local.INFO: Acknowledgment sent {"connection_id":57245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:19:59] local.INFO: TCP Data received {"connection_id":57246,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:19:59] local.INFO: Processing buffer {"connection_id":57246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:19:59] local.INFO: IMEI packet received {"connection_id":57246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":57246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:20:04] local.INFO: TCP Data received {"connection_id":57246,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:04] local.INFO: Processing buffer {"connection_id":57246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:04] local.INFO: IMEI packet received {"connection_id":57246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":57246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:20:05] local.INFO: TCP Data received {"connection_id":57246,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:05] local.INFO: Processing buffer {"connection_id":57246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:05] local.INFO: Packet analysis {"connection_id":57246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:20:05] local.INFO: Extracted packet for processing {"connection_id":57246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:20:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:20:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":57246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:20:05] local.INFO: GPS data processed {"connection_id":57246,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:20:05] local.INFO: Acknowledgment sent {"connection_id":57246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:20:10] local.INFO: TCP Data received {"connection_id":57246,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:10] local.INFO: Processing buffer {"connection_id":57246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:20:10] local.INFO: Packet analysis {"connection_id":57246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:20:10] local.INFO: Extracted packet for processing {"connection_id":57246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:20:10] 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-04-28 11:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:20:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:20:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":57246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:20:10] local.INFO: GPS data processed {"connection_id":57246,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:20:10] local.INFO: Acknowledgment sent {"connection_id":57246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:20:10] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:10] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:10] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:20:14] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:14] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:14] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:20:19] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:19] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:20:19] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:20:20] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd29fd398012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd29fd398012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:20] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd29fd398012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:20] local.INFO: Packet analysis {"connection_id":56571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:20:20] local.INFO: Extracted packet for processing {"connection_id":56571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd29f"} 
[2026-04-28 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002921472001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777355183000,"timestamp_ms":1777355183000,"timestamp_seconds":1777355183,"priority":1,"record_length":96,"hex_timestamp":"0000019dd29fd398"} 
[2026-04-28 11:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002921472001,"66":12428,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002921472001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:20:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002921472001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":56571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:20:20] local.INFO: GPS data processed {"connection_id":56571,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:20:20] local.INFO: Acknowledgment sent {"connection_id":56571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:20:25] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a025a0012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a025a0012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:25] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a025a0012d1968c0071fec600039010c22..."} 
[2026-04-28 11:20:25] local.INFO: Packet analysis {"connection_id":56571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a0"} 
[2026-04-28 11:20:25] local.INFO: Extracted packet for processing {"connection_id":56571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a0"} 
[2026-04-28 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532640,"longitude_deg":75.6639936,"latitude_deg":11.953264,"altitude":57,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002926848001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508498271305728,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358995456,"note":"Value kept but may cause issues"} 
[2026-04-28 11:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777355204000,"timestamp_ms":1777355204000,"timestamp_seconds":1777355204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a025a0"} 
[2026-04-28 11:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:20:25] 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-04-28 11: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-04-28 11:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:20:25] 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-04-28 11:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002926848001,"66":12385,"106":206,"83":41984,"24":0,"16":115508498271305728,"45":1830924385358995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002926848001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:20:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508498271305728,"km_value":115508498271305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358995456,"description":"Unknown IO ID 45"} 
[2026-04-28 11:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002926848001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385358995456}} 
[2026-04-28 11:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":56571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:20:25] local.INFO: GPS data processed {"connection_id":56571,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:20:25] local.INFO: Acknowledgment sent {"connection_id":56571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:20:55] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:55] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:55] local.INFO: IMEI packet received {"connection_id":56347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":56347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:20:59] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:59] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:20:59] local.INFO: IMEI packet received {"connection_id":56347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:21:00] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:00] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:00] local.INFO: Packet analysis {"connection_id":56347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:21:00] local.INFO: Extracted packet for processing {"connection_id":56347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:21: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-04-28 11:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:21:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:21:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":56347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:21:00] local.INFO: GPS data processed {"connection_id":56347,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:21:00] local.INFO: Acknowledgment sent {"connection_id":56347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:21:09] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:09] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:09] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:21:12] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:12] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:21:12] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:21:13] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a34e38012d1974c0071fec50003c005c25..."} 
[2026-04-28 11:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a34e38012d1974c0071fec50003c005c25..."} 
[2026-04-28 11:21:13] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a34e38012d1974c0071fec50003c005c25..."} 
[2026-04-28 11:21:13] local.INFO: Packet analysis {"connection_id":56520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a3"} 
[2026-04-28 11:21:13] local.INFO: Extracted packet for processing {"connection_id":56520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a3"} 
[2026-04-28 11:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532624,"longitude_deg":75.6643008,"latitude_deg":11.9532624,"altitude":60,"angle":92,"satellites":37,"speed":18,"hex_longitude":"2d1974c0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-28 11:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002983168001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115508704429735936,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079941120,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777355411000,"timestamp_ms":1777355411000,"timestamp_seconds":1777355411,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a34e38"} 
[2026-04-28 11:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 11:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:21:13] 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-04-28 11:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002983168001,"66":13852,"106":206,"83":41984,"24":18,"16":115508704429735936,"45":1831276229079941120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002983168001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:21:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115508704429735936,"km_value":115508704429735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079941120,"description":"Unknown IO ID 45"} 
[2026-04-28 11:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002983168001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1831276229079941120}} 
[2026-04-28 11:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":56520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:21:13] local.INFO: GPS data processed {"connection_id":56520,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:21:13] local.INFO: Acknowledgment sent {"connection_id":56520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:21:32] local.INFO: TCP Data received {"connection_id":56347,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:32] local.INFO: Processing buffer {"connection_id":56347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:21:32] local.INFO: Packet analysis {"connection_id":56347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:21:32] local.INFO: Extracted packet for processing {"connection_id":56347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:21: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-04-28 11:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:21: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-04-28 11:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:21:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":56347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:21:32] local.INFO: GPS data processed {"connection_id":56347,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:21:32] local.INFO: Acknowledgment sent {"connection_id":56347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:21:44] local.INFO: TCP Data received {"connection_id":56520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a41570012d19dd80072006b00030002227..."} 
[2026-04-28 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a41570012d19dd80072006b00030002227..."} 
[2026-04-28 11:21:44] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a41570012d19dd80072006b00030002227..."} 
[2026-04-28 11:21:44] local.INFO: Packet analysis {"connection_id":56520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a4"} 
[2026-04-28 11:21:44] local.INFO: Extracted packet for processing {"connection_id":56520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a4"} 
[2026-04-28 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119539376,"longitude_deg":75.6669824,"latitude_deg":11.9539376,"altitude":48,"angle":34,"satellites":39,"speed":18,"hex_longitude":"2d19dd80","hex_latitude":"072006b0","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002997248001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115510126063910912,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476519307264,"note":"Value kept but may cause issues"} 
[2026-04-28 11:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777355462000,"timestamp_ms":1777355462000,"timestamp_seconds":1777355462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a41570"} 
[2026-04-28 11:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 11:21:44] 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-04-28 11: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-04-28 11:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:21:44] 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-04-28 11:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002997248001,"66":14113,"106":206,"83":41984,"24":18,"16":115510126063910912,"45":1862238476519307264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002997248001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:21:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115510126063910912,"km_value":115510126063910.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476519307264,"description":"Unknown IO ID 45"} 
[2026-04-28 11:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002997248001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1862238476519307264}} 
[2026-04-28 11:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":56520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:21:44] local.INFO: GPS data processed {"connection_id":56520,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:21:44] local.INFO: Acknowledgment sent {"connection_id":56520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:21:53] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:53] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:53] local.INFO: IMEI packet received {"connection_id":56572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":56572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:21:59] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:59] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:21:59] local.INFO: IMEI packet received {"connection_id":56572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:22:00] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:00] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:00] local.INFO: Packet analysis {"connection_id":56572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:22:00] local.INFO: Extracted packet for processing {"connection_id":56572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:22: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-04-28 11: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-04-28 11:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:22:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:22:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":56572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:22:00] local.INFO: GPS data processed {"connection_id":56572,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:22:00] local.INFO: Acknowledgment sent {"connection_id":56572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:22:09] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:09] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:09] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:22:10] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:10] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:10] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:22:25] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:25] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:22:25] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:22:27] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a41d40012d19de80072009100030000626..."} 
[2026-04-28 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a41d40012d19de80072009100030000626..."} 
[2026-04-28 11:22:27] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a41d40012d19de80072009100030000626..."} 
[2026-04-28 11:22:27] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a4"} 
[2026-04-28 11:22:27] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a4"} 
[2026-04-28 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119539984,"longitude_deg":75.667008,"latitude_deg":11.9539984,"altitude":48,"angle":6,"satellites":38,"speed":9,"hex_longitude":"2d19de80","hex_latitude":"07200910","is_valid_coordinates":true} 
[2026-04-28 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002998272001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115510156128681984,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891688960,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22: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-04-28 11:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777355464000,"timestamp_ms":1777355464000,"timestamp_seconds":1777355464,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a41d40"} 
[2026-04-28 11:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 11:22:27] 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-04-28 11:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:22:27] 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-04-28 11:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002998272001,"66":13352,"106":206,"83":41984,"24":9,"16":115510156128681984,"45":1863786588891688960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002998272001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:22:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115510156128681984,"km_value":115510156128681.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891688960,"description":"Unknown IO ID 45"} 
[2026-04-28 11:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002998272001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1863786588891688960}} 
[2026-04-28 11:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:22:27] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:22:27] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:22:32] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:32] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:22:32] local.INFO: Packet analysis {"connection_id":56572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:22:32] local.INFO: Extracted packet for processing {"connection_id":56572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:22:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":56572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:22:32] local.INFO: GPS data processed {"connection_id":56572,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:22:32] local.INFO: Acknowledgment sent {"connection_id":56572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:22:53] local.INFO: TCP Data received {"connection_id":56348,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:53] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:53] local.INFO: IMEI packet received {"connection_id":56348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":56348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:22:59] local.INFO: TCP Data received {"connection_id":56348,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:59] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:22:59] local.INFO: IMEI packet received {"connection_id":56348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":56348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:23:00] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:00] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:00] local.INFO: IMEI packet received {"connection_id":56573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:23:00] local.INFO: TCP Data received {"connection_id":56348,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:23:00] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a12f40012d7fa44005afde680009011228..."} 
[2026-04-28 11:23:00] local.INFO: Packet analysis {"connection_id":56348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:23:00] local.INFO: Extracted packet for processing {"connection_id":56348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a1"} 
[2026-04-28 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002872576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355272000,"timestamp_ms":1777355272000,"timestamp_seconds":1777355272,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a12f40"} 
[2026-04-28 11:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002872576001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002872576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:23:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:23:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002872576001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":56348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:23:00] local.INFO: GPS data processed {"connection_id":56348,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:23:00] local.INFO: Acknowledgment sent {"connection_id":56348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:23:32] local.INFO: TCP Data received {"connection_id":56348,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:23:32] local.INFO: Processing buffer {"connection_id":56348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:23:32] local.INFO: Packet analysis {"connection_id":56348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:23:32] local.INFO: Extracted packet for processing {"connection_id":56348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":56348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:23:32] local.INFO: GPS data processed {"connection_id":56348,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:23:32] local.INFO: Acknowledgment sent {"connection_id":56348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:23:34] local.INFO: TCP Data received {"connection_id":56522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:34] local.INFO: Processing buffer {"connection_id":56522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:23:34] local.INFO: IMEI packet received {"connection_id":56522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":56522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:23:51] local.INFO: TCP Data received {"connection_id":56574,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:23:51] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:23:51] local.INFO: IMEI packet received {"connection_id":56574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":56574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:23:59] local.INFO: TCP Data received {"connection_id":56575,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:23:59] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:23:59] local.INFO: IMEI packet received {"connection_id":56575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:24:04] local.INFO: TCP Data received {"connection_id":56575,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:04] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:04] local.INFO: IMEI packet received {"connection_id":56575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":56575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:24:05] local.INFO: TCP Data received {"connection_id":56575,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:05] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:05] local.INFO: Packet analysis {"connection_id":56575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:24:05] local.INFO: Extracted packet for processing {"connection_id":56575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:24:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:24:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":56575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:24:05] local.INFO: GPS data processed {"connection_id":56575,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:24:05] local.INFO: Acknowledgment sent {"connection_id":56575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:24:37] local.INFO: TCP Data received {"connection_id":56575,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:37] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:24:37] local.INFO: Packet analysis {"connection_id":56575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:24:37] local.INFO: Extracted packet for processing {"connection_id":56575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:24:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:24:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":56575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:24:37] local.INFO: GPS data processed {"connection_id":56575,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:24:37] local.INFO: Acknowledgment sent {"connection_id":56575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:24:53] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:53] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:53] local.INFO: IMEI packet received {"connection_id":56351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":56351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:24:59] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:59] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:24:59] local.INFO: IMEI packet received {"connection_id":56351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:25:00] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:00] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:00] local.INFO: Packet analysis {"connection_id":56351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:25:00] local.INFO: Extracted packet for processing {"connection_id":56351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:25: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-04-28 11: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-04-28 11:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:25:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:25:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":56351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:25:00] local.INFO: GPS data processed {"connection_id":56351,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:25:00] local.INFO: Acknowledgment sent {"connection_id":56351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:25:32] local.INFO: TCP Data received {"connection_id":56351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:32] local.INFO: Processing buffer {"connection_id":56351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:25:32] local.INFO: Packet analysis {"connection_id":56351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:25:32] local.INFO: Extracted packet for processing {"connection_id":56351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:25: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-04-28 11:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:25: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-04-28 11:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:25:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:25:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":56351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:25:32] local.INFO: GPS data processed {"connection_id":56351,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:25:32] local.INFO: Acknowledgment sent {"connection_id":56351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:25:53] local.INFO: TCP Data received {"connection_id":56524,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:53] local.INFO: Processing buffer {"connection_id":56524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:53] local.INFO: IMEI packet received {"connection_id":56524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:25:59] local.INFO: TCP Data received {"connection_id":56524,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:59] local.INFO: Processing buffer {"connection_id":56524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:25:59] local.INFO: IMEI packet received {"connection_id":56524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:26:01] local.INFO: TCP Data received {"connection_id":56524,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:01] local.INFO: Processing buffer {"connection_id":56524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:01] local.INFO: Packet analysis {"connection_id":56524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:26:01] local.INFO: Extracted packet for processing {"connection_id":56524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:26:01] 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-04-28 11:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:26:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":56524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:26:01] local.INFO: GPS data processed {"connection_id":56524,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:26:01] local.INFO: Acknowledgment sent {"connection_id":56524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:26:32] local.INFO: TCP Data received {"connection_id":56524,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:32] local.INFO: Processing buffer {"connection_id":56524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:26:32] local.INFO: Packet analysis {"connection_id":56524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:26:32] local.INFO: Extracted packet for processing {"connection_id":56524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":56524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:26:32] local.INFO: GPS data processed {"connection_id":56524,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:26:32] local.INFO: Acknowledgment sent {"connection_id":56524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:26:59] local.INFO: TCP Data received {"connection_id":57251,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:26:59] local.INFO: Processing buffer {"connection_id":57251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:26:59] local.INFO: IMEI packet received {"connection_id":57251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":57251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:27:04] local.INFO: TCP Data received {"connection_id":57251,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:04] local.INFO: Processing buffer {"connection_id":57251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:04] local.INFO: IMEI packet received {"connection_id":57251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":57251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:27:05] local.INFO: TCP Data received {"connection_id":57251,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:05] local.INFO: Processing buffer {"connection_id":57251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:05] local.INFO: Packet analysis {"connection_id":57251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:27:05] local.INFO: Extracted packet for processing {"connection_id":57251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:27:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":57251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:27:05] local.INFO: GPS data processed {"connection_id":57251,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:27:05] local.INFO: Acknowledgment sent {"connection_id":57251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:27:09] local.INFO: TCP Data received {"connection_id":57251,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:09] local.INFO: Processing buffer {"connection_id":57251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:27:09] local.INFO: Packet analysis {"connection_id":57251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:27:09] local.INFO: Extracted packet for processing {"connection_id":57251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:27:09] 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-04-28 11:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:27:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:27:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":57251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:27:09] local.INFO: GPS data processed {"connection_id":57251,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:27:09] local.INFO: Acknowledgment sent {"connection_id":57251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:27:54] local.INFO: TCP Data received {"connection_id":56577,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:54] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:54] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:27:59] local.INFO: TCP Data received {"connection_id":56577,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:59] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:27:59] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:28:00] local.INFO: TCP Data received {"connection_id":56577,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:00] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:00] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:28:00] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:28: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-04-28 11:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:28:00] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:28:00] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:28:32] local.INFO: TCP Data received {"connection_id":56577,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:32] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a5c708012d7fa44005afde680009011229..."} 
[2026-04-28 11:28:32] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:28:32] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a5"} 
[2026-04-28 11:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002949632001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355573000,"timestamp_ms":1777355573000,"timestamp_seconds":1777355573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a5c708"} 
[2026-04-28 11:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002949632001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002949632001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002949632001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:28:32] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:28:32] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:28:50] local.INFO: TCP Data received {"connection_id":57252,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:28:50] local.INFO: Processing buffer {"connection_id":57252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:28:50] local.INFO: IMEI packet received {"connection_id":57252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":57252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:28:59] local.INFO: TCP Data received {"connection_id":56526,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:28:59] local.INFO: Processing buffer {"connection_id":56526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:28:59] local.INFO: IMEI packet received {"connection_id":56526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:29:04] local.INFO: TCP Data received {"connection_id":56578,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:04] local.INFO: Processing buffer {"connection_id":56578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:04] local.INFO: IMEI packet received {"connection_id":56578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":56578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:29:04] local.INFO: TCP Data received {"connection_id":56526,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:04] local.INFO: Processing buffer {"connection_id":56526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:04] local.INFO: IMEI packet received {"connection_id":56526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":56526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:29:05] local.INFO: TCP Data received {"connection_id":56526,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:05] local.INFO: Processing buffer {"connection_id":56526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:05] local.INFO: Packet analysis {"connection_id":56526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:29:05] local.INFO: Extracted packet for processing {"connection_id":56526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:29:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":56526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:29:05] local.INFO: GPS data processed {"connection_id":56526,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:29:05] local.INFO: Acknowledgment sent {"connection_id":56526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:29:09] local.INFO: TCP Data received {"connection_id":56526,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:09] local.INFO: Processing buffer {"connection_id":56526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:29:09] local.INFO: Packet analysis {"connection_id":56526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:29:09] local.INFO: Extracted packet for processing {"connection_id":56526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:29:09] 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-04-28 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:29:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:29:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":56526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:29:09] local.INFO: GPS data processed {"connection_id":56526,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:29:09] local.INFO: Acknowledgment sent {"connection_id":56526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:29:20] local.INFO: TCP Data received {"connection_id":56579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:20] local.INFO: Processing buffer {"connection_id":56579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:20] local.INFO: IMEI packet received {"connection_id":56579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":56579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:29:21] local.INFO: TCP Data received {"connection_id":56579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:21] local.INFO: Processing buffer {"connection_id":56579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:21] local.INFO: IMEI packet received {"connection_id":56579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":56579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:29:28] local.INFO: TCP Data received {"connection_id":56579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:28] local.INFO: Processing buffer {"connection_id":56579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:29:28] local.INFO: IMEI packet received {"connection_id":56579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":56579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:29:33] local.INFO: TCP Data received {"connection_id":56579,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2a9a738012d1a69c00720ba08004500d826..."} 
[2026-04-28 11:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2a9a738012d1a69c00720ba08004500d826..."} 
[2026-04-28 11:29:33] local.INFO: Processing buffer {"connection_id":56579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2a9a738012d1a69c00720ba08004500d826..."} 
[2026-04-28 11:29:33] local.INFO: Packet analysis {"connection_id":56579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2a9"} 
[2026-04-28 11:29:33] local.INFO: Extracted packet for processing {"connection_id":56579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2a9"} 
[2026-04-28 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119585288,"longitude_deg":75.6705728,"latitude_deg":11.9585288,"altitude":69,"angle":216,"satellites":38,"speed":5,"hex_longitude":"2d1a69c0","hex_latitude":"0720ba08","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003089920001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115515426053554176,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823131570176,"note":"Value kept but may cause issues"} 
[2026-04-28 11:29:33] 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-04-28 11:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777355827000,"timestamp_ms":1777355827000,"timestamp_seconds":1777355827,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2a9a738"} 
[2026-04-28 11:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:29: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-04-28 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003089920001,"66":12298,"106":206,"83":41984,"24":5,"16":115515426053554176,"45":1903333823131570176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003089920001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:29:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115515426053554176,"km_value":115515426053554.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823131570176,"description":"Unknown IO ID 45"} 
[2026-04-28 11:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003089920001,"power":12298,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903333823131570176}} 
[2026-04-28 11:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":56579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:29:33] local.INFO: GPS data processed {"connection_id":56579,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:29:33] local.INFO: Acknowledgment sent {"connection_id":56579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:29:34] local.INFO: TCP Data received {"connection_id":57253,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:29:34] local.INFO: Processing buffer {"connection_id":57253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:29:34] local.INFO: IMEI packet received {"connection_id":57253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":57253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:29:54] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:54] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:54] local.INFO: IMEI packet received {"connection_id":56353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":56353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:29:59] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:59] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:29:59] local.INFO: IMEI packet received {"connection_id":56353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:30:01] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:01] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:01] local.INFO: Packet analysis {"connection_id":56353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:30:01] local.INFO: Extracted packet for processing {"connection_id":56353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:30:01] 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-04-28 11:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:30:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:30:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":56353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:30:01] local.INFO: GPS data processed {"connection_id":56353,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:30:01] local.INFO: Acknowledgment sent {"connection_id":56353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:30:33] local.INFO: TCP Data received {"connection_id":56353,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:33] local.INFO: Processing buffer {"connection_id":56353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:30:33] local.INFO: Packet analysis {"connection_id":56353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:30:33] local.INFO: Extracted packet for processing {"connection_id":56353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":56353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:30:33] local.INFO: GPS data processed {"connection_id":56353,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:30:33] local.INFO: Acknowledgment sent {"connection_id":56353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:30:50] local.INFO: TCP Data received {"connection_id":57254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:30:50] local.INFO: Processing buffer {"connection_id":57254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:30:50] local.INFO: IMEI packet received {"connection_id":57254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":57254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:30:54] local.INFO: TCP Data received {"connection_id":57255,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:54] local.INFO: Processing buffer {"connection_id":57255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:54] local.INFO: IMEI packet received {"connection_id":57255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":57255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:30:59] local.INFO: TCP Data received {"connection_id":57255,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:59] local.INFO: Processing buffer {"connection_id":57255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:30:59] local.INFO: IMEI packet received {"connection_id":57255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":57255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:31:01] local.INFO: TCP Data received {"connection_id":57255,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:01] local.INFO: Processing buffer {"connection_id":57255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:01] local.INFO: Packet analysis {"connection_id":57255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:31:01] local.INFO: Extracted packet for processing {"connection_id":57255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:31:01] 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-04-28 11: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-04-28 11:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:31:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:31:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":57255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:31:01] local.INFO: GPS data processed {"connection_id":57255,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:31:01] local.INFO: Acknowledgment sent {"connection_id":57255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:31:20] local.INFO: TCP Data received {"connection_id":56354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:31:20] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:31:20] local.INFO: IMEI packet received {"connection_id":56354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":56354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:31:22] local.INFO: TCP Data received {"connection_id":56354,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56354,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:31:22] local.INFO: Processing buffer {"connection_id":56354,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:31:22] local.INFO: IMEI packet received {"connection_id":56354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":56354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:31:32] local.INFO: TCP Data received {"connection_id":57255,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:32] local.INFO: Processing buffer {"connection_id":57255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:31:32] local.INFO: Packet analysis {"connection_id":57255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:31:32] local.INFO: Extracted packet for processing {"connection_id":57255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:31:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":57255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:31:32] local.INFO: GPS data processed {"connection_id":57255,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:31:32] local.INFO: Acknowledgment sent {"connection_id":57255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:31:53] local.INFO: TCP Data received {"connection_id":56528,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:53] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:53] local.INFO: IMEI packet received {"connection_id":56528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:31:59] local.INFO: TCP Data received {"connection_id":56528,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:59] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:31:59] local.INFO: IMEI packet received {"connection_id":56528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:32:00] local.INFO: TCP Data received {"connection_id":56528,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:00] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:00] local.INFO: Packet analysis {"connection_id":56528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:32:00] local.INFO: Extracted packet for processing {"connection_id":56528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:32: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-04-28 11:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:32:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:32:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":56528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:32:00] local.INFO: GPS data processed {"connection_id":56528,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:32:00] local.INFO: Acknowledgment sent {"connection_id":56528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:32:32] local.INFO: TCP Data received {"connection_id":56528,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:32] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:32:32] local.INFO: Packet analysis {"connection_id":56528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:32:32] local.INFO: Extracted packet for processing {"connection_id":56528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":56528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:32:32] local.INFO: GPS data processed {"connection_id":56528,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:32:32] local.INFO: Acknowledgment sent {"connection_id":56528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:32:58] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:32:58] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:32:58] local.INFO: IMEI packet received {"connection_id":56357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":56357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:33:04] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:04] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:04] local.INFO: IMEI packet received {"connection_id":56357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":56357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:33:05] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:05] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aa5ed0012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:05] local.INFO: Packet analysis {"connection_id":56357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:33:05] local.INFO: Extracted packet for processing {"connection_id":56357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2aa"} 
[2026-04-28 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003026688001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777355874000,"timestamp_ms":1777355874000,"timestamp_seconds":1777355874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aa5ed0"} 
[2026-04-28 11:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003026688001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003026688001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:33:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003026688001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":56357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:33:05] local.INFO: GPS data processed {"connection_id":56357,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:33:05] local.INFO: Acknowledgment sent {"connection_id":56357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:33:37] local.INFO: TCP Data received {"connection_id":56357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:37] local.INFO: Processing buffer {"connection_id":56357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:33:37] local.INFO: Packet analysis {"connection_id":56357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:33:37] local.INFO: Extracted packet for processing {"connection_id":56357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:33:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:33:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":56357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:33:37] local.INFO: GPS data processed {"connection_id":56357,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:33:37] local.INFO: Acknowledgment sent {"connection_id":56357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:33:53] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:53] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:53] local.INFO: IMEI packet received {"connection_id":56530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":56530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:33:59] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:59] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:33:59] local.INFO: IMEI packet received {"connection_id":56530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:34:01] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:01] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:01] local.INFO: Packet analysis {"connection_id":56530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:34:01] local.INFO: Extracted packet for processing {"connection_id":56530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:34:01] 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-04-28 11:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:34:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:34:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":56530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:34:01] local.INFO: GPS data processed {"connection_id":56530,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:34:01] local.INFO: Acknowledgment sent {"connection_id":56530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:34:32] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:32] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:34:32] local.INFO: Packet analysis {"connection_id":56530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:34:32] local.INFO: Extracted packet for processing {"connection_id":56530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:34:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":56530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:34:32] local.INFO: GPS data processed {"connection_id":56530,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:34:32] local.INFO: Acknowledgment sent {"connection_id":56530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:34:53] local.INFO: TCP Data received {"connection_id":56531,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:53] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:53] local.INFO: IMEI packet received {"connection_id":56531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:34:59] local.INFO: TCP Data received {"connection_id":56531,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:59] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:34:59] local.INFO: IMEI packet received {"connection_id":56531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:35:00] local.INFO: TCP Data received {"connection_id":56359,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:00] local.INFO: Processing buffer {"connection_id":56359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:00] local.INFO: IMEI packet received {"connection_id":56359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":56359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:35:02] local.INFO: TCP Data received {"connection_id":56531,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:02] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:02] local.INFO: Packet analysis {"connection_id":56531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:35:02] local.INFO: Extracted packet for processing {"connection_id":56531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:35:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:35:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":56531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:35:02] local.INFO: GPS data processed {"connection_id":56531,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:35:02] local.INFO: Acknowledgment sent {"connection_id":56531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:35:33] local.INFO: TCP Data received {"connection_id":56531,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:33] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:35:33] local.INFO: Packet analysis {"connection_id":56531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:35:33] local.INFO: Extracted packet for processing {"connection_id":56531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":56531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:35:33] local.INFO: GPS data processed {"connection_id":56531,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:35:33] local.INFO: Acknowledgment sent {"connection_id":56531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:35:40] local.INFO: TCP Data received {"connection_id":56360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:40] local.INFO: Processing buffer {"connection_id":56360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:35:40] local.INFO: IMEI packet received {"connection_id":56360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":56360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:35:59] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:35:59] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:35:59] local.INFO: IMEI packet received {"connection_id":56361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:36:04] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:04] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:04] local.INFO: IMEI packet received {"connection_id":56361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":56361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:36:05] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:05] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:05] local.INFO: Packet analysis {"connection_id":56361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:36:05] local.INFO: Extracted packet for processing {"connection_id":56361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:36:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":56361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:36:05] local.INFO: GPS data processed {"connection_id":56361,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:36:05] local.INFO: Acknowledgment sent {"connection_id":56361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:36:10] local.INFO: TCP Data received {"connection_id":56361,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:10] local.INFO: Processing buffer {"connection_id":56361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:36:10] local.INFO: Packet analysis {"connection_id":56361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:36:10] local.INFO: Extracted packet for processing {"connection_id":56361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:36:10] 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-04-28 11:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:36:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:36:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":56361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:36:10] local.INFO: GPS data processed {"connection_id":56361,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:36:10] local.INFO: Acknowledgment sent {"connection_id":56361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:36:19] local.INFO: TCP Data received {"connection_id":56583,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:36:19] local.INFO: Processing buffer {"connection_id":56583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:36:19] local.INFO: IMEI packet received {"connection_id":56583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":56583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:36:27] local.INFO: TCP Data received {"connection_id":56583,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b0bbb8012d18aa00072171a00049014722..."} 
[2026-04-28 11:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b0bbb8012d18aa00072171a00049014722..."} 
[2026-04-28 11:36:27] local.INFO: Processing buffer {"connection_id":56583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b0bbb8012d18aa00072171a00049014722..."} 
[2026-04-28 11:36:27] local.INFO: Packet analysis {"connection_id":56583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b0"} 
[2026-04-28 11:36:27] local.INFO: Extracted packet for processing {"connection_id":56583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b0"} 
[2026-04-28 11:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632288,"longitude_deg":75.6591104,"latitude_deg":11.9632288,"altitude":73,"angle":327,"satellites":34,"speed":7,"hex_longitude":"2d18aa00","hex_latitude":"072171a0","is_valid_coordinates":true} 
[2026-04-28 11:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003210240001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115523431872593920,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321086464,"note":"Value kept but may cause issues"} 
[2026-04-28 11:36: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-04-28 11:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777356291000,"timestamp_ms":1777356291000,"timestamp_seconds":1777356291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b0bbb8"} 
[2026-04-28 11:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-28 11:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:36:27] 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-04-28 11:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003210240001,"66":14298,"106":206,"83":41984,"24":7,"16":115523431872593920,"45":1777303402321086464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003210240001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115523431872593920,"km_value":115523431872593.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321086464,"description":"Unknown IO ID 45"} 
[2026-04-28 11:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003210240001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1777303402321086464}} 
[2026-04-28 11:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":56583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:36:27] local.INFO: GPS data processed {"connection_id":56583,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:36:27] local.INFO: Acknowledgment sent {"connection_id":56583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:36:55] local.INFO: TCP Data received {"connection_id":56533,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:55] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:55] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:36:59] local.INFO: TCP Data received {"connection_id":56533,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:59] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:36:59] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:37:01] local.INFO: TCP Data received {"connection_id":56533,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:01] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:01] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:37:01] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:37:01] 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-04-28 11:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:37:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:37:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:37:01] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:37:01] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:37:09] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:09] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:09] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:37:17] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:17] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:37:17] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:37:17] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b1fff0012d181bc00721a8780048016423..."} 
[2026-04-28 11:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b1fff0012d181bc00721a8780048016423..."} 
[2026-04-28 11:37:17] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b1fff0012d181bc00721a8780048016423..."} 
[2026-04-28 11:37:17] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b1"} 
[2026-04-28 11:37:17] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b1"} 
[2026-04-28 11:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646328,"longitude_deg":75.6554688,"latitude_deg":11.9646328,"altitude":72,"angle":356,"satellites":35,"speed":10,"hex_longitude":"2d181bc0","hex_latitude":"0721a878","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003231488001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525338838073344,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143393792,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777356374000,"timestamp_ms":1777356374000,"timestamp_seconds":1777356374,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b1fff0"} 
[2026-04-28 11:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 11:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003231488001,"66":12961,"105":206,"83":41984,"24":10,"16":115525338838073344,"45":1737193218143393792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003231488001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:37:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525338838073344,"km_value":115525338838073.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143393792,"description":"Unknown IO ID 45"} 
[2026-04-28 11:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003231488001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737193218143393792}} 
[2026-04-28 11:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:37:18] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:37:18] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:37:33] local.INFO: TCP Data received {"connection_id":56533,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:33] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:37:33] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:37:33] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:37:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:37:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:37:33] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:37:33] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:37:49] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b203d8012d181bc00721a9a80048000c25..."} 
[2026-04-28 11:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b203d8012d181bc00721a9a80048000c25..."} 
[2026-04-28 11:37:49] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b203d8012d181bc00721a9a80048000c25..."} 
[2026-04-28 11:37:49] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:37:49] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646632,"longitude_deg":75.6554688,"latitude_deg":11.9646632,"altitude":72,"angle":12,"satellites":37,"speed":14,"hex_longitude":"2d181bc0","hex_latitude":"0721a9a8","is_valid_coordinates":true} 
[2026-04-28 11:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003231744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525351722975232,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143451136,"note":"Value kept but may cause issues"} 
[2026-04-28 11:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777356375000,"timestamp_ms":1777356375000,"timestamp_seconds":1777356375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b203d8"} 
[2026-04-28 11:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-28 11:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:37:49] 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-04-28 11:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003231744001,"66":12961,"105":206,"83":41984,"24":14,"16":115525351722975232,"45":1737193218143451136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003231744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525351722975232,"km_value":115525351722975.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143451136,"description":"Unknown IO ID 45"} 
[2026-04-28 11:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003231744001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737193218143451136}} 
[2026-04-28 11:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:37:49] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:37:49] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:37:53] local.INFO: TCP Data received {"connection_id":56363,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:53] local.INFO: Processing buffer {"connection_id":56363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:53] local.INFO: IMEI packet received {"connection_id":56363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:37:59] local.INFO: TCP Data received {"connection_id":56363,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:59] local.INFO: Processing buffer {"connection_id":56363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:37:59] local.INFO: IMEI packet received {"connection_id":56363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:38:01] local.INFO: TCP Data received {"connection_id":56363,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:01] local.INFO: Processing buffer {"connection_id":56363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:01] local.INFO: Packet analysis {"connection_id":56363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:38:01] local.INFO: Extracted packet for processing {"connection_id":56363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:38:01] 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-04-28 11: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-04-28 11:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:38:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:38:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":56363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:38:01] local.INFO: GPS data processed {"connection_id":56363,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:38:01] local.INFO: Acknowledgment sent {"connection_id":56363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:38:12] local.INFO: TCP Data received {"connection_id":57257,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:12] local.INFO: Processing buffer {"connection_id":57257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:12] local.INFO: IMEI packet received {"connection_id":57257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":57257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:38:17] local.INFO: TCP Data received {"connection_id":57257,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:17] local.INFO: Processing buffer {"connection_id":57257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:17] local.INFO: IMEI packet received {"connection_id":57257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":57257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:38:19] local.INFO: TCP Data received {"connection_id":57257,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:19] local.INFO: Processing buffer {"connection_id":57257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:38:19] local.INFO: IMEI packet received {"connection_id":57257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":57257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:38:20] local.INFO: TCP Data received {"connection_id":57257,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b207c0012d181c800721ab080048001825..."} 
[2026-04-28 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b207c0012d181c800721ab080048001825..."} 
[2026-04-28 11:38:20] local.INFO: Processing buffer {"connection_id":57257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b207c0012d181c800721ab080048001825..."} 
[2026-04-28 11:38:20] local.INFO: Packet analysis {"connection_id":57257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:38:20] local.INFO: Extracted packet for processing {"connection_id":57257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646984,"longitude_deg":75.655488,"latitude_deg":11.9646984,"altitude":72,"angle":24,"satellites":37,"speed":15,"hex_longitude":"2d181c80","hex_latitude":"0721ab08","is_valid_coordinates":true} 
[2026-04-28 11:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003232000001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525368902844416,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143528960,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777356376000,"timestamp_ms":1777356376000,"timestamp_seconds":1777356376,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b207c0"} 
[2026-04-28 11:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:38: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-04-28 11:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-28 11:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003232000001,"66":12504,"105":206,"83":41984,"24":15,"16":115525368902844416,"45":1737193218143528960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003232000001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:38:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525368902844416,"km_value":115525368902844.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143528960,"description":"Unknown IO ID 45"} 
[2026-04-28 11:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003232000001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737193218143528960}} 
[2026-04-28 11:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":57257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:38:20] local.INFO: GPS data processed {"connection_id":57257,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:38:20] local.INFO: Acknowledgment sent {"connection_id":57257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:38:28] local.INFO: TCP Data received {"connection_id":57257,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b21378012d181f400721af080049002427..."} 
[2026-04-28 11:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b21378012d181f400721af080049002427..."} 
[2026-04-28 11:38:28] local.INFO: Processing buffer {"connection_id":57257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b21378012d181f400721af080049002427..."} 
[2026-04-28 11:38:28] local.INFO: Packet analysis {"connection_id":57257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:38:28] local.INFO: Extracted packet for processing {"connection_id":57257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648008,"longitude_deg":75.6555584,"latitude_deg":11.9648008,"altitude":73,"angle":36,"satellites":39,"speed":16,"hex_longitude":"2d181f40","hex_latitude":"0721af08","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003232256001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525429032386560,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376152064,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777356379000,"timestamp_ms":1777356379000,"timestamp_seconds":1777356379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b21378"} 
[2026-04-28 11:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:38: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-04-28 11: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":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:38: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-04-28 11: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-04-28 11:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003232256001,"66":13004,"105":206,"83":41984,"24":16,"16":115525429032386560,"45":1737404324376152064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003232256001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:38:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525429032386560,"km_value":115525429032386.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376152064,"description":"Unknown IO ID 45"} 
[2026-04-28 11:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003232256001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1737404324376152064}} 
[2026-04-28 11:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":57257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:38:28] local.INFO: GPS data processed {"connection_id":57257,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:38:28] local.INFO: Acknowledgment sent {"connection_id":57257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:38:33] local.INFO: TCP Data received {"connection_id":56363,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:33] local.INFO: Processing buffer {"connection_id":56363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2aef698012d7fa44005afde68000901122b..."} 
[2026-04-28 11:38:33] local.INFO: Packet analysis {"connection_id":56363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:38:33] local.INFO: Extracted packet for processing {"connection_id":56363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ae"} 
[2026-04-28 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003103744001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777356175000,"timestamp_ms":1777356175000,"timestamp_seconds":1777356175,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2aef698"} 
[2026-04-28 11:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003103744001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003103744001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:38:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:38:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003103744001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":56363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:38:33] local.INFO: GPS data processed {"connection_id":56363,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:38:33] local.INFO: Acknowledgment sent {"connection_id":56363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:38:53] local.INFO: TCP Data received {"connection_id":56364,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:53] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:53] local.INFO: IMEI packet received {"connection_id":56364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:38:59] local.INFO: TCP Data received {"connection_id":56364,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:59] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:38:59] local.INFO: IMEI packet received {"connection_id":56364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":56364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:39:00] local.INFO: TCP Data received {"connection_id":56364,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:00] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:00] local.INFO: Packet analysis {"connection_id":56364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:39:00] local.INFO: Extracted packet for processing {"connection_id":56364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:39: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-04-28 11: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-04-28 11:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:39:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:39:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:39:00] local.INFO: GPS data processed {"connection_id":56364,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:39:00] local.INFO: Acknowledgment sent {"connection_id":56364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:39:09] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: IMEI packet received {"connection_id":56365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":56365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:39:09] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:09] local.INFO: IMEI packet received {"connection_id":56365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":56365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:39:14] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:14] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:39:14] local.INFO: IMEI packet received {"connection_id":56365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":56365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:39:15] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b22ae8012d1823800721b5300049001626..."} 
[2026-04-28 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b22ae8012d1823800721b5300049001626..."} 
[2026-04-28 11:39:15] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b22ae8012d1823800721b5300049001626..."} 
[2026-04-28 11:39:15] local.INFO: Packet analysis {"connection_id":56365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:39:15] local.INFO: Extracted packet for processing {"connection_id":56365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649584,"longitude_deg":75.6556672,"latitude_deg":11.9649584,"altitude":73,"angle":22,"satellites":38,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-04-28 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003233024001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525523521667072,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562368512,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777356385000,"timestamp_ms":1777356385000,"timestamp_seconds":1777356385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b22ae8"} 
[2026-04-28 11:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 11:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003233024001,"66":12972,"105":206,"83":41984,"24":8,"16":115525523521667072,"45":1738178380562368512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003233024001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:39:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525523521667072,"km_value":115525523521667.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562368512,"description":"Unknown IO ID 45"} 
[2026-04-28 11:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003233024001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380562368512}} 
[2026-04-28 11:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":56365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:39:15] local.INFO: GPS data processed {"connection_id":56365,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:39:15] local.INFO: Acknowledgment sent {"connection_id":56365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:39:32] local.INFO: TCP Data received {"connection_id":56364,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:32] local.INFO: Processing buffer {"connection_id":56364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:39:32] local.INFO: Packet analysis {"connection_id":56364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:39:32] local.INFO: Extracted packet for processing {"connection_id":56364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:39:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":56364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:39:32] local.INFO: GPS data processed {"connection_id":56364,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:39:32] local.INFO: Acknowledgment sent {"connection_id":56364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:39:46] local.INFO: TCP Data received {"connection_id":56365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b22ed0012d1824000721b5f00049000626..."} 
[2026-04-28 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b22ed0012d1824000721b5f00049000626..."} 
[2026-04-28 11:39:46] local.INFO: Processing buffer {"connection_id":56365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b22ed0012d1824000721b5f00049000626..."} 
[2026-04-28 11:39:46] local.INFO: Packet analysis {"connection_id":56365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:39:46] local.INFO: Extracted packet for processing {"connection_id":56365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b2"} 
[2026-04-28 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649776,"longitude_deg":75.65568,"latitude_deg":11.9649776,"altitude":73,"angle":6,"satellites":38,"speed":8,"hex_longitude":"2d182400","hex_latitude":"0721b5f0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003234560001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525536406568960,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213792256,"note":"Value kept but may cause issues"} 
[2026-04-28 11:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777356386000,"timestamp_ms":1777356386000,"timestamp_seconds":1777356386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b22ed0"} 
[2026-04-28 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-04-28 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 11:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003234560001,"66":13004,"105":206,"83":41984,"24":8,"16":115525536406568960,"45":1739374649213792256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003234560001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:39:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525536406568960,"km_value":115525536406568.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213792256,"description":"Unknown IO ID 45"} 
[2026-04-28 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003234560001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739374649213792256}} 
[2026-04-28 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":56365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:39:46] local.INFO: GPS data processed {"connection_id":56365,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:39:46] local.INFO: Acknowledgment sent {"connection_id":56365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:39:59] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:39:59] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:39:59] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:40:04] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:04] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:04] local.INFO: IMEI packet received {"connection_id":56366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":56366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:40:05] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:05] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:05] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:40:05] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:40:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:40:05] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:40:05] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:40:09] local.INFO: TCP Data received {"connection_id":56535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:09] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:09] local.INFO: IMEI packet received {"connection_id":56535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":56535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:40:10] local.INFO: TCP Data received {"connection_id":56366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:10] local.INFO: Processing buffer {"connection_id":56366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:40:10] local.INFO: Packet analysis {"connection_id":56366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:40:10] local.INFO: Extracted packet for processing {"connection_id":56366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:40:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:40:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":56366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:40:10] local.INFO: GPS data processed {"connection_id":56366,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:40:10] local.INFO: Acknowledgment sent {"connection_id":56366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:40:13] local.INFO: TCP Data received {"connection_id":56535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:13] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:40:13] local.INFO: IMEI packet received {"connection_id":56535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:40:13] local.INFO: TCP Data received {"connection_id":56535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b46920012d1822c00721b630004800bc29..."} 
[2026-04-28 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b46920012d1822c00721b630004800bc29..."} 
[2026-04-28 11:40:13] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b46920012d1822c00721b630004800bc29..."} 
[2026-04-28 11:40:13] local.INFO: Packet analysis {"connection_id":56535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b4"} 
[2026-04-28 11:40:13] local.INFO: Extracted packet for processing {"connection_id":56535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b4"} 
[2026-04-28 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003266816001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777356532000,"timestamp_ms":1777356532000,"timestamp_seconds":1777356532,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b46920"} 
[2026-04-28 11:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 11:40:13] 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-04-28 11:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:40:13] 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-04-28 11:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003266816001,"66":12591,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003266816001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:40:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003266816001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":56535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:40:14] local.INFO: GPS data processed {"connection_id":56535,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:40:14] local.INFO: Acknowledgment sent {"connection_id":56535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:40:45] local.INFO: TCP Data received {"connection_id":56535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b4bb28012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b4bb28012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:40:45] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b4bb28012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:40:45] local.INFO: Packet analysis {"connection_id":56535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b4"} 
[2026-04-28 11:40:45] local.INFO: Extracted packet for processing {"connection_id":56535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b4"} 
[2026-04-28 11:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003272192001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777356553000,"timestamp_ms":1777356553000,"timestamp_seconds":1777356553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b4bb28"} 
[2026-04-28 11:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 11:40:45] 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-04-28 11: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-04-28 11:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:40:45] 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-04-28 11:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003272192001,"66":12591,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003272192001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:40:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003272192001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":56535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:40:45] local.INFO: GPS data processed {"connection_id":56535,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:40:45] local.INFO: Acknowledgment sent {"connection_id":56535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:40:54] local.INFO: TCP Data received {"connection_id":57260,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:54] local.INFO: Processing buffer {"connection_id":57260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:54] local.INFO: IMEI packet received {"connection_id":57260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":57260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:40:59] local.INFO: TCP Data received {"connection_id":57260,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:59] local.INFO: Processing buffer {"connection_id":57260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:40:59] local.INFO: IMEI packet received {"connection_id":57260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":57260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:41:00] local.INFO: TCP Data received {"connection_id":57260,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:00] local.INFO: Processing buffer {"connection_id":57260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:00] local.INFO: Packet analysis {"connection_id":57260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:41:00] local.INFO: Extracted packet for processing {"connection_id":57260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:41: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-04-28 11: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-04-28 11:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:41:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":57260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:41:00] local.INFO: GPS data processed {"connection_id":57260,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:41:00] local.INFO: Acknowledgment sent {"connection_id":57260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:41:05] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:05] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:05] local.INFO: IMEI packet received {"connection_id":56536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":56536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:41:09] local.INFO: TCP Data received {"connection_id":56584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:09] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:09] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:41:23] local.INFO: TCP Data received {"connection_id":56584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:23] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:41:23] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:41:24] local.INFO: TCP Data received {"connection_id":56584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b50d30012d1822c00721b630004800bc28..."} 
[2026-04-28 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b50d30012d1822c00721b630004800bc28..."} 
[2026-04-28 11:41:24] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b50d30012d1822c00721b630004800bc28..."} 
[2026-04-28 11:41:24] local.INFO: Packet analysis {"connection_id":56584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:41:24] local.INFO: Extracted packet for processing {"connection_id":56584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003277568001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777356574000,"timestamp_ms":1777356574000,"timestamp_seconds":1777356574,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b50d30"} 
[2026-04-28 11:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":47,"data_length":795,"current_offset":136} 
[2026-04-28 11:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:41:24] 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-04-28 11:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003277568001,"66":12548,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003277568001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:41:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003277568001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":56584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:41:24] local.INFO: GPS data processed {"connection_id":56584,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:41:24] local.INFO: Acknowledgment sent {"connection_id":56584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:41:32] local.INFO: TCP Data received {"connection_id":57260,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:32] local.INFO: Processing buffer {"connection_id":57260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:41:32] local.INFO: Packet analysis {"connection_id":57260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:41:32] local.INFO: Extracted packet for processing {"connection_id":57260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":57260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:41:32] local.INFO: GPS data processed {"connection_id":57260,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:41:32] local.INFO: Acknowledgment sent {"connection_id":57260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:41:34] local.INFO: TCP Data received {"connection_id":56585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:34] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:41:34] local.INFO: IMEI packet received {"connection_id":56585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":56585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:41:53] local.INFO: TCP Data received {"connection_id":57261,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:53] local.INFO: Processing buffer {"connection_id":57261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:53] local.INFO: IMEI packet received {"connection_id":57261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":57261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:41:59] local.INFO: TCP Data received {"connection_id":57261,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:59] local.INFO: Processing buffer {"connection_id":57261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:41:59] local.INFO: IMEI packet received {"connection_id":57261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":57261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:42:01] local.INFO: TCP Data received {"connection_id":57261,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:01] local.INFO: Processing buffer {"connection_id":57261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:01] local.INFO: Packet analysis {"connection_id":57261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:42:01] local.INFO: Extracted packet for processing {"connection_id":57261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:42: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-04-28 11:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:42:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:42:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":57261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:42:01] local.INFO: GPS data processed {"connection_id":57261,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:42:01] local.INFO: Acknowledgment sent {"connection_id":57261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:42:12] local.INFO: TCP Data received {"connection_id":57262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:12] local.INFO: Processing buffer {"connection_id":57262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:12] local.INFO: IMEI packet received {"connection_id":57262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":57262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:42:14] local.INFO: TCP Data received {"connection_id":57262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:14] local.INFO: Processing buffer {"connection_id":57262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:42:14] local.INFO: IMEI packet received {"connection_id":57262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":57262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:42:15] local.INFO: TCP Data received {"connection_id":57262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b55f38012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b55f38012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:42:15] local.INFO: Processing buffer {"connection_id":57262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b55f38012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:42:15] local.INFO: Packet analysis {"connection_id":57262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:42:15] local.INFO: Extracted packet for processing {"connection_id":57262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003282944001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777356595000,"timestamp_ms":1777356595000,"timestamp_seconds":1777356595,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b55f38"} 
[2026-04-28 11:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:42:15] 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-04-28 11:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3534959752,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":109,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184180646093,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3016036353,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3059220552,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,109,187,45,192,182,72,42,10,66,41,23,1,240,101,227,210,33,4,113,205,134,35,48,40,239,49,2,154,7,74,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 11:42:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188353650715525120,"timestamp_seconds":5188353650715525.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 11:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003282944001,"66":12548,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003282944001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:42:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003282944001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":57262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:42:15] local.INFO: GPS data processed {"connection_id":57262,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:42:15] local.INFO: Acknowledgment sent {"connection_id":57262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:42:33] local.INFO: TCP Data received {"connection_id":57261,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:33] local.INFO: Processing buffer {"connection_id":57261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:42:33] local.INFO: Packet analysis {"connection_id":57261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:42:33] local.INFO: Extracted packet for processing {"connection_id":57261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":57261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:42:33] local.INFO: GPS data processed {"connection_id":57261,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:42:33] local.INFO: Acknowledgment sent {"connection_id":57261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:42:49] local.INFO: TCP Data received {"connection_id":57262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b5b140012d1822c00721b630004800bc27..."} 
[2026-04-28 11:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b5b140012d1822c00721b630004800bc27..."} 
[2026-04-28 11:42:49] local.INFO: Processing buffer {"connection_id":57262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b5b140012d1822c00721b630004800bc27..."} 
[2026-04-28 11:42:49] local.INFO: Packet analysis {"connection_id":57262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:42:49] local.INFO: Extracted packet for processing {"connection_id":57262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b5"} 
[2026-04-28 11:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003288320001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777356616000,"timestamp_ms":1777356616000,"timestamp_seconds":1777356616,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b5b140"} 
[2026-04-28 11:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3534980752,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":109,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184209809613,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3021412353,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3056599112,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 11:42:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,109,13,45,192,182,72,40,10,66,187,42,1,240,47,227,210,33,4,113,205,197,34,88,41,239,49,2,154,7,74,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 11:42:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188353659305459712,"timestamp_seconds":5188353659305460.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 11:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:42:49] 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-04-28 11:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003288320001,"66":12515,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003288320001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:42:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003288320001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":57262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:42:49] local.INFO: GPS data processed {"connection_id":57262,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:42:49] local.INFO: Acknowledgment sent {"connection_id":57262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:42:59] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:42:59] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:42:59] local.INFO: IMEI packet received {"connection_id":56368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:43:04] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:04] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:04] local.INFO: IMEI packet received {"connection_id":56368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":56368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:43:05] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:05] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:05] local.INFO: Packet analysis {"connection_id":56368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:43:05] local.INFO: Extracted packet for processing {"connection_id":56368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:43:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":56368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:43:05] local.INFO: GPS data processed {"connection_id":56368,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:43:05] local.INFO: Acknowledgment sent {"connection_id":56368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:43:09] local.INFO: TCP Data received {"connection_id":56368,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:09] local.INFO: Processing buffer {"connection_id":56368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b38e60012d7fa44005afde68000901122b..."} 
[2026-04-28 11:43:09] local.INFO: Packet analysis {"connection_id":56368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:43:09] local.INFO: Extracted packet for processing {"connection_id":56368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b3"} 
[2026-04-28 11:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003180800001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777356476000,"timestamp_ms":1777356476000,"timestamp_seconds":1777356476,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b38e60"} 
[2026-04-28 11:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003180800001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003180800001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:43:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:43:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003180800001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":56368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:43:09] local.INFO: GPS data processed {"connection_id":56368,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:43:09] local.INFO: Acknowledgment sent {"connection_id":56368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:43:09] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:09] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:09] local.INFO: IMEI packet received {"connection_id":56586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":56586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:43:16] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:16] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:43:16] local.INFO: IMEI packet received {"connection_id":56586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":56586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:43:17] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b60348012d1822c00721b630004800bc29..."} 
[2026-04-28 11:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b60348012d1822c00721b630004800bc29..."} 
[2026-04-28 11:43:17] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b60348012d1822c00721b630004800bc29..."} 
[2026-04-28 11:43:17] local.INFO: Packet analysis {"connection_id":56586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:43:17] local.INFO: Extracted packet for processing {"connection_id":56586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003293696001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777356637000,"timestamp_ms":1777356637000,"timestamp_seconds":1777356637,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b60348"} 
[2026-04-28 11:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:43:17] 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-04-28 11:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 11:43:17] 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-04-28 11:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003293696001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003293696001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:43:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003293696001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":56586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:43:17] local.INFO: GPS data processed {"connection_id":56586,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:43:17] local.INFO: Acknowledgment sent {"connection_id":56586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:43:48] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b65550012d1822c00721b630004800bc26..."} 
[2026-04-28 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b65550012d1822c00721b630004800bc26..."} 
[2026-04-28 11:43:48] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b65550012d1822c00721b630004800bc26..."} 
[2026-04-28 11:43:48] local.INFO: Packet analysis {"connection_id":56586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:43:48] local.INFO: Extracted packet for processing {"connection_id":56586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003299072001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777356658000,"timestamp_ms":1777356658000,"timestamp_seconds":1777356658,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b65550"} 
[2026-04-28 11:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:43:48] 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-04-28 11:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003299072001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003299072001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:43:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003299072001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":56586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:43:48] local.INFO: GPS data processed {"connection_id":56586,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:43:48] local.INFO: Acknowledgment sent {"connection_id":56586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:43:54] local.INFO: TCP Data received {"connection_id":57263,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:54] local.INFO: Processing buffer {"connection_id":57263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:54] local.INFO: IMEI packet received {"connection_id":57263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":57263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:43:59] local.INFO: TCP Data received {"connection_id":57263,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:59] local.INFO: Processing buffer {"connection_id":57263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:43:59] local.INFO: IMEI packet received {"connection_id":57263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":57263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:44:01] local.INFO: TCP Data received {"connection_id":57263,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:01] local.INFO: Processing buffer {"connection_id":57263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:01] local.INFO: Packet analysis {"connection_id":57263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:44:01] local.INFO: Extracted packet for processing {"connection_id":57263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:44:01] 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-04-28 11:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:44:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:44:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":57263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:44:01] local.INFO: GPS data processed {"connection_id":57263,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:44:01] local.INFO: Acknowledgment sent {"connection_id":57263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:44:14] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:14] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:14] local.INFO: IMEI packet received {"connection_id":56587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:44:19] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:19] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:44:19] local.INFO: IMEI packet received {"connection_id":56587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":56587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:44:20] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b6a758012d1822c00721b630004800bc28..."} 
[2026-04-28 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b6a758012d1822c00721b630004800bc28..."} 
[2026-04-28 11:44:20] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b6a758012d1822c00721b630004800bc28..."} 
[2026-04-28 11:44:20] local.INFO: Packet analysis {"connection_id":56587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:44:20] local.INFO: Extracted packet for processing {"connection_id":56587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003304448001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777356679000,"timestamp_ms":1777356679000,"timestamp_seconds":1777356679,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b6a758"} 
[2026-04-28 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003304448001,"66":12428,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003304448001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:44:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003304448001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":56587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:44:20] local.INFO: GPS data processed {"connection_id":56587,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:44:20] local.INFO: Acknowledgment sent {"connection_id":56587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:44:33] local.INFO: TCP Data received {"connection_id":57263,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:33] local.INFO: Processing buffer {"connection_id":57263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:44:33] local.INFO: Packet analysis {"connection_id":57263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:44:33] local.INFO: Extracted packet for processing {"connection_id":57263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:44:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":57263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:44:33] local.INFO: GPS data processed {"connection_id":57263,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:44:33] local.INFO: Acknowledgment sent {"connection_id":57263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:44:53] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b6f960012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b6f960012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:44:53] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b6f960012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:44:53] local.INFO: Packet analysis {"connection_id":56587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:44:53] local.INFO: Extracted packet for processing {"connection_id":56587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003309824001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777356700000,"timestamp_ms":1777356700000,"timestamp_seconds":1777356700,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b6f960"} 
[2026-04-28 11:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:44: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-04-28 11:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:44:53] 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-04-28 11:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003309824001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003309824001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:44:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003309824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:44:53] local.INFO: TCP Data received {"connection_id":56369,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:53] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:53] local.INFO: IMEI packet received {"connection_id":56369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":56587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:44:53] local.INFO: GPS data processed {"connection_id":56587,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:44:53] local.INFO: Acknowledgment sent {"connection_id":56587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:44:59] local.INFO: TCP Data received {"connection_id":56369,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:59] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:44:59] local.INFO: IMEI packet received {"connection_id":56369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:45:00] local.INFO: TCP Data received {"connection_id":56369,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:01] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:01] local.INFO: Packet analysis {"connection_id":56369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:45:01] local.INFO: Extracted packet for processing {"connection_id":56369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:45:01] 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-04-28 11:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:45:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:45:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":56369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:45:01] local.INFO: GPS data processed {"connection_id":56369,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:45:01] local.INFO: Acknowledgment sent {"connection_id":56369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:45:17] local.INFO: TCP Data received {"connection_id":57265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:17] local.INFO: Processing buffer {"connection_id":57265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:17] local.INFO: IMEI packet received {"connection_id":57265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":57265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:45:19] local.INFO: TCP Data received {"connection_id":57265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:19] local.INFO: Processing buffer {"connection_id":57265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:45:19] local.INFO: IMEI packet received {"connection_id":57265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":57265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:45:20] local.INFO: TCP Data received {"connection_id":57265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b74b68012d1822c00721b630004800bc29..."} 
[2026-04-28 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b74b68012d1822c00721b630004800bc29..."} 
[2026-04-28 11:45:20] local.INFO: Processing buffer {"connection_id":57265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b74b68012d1822c00721b630004800bc29..."} 
[2026-04-28 11:45:20] local.INFO: Packet analysis {"connection_id":57265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:45:20] local.INFO: Extracted packet for processing {"connection_id":57265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003315200001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777356721000,"timestamp_ms":1777356721000,"timestamp_seconds":1777356721,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b74b68"} 
[2026-04-28 11:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:45:20] 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-04-28 11:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003315200001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003315200001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:45:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003315200001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":57265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:45:20] local.INFO: GPS data processed {"connection_id":57265,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:45:20] local.INFO: Acknowledgment sent {"connection_id":57265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:45:28] local.INFO: TCP Data received {"connection_id":57265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b79d70012d1822c00721b630004800bc28..."} 
[2026-04-28 11:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b79d70012d1822c00721b630004800bc28..."} 
[2026-04-28 11:45:28] local.INFO: Processing buffer {"connection_id":57265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b79d70012d1822c00721b630004800bc28..."} 
[2026-04-28 11:45:28] local.INFO: Packet analysis {"connection_id":57265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:45:28] local.INFO: Extracted packet for processing {"connection_id":57265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003320576001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777356742000,"timestamp_ms":1777356742000,"timestamp_seconds":1777356742,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b79d70"} 
[2026-04-28 11:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:45: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-04-28 11:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003320576001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003320576001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:45:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003320576001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":57265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:45:28] local.INFO: GPS data processed {"connection_id":57265,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:45:28] local.INFO: Acknowledgment sent {"connection_id":57265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:45:32] local.INFO: TCP Data received {"connection_id":56369,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:32] local.INFO: Processing buffer {"connection_id":56369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:45:32] local.INFO: Packet analysis {"connection_id":56369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:45:32] local.INFO: Extracted packet for processing {"connection_id":56369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:45:32] local.INFO: GPS data processed {"connection_id":56369,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:45:32] local.INFO: Acknowledgment sent {"connection_id":56369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:45:53] local.INFO: TCP Data received {"connection_id":56538,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:53] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:53] local.INFO: IMEI packet received {"connection_id":56538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:45:59] local.INFO: TCP Data received {"connection_id":56538,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:59] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:45:59] local.INFO: IMEI packet received {"connection_id":56538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:46:01] local.INFO: TCP Data received {"connection_id":56538,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:01] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:01] local.INFO: Packet analysis {"connection_id":56538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:01] local.INFO: Extracted packet for processing {"connection_id":56538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:46:01] 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-04-28 11:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:46:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:46:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":56538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:46:01] local.INFO: GPS data processed {"connection_id":56538,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:46:01] local.INFO: Acknowledgment sent {"connection_id":56538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:46:09] local.INFO: TCP Data received {"connection_id":56539,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:09] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:09] local.INFO: IMEI packet received {"connection_id":56539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":56539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:46:10] local.INFO: TCP Data received {"connection_id":56539,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:10] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:10] local.INFO: IMEI packet received {"connection_id":56539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":56539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:46:14] local.INFO: TCP Data received {"connection_id":56539,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:14] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:46:14] local.INFO: IMEI packet received {"connection_id":56539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":56539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:46:15] local.INFO: TCP Data received {"connection_id":56539,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b7ef78012d1822c00721b630004800bc29..."} 
[2026-04-28 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b7ef78012d1822c00721b630004800bc29..."} 
[2026-04-28 11:46:15] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b7ef78012d1822c00721b630004800bc29..."} 
[2026-04-28 11:46:15] local.INFO: Packet analysis {"connection_id":56539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:46:15] local.INFO: Extracted packet for processing {"connection_id":56539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b7"} 
[2026-04-28 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003325952001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777356763000,"timestamp_ms":1777356763000,"timestamp_seconds":1777356763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b7ef78"} 
[2026-04-28 11:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:46:15] 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-04-28 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003325952001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003325952001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:46:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003325952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":56539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:46:15] local.INFO: GPS data processed {"connection_id":56539,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:46:15] local.INFO: Acknowledgment sent {"connection_id":56539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:46:32] local.INFO: TCP Data received {"connection_id":56538,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:32] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:46:32] local.INFO: Packet analysis {"connection_id":56538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:32] local.INFO: Extracted packet for processing {"connection_id":56538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":56538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:46:32] local.INFO: GPS data processed {"connection_id":56538,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:46:32] local.INFO: Acknowledgment sent {"connection_id":56538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:46:49] local.INFO: TCP Data received {"connection_id":56539,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b84180012d1822c00721b630004800bc28..."} 
[2026-04-28 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b84180012d1822c00721b630004800bc28..."} 
[2026-04-28 11:46:49] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b84180012d1822c00721b630004800bc28..."} 
[2026-04-28 11:46:49] local.INFO: Packet analysis {"connection_id":56539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:49] local.INFO: Extracted packet for processing {"connection_id":56539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003331328001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777356784000,"timestamp_ms":1777356784000,"timestamp_seconds":1777356784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b84180"} 
[2026-04-28 11:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:46:49] 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-04-28 11:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003331328001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003331328001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:46:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003331328001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":56539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:46:49] local.INFO: GPS data processed {"connection_id":56539,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:46:49] local.INFO: Acknowledgment sent {"connection_id":56539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:46:55] local.INFO: TCP Data received {"connection_id":56589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:46:55] local.INFO: Processing buffer {"connection_id":56589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:46:55] local.INFO: IMEI packet received {"connection_id":56589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":56589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:46:59] local.INFO: TCP Data received {"connection_id":56590,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:46:59] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:46:59] local.INFO: IMEI packet received {"connection_id":56590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:47:04] local.INFO: TCP Data received {"connection_id":56590,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:04] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:04] local.INFO: IMEI packet received {"connection_id":56590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":56590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:47:05] local.INFO: TCP Data received {"connection_id":56590,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:05] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:05] local.INFO: Packet analysis {"connection_id":56590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:05] local.INFO: Extracted packet for processing {"connection_id":56590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:47:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:47:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":56590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:47:05] local.INFO: GPS data processed {"connection_id":56590,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:47:05] local.INFO: Acknowledgment sent {"connection_id":56590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:47:12] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:12] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:12] local.INFO: IMEI packet received {"connection_id":57266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":57266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:47:13] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:13] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:13] local.INFO: IMEI packet received {"connection_id":57266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":57266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:47:14] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:14] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:47:14] local.INFO: IMEI packet received {"connection_id":57266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":57266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:47:15] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b89388012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b89388012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:15] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b89388012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:15] local.INFO: Packet analysis {"connection_id":57266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:15] local.INFO: Extracted packet for processing {"connection_id":57266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003336704001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777356805000,"timestamp_ms":1777356805000,"timestamp_seconds":1777356805,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b89388"} 
[2026-04-28 11:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:47:15] 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-04-28 11:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003336704001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003336704001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:47:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003336704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":57266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:47:15] local.INFO: GPS data processed {"connection_id":57266,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:47:15] local.INFO: Acknowledgment sent {"connection_id":57266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:47:20] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b8e590012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b8e590012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:20] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b8e590012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:47:20] local.INFO: Packet analysis {"connection_id":57266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:20] local.INFO: Extracted packet for processing {"connection_id":57266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003342080001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777356826000,"timestamp_ms":1777356826000,"timestamp_seconds":1777356826,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b8e590"} 
[2026-04-28 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-04-28 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:47:20] 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-04-28 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-04-28 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-04-28 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003342080001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003342080001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:47:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003342080001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":57266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:47:20] local.INFO: GPS data processed {"connection_id":57266,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:47:20] local.INFO: Acknowledgment sent {"connection_id":57266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:47:34] local.INFO: TCP Data received {"connection_id":56370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:47:34] local.INFO: Processing buffer {"connection_id":56370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:47:34] local.INFO: IMEI packet received {"connection_id":56370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":56370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:47:37] local.INFO: TCP Data received {"connection_id":56590,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:37] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:47:37] local.INFO: Packet analysis {"connection_id":56590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:37] local.INFO: Extracted packet for processing {"connection_id":56590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:47:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:47:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":56590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:47:37] local.INFO: GPS data processed {"connection_id":56590,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:47:37] local.INFO: Acknowledgment sent {"connection_id":56590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:47:51] local.INFO: TCP Data received {"connection_id":57266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b93798012d1822c00721b630004800bc28..."} 
[2026-04-28 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b93798012d1822c00721b630004800bc28..."} 
[2026-04-28 11:47:51] local.INFO: Processing buffer {"connection_id":57266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b93798012d1822c00721b630004800bc28..."} 
[2026-04-28 11:47:51] local.INFO: Packet analysis {"connection_id":57266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:47:51] local.INFO: Extracted packet for processing {"connection_id":57266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003347456001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777356847000,"timestamp_ms":1777356847000,"timestamp_seconds":1777356847,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b93798"} 
[2026-04-28 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003347456001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003347456001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:47:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003347456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":57266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:47:51] local.INFO: GPS data processed {"connection_id":57266,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:47:51] local.INFO: Acknowledgment sent {"connection_id":57266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:47:53] local.INFO: TCP Data received {"connection_id":56540,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:53] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:53] local.INFO: IMEI packet received {"connection_id":56540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":56540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:47:59] local.INFO: TCP Data received {"connection_id":56540,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:59] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:47:59] local.INFO: IMEI packet received {"connection_id":56540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:48:02] local.INFO: TCP Data received {"connection_id":56540,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:02] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:02] local.INFO: Packet analysis {"connection_id":56540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:48:02] local.INFO: Extracted packet for processing {"connection_id":56540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 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-04-28 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:48:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:48:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":56540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:48:02] local.INFO: GPS data processed {"connection_id":56540,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:48:02] local.INFO: Acknowledgment sent {"connection_id":56540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:48:14] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:14] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:14] local.INFO: IMEI packet received {"connection_id":56371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":56371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:48:15] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:15] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:48:15] local.INFO: IMEI packet received {"connection_id":56371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":56371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:48:16] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b989a0012d1822c00721b630004800bc28..."} 
[2026-04-28 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b989a0012d1822c00721b630004800bc28..."} 
[2026-04-28 11:48:16] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b989a0012d1822c00721b630004800bc28..."} 
[2026-04-28 11:48:16] local.INFO: Packet analysis {"connection_id":56371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:48:16] local.INFO: Extracted packet for processing {"connection_id":56371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003352832001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777356868000,"timestamp_ms":1777356868000,"timestamp_seconds":1777356868,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b989a0"} 
[2026-04-28 11:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:48:16] 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-04-28 11: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-04-28 11:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:16] 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-04-28 11:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003352832001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003352832001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:48:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003352832001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":56371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:48:16] local.INFO: GPS data processed {"connection_id":56371,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:48:16] local.INFO: Acknowledgment sent {"connection_id":56371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:48:22] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b9dba8012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b9dba8012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:22] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b9dba8012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:22] local.INFO: Packet analysis {"connection_id":56371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:48:22] local.INFO: Extracted packet for processing {"connection_id":56371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b9"} 
[2026-04-28 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003358208001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777356889000,"timestamp_ms":1777356889000,"timestamp_seconds":1777356889,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b9dba8"} 
[2026-04-28 11:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:48: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-04-28 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:22] 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-04-28 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003358208001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003358208001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:48:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003358208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":56371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:48:22] local.INFO: GPS data processed {"connection_id":56371,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:48:22] local.INFO: Acknowledgment sent {"connection_id":56371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:48:33] local.INFO: TCP Data received {"connection_id":56540,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:34] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b82628012d7fa44005afde68000901122a..."} 
[2026-04-28 11:48:34] local.INFO: Packet analysis {"connection_id":56540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:48:34] local.INFO: Extracted packet for processing {"connection_id":56540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b8"} 
[2026-04-28 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003257856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777356777000,"timestamp_ms":1777356777000,"timestamp_seconds":1777356777,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b82628"} 
[2026-04-28 11:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 11:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003257856001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003257856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:48:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:48:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003257856001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":56540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:48:34] local.INFO: GPS data processed {"connection_id":56540,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:48:34] local.INFO: Acknowledgment sent {"connection_id":56540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:48:52] local.INFO: TCP Data received {"connection_id":56371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ba2db0012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ba2db0012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:52] local.INFO: Processing buffer {"connection_id":56371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ba2db0012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:48:52] local.INFO: Packet analysis {"connection_id":56371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ba"} 
[2026-04-28 11:48:52] local.INFO: Extracted packet for processing {"connection_id":56371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ba"} 
[2026-04-28 11:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003363584001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777356910000,"timestamp_ms":1777356910000,"timestamp_seconds":1777356910,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ba2db0"} 
[2026-04-28 11:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:48: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-04-28 11:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:48:52] 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-04-28 11:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003363584001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003363584001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003363584001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":56371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:48:53] local.INFO: GPS data processed {"connection_id":56371,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:48:53] local.INFO: Acknowledgment sent {"connection_id":56371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:48:53] local.INFO: TCP Data received {"connection_id":56591,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:53] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:53] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:48:59] local.INFO: TCP Data received {"connection_id":56591,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:59] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:48:59] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:49:00] local.INFO: TCP Data received {"connection_id":56591,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:00] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:00] local.INFO: Packet analysis {"connection_id":56591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:49:00] local.INFO: Extracted packet for processing {"connection_id":56591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:49:00] local.INFO: GPS data processed {"connection_id":56591,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:49:00] local.INFO: Acknowledgment sent {"connection_id":56591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:49:32] local.INFO: TCP Data received {"connection_id":56591,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:32] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:49:32] local.INFO: Packet analysis {"connection_id":56591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:49:32] local.INFO: Extracted packet for processing {"connection_id":56591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:49:32] local.INFO: GPS data processed {"connection_id":56591,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:49:32] local.INFO: Acknowledgment sent {"connection_id":56591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:49:53] local.INFO: TCP Data received {"connection_id":57268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:49:53] local.INFO: Processing buffer {"connection_id":57268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:49:53] local.INFO: IMEI packet received {"connection_id":57268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":57268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:49:54] local.INFO: TCP Data received {"connection_id":57268,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57268,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:49:54] local.INFO: Processing buffer {"connection_id":57268,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 11:49:54] local.INFO: IMEI packet received {"connection_id":57268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":57268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:49:54] local.INFO: TCP Data received {"connection_id":57268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ba7fb8012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ba7fb8012d1822c00721b630004800bc2a..."} 
[2026-04-28 11:49:54] local.INFO: Processing buffer {"connection_id":57268,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 11:49:54] local.INFO: IMEI packet received {"connection_id":57268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":57268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:49:59] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:49:59] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:49:59] local.INFO: IMEI packet received {"connection_id":56592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:50:04] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:04] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:04] local.INFO: IMEI packet received {"connection_id":56592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":56592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:50:05] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:05] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:05] local.INFO: Packet analysis {"connection_id":56592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:50:05] local.INFO: Extracted packet for processing {"connection_id":56592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:50:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":56592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:50:05] local.INFO: GPS data processed {"connection_id":56592,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:50:05] local.INFO: Acknowledgment sent {"connection_id":56592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:50:09] local.INFO: TCP Data received {"connection_id":57270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:09] local.INFO: Processing buffer {"connection_id":57270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:09] local.INFO: IMEI packet received {"connection_id":57270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":57270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:50:10] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:10] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:50:10] local.INFO: Packet analysis {"connection_id":56592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:50:10] local.INFO: Extracted packet for processing {"connection_id":56592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:50:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:50:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":56592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:50:10] local.INFO: GPS data processed {"connection_id":56592,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:50:10] local.INFO: Acknowledgment sent {"connection_id":56592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:50:14] local.INFO: TCP Data received {"connection_id":57270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:14] local.INFO: Processing buffer {"connection_id":57270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:50:14] local.INFO: IMEI packet received {"connection_id":57270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":57270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:50:15] local.INFO: TCP Data received {"connection_id":57270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bad1c0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bad1c0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:50:15] local.INFO: Processing buffer {"connection_id":57270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bad1c0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:50:15] local.INFO: Packet analysis {"connection_id":57270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ba"} 
[2026-04-28 11:50:15] local.INFO: Extracted packet for processing {"connection_id":57270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ba"} 
[2026-04-28 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003374336001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777356952000,"timestamp_ms":1777356952000,"timestamp_seconds":1777356952,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bad1c0"} 
[2026-04-28 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:50:15] 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-04-28 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:50:15] 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-04-28 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003374336001,"66":12504,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003374336001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:50:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003374336001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":57270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:50:15] local.INFO: GPS data processed {"connection_id":57270,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:50:15] local.INFO: Acknowledgment sent {"connection_id":57270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:50:45] local.INFO: TCP Data received {"connection_id":57270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bb23c8012d1822c00721b630004800bc27..."} 
[2026-04-28 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bb23c8012d1822c00721b630004800bc27..."} 
[2026-04-28 11:50:45] local.INFO: Processing buffer {"connection_id":57270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bb23c8012d1822c00721b630004800bc27..."} 
[2026-04-28 11:50:45] local.INFO: Packet analysis {"connection_id":57270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bb"} 
[2026-04-28 11:50:45] local.INFO: Extracted packet for processing {"connection_id":57270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bb"} 
[2026-04-28 11:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003379712001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777356973000,"timestamp_ms":1777356973000,"timestamp_seconds":1777356973,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bb23c8"} 
[2026-04-28 11:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 11:50:45] 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-04-28 11: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-04-28 11:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:50:45] 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-04-28 11:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003379712001,"66":12406,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003379712001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:50:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003379712001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":57270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:50:45] local.INFO: GPS data processed {"connection_id":57270,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:50:45] local.INFO: Acknowledgment sent {"connection_id":57270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:50:54] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:54] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:54] local.INFO: IMEI packet received {"connection_id":56542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":56542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:50:59] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:59] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:50:59] local.INFO: IMEI packet received {"connection_id":56542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":56542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:51:00] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:00] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:00] local.INFO: Packet analysis {"connection_id":56542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:51:00] local.INFO: Extracted packet for processing {"connection_id":56542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:51:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":56542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:51:00] local.INFO: GPS data processed {"connection_id":56542,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:51:00] local.INFO: Acknowledgment sent {"connection_id":56542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:51:11] local.INFO: TCP Data received {"connection_id":56593,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:11] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:11] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:51:16] local.INFO: TCP Data received {"connection_id":56593,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:16] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:51:16] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:51:17] local.INFO: TCP Data received {"connection_id":56593,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bb75d0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bb75d0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:51:17] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bb75d0012d1822c00721b630004800bc29..."} 
[2026-04-28 11:51:17] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bb"} 
[2026-04-28 11:51:17] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bb"} 
[2026-04-28 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003385088001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777356994000,"timestamp_ms":1777356994000,"timestamp_seconds":1777356994,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bb75d0"} 
[2026-04-28 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-04-28 11:51:17] 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-04-28 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003385088001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003385088001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003385088001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:51:17] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:51:17] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:51:32] local.INFO: TCP Data received {"connection_id":56542,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:32] local.INFO: Processing buffer {"connection_id":56542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:51:32] local.INFO: Packet analysis {"connection_id":56542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:51:32] local.INFO: Extracted packet for processing {"connection_id":56542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":56542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:51:32] local.INFO: GPS data processed {"connection_id":56542,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:51:32] local.INFO: Acknowledgment sent {"connection_id":56542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:51:49] local.INFO: TCP Data received {"connection_id":56593,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2befc28012d1822c00721b630004800bc28..."} 
[2026-04-28 11:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2befc28012d1822c00721b630004800bc28..."} 
[2026-04-28 11:51:49] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2befc28012d1822c00721b630004800bc28..."} 
[2026-04-28 11:51:49] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2be"} 
[2026-04-28 11:51:49] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2be"} 
[2026-04-28 11:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003444224001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777357225000,"timestamp_ms":1777357225000,"timestamp_seconds":1777357225,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2befc28"} 
[2026-04-28 11:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:51:49] 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-04-28 11:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003444224001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003444224001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003444224001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:51:49] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:51:49] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:51:54] local.INFO: TCP Data received {"connection_id":57272,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:54] local.INFO: Processing buffer {"connection_id":57272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:54] local.INFO: IMEI packet received {"connection_id":57272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":57272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:51:59] local.INFO: TCP Data received {"connection_id":57272,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:59] local.INFO: Processing buffer {"connection_id":57272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:51:59] local.INFO: IMEI packet received {"connection_id":57272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":57272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:52:01] local.INFO: TCP Data received {"connection_id":57272,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:01] local.INFO: Processing buffer {"connection_id":57272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:01] local.INFO: Packet analysis {"connection_id":57272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:52:01] local.INFO: Extracted packet for processing {"connection_id":57272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:52:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":57272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:52:01] local.INFO: GPS data processed {"connection_id":57272,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:52:01] local.INFO: Acknowledgment sent {"connection_id":57272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:52:16] local.INFO: TCP Data received {"connection_id":57273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:16] local.INFO: Processing buffer {"connection_id":57273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:16] local.INFO: IMEI packet received {"connection_id":57273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":57273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:52:17] local.INFO: TCP Data received {"connection_id":57273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:17] local.INFO: Processing buffer {"connection_id":57273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:52:17] local.INFO: IMEI packet received {"connection_id":57273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":57273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:52:18] local.INFO: TCP Data received {"connection_id":57273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bf4e30012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bf4e30012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:18] local.INFO: Processing buffer {"connection_id":57273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bf4e30012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:18] local.INFO: Packet analysis {"connection_id":57273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:18] local.INFO: Extracted packet for processing {"connection_id":57273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003449600001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777357246000,"timestamp_ms":1777357246000,"timestamp_seconds":1777357246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bf4e30"} 
[2026-04-28 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-04-28 11:52: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-04-28 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:52: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-04-28 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-04-28 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-04-28 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:18] 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-04-28 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003449600001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003449600001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003449600001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":57273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:52:18] local.INFO: GPS data processed {"connection_id":57273,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:52:18] local.INFO: Acknowledgment sent {"connection_id":57273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:52:19] local.INFO: TCP Data received {"connection_id":57273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bfa038012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bfa038012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:19] local.INFO: Processing buffer {"connection_id":57273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bfa038012d1822c00721b630004800bc27..."} 
[2026-04-28 11:52:19] local.INFO: Packet analysis {"connection_id":57273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:19] local.INFO: Extracted packet for processing {"connection_id":57273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003454976001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777357267000,"timestamp_ms":1777357267000,"timestamp_seconds":1777357267,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bfa038"} 
[2026-04-28 11:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:52: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-04-28 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:52:19] 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-04-28 11: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-04-28 11:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:19] 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-04-28 11:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003454976001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003454976001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:52:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003454976001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":57273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:52:19] local.INFO: GPS data processed {"connection_id":57273,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:52:19] local.INFO: Acknowledgment sent {"connection_id":57273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:52:33] local.INFO: TCP Data received {"connection_id":57272,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:33] local.INFO: Processing buffer {"connection_id":57272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:52:33] local.INFO: Packet analysis {"connection_id":57272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:52:33] local.INFO: Extracted packet for processing {"connection_id":57272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:52:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":57272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:52:33] local.INFO: GPS data processed {"connection_id":57272,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:52:33] local.INFO: Acknowledgment sent {"connection_id":57272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:52:50] local.INFO: TCP Data received {"connection_id":57273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bff240012d1822c00721b630004800bc28..."} 
[2026-04-28 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bff240012d1822c00721b630004800bc28..."} 
[2026-04-28 11:52:50] local.INFO: Processing buffer {"connection_id":57273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bff240012d1822c00721b630004800bc28..."} 
[2026-04-28 11:52:50] local.INFO: Packet analysis {"connection_id":57273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:50] local.INFO: Extracted packet for processing {"connection_id":57273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bf"} 
[2026-04-28 11:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003460352001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777357288000,"timestamp_ms":1777357288000,"timestamp_seconds":1777357288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bff240"} 
[2026-04-28 11:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:52:50] 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-04-28 11:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003460352001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003460352001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:52:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003460352001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":57273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:52:50] local.INFO: GPS data processed {"connection_id":57273,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:52:50] local.INFO: Acknowledgment sent {"connection_id":57273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:52:53] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:52:53] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:52:53] local.INFO: IMEI packet received {"connection_id":56373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:53:00] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:53:00] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:53:00] local.INFO: IMEI packet received {"connection_id":56373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":56373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:53:03] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:03] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:03] local.INFO: Packet analysis {"connection_id":56373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:53:03] local.INFO: Extracted packet for processing {"connection_id":56373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:53:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:53:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":56373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:53:03] local.INFO: GPS data processed {"connection_id":56373,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:53:03] local.INFO: Acknowledgment sent {"connection_id":56373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:53:05] local.INFO: TCP Data received {"connection_id":56372,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:05] local.INFO: Processing buffer {"connection_id":56372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:05] local.INFO: IMEI packet received {"connection_id":56372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":56372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:53:09] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:09] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:09] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:53:10] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:10] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:10] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:53:17] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:17] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:53:17] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:53:18] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c04448012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c04448012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:18] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c04448012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:18] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:53:18] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003465728001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777357309000,"timestamp_ms":1777357309000,"timestamp_seconds":1777357309,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c04448"} 
[2026-04-28 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-04-28 11:53: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-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:53: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-04-28 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-04-28 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-04-28 11:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:53:18] 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-04-28 11:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003465728001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003465728001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:53:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003465728001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:53:18] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:53:18] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:53:34] local.INFO: TCP Data received {"connection_id":57274,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:34] local.INFO: Processing buffer {"connection_id":57274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:34] local.INFO: IMEI packet received {"connection_id":57274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":57274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:53:34] local.INFO: TCP Data received {"connection_id":56373,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:34] local.INFO: Processing buffer {"connection_id":56373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2bcbdf0012d7fa44005afde68000901122a..."} 
[2026-04-28 11:53:34] local.INFO: Packet analysis {"connection_id":56373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:53:34] local.INFO: Extracted packet for processing {"connection_id":56373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2bc"} 
[2026-04-28 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003334912001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777357078000,"timestamp_ms":1777357078000,"timestamp_seconds":1777357078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2bcbdf0"} 
[2026-04-28 11:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 11:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003334912001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003334912001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:53:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:53:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003334912001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":56373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:53:34] local.INFO: GPS data processed {"connection_id":56373,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:53:34] local.INFO: Acknowledgment sent {"connection_id":56373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:53:40] local.INFO: TCP Data received {"connection_id":57274,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:40] local.INFO: Processing buffer {"connection_id":57274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:53:40] local.INFO: IMEI packet received {"connection_id":57274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 11:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":57274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:53:41] local.INFO: TCP Data received {"connection_id":57274,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2964260012cb29ac007822ea0004400192b..."} 
[2026-04-28 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2964260012cb29ac007822ea0004400192b..."} 
[2026-04-28 11:53:41] local.INFO: Processing buffer {"connection_id":57274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2964260012cb29ac007822ea0004400192b..."} 
[2026-04-28 11:53:41] local.INFO: Packet analysis {"connection_id":57274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:53:41] local.INFO: Extracted packet for processing {"connection_id":57274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd296"} 
[2026-04-28 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972128,"longitude_deg":74.9902528,"latitude_deg":12.5972128,"altitude":68,"angle":25,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea0","is_valid_coordinates":true} 
[2026-04-28 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455002689280001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063540224,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777354556000,"timestamp_ms":1777354556000,"timestamp_seconds":1777354556,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2964260"} 
[2026-04-28 11:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:53:41] 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-04-28 11: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 11:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":57274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":57274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 11:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":57274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 11:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 11:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 11:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455002689280001,"66":25093,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063540224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 11:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 11:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 11:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455002689280001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:53:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 11:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 11:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063540224,"description":"Unknown IO ID 44"} 
[2026-04-28 11:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455002689280001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063540224}} 
[2026-04-28 11:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":57274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:53:41] local.INFO: GPS data processed {"connection_id":57274,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:53:41] local.INFO: Acknowledgment sent {"connection_id":57274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:53:49] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c09650012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c09650012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:49] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c09650012d1822c00721b630004800bc29..."} 
[2026-04-28 11:53:49] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:53:49] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003471104001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777357330000,"timestamp_ms":1777357330000,"timestamp_seconds":1777357330,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c09650"} 
[2026-04-28 11:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:53:49] 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-04-28 11:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003471104001,"66":12461,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003471104001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:53:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003471104001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:53:49] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:53:49] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:54:00] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:00] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:00] local.INFO: IMEI packet received {"connection_id":56594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":56594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:54:04] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:04] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:04] local.INFO: IMEI packet received {"connection_id":56594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":56594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:54:05] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:05] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:05] local.INFO: Packet analysis {"connection_id":56594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:05] local.INFO: Extracted packet for processing {"connection_id":56594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":56594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:54:05] local.INFO: GPS data processed {"connection_id":56594,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:54:05] local.INFO: Acknowledgment sent {"connection_id":56594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:54:12] local.INFO: TCP Data received {"connection_id":56544,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:12] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:12] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:54:14] local.INFO: TCP Data received {"connection_id":56544,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:14] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:14] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:54:19] local.INFO: TCP Data received {"connection_id":56544,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:19] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:54:19] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:54:20] local.INFO: TCP Data received {"connection_id":56544,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c0e858012d1822c00721b630004800bc29..."} 
[2026-04-28 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c0e858012d1822c00721b630004800bc29..."} 
[2026-04-28 11:54:20] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c0e858012d1822c00721b630004800bc29..."} 
[2026-04-28 11:54:20] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:54:20] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c0"} 
[2026-04-28 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003476480001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777357351000,"timestamp_ms":1777357351000,"timestamp_seconds":1777357351,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c0e858"} 
[2026-04-28 11:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 11:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003476480001,"66":12428,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003476480001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:54:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003476480001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:54:20] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:54:20] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:54:25] local.INFO: TCP Data received {"connection_id":56374,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:54:25] local.INFO: Processing buffer {"connection_id":56374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:54:25] local.INFO: IMEI packet received {"connection_id":56374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":56374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:54:25] local.INFO: TCP Data received {"connection_id":56544,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c13a60012d1822c00721b630004800bc27..."} 
[2026-04-28 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c13a60012d1822c00721b630004800bc27..."} 
[2026-04-28 11:54:25] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c13a60012d1822c00721b630004800bc27..."} 
[2026-04-28 11:54:25] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:25] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003481856001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777357372000,"timestamp_ms":1777357372000,"timestamp_seconds":1777357372,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c13a60"} 
[2026-04-28 11:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:54:25] 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-04-28 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:54:25] 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-04-28 11: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-04-28 11:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:54:25] 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-04-28 11:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003481856001,"66":12385,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003481856001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:54:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003481856001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:54:25] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:54:25] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:54:37] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:37] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:54:37] local.INFO: Packet analysis {"connection_id":56594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:37] local.INFO: Extracted packet for processing {"connection_id":56594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:54:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:54:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":56594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:54:37] local.INFO: GPS data processed {"connection_id":56594,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:54:37] local.INFO: Acknowledgment sent {"connection_id":56594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:54:53] local.INFO: TCP Data received {"connection_id":57275,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:53] local.INFO: Processing buffer {"connection_id":57275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:53] local.INFO: IMEI packet received {"connection_id":57275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":57275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:54:59] local.INFO: TCP Data received {"connection_id":57275,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:59] local.INFO: Processing buffer {"connection_id":57275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:54:59] local.INFO: IMEI packet received {"connection_id":57275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":57275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:55:00] local.INFO: TCP Data received {"connection_id":57275,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:00] local.INFO: Processing buffer {"connection_id":57275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:00] local.INFO: Packet analysis {"connection_id":57275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:00] local.INFO: Extracted packet for processing {"connection_id":57275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:55:00] 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-04-28 11: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-04-28 11:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":57275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:55:00] local.INFO: GPS data processed {"connection_id":57275,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:55:00] local.INFO: Acknowledgment sent {"connection_id":57275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:55:09] local.INFO: TCP Data received {"connection_id":57276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:09] local.INFO: Processing buffer {"connection_id":57276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:09] local.INFO: IMEI packet received {"connection_id":57276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":57276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:55:14] local.INFO: TCP Data received {"connection_id":57276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:14] local.INFO: Processing buffer {"connection_id":57276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:55:14] local.INFO: IMEI packet received {"connection_id":57276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":57276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:55:15] local.INFO: TCP Data received {"connection_id":57276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c18c68012d1822c00721b630004800bc27..."} 
[2026-04-28 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c18c68012d1822c00721b630004800bc27..."} 
[2026-04-28 11:55:15] local.INFO: Processing buffer {"connection_id":57276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c18c68012d1822c00721b630004800bc27..."} 
[2026-04-28 11:55:15] local.INFO: Packet analysis {"connection_id":57276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:15] local.INFO: Extracted packet for processing {"connection_id":57276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003487232001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777357393000,"timestamp_ms":1777357393000,"timestamp_seconds":1777357393,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c18c68"} 
[2026-04-28 11:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 11:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003487232001,"66":12406,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003487232001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:55:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003487232001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":57276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:55:15] local.INFO: GPS data processed {"connection_id":57276,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:55:15] local.INFO: Acknowledgment sent {"connection_id":57276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:55:32] local.INFO: TCP Data received {"connection_id":57275,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:32] local.INFO: Processing buffer {"connection_id":57275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:55:32] local.INFO: Packet analysis {"connection_id":57275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:32] local.INFO: Extracted packet for processing {"connection_id":57275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:55:32] 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-04-28 11: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-04-28 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":57275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:55:32] local.INFO: GPS data processed {"connection_id":57275,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:55:32] local.INFO: Acknowledgment sent {"connection_id":57275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:55:49] local.INFO: TCP Data received {"connection_id":57276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c1de70012d1822c00721b630004800bc25..."} 
[2026-04-28 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c1de70012d1822c00721b630004800bc25..."} 
[2026-04-28 11:55:49] local.INFO: Processing buffer {"connection_id":57276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c1de70012d1822c00721b630004800bc25..."} 
[2026-04-28 11:55:49] local.INFO: Packet analysis {"connection_id":57276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:49] local.INFO: Extracted packet for processing {"connection_id":57276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003492608001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777357414000,"timestamp_ms":1777357414000,"timestamp_seconds":1777357414,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c1de70"} 
[2026-04-28 11:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:55:49] 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-04-28 11: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-04-28 11:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:55:49] 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-04-28 11:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003492608001,"66":12428,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003492608001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:55:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003492608001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":57276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:55:49] local.INFO: GPS data processed {"connection_id":57276,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:55:49] local.INFO: Acknowledgment sent {"connection_id":57276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:55:53] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:55:53] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:55:53] local.INFO: IMEI packet received {"connection_id":56375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:56:00] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:00] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:00] local.INFO: IMEI packet received {"connection_id":56375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":56375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:56:01] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:01] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:01] local.INFO: Packet analysis {"connection_id":56375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:56:01] local.INFO: Extracted packet for processing {"connection_id":56375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:56:01] 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-04-28 11:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:56:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:56:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":56375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:56:01] local.INFO: GPS data processed {"connection_id":56375,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:56:01] local.INFO: Acknowledgment sent {"connection_id":56375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:56:09] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:09] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:09] local.INFO: IMEI packet received {"connection_id":56546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":56546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:56:14] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:14] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:56:14] local.INFO: IMEI packet received {"connection_id":56546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":56546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:56:15] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c23078012d1822c00721b630004800bc28..."} 
[2026-04-28 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c23078012d1822c00721b630004800bc28..."} 
[2026-04-28 11:56:15] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c23078012d1822c00721b630004800bc28..."} 
[2026-04-28 11:56:15] local.INFO: Packet analysis {"connection_id":56546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c2"} 
[2026-04-28 11:56:15] local.INFO: Extracted packet for processing {"connection_id":56546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c2"} 
[2026-04-28 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003497984001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777357435000,"timestamp_ms":1777357435000,"timestamp_seconds":1777357435,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c23078"} 
[2026-04-28 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:56:15] 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-04-28 11:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003497984001,"66":12428,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003497984001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:56:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003497984001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":56546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:56:15] local.INFO: GPS data processed {"connection_id":56546,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:56:15] local.INFO: Acknowledgment sent {"connection_id":56546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:56:32] local.INFO: TCP Data received {"connection_id":56375,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:32] local.INFO: Processing buffer {"connection_id":56375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:56:32] local.INFO: Packet analysis {"connection_id":56375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:56:32] local.INFO: Extracted packet for processing {"connection_id":56375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:56: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-04-28 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:56:32] 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-04-28 11:56: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-04-28 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":56375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:56:32] local.INFO: GPS data processed {"connection_id":56375,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:56:32] local.INFO: Acknowledgment sent {"connection_id":56375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:56:46] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c28280012d1822c00721b630004800bc26..."} 
[2026-04-28 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c28280012d1822c00721b630004800bc26..."} 
[2026-04-28 11:56:46] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c28280012d1822c00721b630004800bc26..."} 
[2026-04-28 11:56:46] local.INFO: Packet analysis {"connection_id":56546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c2"} 
[2026-04-28 11:56:46] local.INFO: Extracted packet for processing {"connection_id":56546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c2"} 
[2026-04-28 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649840,"longitude_deg":75.655648,"latitude_deg":11.964984,"altitude":72,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003503360001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525660960620544,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981324800,"note":"Value kept but may cause issues"} 
[2026-04-28 11:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777357456000,"timestamp_ms":1777357456000,"timestamp_seconds":1777357456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c28280"} 
[2026-04-28 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-04-28 11:56: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-04-28 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 11:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003503360001,"66":12406,"105":206,"83":41984,"24":0,"16":115525660960620544,"45":1739163542981324800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003503360001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:56:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525660960620544,"km_value":115525660960620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981324800,"description":"Unknown IO ID 45"} 
[2026-04-28 11:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003503360001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981324800}} 
[2026-04-28 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":56546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:56:46] local.INFO: GPS data processed {"connection_id":56546,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:56:46] local.INFO: Acknowledgment sent {"connection_id":56546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:56:59] local.INFO: TCP Data received {"connection_id":57277,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:59] local.INFO: Processing buffer {"connection_id":57277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:56:59] local.INFO: IMEI packet received {"connection_id":57277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":57277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:57:04] local.INFO: TCP Data received {"connection_id":57277,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:04] local.INFO: Processing buffer {"connection_id":57277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:04] local.INFO: IMEI packet received {"connection_id":57277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":57277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:57:05] local.INFO: TCP Data received {"connection_id":57277,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:05] local.INFO: Processing buffer {"connection_id":57277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:05] local.INFO: Packet analysis {"connection_id":57277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:57:05] local.INFO: Extracted packet for processing {"connection_id":57277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:57:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:57:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":57277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:57:05] local.INFO: GPS data processed {"connection_id":57277,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:57:05] local.INFO: Acknowledgment sent {"connection_id":57277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:57:09] local.INFO: TCP Data received {"connection_id":57277,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:09] local.INFO: Processing buffer {"connection_id":57277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:57:09] local.INFO: Packet analysis {"connection_id":57277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:57:09] local.INFO: Extracted packet for processing {"connection_id":57277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:57:09] 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-04-28 11:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:57:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:57:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":57277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:57:09] local.INFO: GPS data processed {"connection_id":57277,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:57:09] local.INFO: Acknowledgment sent {"connection_id":57277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:57:13] local.INFO: TCP Data received {"connection_id":56377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:13] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:13] local.INFO: IMEI packet received {"connection_id":56377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":56377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:57:14] local.INFO: TCP Data received {"connection_id":56377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:14] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:14] local.INFO: IMEI packet received {"connection_id":56377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":56377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:57:21] local.INFO: TCP Data received {"connection_id":56377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:21] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:57:21] local.INFO: IMEI packet received {"connection_id":56377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":56377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:57:22] local.INFO: TCP Data received {"connection_id":56377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c46ac8012d1823800721a470004c008828..."} 
[2026-04-28 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c46ac8012d1823800721a470004c008828..."} 
[2026-04-28 11:57:22] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c46ac8012d1823800721a470004c008828..."} 
[2026-04-28 11:57:22] local.INFO: Packet analysis {"connection_id":56377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:57:22] local.INFO: Extracted packet for processing {"connection_id":56377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119645296,"longitude_deg":75.6556672,"latitude_deg":11.9645296,"altitude":76,"angle":136,"satellites":40,"speed":14,"hex_longitude":"2d182380","hex_latitude":"0721a470","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003539712001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115525914363691008,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538567168,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777357581000,"timestamp_ms":1777357581000,"timestamp_seconds":1777357581,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c46ac8"} 
[2026-04-28 11:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:57:22] 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-04-28 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-28 11:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:57:22] 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-04-28 11:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003539712001,"66":14113,"105":206,"83":41984,"24":14,"16":115525914363691008,"45":1738459855538567168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003539712001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:57:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115525914363691008,"km_value":115525914363691.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538567168,"description":"Unknown IO ID 45"} 
[2026-04-28 11:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003539712001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1738459855538567168}} 
[2026-04-28 11:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":56377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:57:22] local.INFO: GPS data processed {"connection_id":56377,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:57:22] local.INFO: Acknowledgment sent {"connection_id":56377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:57:25] local.INFO: TCP Data received {"connection_id":56377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c48a08012d182e0007219b00004f007d27..."} 
[2026-04-28 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c48a08012d182e0007219b00004f007d27..."} 
[2026-04-28 11:57:25] local.INFO: Processing buffer {"connection_id":56377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c48a08012d182e0007219b00004f007d27..."} 
[2026-04-28 11:57:25] local.INFO: Packet analysis {"connection_id":56377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:57:25] local.INFO: Extracted packet for processing {"connection_id":56377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119642880,"longitude_deg":75.655936,"latitude_deg":11.964288,"altitude":79,"angle":125,"satellites":39,"speed":23,"hex_longitude":"2d182e00","hex_latitude":"07219b00","is_valid_coordinates":true} 
[2026-04-28 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003540736001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115526086162382848,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649212694528,"note":"Value kept but may cause issues"} 
[2026-04-28 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777357589000,"timestamp_ms":1777357589000,"timestamp_seconds":1777357589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c48a08"} 
[2026-04-28 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:57:25] 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-04-28 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 11:57:25] 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-04-28 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:57:25] 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-04-28 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003540736001,"66":14189,"105":206,"83":41984,"24":23,"16":115526086162382848,"45":1739374649212694528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003540736001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:57:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115526086162382848,"km_value":115526086162382.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649212694528,"description":"Unknown IO ID 45"} 
[2026-04-28 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003540736001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1739374649212694528}} 
[2026-04-28 11:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":56377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:57:26] local.INFO: GPS data processed {"connection_id":56377,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:57:26] local.INFO: Acknowledgment sent {"connection_id":56377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:57:53] local.INFO: TCP Data received {"connection_id":56547,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:53] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:53] local.INFO: IMEI packet received {"connection_id":56547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":56547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:57:59] local.INFO: TCP Data received {"connection_id":56547,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:59] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:57:59] local.INFO: IMEI packet received {"connection_id":56547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:58:01] local.INFO: TCP Data received {"connection_id":56547,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:01] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:01] local.INFO: Packet analysis {"connection_id":56547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:58:01] local.INFO: Extracted packet for processing {"connection_id":56547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 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-04-28 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:58:01] 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-04-28 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-04-28 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-04-28 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:58:01] local.INFO: GPS data processed {"connection_id":56547,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:58:01] local.INFO: Acknowledgment sent {"connection_id":56547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:58:06] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:06] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:06] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:58:08] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:08] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:08] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:58:09] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:09] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:09] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:58:12] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:12] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:58:12] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:58:16] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c495c0012d18348007219700004f007127..."} 
[2026-04-28 11:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c495c0012d18348007219700004f007127..."} 
[2026-04-28 11:58:16] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c495c0012d18348007219700004f007127..."} 
[2026-04-28 11:58:16] local.INFO: Packet analysis {"connection_id":56595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:58:16] local.INFO: Extracted packet for processing {"connection_id":56595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c4"} 
[2026-04-28 11:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641856,"longitude_deg":75.6561024,"latitude_deg":11.9641856,"altitude":79,"angle":113,"satellites":39,"speed":28,"hex_longitude":"2d183480","hex_latitude":"07219700","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003542784001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115526180651663360,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467537920,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777357592000,"timestamp_ms":1777357592000,"timestamp_seconds":1777357592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c495c0"} 
[2026-04-28 11:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 11:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:58:16] 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-04-28 11:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003542784001,"66":14157,"105":206,"83":41984,"24":28,"16":115526180651663360,"45":1742330136467537920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 11:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003542784001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:58:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 11:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115526180651663360,"km_value":115526180651663.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467537920,"description":"Unknown IO ID 45"} 
[2026-04-28 11:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003542784001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1742330136467537920}} 
[2026-04-28 11:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":56595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:58:16] local.INFO: GPS data processed {"connection_id":56595,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:58:16] local.INFO: Acknowledgment sent {"connection_id":56595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:58:33] local.INFO: TCP Data received {"connection_id":56547,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:33] local.INFO: Processing buffer {"connection_id":56547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c155b8012d7fa44005afde68000901122b..."} 
[2026-04-28 11:58:33] local.INFO: Packet analysis {"connection_id":56547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:58:33] local.INFO: Extracted packet for processing {"connection_id":56547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c1"} 
[2026-04-28 11:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003411968001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357379000,"timestamp_ms":1777357379000,"timestamp_seconds":1777357379,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c155b8"} 
[2026-04-28 11:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 11:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11: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-04-28 11:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003411968001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003411968001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:58:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:58:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003411968001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":56547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:58:33] local.INFO: GPS data processed {"connection_id":56547,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:58:33] local.INFO: Acknowledgment sent {"connection_id":56547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:58:48] local.INFO: TCP Data received {"connection_id":56595,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d18ea800720e7e80039009527..."} 
[2026-04-28 11:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d18ea800720e7e80039009527..."} 
[2026-04-28 11:58:48] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d18ea800720e7e80039009527..."} 
[2026-04-28 11:58:48] local.INFO: Packet analysis {"connection_id":56595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:58:48] local.INFO: Extracted packet for processing {"connection_id":56595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756607616,"raw_latitude":119597032,"longitude_deg":75.6607616,"latitude_deg":11.9597032,"altitude":57,"angle":149,"satellites":39,"speed":38,"hex_longitude":"2d18ea80","hex_latitude":"0720e7e8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003564544001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115529672460075008,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404597760,"note":"Value kept but may cause issues"} 
[2026-04-28 11:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 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-04-28 11:58: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-04-28 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-28 11:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:58:48] 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-04-28 11:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003564544001,"66":13820,"106":206,"83":41984,"24":38,"16":115529672460075008,"45":1791306782404597760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003564544001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115529672460075008,"km_value":115529672460075.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404597760,"description":"Unknown IO ID 45"} 
[2026-04-28 11:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003564544001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1791306782404597760}} 
[2026-04-28 11:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":56595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:58:48] local.INFO: GPS data processed {"connection_id":56595,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:58:48] local.INFO: Acknowledgment sent {"connection_id":56595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:58:54] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:54] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:54] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:58:59] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:59] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:58:59] local.INFO: IMEI packet received {"connection_id":56379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 11:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:59:01] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:01] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:01] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:59:01] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 11:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:59: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-04-28 11:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:59:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:59:01] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:59:01] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:59:09] local.INFO: TCP Data received {"connection_id":57279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:09] local.INFO: Processing buffer {"connection_id":57279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:09] local.INFO: IMEI packet received {"connection_id":57279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":57279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:59:10] local.INFO: TCP Data received {"connection_id":57279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:10] local.INFO: Processing buffer {"connection_id":57279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:10] local.INFO: IMEI packet received {"connection_id":57279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":57279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:59:19] local.INFO: TCP Data received {"connection_id":57279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:19] local.INFO: Processing buffer {"connection_id":57279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 11:59:19] local.INFO: IMEI packet received {"connection_id":57279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":57279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 11:59:20] local.INFO: TCP Data received {"connection_id":57279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c60108012d18f6000720d7d00038008927..."} 
[2026-04-28 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c60108012d18f6000720d7d00038008927..."} 
[2026-04-28 11:59:20] local.INFO: Processing buffer {"connection_id":57279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c60108012d18f6000720d7d00038008927..."} 
[2026-04-28 11:59:20] local.INFO: Packet analysis {"connection_id":57279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c6"} 
[2026-04-28 11:59:20] local.INFO: Extracted packet for processing {"connection_id":57279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c6"} 
[2026-04-28 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119592912,"longitude_deg":75.661056,"latitude_deg":11.9592912,"altitude":56,"angle":137,"satellites":39,"speed":41,"hex_longitude":"2d18f600","hex_latitude":"0720d7d0","is_valid_coordinates":true} 
[2026-04-28 11: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-04-28 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115529921568178176,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795388169565759488,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777357685000,"timestamp_ms":1777357685000,"timestamp_seconds":1777357685,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c60108"} 
[2026-04-28 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 11:59:20] 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-04-28 11: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-04-28 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":14428,"106":206,"83":41984,"24":41,"16":115529921568178176,"45":1795388169565759488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:59:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115529921568178176,"km_value":115529921568178.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795388169565759488,"description":"Unknown IO ID 45"} 
[2026-04-28 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1795388169565759488}} 
[2026-04-28 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":57279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:59:20] local.INFO: GPS data processed {"connection_id":57279,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:59:20] local.INFO: Acknowledgment sent {"connection_id":57279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:59:33] local.INFO: TCP Data received {"connection_id":56379,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:33] local.INFO: Processing buffer {"connection_id":56379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 11:59:33] local.INFO: Packet analysis {"connection_id":56379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:59:33] local.INFO: Extracted packet for processing {"connection_id":56379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 11:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 11:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 11:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 11:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 11:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 11:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 11:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 11:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 11:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":56379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:59:33] local.INFO: GPS data processed {"connection_id":56379,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:59:33] local.INFO: Acknowledgment sent {"connection_id":56379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:59:45] local.INFO: TCP Data received {"connection_id":56380,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:59:45] local.INFO: Processing buffer {"connection_id":56380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 11:59:45] local.INFO: IMEI packet received {"connection_id":56380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":56380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 11:59:52] local.INFO: TCP Data received {"connection_id":57279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c60cc0012d18ff800720d0c80036007a27..."} 
[2026-04-28 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c60cc0012d18ff800720d0c80036007a27..."} 
[2026-04-28 11:59:52] local.INFO: Processing buffer {"connection_id":57279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c60cc0012d18ff800720d0c80036007a27..."} 
[2026-04-28 11:59:52] local.INFO: Packet analysis {"connection_id":57279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c6"} 
[2026-04-28 11:59:52] local.INFO: Extracted packet for processing {"connection_id":57279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c6"} 
[2026-04-28 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756612992,"raw_latitude":119591112,"longitude_deg":75.6612992,"latitude_deg":11.9591112,"altitude":54,"angle":122,"satellites":39,"speed":40,"hex_longitude":"2d18ff80","hex_latitude":"0720d0c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 11:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003567360001,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115530063302098944,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131796877312,"note":"Value kept but may cause issues"} 
[2026-04-28 11:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 11:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777357688000,"timestamp_ms":1777357688000,"timestamp_seconds":1777357688,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c60cc0"} 
[2026-04-28 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-04-28 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 11:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 11:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 11:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 11:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 11:59:52] 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-04-28 11:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 11:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 11:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003567360001,"66":13863,"106":206,"83":41984,"24":40,"16":115530063302098944,"45":1798625131796877312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 11:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 11:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 11:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003567360001,"description":"Unknown IO ID 0"} 
[2026-04-28 11:59:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 11:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 11:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115530063302098944,"km_value":115530063302098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 11:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131796877312,"description":"Unknown IO ID 45"} 
[2026-04-28 11:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003567360001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1798625131796877312}} 
[2026-04-28 11:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":57279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 11:59:52] local.INFO: GPS data processed {"connection_id":57279,"processed":1,"errors":0,"total":1} 
[2026-04-28 11:59:52] local.INFO: Acknowledgment sent {"connection_id":57279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 11:59:59] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:59:59] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 11:59:59] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 11:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:00:04] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:04] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:04] local.INFO: IMEI packet received {"connection_id":56381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":56381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:00:05] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:05] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:05] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:00:05] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:00:05] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:00:05] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:00:10] local.INFO: TCP Data received {"connection_id":56381,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:10] local.INFO: Processing buffer {"connection_id":56381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:00:10] local.INFO: Packet analysis {"connection_id":56381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:00:10] local.INFO: Extracted packet for processing {"connection_id":56381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:00:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":56381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:00:10] local.INFO: GPS data processed {"connection_id":56381,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:00:10] local.INFO: Acknowledgment sent {"connection_id":56381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:00:13] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:13] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:13] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:00:17] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:00:17] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:00:17] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:00:18] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c71278012d196f400720ae10002e004925..."} 
[2026-04-28 12:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c71278012d196f400720ae10002e004925..."} 
[2026-04-28 12:00:18] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c71278012d196f400720ae10002e004925..."} 
[2026-04-28 12:00:18] local.INFO: Packet analysis {"connection_id":56548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:18] local.INFO: Extracted packet for processing {"connection_id":56548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119582224,"longitude_deg":75.66416,"latitude_deg":11.9582224,"altitude":46,"angle":73,"satellites":37,"speed":30,"hex_longitude":"2d196f40","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-04-28 12:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003582720001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115531699684638720,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826420785744166912,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777357755000,"timestamp_ms":1777357755000,"timestamp_seconds":1777357755,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c71278"} 
[2026-04-28 12:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:00: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-04-28 12:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 12:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:18] 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-04-28 12:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003582720001,"66":14363,"106":206,"83":41984,"24":30,"16":115531699684638720,"45":1826420785744166912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003582720001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:00:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115531699684638720,"km_value":115531699684638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826420785744166912,"description":"Unknown IO ID 45"} 
[2026-04-28 12:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003582720001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1826420785744166912}} 
[2026-04-28 12:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":56548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:00:18] local.INFO: GPS data processed {"connection_id":56548,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:00:18] local.INFO: Acknowledgment sent {"connection_id":56548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:00:19] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c73988012d198c800720b4700032005722..."} 
[2026-04-28 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c73988012d198c800720b4700032005722..."} 
[2026-04-28 12:00:19] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c73988012d198c800720b4700032005722..."} 
[2026-04-28 12:00:19] local.INFO: Packet analysis {"connection_id":56548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:19] local.INFO: Extracted packet for processing {"connection_id":56548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583856,"longitude_deg":75.6649088,"latitude_deg":11.9583856,"altitude":50,"angle":87,"satellites":34,"speed":27,"hex_longitude":"2d198c80","hex_latitude":"0720b470","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003585280001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115532064756858880,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972720308224,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777357765000,"timestamp_ms":1777357765000,"timestamp_seconds":1777357765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c73988"} 
[2026-04-28 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-04-28 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-28 12:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:19] 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-04-28 12:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003585280001,"66":13939,"106":206,"83":41984,"24":27,"16":115532064756858880,"45":1832753972720308224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003585280001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:00:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115532064756858880,"km_value":115532064756858.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972720308224,"description":"Unknown IO ID 45"} 
[2026-04-28 12:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003585280001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1832753972720308224}} 
[2026-04-28 12:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":56548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:00:19] local.INFO: GPS data processed {"connection_id":56548,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:00:19] local.INFO: Acknowledgment sent {"connection_id":56548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:00:50] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c76098012d19abc00720b0e80033006623..."} 
[2026-04-28 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c76098012d19abc00720b0e80033006623..."} 
[2026-04-28 12:00:50] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c76098012d19abc00720b0e80033006623..."} 
[2026-04-28 12:00:50] local.INFO: Packet analysis {"connection_id":56548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:50] local.INFO: Extracted packet for processing {"connection_id":56548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c7"} 
[2026-04-28 12:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119582952,"longitude_deg":75.6657088,"latitude_deg":11.9582952,"altitude":51,"angle":102,"satellites":35,"speed":35,"hex_longitude":"2d19abc0","hex_latitude":"0720b0e8","is_valid_coordinates":true} 
[2026-04-28 12:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003587840001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115532447008948224,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789512704,"note":"Value kept but may cause issues"} 
[2026-04-28 12:00:50] 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-04-28 12:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777357775000,"timestamp_ms":1777357775000,"timestamp_seconds":1777357775,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c76098"} 
[2026-04-28 12:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:00: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-04-28 12:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-28 12:00:50] 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-04-28 12:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:00:50] 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-04-28 12:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003587840001,"66":14374,"106":206,"83":41984,"24":35,"16":115532447008948224,"45":1840987115789512704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003587840001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:00:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115532447008948224,"km_value":115532447008948.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789512704,"description":"Unknown IO ID 45"} 
[2026-04-28 12:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003587840001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1840987115789512704}} 
[2026-04-28 12:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":56548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:00:50] local.INFO: GPS data processed {"connection_id":56548,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:00:50] local.INFO: Acknowledgment sent {"connection_id":56548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:00:53] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:53] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:53] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:00:59] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:59] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:00:59] local.INFO: IMEI packet received {"connection_id":56382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:01:02] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:02] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:02] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:01:02] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:01: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-04-28 12:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:01:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:01:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:01:02] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:01:02] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:01:07] local.INFO: TCP Data received {"connection_id":56549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:07] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:07] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:01:17] local.INFO: TCP Data received {"connection_id":56549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:17] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:01:17] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:01:26] local.INFO: TCP Data received {"connection_id":56549,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:01:26] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:01:26] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:01:33] local.INFO: TCP Data received {"connection_id":56382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:33] local.INFO: Processing buffer {"connection_id":56382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:01:33] local.INFO: Packet analysis {"connection_id":56382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:01:33] local.INFO: Extracted packet for processing {"connection_id":56382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:01:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":56382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:01:33] local.INFO: GPS data processed {"connection_id":56382,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:01:33] local.INFO: Acknowledgment sent {"connection_id":56382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:01:53] local.INFO: TCP Data received {"connection_id":57280,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:53] local.INFO: Processing buffer {"connection_id":57280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:53] local.INFO: IMEI packet received {"connection_id":57280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":57280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:01:59] local.INFO: TCP Data received {"connection_id":57280,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:59] local.INFO: Processing buffer {"connection_id":57280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:01:59] local.INFO: IMEI packet received {"connection_id":57280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":57280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:02:00] local.INFO: TCP Data received {"connection_id":57280,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:00] local.INFO: Processing buffer {"connection_id":57280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:00] local.INFO: Packet analysis {"connection_id":57280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:02:00] local.INFO: Extracted packet for processing {"connection_id":57280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:02: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-04-28 12:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":57280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:02:01] local.INFO: GPS data processed {"connection_id":57280,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:02:01] local.INFO: Acknowledgment sent {"connection_id":57280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:02:32] local.INFO: TCP Data received {"connection_id":57280,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:32] local.INFO: Processing buffer {"connection_id":57280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:02:32] local.INFO: Packet analysis {"connection_id":57280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:02:32] local.INFO: Extracted packet for processing {"connection_id":57280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":57280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:02:32] local.INFO: GPS data processed {"connection_id":57280,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:02:32] local.INFO: Acknowledgment sent {"connection_id":57280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:02:59] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:02:59] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:02:59] local.INFO: IMEI packet received {"connection_id":56552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:03:04] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:04] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:04] local.INFO: IMEI packet received {"connection_id":56552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":56552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:03:06] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:06] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:06] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:03:06] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:03: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-04-28 12:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:03:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:03:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:03:06] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:03:06] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:03:09] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:09] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2c5ed80012d7fa44005afde68000901122a..."} 
[2026-04-28 12:03:09] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:03:09] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2c5"} 
[2026-04-28 12:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003489024001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777357680000,"timestamp_ms":1777357680000,"timestamp_seconds":1777357680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2c5ed80"} 
[2026-04-28 12:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003489024001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003489024001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:03:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:03:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003489024001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:03:09] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:03:09] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:03:54] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:55] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:55] local.INFO: IMEI packet received {"connection_id":56555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":56555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:03:59] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:59] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:03:59] local.INFO: IMEI packet received {"connection_id":56555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:04:01] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:01] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:01] local.INFO: Packet analysis {"connection_id":56555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:01] local.INFO: Extracted packet for processing {"connection_id":56555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:04:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:04:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":56555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:04:01] local.INFO: GPS data processed {"connection_id":56555,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:04:01] local.INFO: Acknowledgment sent {"connection_id":56555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:04:04] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:04] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:04] local.INFO: Packet analysis {"connection_id":56555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:04] local.INFO: Extracted packet for processing {"connection_id":56555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:04:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":56555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:04:04] local.INFO: GPS data processed {"connection_id":56555,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:04:04] local.INFO: Acknowledgment sent {"connection_id":56555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:04:36] local.INFO: TCP Data received {"connection_id":56555,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:36] local.INFO: Processing buffer {"connection_id":56555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:04:36] local.INFO: Packet analysis {"connection_id":56555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:36] local.INFO: Extracted packet for processing {"connection_id":56555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:04:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:04:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":56555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:04:36] local.INFO: GPS data processed {"connection_id":56555,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:04:36] local.INFO: Acknowledgment sent {"connection_id":56555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:04:53] local.INFO: TCP Data received {"connection_id":57282,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:53] local.INFO: Processing buffer {"connection_id":57282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:53] local.INFO: IMEI packet received {"connection_id":57282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":57282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:04:59] local.INFO: TCP Data received {"connection_id":57282,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:59] local.INFO: Processing buffer {"connection_id":57282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:04:59] local.INFO: IMEI packet received {"connection_id":57282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":57282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:05:01] local.INFO: TCP Data received {"connection_id":57282,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:01] local.INFO: Processing buffer {"connection_id":57282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:01] local.INFO: Packet analysis {"connection_id":57282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:05:01] local.INFO: Extracted packet for processing {"connection_id":57282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:05:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:05:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":57282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:05:01] local.INFO: GPS data processed {"connection_id":57282,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:05:01] local.INFO: Acknowledgment sent {"connection_id":57282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:05:33] local.INFO: TCP Data received {"connection_id":57282,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:33] local.INFO: Processing buffer {"connection_id":57282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:05:33] local.INFO: Packet analysis {"connection_id":57282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:05:33] local.INFO: Extracted packet for processing {"connection_id":57282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:05:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":57282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:05:33] local.INFO: GPS data processed {"connection_id":57282,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:05:33] local.INFO: Acknowledgment sent {"connection_id":57282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:05:34] local.INFO: TCP Data received {"connection_id":56557,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:05:34] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:05:34] local.INFO: IMEI packet received {"connection_id":56557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":56557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:05:53] local.INFO: TCP Data received {"connection_id":56558,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:53] local.INFO: Processing buffer {"connection_id":56558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:53] local.INFO: IMEI packet received {"connection_id":56558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":56558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:05:59] local.INFO: TCP Data received {"connection_id":56558,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:59] local.INFO: Processing buffer {"connection_id":56558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:05:59] local.INFO: IMEI packet received {"connection_id":56558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:06:01] local.INFO: TCP Data received {"connection_id":56558,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:01] local.INFO: Processing buffer {"connection_id":56558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:01] local.INFO: Packet analysis {"connection_id":56558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:06:01] local.INFO: Extracted packet for processing {"connection_id":56558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 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-04-28 12:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:06:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:06:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":56558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:06:01] local.INFO: GPS data processed {"connection_id":56558,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:06:01] local.INFO: Acknowledgment sent {"connection_id":56558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:06:14] local.INFO: TCP Data received {"connection_id":57283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:14] local.INFO: Processing buffer {"connection_id":57283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:14] local.INFO: IMEI packet received {"connection_id":57283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":57283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:06:25] local.INFO: TCP Data received {"connection_id":57283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:25] local.INFO: Processing buffer {"connection_id":57283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:06:25] local.INFO: IMEI packet received {"connection_id":57283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":57283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:06:33] local.INFO: TCP Data received {"connection_id":56558,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:33] local.INFO: Processing buffer {"connection_id":56558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:06:33] local.INFO: Packet analysis {"connection_id":56558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:06:33] local.INFO: Extracted packet for processing {"connection_id":56558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":56558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:06:33] local.INFO: GPS data processed {"connection_id":56558,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:06:33] local.INFO: Acknowledgment sent {"connection_id":56558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:06:33] local.INFO: TCP Data received {"connection_id":57283,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cb5450012d1b1cc007206f28004f003d25..."} 
[2026-04-28 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cb5450012d1b1cc007206f28004f003d25..."} 
[2026-04-28 12:06:33] local.INFO: Processing buffer {"connection_id":57283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cb5450012d1b1cc007206f28004f003d25..."} 
[2026-04-28 12:06:33] local.INFO: Packet analysis {"connection_id":57283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cb"} 
[2026-04-28 12:06:33] local.INFO: Extracted packet for processing {"connection_id":57283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cb"} 
[2026-04-28 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756751552,"raw_latitude":119566120,"longitude_deg":75.6751552,"latitude_deg":11.956612,"altitude":79,"angle":61,"satellites":37,"speed":15,"hex_longitude":"2d1b1cc0","hex_latitude":"07206f28","is_valid_coordinates":true} 
[2026-04-28 12:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003655168001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115539233057275904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951958625352873984,"note":"Value kept but may cause issues"} 
[2026-04-28 12:06:33] 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-04-28 12:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777358034000,"timestamp_ms":1777358034000,"timestamp_seconds":1777358034,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cb5450"} 
[2026-04-28 12:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:06:33] 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-04-28 12:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-28 12:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003655168001,"66":13928,"106":206,"83":41984,"24":15,"16":115539233057275904,"45":1951958625352873984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003655168001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115539233057275904,"km_value":115539233057275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951958625352873984,"description":"Unknown IO ID 45"} 
[2026-04-28 12:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003655168001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1951958625352873984}} 
[2026-04-28 12:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":57283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:06:33] local.INFO: GPS data processed {"connection_id":57283,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:06:33] local.INFO: Acknowledgment sent {"connection_id":57283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:06:59] local.INFO: TCP Data received {"connection_id":56559,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:06:59] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:06:59] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:07:04] local.INFO: TCP Data received {"connection_id":56559,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:04] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:04] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:07:05] local.INFO: TCP Data received {"connection_id":56559,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:05] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:05] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:07:05] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:07:05] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:07:05] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:07:09] local.INFO: TCP Data received {"connection_id":56559,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:09] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:07:09] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:07:09] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:07:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:07:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:07:09] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:07:09] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:07:09] local.INFO: TCP Data received {"connection_id":56560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: IMEI packet received {"connection_id":56560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":56560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:07:09] local.INFO: TCP Data received {"connection_id":56560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:09] local.INFO: IMEI packet received {"connection_id":56560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":56560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:07:14] local.INFO: TCP Data received {"connection_id":56560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:14] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:07:14] local.INFO: IMEI packet received {"connection_id":56560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":56560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:07:15] local.INFO: TCP Data received {"connection_id":56560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cd6f60012d1b33800720a240005000d626..."} 
[2026-04-28 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cd6f60012d1b33800720a240005000d626..."} 
[2026-04-28 12:07:15] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cd6f60012d1b33800720a240005000d626..."} 
[2026-04-28 12:07:15] local.INFO: Packet analysis {"connection_id":56560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cd"} 
[2026-04-28 12:07:15] local.INFO: Extracted packet for processing {"connection_id":56560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cd"} 
[2026-04-28 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119579200,"longitude_deg":75.6757376,"latitude_deg":11.95792,"altitude":80,"angle":214,"satellites":38,"speed":7,"hex_longitude":"2d1b3380","hex_latitude":"0720a240","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003691776001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115540139295375360,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768425310208,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777358172000,"timestamp_ms":1777358172000,"timestamp_seconds":1777358172,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cd6f60"} 
[2026-04-28 12:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:07:15] 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-04-28 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942805316,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3536668752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362629066752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3444580353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2767192142,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950756,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84753877068882083,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":21675102835836928,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,123,103,45,64,162,80,38,10,66,99,128,79,37,95,1,240,27,227,210,32,4,113,205,76,51,208,36,239,56,2,154,7,78,206,104,120],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 12:07:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764880365126942720,"timestamp_seconds":5764880365126943.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003691776001,"66":14341,"106":206,"83":41984,"24":7,"16":115540139295375360,"45":1960191768425310208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003691776001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:07:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115540139295375360,"km_value":115540139295375.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768425310208,"description":"Unknown IO ID 45"} 
[2026-04-28 12:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003691776001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1960191768425310208}} 
[2026-04-28 12:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":56560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:07:15] local.INFO: GPS data processed {"connection_id":56560,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:07:15] local.INFO: Acknowledgment sent {"connection_id":56560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:07:48] local.INFO: TCP Data received {"connection_id":56560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cd7348012d1b33800720a198005000b426..."} 
[2026-04-28 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cd7348012d1b33800720a198005000b426..."} 
[2026-04-28 12:07:48] local.INFO: Processing buffer {"connection_id":56560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cd7348012d1b33800720a198005000b426..."} 
[2026-04-28 12:07:48] local.INFO: Packet analysis {"connection_id":56560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cd"} 
[2026-04-28 12:07:48] local.INFO: Extracted packet for processing {"connection_id":56560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cd"} 
[2026-04-28 12:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119579032,"longitude_deg":75.6757376,"latitude_deg":11.9579032,"altitude":80,"angle":180,"satellites":38,"speed":8,"hex_longitude":"2d1b3380","hex_latitude":"0720a198","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003692032001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115540147885309952,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030936928256,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777358173000,"timestamp_ms":1777358173000,"timestamp_seconds":1777358173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cd7348"} 
[2026-04-28 12:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:07: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-04-28 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942805320,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3536669752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":80,"raw_value":21956517683005184,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362629197824,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3445604353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2732589135,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 12:07:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950756,"note":"Value kept but may cause issues"} 
[2026-04-28 12:07:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,123,107,45,162,80,38,10,66,103,64,99,128,1,240,185,227,210,32,4,113,205,7,51,36,239,56,2,154,78,206],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 12:07:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764842981731794944,"timestamp_seconds":5764842981731795.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:07:48] 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-04-28 12:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003692032001,"66":14298,"106":206,"83":41984,"24":8,"16":115540147885309952,"45":1960051030936928256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003692032001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115540147885309952,"km_value":115540147885309.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030936928256,"description":"Unknown IO ID 45"} 
[2026-04-28 12:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003692032001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1960051030936928256}} 
[2026-04-28 12:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":56560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:07:48] local.INFO: GPS data processed {"connection_id":56560,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:07:48] local.INFO: Acknowledgment sent {"connection_id":56560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:07:54] local.INFO: TCP Data received {"connection_id":56597,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:54] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:54] local.INFO: IMEI packet received {"connection_id":56597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:07:59] local.INFO: TCP Data received {"connection_id":56597,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:59] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:07:59] local.INFO: IMEI packet received {"connection_id":56597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:08:01] local.INFO: TCP Data received {"connection_id":56597,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:01] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:01] local.INFO: Packet analysis {"connection_id":56597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:08:01] local.INFO: Extracted packet for processing {"connection_id":56597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:08:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:08:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":56597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:08:01] local.INFO: GPS data processed {"connection_id":56597,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:08:01] local.INFO: Acknowledgment sent {"connection_id":56597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:08:16] local.INFO: TCP Data received {"connection_id":56386,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:08:16] local.INFO: Processing buffer {"connection_id":56386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:08:16] local.INFO: IMEI packet received {"connection_id":56386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":56386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:08:17] local.INFO: TCP Data received {"connection_id":56386,"ip":"42.106.6.24","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56386,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:08:17] local.INFO: Processing buffer {"connection_id":56386,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:08:17] local.INFO: IMEI packet received {"connection_id":56386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":56386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:08:33] local.INFO: TCP Data received {"connection_id":56597,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:33] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ca8548012d7fa44005afde680009011226..."} 
[2026-04-28 12:08:33] local.INFO: Packet analysis {"connection_id":56597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:08:33] local.INFO: Extracted packet for processing {"connection_id":56597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ca"} 
[2026-04-28 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003566080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777357981000,"timestamp_ms":1777357981000,"timestamp_seconds":1777357981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ca8548"} 
[2026-04-28 12:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003566080001,"66":25517,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003566080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:08:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003566080001,"power":25517,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":56597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:08:33] local.INFO: GPS data processed {"connection_id":56597,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:08:33] local.INFO: Acknowledgment sent {"connection_id":56597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:08:53] local.INFO: TCP Data received {"connection_id":56561,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:53] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:53] local.INFO: IMEI packet received {"connection_id":56561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":56561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:08:58] local.INFO: TCP Data received {"connection_id":56561,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:58] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:08:58] local.INFO: IMEI packet received {"connection_id":56561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":56561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:09:00] local.INFO: TCP Data received {"connection_id":56561,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:00] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:00] local.INFO: Packet analysis {"connection_id":56561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:09:00] local.INFO: Extracted packet for processing {"connection_id":56561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:09:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:09:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":56561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:09:00] local.INFO: GPS data processed {"connection_id":56561,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:09:00] local.INFO: Acknowledgment sent {"connection_id":56561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:09:31] local.INFO: TCP Data received {"connection_id":56561,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:31] local.INFO: Processing buffer {"connection_id":56561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:09:31] local.INFO: Packet analysis {"connection_id":56561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:09:31] local.INFO: Extracted packet for processing {"connection_id":56561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:09:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:09:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":56561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:09:31] local.INFO: GPS data processed {"connection_id":56561,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:09:31] local.INFO: Acknowledgment sent {"connection_id":56561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:10:00] local.INFO: TCP Data received {"connection_id":57287,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:00] local.INFO: Processing buffer {"connection_id":57287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:00] local.INFO: IMEI packet received {"connection_id":57287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":57287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:10:04] local.INFO: TCP Data received {"connection_id":57287,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:04] local.INFO: Processing buffer {"connection_id":57287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:04] local.INFO: IMEI packet received {"connection_id":57287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":57287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:10:06] local.INFO: TCP Data received {"connection_id":57287,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:06] local.INFO: Processing buffer {"connection_id":57287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:06] local.INFO: Packet analysis {"connection_id":57287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:10:06] local.INFO: Extracted packet for processing {"connection_id":57287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:10:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:10:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":57287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:10:06] local.INFO: GPS data processed {"connection_id":57287,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:10:06] local.INFO: Acknowledgment sent {"connection_id":57287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:10:38] local.INFO: TCP Data received {"connection_id":57287,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:38] local.INFO: Processing buffer {"connection_id":57287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:10:38] local.INFO: Packet analysis {"connection_id":57287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:10:38] local.INFO: Extracted packet for processing {"connection_id":57287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":57287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":57287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":57287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":57287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:10:38] local.INFO: GPS data processed {"connection_id":57287,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:10:38] local.INFO: Acknowledgment sent {"connection_id":57287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:10:54] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:54] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:54] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:10:59] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:59] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:10:59] local.INFO: IMEI packet received {"connection_id":56388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:11:00] local.INFO: TCP Data received {"connection_id":56387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:00] local.INFO: Processing buffer {"connection_id":56387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:00] local.INFO: IMEI packet received {"connection_id":56387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":56387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:11:02] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:02] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:02] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:11:02] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:11:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:11:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:11:02] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:11:02] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:11:34] local.INFO: TCP Data received {"connection_id":56388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:34] local.INFO: Processing buffer {"connection_id":56388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:11:34] local.INFO: Packet analysis {"connection_id":56388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:11:34] local.INFO: Extracted packet for processing {"connection_id":56388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:11:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:11:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":56388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:11:34] local.INFO: GPS data processed {"connection_id":56388,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:11:34] local.INFO: Acknowledgment sent {"connection_id":56388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:11:34] local.INFO: TCP Data received {"connection_id":56601,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:34] local.INFO: Processing buffer {"connection_id":56601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:11:34] local.INFO: IMEI packet received {"connection_id":56601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":56601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:11:59] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:11:59] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:11:59] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:12:04] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:04] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:04] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:12:05] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:05] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:05] local.INFO: Packet analysis {"connection_id":56562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:12:05] local.INFO: Extracted packet for processing {"connection_id":56562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":56562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:12:05] local.INFO: GPS data processed {"connection_id":56562,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:12:05] local.INFO: Acknowledgment sent {"connection_id":56562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:12:10] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:10] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:12:10] local.INFO: Packet analysis {"connection_id":56562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:12:10] local.INFO: Extracted packet for processing {"connection_id":56562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:12:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:12:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":56562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:12:10] local.INFO: GPS data processed {"connection_id":56562,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:12:10] local.INFO: Acknowledgment sent {"connection_id":56562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:12:53] local.INFO: TCP Data received {"connection_id":57289,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:53] local.INFO: Processing buffer {"connection_id":57289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:53] local.INFO: IMEI packet received {"connection_id":57289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":57289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:12:59] local.INFO: TCP Data received {"connection_id":57289,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:59] local.INFO: Processing buffer {"connection_id":57289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:12:59] local.INFO: IMEI packet received {"connection_id":57289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":57289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:13:00] local.INFO: TCP Data received {"connection_id":57289,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:00] local.INFO: Processing buffer {"connection_id":57289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:00] local.INFO: Packet analysis {"connection_id":57289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:13:00] local.INFO: Extracted packet for processing {"connection_id":57289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:13:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":57289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:13:00] local.INFO: GPS data processed {"connection_id":57289,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:13:00] local.INFO: Acknowledgment sent {"connection_id":57289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:13:14] local.INFO: TCP Data received {"connection_id":56390,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:13:14] local.INFO: Processing buffer {"connection_id":56390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:13:14] local.INFO: IMEI packet received {"connection_id":56390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:13:15] local.INFO: TCP Data received {"connection_id":56390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d21ab0012d19cd0007201b400032009128..."} 
[2026-04-28 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d21ab0012d19cd0007201b400032009128..."} 
[2026-04-28 12:13:15] local.INFO: Processing buffer {"connection_id":56390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d21ab0012d19cd0007201b400032009128..."} 
[2026-04-28 12:13:15] local.INFO: Packet analysis {"connection_id":56390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d2"} 
[2026-04-28 12:13:15] local.INFO: Extracted packet for processing {"connection_id":56390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d2"} 
[2026-04-28 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544640,"longitude_deg":75.66656,"latitude_deg":11.954464,"altitude":50,"angle":145,"satellites":40,"speed":14,"hex_longitude":"2d19cd00","hex_latitude":"07201b40","is_valid_coordinates":true} 
[2026-04-28 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003770112001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115545997630767104,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544857600,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777358478000,"timestamp_ms":1777358478000,"timestamp_seconds":1777358478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d21ab0"} 
[2026-04-28 12:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 12:13:15] 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-04-28 12:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003770112001,"66":13820,"106":206,"83":41984,"24":14,"16":115545997630767104,"45":1858931145544857600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003770112001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:13:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115545997630767104,"km_value":115545997630767.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544857600,"description":"Unknown IO ID 45"} 
[2026-04-28 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003770112001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858931145544857600}} 
[2026-04-28 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":56390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:13:15] local.INFO: GPS data processed {"connection_id":56390,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:13:15] local.INFO: Acknowledgment sent {"connection_id":56390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:13:32] local.INFO: TCP Data received {"connection_id":57289,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:32] local.INFO: Processing buffer {"connection_id":57289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2cf1d10012d7fa44005afde68000901122a..."} 
[2026-04-28 12:13:32] local.INFO: Packet analysis {"connection_id":57289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:13:32] local.INFO: Extracted packet for processing {"connection_id":57289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2cf"} 
[2026-04-28 12:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:13: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-04-28 12:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003643136001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777358282000,"timestamp_ms":1777358282000,"timestamp_seconds":1777358282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2cf1d10"} 
[2026-04-28 12:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:13: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-04-28 12:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003643136001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003643136001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003643136001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":57289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:13:32] local.INFO: GPS data processed {"connection_id":57289,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:13:32] local.INFO: Acknowledgment sent {"connection_id":57289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:13:46] local.INFO: TCP Data received {"connection_id":56390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d19b8c00720aa800034014c29..."} 
[2026-04-28 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d19b8c00720aa800034014c29..."} 
[2026-04-28 12:13:46] local.INFO: Processing buffer {"connection_id":56390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d19b8c00720aa800034014c29..."} 
[2026-04-28 12:13:46] local.INFO: Packet analysis {"connection_id":56390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:13:46] local.INFO: Extracted packet for processing {"connection_id":56390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119581312,"longitude_deg":75.6660416,"latitude_deg":11.9581312,"altitude":52,"angle":332,"satellites":41,"speed":22,"hex_longitude":"2d19b8c0","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003796992001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115548484416831488,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484887552,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 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-04-28 12:13: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-04-28 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3537067752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147950725,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362735759360,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-3226873108424442624,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2426404912,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744203270016595,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2185560064,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2323628710042887208,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195325952,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84752271824855097,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.WARNING: Large IO value detected {"io_id":184,"raw_value":12667852091824640,"note":"Value kept but may cause issues"} 
[2026-04-28 12:13:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,130,173,45,192,166,51,41,10,66,149,151,49,145,64,1,240,85,227,210,32,4,113,205,35,239,50,2,154,7,42,40,164,222,69,8,184],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-28 12:13:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747382094160199680,"timestamp_seconds":3747382094160199.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 12:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003796992001,"66":12819,"106":206,"83":41984,"24":22,"16":115548484416831488,"45":1853723858484887552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003796992001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115548484416831488,"km_value":115548484416831.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484887552,"description":"Unknown IO ID 45"} 
[2026-04-28 12:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003796992001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853723858484887552}} 
[2026-04-28 12:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":56390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:13:46] local.INFO: GPS data processed {"connection_id":56390,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:13:46] local.INFO: Acknowledgment sent {"connection_id":56390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:13:54] local.INFO: TCP Data received {"connection_id":56602,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:54] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:54] local.INFO: IMEI packet received {"connection_id":56602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":56602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:13:59] local.INFO: TCP Data received {"connection_id":56602,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:59] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:13:59] local.INFO: IMEI packet received {"connection_id":56602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:14:03] local.INFO: TCP Data received {"connection_id":56602,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:03] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:03] local.INFO: Packet analysis {"connection_id":56602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:03] local.INFO: Extracted packet for processing {"connection_id":56602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:14:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:14:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":56602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:14:03] local.INFO: GPS data processed {"connection_id":56602,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:14:03] local.INFO: Acknowledgment sent {"connection_id":56602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:14:09] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:09] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:09] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:14:14] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:14] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:14:14] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:14:15] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b8c0012d19b6800720abe80035013729..."} 
[2026-04-28 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b8c0012d19b6800720abe80035013729..."} 
[2026-04-28 12:14:15] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b8c0012d19b6800720abe80035013729..."} 
[2026-04-28 12:14:15] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:15] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581672,"longitude_deg":75.665984,"latitude_deg":11.9581672,"altitude":53,"angle":311,"satellites":41,"speed":23,"hex_longitude":"2d19b680","hex_latitude":"0720abe8","is_valid_coordinates":true} 
[2026-04-28 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115548514481602560,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508307968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777358584000,"timestamp_ms":1777358584000,"timestamp_seconds":1777358584,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b8c0"} 
[2026-04-28 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3537076752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362742771712,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-3215877992146683840,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2481979440,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950736,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359366233683,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2187591680,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2333972915403447080,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84752267529887807,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":12386428654722304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:15] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,130,176,45,192,168,52,41,10,66,173,166,51,149,1,240,85,227,210,32,4,113,205,34,141,172,160,40,239,50,2,154,7,46,38,164,69,216,48],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-28 12:14:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747360103927775232,"timestamp_seconds":3747360103927775.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":12863,"106":206,"83":41984,"24":23,"16":115548514481602560,"45":1853442383508307968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:14:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115548514481602560,"km_value":115548514481602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508307968,"description":"Unknown IO ID 45"} 
[2026-04-28 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853442383508307968}} 
[2026-04-28 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:14:15] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:14:15] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:14:34] local.INFO: TCP Data received {"connection_id":56602,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:34] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:14:34] local.INFO: Packet analysis {"connection_id":56602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:34] local.INFO: Extracted packet for processing {"connection_id":56602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:14:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:14:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":56602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:14:34] local.INFO: GPS data processed {"connection_id":56602,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:14:34] local.INFO: Acknowledgment sent {"connection_id":56602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:14:46] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3bca8012d19b3c00720ace00035012729..."} 
[2026-04-28 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3bca8012d19b3c00720ace00035012729..."} 
[2026-04-28 12:14:46] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3bca8012d19b3c00720ace00035012729..."} 
[2026-04-28 12:14:46] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:46] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119581920,"longitude_deg":75.6659136,"latitude_deg":11.958192,"altitude":53,"angle":295,"satellites":41,"speed":27,"hex_longitude":"2d19b3c0","hex_latitude":"0720ace0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797504001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115548548841340928,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810801152,"note":"Value kept but may cause issues"} 
[2026-04-28 12:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777358585000,"timestamp_ms":1777358585000,"timestamp_seconds":1777358585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3bca8"} 
[2026-04-28 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-04-28 12:14: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-04-28 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 12:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797504001,"66":12863,"106":206,"83":41984,"24":27,"16":115548548841340928,"45":1852809064810801152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797504001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:14:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115548548841340928,"km_value":115548548841340.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810801152,"description":"Unknown IO ID 45"} 
[2026-04-28 12:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797504001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1852809064810801152}} 
[2026-04-28 12:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:14:46] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:14:46] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:14:59] local.INFO: TCP Data received {"connection_id":56565,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:14:59] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:14:59] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:15:04] local.INFO: TCP Data received {"connection_id":56565,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:04] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:04] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:15:06] local.INFO: TCP Data received {"connection_id":56565,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:06] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:06] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:06] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:15:06] 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-04-28 12:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:15:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:15:06] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:15:06] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:15:09] local.INFO: TCP Data received {"connection_id":56565,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:09] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:15:09] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:09] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:15:09] 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-04-28 12:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:15:09] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:15:09] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:15:13] local.INFO: TCP Data received {"connection_id":56391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:13] local.INFO: Processing buffer {"connection_id":56391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:13] local.INFO: IMEI packet received {"connection_id":56391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":56391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:15:14] local.INFO: TCP Data received {"connection_id":56391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:14] local.INFO: Processing buffer {"connection_id":56391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:15:14] local.INFO: IMEI packet received {"connection_id":56391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":56391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:15:15] local.INFO: TCP Data received {"connection_id":56391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3cc48012d19a8c00720b0780037011b2a..."} 
[2026-04-28 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3cc48012d19a8c00720b0780037011b2a..."} 
[2026-04-28 12:15:15] local.INFO: Processing buffer {"connection_id":56391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3cc48012d19a8c00720b0780037011b2a..."} 
[2026-04-28 12:15:15] local.INFO: Packet analysis {"connection_id":56391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:15] local.INFO: Extracted packet for processing {"connection_id":56391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119582840,"longitude_deg":75.665632,"latitude_deg":11.958284,"altitude":55,"angle":283,"satellites":42,"speed":28,"hex_longitude":"2d19a8c0","hex_latitude":"0720b078","is_valid_coordinates":true} 
[2026-04-28 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797760001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115548690575261696,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008624910336,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777358589000,"timestamp_ms":1777358589000,"timestamp_seconds":1777358589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3cc48"} 
[2026-04-28 12:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 12:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797760001,"66":12917,"106":206,"83":41984,"24":28,"16":115548690575261696,"45":1852035008624910336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797760001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:15:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115548690575261696,"km_value":115548690575261.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008624910336,"description":"Unknown IO ID 45"} 
[2026-04-28 12:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797760001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852035008624910336}} 
[2026-04-28 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":56391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:15:15] local.INFO: GPS data processed {"connection_id":56391,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:15:15] local.INFO: Acknowledgment sent {"connection_id":56391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:15:48] local.INFO: TCP Data received {"connection_id":56391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3ef70012d198f400720b3280039010f29..."} 
[2026-04-28 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3ef70012d198f400720b3280039010f29..."} 
[2026-04-28 12:15:48] local.INFO: Processing buffer {"connection_id":56391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3ef70012d198f400720b3280039010f29..."} 
[2026-04-28 12:15:48] local.INFO: Packet analysis {"connection_id":56391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:48] local.INFO: Extracted packet for processing {"connection_id":56391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756649792,"raw_latitude":119583528,"longitude_deg":75.6649792,"latitude_deg":11.9583528,"altitude":57,"angle":271,"satellites":41,"speed":16,"hex_longitude":"2d198f40","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-04-28 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003798784001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549004107874304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783881328640,"note":"Value kept but may cause issues"} 
[2026-04-28 12:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777358598000,"timestamp_ms":1777358598000,"timestamp_seconds":1777358598,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3ef70"} 
[2026-04-28 12:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:15: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-04-28 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 12:15:48] 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-04-28 12:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:15:48] 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-04-28 12:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003798784001,"66":12863,"106":206,"83":41984,"24":16,"16":115549004107874304,"45":1848938783881328640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003798784001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:15:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549004107874304,"km_value":115549004107874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783881328640,"description":"Unknown IO ID 45"} 
[2026-04-28 12:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003798784001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1848938783881328640}} 
[2026-04-28 12:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":56391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:15:49] local.INFO: GPS data processed {"connection_id":56391,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:15:49] local.INFO: Acknowledgment sent {"connection_id":56391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:15:54] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:54] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:54] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:15:59] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:59] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:15:59] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:16:01] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:01] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:01] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:01] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:16:01] 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-04-28 12: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-04-28 12:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:16:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:16:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:16:01] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:16:01] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:16:09] local.INFO: TCP Data received {"connection_id":57291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:09] local.INFO: Processing buffer {"connection_id":57291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:09] local.INFO: IMEI packet received {"connection_id":57291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:16:14] local.INFO: TCP Data received {"connection_id":57291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:14] local.INFO: Processing buffer {"connection_id":57291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:16:14] local.INFO: IMEI packet received {"connection_id":57291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":57291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:16:18] local.INFO: TCP Data received {"connection_id":57291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3fb28012d198c800720b2d8003a00f028..."} 
[2026-04-28 12:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3fb28012d198c800720b2d8003a00f028..."} 
[2026-04-28 12:16:18] local.INFO: Processing buffer {"connection_id":57291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3fb28012d198c800720b2d8003a00f028..."} 
[2026-04-28 12:16:18] local.INFO: Packet analysis {"connection_id":57291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:18] local.INFO: Extracted packet for processing {"connection_id":57291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583448,"longitude_deg":75.6649088,"latitude_deg":11.9583448,"altitude":58,"angle":240,"satellites":40,"speed":6,"hex_longitude":"2d198c80","hex_latitude":"0720b2d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003801088001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549034172645376,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171975383040,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777358601000,"timestamp_ms":1777358601000,"timestamp_seconds":1777358601,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3fb28"} 
[2026-04-28 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-04-28 12: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-04-28 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 12:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:16:18] 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-04-28 12:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003801088001,"66":12885,"106":206,"83":41984,"24":6,"16":115549034172645376,"45":1841761171975383040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003801088001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:16:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549034172645376,"km_value":115549034172645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171975383040,"description":"Unknown IO ID 45"} 
[2026-04-28 12:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003801088001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1841761171975383040}} 
[2026-04-28 12:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":57291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:16:18] local.INFO: GPS data processed {"connection_id":57291,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:16:18] local.INFO: Acknowledgment sent {"connection_id":57291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:16:33] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:33] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:16:33] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:33] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:16:33] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:16:33] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:16:48] local.INFO: TCP Data received {"connection_id":57291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d44d30012d198c000720b2b0003900f027..."} 
[2026-04-28 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d44d30012d198c000720b2b0003900f027..."} 
[2026-04-28 12:16:48] local.INFO: Processing buffer {"connection_id":57291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d44d30012d198c000720b2b0003900f027..."} 
[2026-04-28 12:16:48] local.INFO: Packet analysis {"connection_id":57291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:16:48] local.INFO: Extracted packet for processing {"connection_id":57291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003801856001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789408256,"note":"Value kept but may cause issues"} 
[2026-04-28 12:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777358622000,"timestamp_ms":1777358622000,"timestamp_seconds":1777358622,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d44d30"} 
[2026-04-28 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-04-28 12:16: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-04-28 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 12:16: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-04-28 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-04-28 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-04-28 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:16:48] 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-04-28 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003801856001,"66":12841,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840987115789408256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003801856001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789408256,"description":"Unknown IO ID 45"} 
[2026-04-28 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003801856001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840987115789408256}} 
[2026-04-28 12:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":57291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:16:49] local.INFO: GPS data processed {"connection_id":57291,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:16:49] local.INFO: Acknowledgment sent {"connection_id":57291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:16:53] local.INFO: TCP Data received {"connection_id":56606,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:53] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:53] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:16:59] local.INFO: TCP Data received {"connection_id":56606,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:59] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:16:59] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:17:00] local.INFO: TCP Data received {"connection_id":56605,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:00] local.INFO: Processing buffer {"connection_id":56605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:00] local.INFO: IMEI packet received {"connection_id":56605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":56605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:17:00] local.INFO: TCP Data received {"connection_id":56606,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:00] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:00] local.INFO: Packet analysis {"connection_id":56606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:17:00] local.INFO: Extracted packet for processing {"connection_id":56606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:17: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-04-28 12:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:17:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:17:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":56606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:17:00] local.INFO: GPS data processed {"connection_id":56606,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:17:00] local.INFO: Acknowledgment sent {"connection_id":56606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:17:09] local.INFO: TCP Data received {"connection_id":56392,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:09] local.INFO: Processing buffer {"connection_id":56392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:09] local.INFO: IMEI packet received {"connection_id":56392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":56392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:17:16] local.INFO: TCP Data received {"connection_id":56392,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:16] local.INFO: Processing buffer {"connection_id":56392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:17:16] local.INFO: IMEI packet received {"connection_id":56392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":56392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:17:17] local.INFO: TCP Data received {"connection_id":56392,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d49f38012d198c000720b2b0003900f027..."} 
[2026-04-28 12:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d49f38012d198c000720b2b0003900f027..."} 
[2026-04-28 12:17:17] local.INFO: Processing buffer {"connection_id":56392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d49f38012d198c000720b2b0003900f027..."} 
[2026-04-28 12:17:17] local.INFO: Packet analysis {"connection_id":56392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:17:17] local.INFO: Extracted packet for processing {"connection_id":56392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003807232001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777358643000,"timestamp_ms":1777358643000,"timestamp_seconds":1777358643,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d49f38"} 
[2026-04-28 12:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 12:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003807232001,"66":11754,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003807232001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003807232001,"power":11754,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":56392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:17:17] local.INFO: GPS data processed {"connection_id":56392,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:17:17] local.INFO: Acknowledgment sent {"connection_id":56392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:17:32] local.INFO: TCP Data received {"connection_id":56606,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:32] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:17:32] local.INFO: Packet analysis {"connection_id":56606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:17:32] local.INFO: Extracted packet for processing {"connection_id":56606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":56606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:17:33] local.INFO: GPS data processed {"connection_id":56606,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:17:33] local.INFO: Acknowledgment sent {"connection_id":56606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:17:34] local.INFO: TCP Data received {"connection_id":56393,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:34] local.INFO: Processing buffer {"connection_id":56393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:17:34] local.INFO: IMEI packet received {"connection_id":56393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":56393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:17:48] local.INFO: TCP Data received {"connection_id":56392,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d4f140012d198c000720b2b0003900f028..."} 
[2026-04-28 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d4f140012d198c000720b2b0003900f028..."} 
[2026-04-28 12:17:48] local.INFO: Processing buffer {"connection_id":56392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d4f140012d198c000720b2b0003900f028..."} 
[2026-04-28 12:17:48] local.INFO: Packet analysis {"connection_id":56392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:17:48] local.INFO: Extracted packet for processing {"connection_id":56392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d4"} 
[2026-04-28 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003812608001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777358664000,"timestamp_ms":1777358664000,"timestamp_seconds":1777358664,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d4f140"} 
[2026-04-28 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-04-28 12:17: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-04-28 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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 12:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:17:48] 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-04-28 12:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003812608001,"66":12819,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003812608001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003812608001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":56392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:17:48] local.INFO: GPS data processed {"connection_id":56392,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:17:48] local.INFO: Acknowledgment sent {"connection_id":56392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:17:53] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:53] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:53] local.INFO: IMEI packet received {"connection_id":56607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":56607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:17:59] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:59] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:17:59] local.INFO: IMEI packet received {"connection_id":56607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:18:02] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:02] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:02] local.INFO: Packet analysis {"connection_id":56607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:18:02] local.INFO: Extracted packet for processing {"connection_id":56607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:18:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:18:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":56607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:18:02] local.INFO: GPS data processed {"connection_id":56607,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:18:02] local.INFO: Acknowledgment sent {"connection_id":56607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:18:11] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:11] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:11] local.INFO: IMEI packet received {"connection_id":56566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":56566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:18:14] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:14] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:14] local.INFO: IMEI packet received {"connection_id":56566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":56566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:18:22] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:22] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:18:22] local.INFO: IMEI packet received {"connection_id":56566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":56566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:18:23] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d54348012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d54348012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:23] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d54348012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:23] local.INFO: Packet analysis {"connection_id":56566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:18:23] local.INFO: Extracted packet for processing {"connection_id":56566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003817984001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777358685000,"timestamp_ms":1777358685000,"timestamp_seconds":1777358685,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d54348"} 
[2026-04-28 12:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3537091752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":128,"raw_value":14638125405967872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362757779456,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-3190589224707836288,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3005743161,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 12:18:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1208036633,"corrected_to":0} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221692592,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281318125139,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2196504576,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2354230317818132265,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84752249276276906,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,131,159,45,178,57,39,10,66,77,251,128,1,240,85,227,210,32,4,113,205,204,168,120,42,239,50,2,154,7,53,27,164,203,69,216],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0},{"io_id":204,"original":1208036633,"validated":0}]} 
[2026-04-28 12:18:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107546914751250432,"timestamp_seconds":4107546914751250.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003817984001,"66":12841,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003817984001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:18:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003817984001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":56566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:18:23] local.INFO: GPS data processed {"connection_id":56566,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:18:23] local.INFO: Acknowledgment sent {"connection_id":56566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:18:34] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:34] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d3b4d8012d7fa44005afde68000901122d..."} 
[2026-04-28 12:18:34] local.INFO: Packet analysis {"connection_id":56607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:18:34] local.INFO: Extracted packet for processing {"connection_id":56607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d3"} 
[2026-04-28 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003720192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777358583000,"timestamp_ms":1777358583000,"timestamp_seconds":1777358583,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d3b4d8"} 
[2026-04-28 12:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003720192001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003720192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:18:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:18:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003720192001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":56607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:18:34] local.INFO: GPS data processed {"connection_id":56607,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:18:34] local.INFO: Acknowledgment sent {"connection_id":56607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:18:58] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d59550012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d59550012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:58] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d59550012d198c000720b2b0003900f027..."} 
[2026-04-28 12:18:58] local.INFO: Packet analysis {"connection_id":56566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:18:58] local.INFO: Extracted packet for processing {"connection_id":56566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003823360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:18:58] 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-04-28 12:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777358706000,"timestamp_ms":1777358706000,"timestamp_seconds":1777358706,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d59550"} 
[2026-04-28 12:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:18: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-04-28 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 12:18:58] 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-04-28 12: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-04-28 12:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:18: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-04-28 12:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003823360001,"66":12776,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003823360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003823360001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":56566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:18:58] local.INFO: GPS data processed {"connection_id":56566,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:18:58] local.INFO: Acknowledgment sent {"connection_id":56566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:18:59] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:18:59] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:18:59] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:19:04] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:04] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:04] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:19:05] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:05] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:05] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:19:05] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:19:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:19:05] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:19:05] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:19:09] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:09] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:19:09] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:19:09] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:19:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:19:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:19:09] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:19:09] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:19:33] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:33] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:33] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:19:34] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:34] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:19:34] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:19:34] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d5e758012d198c000720b2b0003900f028..."} 
[2026-04-28 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d5e758012d198c000720b2b0003900f028..."} 
[2026-04-28 12:19:34] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d5e758012d198c000720b2b0003900f028..."} 
[2026-04-28 12:19:34] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:19:34] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d5"} 
[2026-04-28 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003828736001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:34] 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-04-28 12:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777358727000,"timestamp_ms":1777358727000,"timestamp_seconds":1777358727,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d5e758"} 
[2026-04-28 12:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 12:19:34] 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-04-28 12:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:19:34] 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-04-28 12:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003828736001,"66":12776,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003828736001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:19:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003828736001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:19:35] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:19:35] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:19:35] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d63d48012d198c000720b2b0003900f027..."} 
[2026-04-28 12:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d63d48012d198c000720b2b0003900f027..."} 
[2026-04-28 12:19:35] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d63d48012d198c000720b2b0003900f027..."} 
[2026-04-28 12:19:35] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:19:35] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003834112001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:19:35] 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-04-28 12:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777358749000,"timestamp_ms":1777358749000,"timestamp_seconds":1777358749,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d63d48"} 
[2026-04-28 12:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 12:19: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-04-28 12:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:19:35] 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-04-28 12:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003834112001,"66":12765,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003834112001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:19:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003834112001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:19:35] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:19:35] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:19:53] local.INFO: TCP Data received {"connection_id":56394,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:53] local.INFO: Processing buffer {"connection_id":56394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:53] local.INFO: IMEI packet received {"connection_id":56394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:19:59] local.INFO: TCP Data received {"connection_id":56394,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:59] local.INFO: Processing buffer {"connection_id":56394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:19:59] local.INFO: IMEI packet received {"connection_id":56394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:20:01] local.INFO: TCP Data received {"connection_id":56394,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:01] local.INFO: Processing buffer {"connection_id":56394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:01] local.INFO: Packet analysis {"connection_id":56394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:20:01] local.INFO: Extracted packet for processing {"connection_id":56394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:20: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-04-28 12:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:20:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:20:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":56394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:20:01] local.INFO: GPS data processed {"connection_id":56394,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:20:01] local.INFO: Acknowledgment sent {"connection_id":56394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:20:09] local.INFO: TCP Data received {"connection_id":57293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:09] local.INFO: Processing buffer {"connection_id":57293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:09] local.INFO: IMEI packet received {"connection_id":57293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":57293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:20:14] local.INFO: TCP Data received {"connection_id":57293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:14] local.INFO: Processing buffer {"connection_id":57293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:20:14] local.INFO: IMEI packet received {"connection_id":57293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":57293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:20:16] local.INFO: TCP Data received {"connection_id":57293,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d68b68012d198c000720b2b0003900f027..."} 
[2026-04-28 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d68b68012d198c000720b2b0003900f027..."} 
[2026-04-28 12:20:16] local.INFO: Processing buffer {"connection_id":57293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d68b68012d198c000720b2b0003900f027..."} 
[2026-04-28 12:20:16] local.INFO: Packet analysis {"connection_id":57293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:20:16] local.INFO: Extracted packet for processing {"connection_id":57293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003839744001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777358769000,"timestamp_ms":1777358769000,"timestamp_seconds":1777358769,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d68b68"} 
[2026-04-28 12:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 12:20:16] 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-04-28 12: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-04-28 12:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:20:16] 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-04-28 12:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003839744001,"66":12711,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003839744001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:20:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003839744001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":57293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:20:16] local.INFO: GPS data processed {"connection_id":57293,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:20:16] local.INFO: Acknowledgment sent {"connection_id":57293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:20:32] local.INFO: TCP Data received {"connection_id":56394,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:32] local.INFO: Processing buffer {"connection_id":56394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:20:32] local.INFO: Packet analysis {"connection_id":56394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:20:32] local.INFO: Extracted packet for processing {"connection_id":56394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":56394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:20:33] local.INFO: GPS data processed {"connection_id":56394,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:20:33] local.INFO: Acknowledgment sent {"connection_id":56394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:20:53] local.INFO: TCP Data received {"connection_id":56569,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:53] local.INFO: Processing buffer {"connection_id":56569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:53] local.INFO: IMEI packet received {"connection_id":56569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":56569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:20:59] local.INFO: TCP Data received {"connection_id":57293,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d6dd70012d198c000720b2b0003900f028..."} 
[2026-04-28 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d6dd70012d198c000720b2b0003900f028..."} 
[2026-04-28 12:20:59] local.INFO: Processing buffer {"connection_id":57293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d6dd70012d198c000720b2b0003900f028..."} 
[2026-04-28 12:20:59] local.INFO: Packet analysis {"connection_id":57293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:20:59] local.INFO: Extracted packet for processing {"connection_id":57293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d6"} 
[2026-04-28 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003844864001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:20:59] 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-04-28 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777358790000,"timestamp_ms":1777358790000,"timestamp_seconds":1777358790,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d6dd70"} 
[2026-04-28 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:20:59] 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-04-28 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 12:20: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-04-28 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:20:59] 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-04-28 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003844864001,"66":12743,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003844864001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003844864001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:20:59] local.INFO: TCP Data received {"connection_id":56569,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:59] local.INFO: Processing buffer {"connection_id":56569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:20:59] local.INFO: IMEI packet received {"connection_id":56569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":57293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:20:59] local.INFO: GPS data processed {"connection_id":57293,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:20:59] local.INFO: Acknowledgment sent {"connection_id":57293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:21:04] local.INFO: TCP Data received {"connection_id":56569,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:04] local.INFO: Processing buffer {"connection_id":56569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:04] local.INFO: Packet analysis {"connection_id":56569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:21:04] local.INFO: Extracted packet for processing {"connection_id":56569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:21: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-04-28 12:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:21:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":56569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:21:04] local.INFO: GPS data processed {"connection_id":56569,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:21:04] local.INFO: Acknowledgment sent {"connection_id":56569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:21:09] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:09] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:09] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:21:14] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:14] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:21:14] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:21:16] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d72f78012d198c000720b2b0003900f026..."} 
[2026-04-28 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d72f78012d198c000720b2b0003900f026..."} 
[2026-04-28 12:21:16] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d72f78012d198c000720b2b0003900f026..."} 
[2026-04-28 12:21:16] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:21:16] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":38,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003850240001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777358811000,"timestamp_ms":1777358811000,"timestamp_seconds":1777358811,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d72f78"} 
[2026-04-28 12:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 12:21:16] 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-04-28 12:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:21:16] 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-04-28 12:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003850240001,"66":12743,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003850240001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:21:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003850240001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:21:16] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:21:16] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:21:36] local.INFO: TCP Data received {"connection_id":56569,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:36] local.INFO: Processing buffer {"connection_id":56569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:21:36] local.INFO: Packet analysis {"connection_id":56569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:21:36] local.INFO: Extracted packet for processing {"connection_id":56569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:21:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:21:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":56569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:21:36] local.INFO: GPS data processed {"connection_id":56569,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:21:36] local.INFO: Acknowledgment sent {"connection_id":56569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:21:47] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d78180012d198c000720b2b0003900f025..."} 
[2026-04-28 12:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d78180012d198c000720b2b0003900f025..."} 
[2026-04-28 12:21:47] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d78180012d198c000720b2b0003900f025..."} 
[2026-04-28 12:21:47] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:21:47] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003855616001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777358832000,"timestamp_ms":1777358832000,"timestamp_seconds":1777358832,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d78180"} 
[2026-04-28 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-04-28 12:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 12:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:21:47] 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-04-28 12:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003855616001,"66":12667,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003855616001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:21:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003855616001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:21:47] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:21:47] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:21:53] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:53] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:53] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:21:59] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:59] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:21:59] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:22:02] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:02] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:02] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:22:02] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:22: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-04-28 12:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:22:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:22:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:22:02] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:22:02] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:22:09] local.INFO: TCP Data received {"connection_id":56395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:09] local.INFO: Processing buffer {"connection_id":56395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:09] local.INFO: IMEI packet received {"connection_id":56395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:22:14] local.INFO: TCP Data received {"connection_id":56395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:14] local.INFO: Processing buffer {"connection_id":56395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:22:14] local.INFO: IMEI packet received {"connection_id":56395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":56395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:22:15] local.INFO: TCP Data received {"connection_id":56395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d7d388012d198c000720b2b0003900f026..."} 
[2026-04-28 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d7d388012d198c000720b2b0003900f026..."} 
[2026-04-28 12:22:15] local.INFO: Processing buffer {"connection_id":56395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d7d388012d198c000720b2b0003900f026..."} 
[2026-04-28 12:22:15] local.INFO: Packet analysis {"connection_id":56395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:22:15] local.INFO: Extracted packet for processing {"connection_id":56395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d7"} 
[2026-04-28 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":38,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003860992001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777358853000,"timestamp_ms":1777358853000,"timestamp_seconds":1777358853,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d7d388"} 
[2026-04-28 12:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 12:22:15] 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-04-28 12: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-04-28 12:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003860992001,"66":12591,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003860992001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:22:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003860992001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":56395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:22:15] local.INFO: GPS data processed {"connection_id":56395,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:22:15] local.INFO: Acknowledgment sent {"connection_id":56395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:22:33] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:33] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:22:33] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:22:33] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:22:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:22:33] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:22:33] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:22:46] local.INFO: TCP Data received {"connection_id":56395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2db59e0012d198c000720b2b0003900f029..."} 
[2026-04-28 12:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2db59e0012d198c000720b2b0003900f029..."} 
[2026-04-28 12:22:46] local.INFO: Processing buffer {"connection_id":56395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2db59e0012d198c000720b2b0003900f029..."} 
[2026-04-28 12:22:46] local.INFO: Packet analysis {"connection_id":56395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:22:46] local.INFO: Extracted packet for processing {"connection_id":56395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":41,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003920128001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777359084000,"timestamp_ms":1777359084000,"timestamp_seconds":1777359084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2db59e0"} 
[2026-04-28 12:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003920128001,"66":12558,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003920128001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:22:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003920128001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":56395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:22:46] local.INFO: GPS data processed {"connection_id":56395,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:22:46] local.INFO: Acknowledgment sent {"connection_id":56395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:22:58] local.INFO: TCP Data received {"connection_id":56571,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:22:58] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:22:58] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:23:00] local.INFO: TCP Data received {"connection_id":56570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:00] local.INFO: Processing buffer {"connection_id":56570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:00] local.INFO: IMEI packet received {"connection_id":56570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":56570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:23:04] local.INFO: TCP Data received {"connection_id":56571,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:04] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:04] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:23:06] local.INFO: TCP Data received {"connection_id":56571,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:06] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:06] local.INFO: Packet analysis {"connection_id":56571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:23:06] local.INFO: Extracted packet for processing {"connection_id":56571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:23: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-04-28 12:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:23:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:23:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":56571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:23:06] local.INFO: GPS data processed {"connection_id":56571,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:23:06] local.INFO: Acknowledgment sent {"connection_id":56571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:23:09] local.INFO: TCP Data received {"connection_id":56612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:09] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:09] local.INFO: IMEI packet received {"connection_id":56612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":56612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:23:14] local.INFO: TCP Data received {"connection_id":56612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:14] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:23:14] local.INFO: IMEI packet received {"connection_id":56612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":56612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:23:15] local.INFO: TCP Data received {"connection_id":56612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dbabe8012d198c000720b2b0003900f029..."} 
[2026-04-28 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dbabe8012d198c000720b2b0003900f029..."} 
[2026-04-28 12:23:15] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dbabe8012d198c000720b2b0003900f029..."} 
[2026-04-28 12:23:15] local.INFO: Packet analysis {"connection_id":56612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:23:15] local.INFO: Extracted packet for processing {"connection_id":56612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":41,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003925504001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359105000,"timestamp_ms":1777359105000,"timestamp_seconds":1777359105,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dbabe8"} 
[2026-04-28 12:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3537464752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249782537871995568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3658596353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2997878841,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594538,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2201878528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,131,7,45,178,57,41,10,66,181,37,99,1,240,69,227,210,32,4,113,205,191,140,176,39,239,47,2,154,79,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 12:23:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107546919046217728,"timestamp_seconds":4107546919046217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003925504001,"66":13820,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003925504001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:23:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003925504001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":56612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:23:15] local.INFO: GPS data processed {"connection_id":56612,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:23:15] local.INFO: Acknowledgment sent {"connection_id":56612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:23:34] local.INFO: TCP Data received {"connection_id":56396,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:34] local.INFO: Processing buffer {"connection_id":56396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:23:34] local.INFO: IMEI packet received {"connection_id":56396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":56396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:23:38] local.INFO: TCP Data received {"connection_id":56571,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:38] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2d84ca0012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:38] local.INFO: Packet analysis {"connection_id":56571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:23:38] local.INFO: Extracted packet for processing {"connection_id":56571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2d8"} 
[2026-04-28 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003797248001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777358884000,"timestamp_ms":1777358884000,"timestamp_seconds":1777358884,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2d84ca0"} 
[2026-04-28 12:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003797248001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003797248001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:23:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:23:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003797248001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":56571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:23:38] local.INFO: GPS data processed {"connection_id":56571,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:23:38] local.INFO: Acknowledgment sent {"connection_id":56571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:23:46] local.INFO: TCP Data received {"connection_id":56612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dbfdf0012d198c000720b2b0003900f028..."} 
[2026-04-28 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dbfdf0012d198c000720b2b0003900f028..."} 
[2026-04-28 12:23:46] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dbfdf0012d198c000720b2b0003900f028..."} 
[2026-04-28 12:23:46] local.INFO: Packet analysis {"connection_id":56612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:23:46] local.INFO: Extracted packet for processing {"connection_id":56612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2db"} 
[2026-04-28 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":57,"angle":240,"satellites":40,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-04-28 12:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003930880001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549042762579968,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777359126000,"timestamp_ms":1777359126000,"timestamp_seconds":1777359126,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dbfdf0"} 
[2026-04-28 12:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 12:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003930880001,"66":14113,"106":206,"83":41984,"24":0,"16":115549042762579968,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003930880001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:23:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549042762579968,"km_value":115549042762579.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003930880001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":56612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:23:46] local.INFO: GPS data processed {"connection_id":56612,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:23:46] local.INFO: Acknowledgment sent {"connection_id":56612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:23:53] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:53] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:53] local.INFO: IMEI packet received {"connection_id":56572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:23:58] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:58] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:23:58] local.INFO: IMEI packet received {"connection_id":56572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":56572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:23:59] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:59] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:23:59] local.INFO: Packet analysis {"connection_id":56572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:23:59] local.INFO: Extracted packet for processing {"connection_id":56572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:23: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-04-28 12:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:23:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:23:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":56572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:23:59] local.INFO: GPS data processed {"connection_id":56572,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:23:59] local.INFO: Acknowledgment sent {"connection_id":56572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:24:14] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:14] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:14] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:24:19] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:19] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:24:19] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:24:20] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dc4440012d198c800720b4100041011d28..."} 
[2026-04-28 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dc4440012d198c800720b4100041011d28..."} 
[2026-04-28 12:24:20] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dc4440012d198c800720b4100041011d28..."} 
[2026-04-28 12:24:20] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:20] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583760,"longitude_deg":75.6649088,"latitude_deg":11.958376,"altitude":65,"angle":285,"satellites":40,"speed":4,"hex_longitude":"2d198c80","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003936256001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549064237416448,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777359144000,"timestamp_ms":1777359144000,"timestamp_seconds":1777359144,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dc4440"} 
[2026-04-28 12:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 12:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003936256001,"66":13906,"106":206,"83":41984,"24":4,"16":115549064237416448,"45":1840846378301042688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003936256001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549064237416448,"km_value":115549064237416.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-04-28 12:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003936256001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-04-28 12:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:24:20] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:24:20] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:24:28] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dc4ff8012d1989c00720b4200041010628..."} 
[2026-04-28 12:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dc4ff8012d1989c00720b4200041010628..."} 
[2026-04-28 12:24:28] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dc4ff8012d1989c00720b4200041010628..."} 
[2026-04-28 12:24:28] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:28] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756648384,"raw_latitude":119583776,"longitude_deg":75.6648384,"latitude_deg":11.9583776,"altitude":65,"angle":262,"satellites":40,"speed":12,"hex_longitude":"2d1989c0","hex_latitude":"0720b420","is_valid_coordinates":true} 
[2026-04-28 12:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003940864001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115549094302187520,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789488128,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:28] 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-04-28 12:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777359147000,"timestamp_ms":1777359147000,"timestamp_seconds":1777359147,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dc4ff8"} 
[2026-04-28 12:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:24: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-04-28 12:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 12:24:28] 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-04-28 12:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003940864001,"66":13906,"106":206,"83":41984,"24":12,"16":115549094302187520,"45":1840987115789488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003940864001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:24:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115549094302187520,"km_value":115549094302187.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789488128,"description":"Unknown IO ID 45"} 
[2026-04-28 12:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003940864001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1840987115789488128}} 
[2026-04-28 12:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:24:28] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:24:28] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:24:31] local.INFO: TCP Data received {"connection_id":56572,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:24:31] local.INFO: Processing buffer {"connection_id":56572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:24:31] local.INFO: Packet analysis {"connection_id":56572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:31] local.INFO: Extracted packet for processing {"connection_id":56572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:24:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:24:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":56572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:24:31] local.INFO: GPS data processed {"connection_id":56572,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:24:31] local.INFO: Acknowledgment sent {"connection_id":56572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:24:59] local.INFO: TCP Data received {"connection_id":56614,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:24:59] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:24:59] local.INFO: IMEI packet received {"connection_id":56614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:25:04] local.INFO: TCP Data received {"connection_id":56614,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:04] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:04] local.INFO: IMEI packet received {"connection_id":56614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":56614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:25:06] local.INFO: TCP Data received {"connection_id":56614,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:06] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:06] local.INFO: Packet analysis {"connection_id":56614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:25:06] local.INFO: Extracted packet for processing {"connection_id":56614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:25: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-04-28 12:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:25:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:25:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":56614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:25:06] local.INFO: GPS data processed {"connection_id":56614,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:25:06] local.INFO: Acknowledgment sent {"connection_id":56614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:25:07] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:07] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:07] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:25:09] local.INFO: TCP Data received {"connection_id":56614,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:09] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:25:09] local.INFO: Packet analysis {"connection_id":56614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:25:09] local.INFO: Extracted packet for processing {"connection_id":56614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:25:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:25:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":56614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:25:09] local.INFO: GPS data processed {"connection_id":56614,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:25:09] local.INFO: Acknowledgment sent {"connection_id":56614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:25:09] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:09] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:09] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:25:12] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:12] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:25:12] local.INFO: IMEI packet received {"connection_id":56397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":56397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:25:13] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2de0190012d1906000720c9a0003800f128..."} 
[2026-04-28 12:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2de0190012d1906000720c9a0003800f128..."} 
[2026-04-28 12:25:13] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2de0190012d1906000720c9a0003800f128..."} 
[2026-04-28 12:25:13] local.INFO: Packet analysis {"connection_id":56397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:25:13] local.INFO: Extracted packet for processing {"connection_id":56397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756614656,"raw_latitude":119589280,"longitude_deg":75.6614656,"latitude_deg":11.958928,"altitude":56,"angle":241,"satellites":40,"speed":5,"hex_longitude":"2d190600","hex_latitude":"0720c9a0","is_valid_coordinates":true} 
[2026-04-28 12:25: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-04-28 12:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003968768001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115550911073353728,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418865111040,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777359258000,"timestamp_ms":1777359258000,"timestamp_seconds":1777359258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2de0190"} 
[2026-04-28 12:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:25: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":38,"data_length":795,"current_offset":136} 
[2026-04-28 12:25:13] 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-04-28 12:25: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-04-28 12:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:25:13] 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-04-28 12:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003968768001,"66":14428,"106":206,"83":41984,"24":5,"16":115550911073353728,"45":1803832418865111040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003968768001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115550911073353728,"km_value":115550911073353.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418865111040,"description":"Unknown IO ID 45"} 
[2026-04-28 12:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003968768001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1803832418865111040}} 
[2026-04-28 12:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":56397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:25:13] local.INFO: GPS data processed {"connection_id":56397,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:25:13] local.INFO: Acknowledgment sent {"connection_id":56397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:25:44] local.INFO: TCP Data received {"connection_id":56397,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2de0578012d1905c00720c940003800e028..."} 
[2026-04-28 12:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2de0578012d1905c00720c940003800e028..."} 
[2026-04-28 12:25:44] local.INFO: Processing buffer {"connection_id":56397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2de0578012d1905c00720c940003800e028..."} 
[2026-04-28 12:25:44] local.INFO: Packet analysis {"connection_id":56397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:25:44] local.INFO: Extracted packet for processing {"connection_id":56397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756614592,"raw_latitude":119589184,"longitude_deg":75.6614592,"latitude_deg":11.9589184,"altitude":56,"angle":224,"satellites":40,"speed":5,"hex_longitude":"2d1905c0","hex_latitude":"0720c940","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003970048001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115550919663288320,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803128731423318016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777359259000,"timestamp_ms":1777359259000,"timestamp_seconds":1777359259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2de0578"} 
[2026-04-28 12:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:25: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-04-28 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 12:25:44] 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-04-28 12: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-04-28 12:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:25:44] 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-04-28 12:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003970048001,"66":14428,"106":206,"83":41984,"24":5,"16":115550919663288320,"45":1803128731423318016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003970048001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:25:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115550919663288320,"km_value":115550919663288.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803128731423318016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003970048001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1803128731423318016}} 
[2026-04-28 12:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":56397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:25:44] local.INFO: GPS data processed {"connection_id":56397,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:25:44] local.INFO: Acknowledgment sent {"connection_id":56397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:25:53] local.INFO: TCP Data received {"connection_id":56615,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:53] local.INFO: Processing buffer {"connection_id":56615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:53] local.INFO: IMEI packet received {"connection_id":56615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:25:59] local.INFO: TCP Data received {"connection_id":56615,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:59] local.INFO: Processing buffer {"connection_id":56615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:25:59] local.INFO: IMEI packet received {"connection_id":56615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:26:01] local.INFO: TCP Data received {"connection_id":56615,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:01] local.INFO: Processing buffer {"connection_id":56615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:01] local.INFO: Packet analysis {"connection_id":56615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:26:01] local.INFO: Extracted packet for processing {"connection_id":56615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:26: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-04-28 12:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:26:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":56615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:26:01] local.INFO: GPS data processed {"connection_id":56615,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:26:01] local.INFO: Acknowledgment sent {"connection_id":56615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:26:09] local.INFO: TCP Data received {"connection_id":57297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:09] local.INFO: Processing buffer {"connection_id":57297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:09] local.INFO: IMEI packet received {"connection_id":57297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":57297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:26:14] local.INFO: TCP Data received {"connection_id":57297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:14] local.INFO: Processing buffer {"connection_id":57297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:26:14] local.INFO: IMEI packet received {"connection_id":57297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":57297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:26:21] local.INFO: TCP Data received {"connection_id":57297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dea1b8012d18ea800720b2800037010a28..."} 
[2026-04-28 12:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dea1b8012d18ea800720b2800037010a28..."} 
[2026-04-28 12:26:21] local.INFO: Processing buffer {"connection_id":57297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dea1b8012d18ea800720b2800037010a28..."} 
[2026-04-28 12:26:21] local.INFO: Packet analysis {"connection_id":57297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:26:21] local.INFO: Extracted packet for processing {"connection_id":57297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756607616,"raw_latitude":119583360,"longitude_deg":75.6607616,"latitude_deg":11.958336,"altitude":55,"angle":266,"satellites":40,"speed":12,"hex_longitude":"2d18ea80","hex_latitude":"0720b280","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003979264001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115551417879494656,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438213289984,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:21] 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-04-28 12:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777359299000,"timestamp_ms":1777359299000,"timestamp_seconds":1777359299,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dea1b8"} 
[2026-04-28 12:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 12:26:21] 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-04-28 12: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-04-28 12:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:26:21] 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-04-28 12:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003979264001,"66":14004,"106":206,"83":41984,"24":12,"16":115551417879494656,"45":1796584438213289984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003979264001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:26:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115551417879494656,"km_value":115551417879494.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438213289984,"description":"Unknown IO ID 45"} 
[2026-04-28 12:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003979264001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1796584438213289984}} 
[2026-04-28 12:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":57297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:26:21] local.INFO: GPS data processed {"connection_id":57297,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:26:21] local.INFO: Acknowledgment sent {"connection_id":57297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:26:32] local.INFO: TCP Data received {"connection_id":56615,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:32] local.INFO: Processing buffer {"connection_id":56615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:26:32] local.INFO: Packet analysis {"connection_id":56615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:26:32] local.INFO: Extracted packet for processing {"connection_id":56615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":56615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:26:32] local.INFO: GPS data processed {"connection_id":56615,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:26:32] local.INFO: Acknowledgment sent {"connection_id":56615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:26:52] local.INFO: TCP Data received {"connection_id":57297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2def3c0012d18d5c00720af280038011327..."} 
[2026-04-28 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2def3c0012d18d5c00720af280038011327..."} 
[2026-04-28 12:26:52] local.INFO: Processing buffer {"connection_id":57297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2def3c0012d18d5c00720af280038011327..."} 
[2026-04-28 12:26:52] local.INFO: Packet analysis {"connection_id":57297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:26:52] local.INFO: Extracted packet for processing {"connection_id":57297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2de"} 
[2026-04-28 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119582504,"longitude_deg":75.6602304,"latitude_deg":11.9582504,"altitude":56,"angle":275,"satellites":39,"speed":5,"hex_longitude":"2d18d5c0","hex_latitude":"0720af28","is_valid_coordinates":true} 
[2026-04-28 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003980544001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115551671282565120,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795388169562259456,"note":"Value kept but may cause issues"} 
[2026-04-28 12:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777359320000,"timestamp_ms":1777359320000,"timestamp_seconds":1777359320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2def3c0"} 
[2026-04-28 12:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 12:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:26:52] 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-04-28 12:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003980544001,"66":13906,"106":206,"83":41984,"24":5,"16":115551671282565120,"45":1795388169562259456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003980544001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:26:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115551671282565120,"km_value":115551671282565.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795388169562259456,"description":"Unknown IO ID 45"} 
[2026-04-28 12:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003980544001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1795388169562259456}} 
[2026-04-28 12:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":57297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:26:52] local.INFO: GPS data processed {"connection_id":57297,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:26:52] local.INFO: Acknowledgment sent {"connection_id":57297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:26:53] local.INFO: TCP Data received {"connection_id":56574,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:26:53] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:26:53] local.INFO: IMEI packet received {"connection_id":56574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":56574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:27:04] local.INFO: TCP Data received {"connection_id":56574,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:04] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:04] local.INFO: IMEI packet received {"connection_id":56574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":56574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:27:05] local.INFO: TCP Data received {"connection_id":56574,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:05] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:05] local.INFO: Packet analysis {"connection_id":56574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:27:05] local.INFO: Extracted packet for processing {"connection_id":56574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:27:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":56574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:27:05] local.INFO: GPS data processed {"connection_id":56574,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:27:05] local.INFO: Acknowledgment sent {"connection_id":56574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:27:06] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:06] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:06] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:27:07] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:07] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:07] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:27:09] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:09] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:09] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:27:14] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:14] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:27:14] local.INFO: IMEI packet received {"connection_id":56398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":56398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:27:15] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dfca98012d18bc8007208ef8002a014c28..."} 
[2026-04-28 12:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dfca98012d18bc8007208ef8002a014c28..."} 
[2026-04-28 12:27:15] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dfca98012d18bc8007208ef8002a014c28..."} 
[2026-04-28 12:27:15] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2df"} 
[2026-04-28 12:27:15] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2df"} 
[2026-04-28 12:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119574264,"longitude_deg":75.659584,"latitude_deg":11.9574264,"altitude":42,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d18bc80","hex_latitude":"07208ef8","is_valid_coordinates":true} 
[2026-04-28 12:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003999744001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115552315527659520,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320631240704,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359375000,"timestamp_ms":1777359375000,"timestamp_seconds":1777359375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dfca98"} 
[2026-04-28 12:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 12:27:15] 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-04-28 12:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003999744001,"66":14483,"106":206,"83":41984,"24":0,"16":115552315527659520,"45":1782440320631240704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003999744001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:27:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115552315527659520,"km_value":115552315527659.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320631240704,"description":"Unknown IO ID 45"} 
[2026-04-28 12:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003999744001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1782440320631240704}} 
[2026-04-28 12:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:27:15] local.INFO: GPS data processed {"connection_id":56398,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:27:15] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:27:36] local.INFO: TCP Data received {"connection_id":56574,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:36] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:27:36] local.INFO: Packet analysis {"connection_id":56574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:27:36] local.INFO: Extracted packet for processing {"connection_id":56574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:27:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:27:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":56574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:27:36] local.INFO: GPS data processed {"connection_id":56574,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:27:36] local.INFO: Acknowledgment sent {"connection_id":56574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:27:47] local.INFO: TCP Data received {"connection_id":56398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e04798012d18a080072088c8002c012327..."} 
[2026-04-28 12:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e04798012d18a080072088c8002c012327..."} 
[2026-04-28 12:27:47] local.INFO: Processing buffer {"connection_id":56398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e04798012d18a080072088c8002c012327..."} 
[2026-04-28 12:27:47] local.INFO: Packet analysis {"connection_id":56398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:27:47] local.INFO: Extracted packet for processing {"connection_id":56398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756588672,"raw_latitude":119572680,"longitude_deg":75.6588672,"latitude_deg":11.957268,"altitude":44,"angle":291,"satellites":39,"speed":13,"hex_longitude":"2d18a080","hex_latitude":"072088c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004006656001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115552779384127488,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608631369728,"note":"Value kept but may cause issues"} 
[2026-04-28 12:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777359407000,"timestamp_ms":1777359407000,"timestamp_seconds":1777359407,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e04798"} 
[2026-04-28 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-04-28 12:27: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-04-28 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 12:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:27:47] 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-04-28 12:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004006656001,"66":14450,"106":206,"83":41984,"24":13,"16":115552779384127488,"45":1776388608631369728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004006656001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:27:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115552779384127488,"km_value":115552779384127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608631369728,"description":"Unknown IO ID 45"} 
[2026-04-28 12:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004006656001,"power":14450,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1776388608631369728}} 
[2026-04-28 12:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":56398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:27:47] local.INFO: GPS data processed {"connection_id":56398,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:27:47] local.INFO: Acknowledgment sent {"connection_id":56398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:27:53] local.INFO: TCP Data received {"connection_id":56616,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:53] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:53] local.INFO: IMEI packet received {"connection_id":56616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":56616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:27:59] local.INFO: TCP Data received {"connection_id":56616,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:59] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:27:59] local.INFO: IMEI packet received {"connection_id":56616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:28:01] local.INFO: TCP Data received {"connection_id":56616,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:01] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:01] local.INFO: Packet analysis {"connection_id":56616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:28:01] local.INFO: Extracted packet for processing {"connection_id":56616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:28: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-04-28 12: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-04-28 12:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:28:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:28:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":56616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:28:01] local.INFO: GPS data processed {"connection_id":56616,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:28:01] local.INFO: Acknowledgment sent {"connection_id":56616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:28:12] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:12] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:12] local.INFO: IMEI packet received {"connection_id":56399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":56399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:28:14] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:14] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:28:14] local.INFO: IMEI packet received {"connection_id":56399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":56399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:28:15] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e05f08012d189a8007208a28002d011527..."} 
[2026-04-28 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e05f08012d189a8007208a28002d011527..."} 
[2026-04-28 12:28:15] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e05f08012d189a8007208a28002d011527..."} 
[2026-04-28 12:28:15] local.INFO: Packet analysis {"connection_id":56399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:28:15] local.INFO: Extracted packet for processing {"connection_id":56399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756587136,"raw_latitude":119573032,"longitude_deg":75.6587136,"latitude_deg":11.9573032,"altitude":45,"angle":277,"satellites":39,"speed":8,"hex_longitude":"2d189a80","hex_latitude":"07208a28","is_valid_coordinates":true} 
[2026-04-28 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004008192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115552856693538816,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774559021282936832,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359413000,"timestamp_ms":1777359413000,"timestamp_seconds":1777359413,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e05f08"} 
[2026-04-28 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-28 12:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004008192001,"66":14374,"106":206,"83":41984,"24":8,"16":115552856693538816,"45":1774559021282936832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004008192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:28:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115552856693538816,"km_value":115552856693538.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774559021282936832,"description":"Unknown IO ID 45"} 
[2026-04-28 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004008192001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1774559021282936832}} 
[2026-04-28 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":56399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:28:15] local.INFO: GPS data processed {"connection_id":56399,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:28:15] local.INFO: Acknowledgment sent {"connection_id":56399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:28:17] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e062f0012d189a0007208a00002d00fc26..."} 
[2026-04-28 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e062f0012d189a0007208a00002d00fc26..."} 
[2026-04-28 12:28:17] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e062f0012d189a0007208a00002d00fc26..."} 
[2026-04-28 12:28:17] local.INFO: Packet analysis {"connection_id":56399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:28:17] local.INFO: Extracted packet for processing {"connection_id":56399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e0"} 
[2026-04-28 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756587008,"raw_latitude":119572992,"longitude_deg":75.6587008,"latitude_deg":11.9572992,"altitude":45,"angle":252,"satellites":38,"speed":6,"hex_longitude":"2d189a00","hex_latitude":"07208a00","is_valid_coordinates":true} 
[2026-04-28 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004009728001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115552865283473408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772870171422763008,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777359414000,"timestamp_ms":1777359414000,"timestamp_seconds":1777359414,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e062f0"} 
[2026-04-28 12:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:28: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-04-28 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 12:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004009728001,"66":14352,"106":206,"83":41984,"24":6,"16":115552865283473408,"45":1772870171422763008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004009728001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115552865283473408,"km_value":115552865283473.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772870171422763008,"description":"Unknown IO ID 45"} 
[2026-04-28 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004009728001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1772870171422763008}} 
[2026-04-28 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":56399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:28:17] local.INFO: GPS data processed {"connection_id":56399,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:28:17] local.INFO: Acknowledgment sent {"connection_id":56399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:28:32] local.INFO: TCP Data received {"connection_id":56616,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:32] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2dce468012d7fa44005afde68000901122c..."} 
[2026-04-28 12:28:32] local.INFO: Packet analysis {"connection_id":56616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:28:32] local.INFO: Extracted packet for processing {"connection_id":56616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2dc"} 
[2026-04-28 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003874304001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777359185000,"timestamp_ms":1777359185000,"timestamp_seconds":1777359185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2dce468"} 
[2026-04-28 12:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003874304001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003874304001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003874304001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:28:32] local.INFO: GPS data processed {"connection_id":56616,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:28:32] local.INFO: Acknowledgment sent {"connection_id":56616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:28:48] local.INFO: TCP Data received {"connection_id":56399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e18400012d186a800720d2b8003a014228..."} 
[2026-04-28 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e18400012d186a800720d2b8003a014228..."} 
[2026-04-28 12:28:48] local.INFO: Processing buffer {"connection_id":56399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e18400012d186a800720d2b8003a014228..."} 
[2026-04-28 12:28:48] local.INFO: Packet analysis {"connection_id":56399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:28:48] local.INFO: Extracted packet for processing {"connection_id":56399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756574848,"raw_latitude":119591608,"longitude_deg":75.6574848,"latitude_deg":11.9591608,"altitude":58,"angle":322,"satellites":40,"speed":24,"hex_longitude":"2d186a80","hex_latitude":"0720d2b8","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028672001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115554140888760320,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759851953754550272,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777359488000,"timestamp_ms":1777359488000,"timestamp_seconds":1777359488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e18400"} 
[2026-04-28 12:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:28: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-04-28 12: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618695,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9079264686177255479,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3537986752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6568500172483985418,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3781988353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3472883768,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275777130,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292489412686253,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2276327424,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-04-28 12:28:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,135,124,45,128,208,58,40,10,66,116,64,207,57,112,1,240,169,227,210,32,4,113,205,25,104,123,184,239,52,2,154,7,55,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 12:28:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179670479488286720,"timestamp_seconds":4179670479488286.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:28:48] 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-04-28 12:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028672001,"66":13602,"106":206,"83":41984,"24":24,"16":115554140888760320,"45":1759851953754550272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028672001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115554140888760320,"km_value":115554140888760.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759851953754550272,"description":"Unknown IO ID 45"} 
[2026-04-28 12:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028672001,"power":13602,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1759851953754550272}} 
[2026-04-28 12:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":56399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:28:49] local.INFO: GPS data processed {"connection_id":56399,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:28:49] local.INFO: Acknowledgment sent {"connection_id":56399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:28:59] local.INFO: TCP Data received {"connection_id":57299,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:28:59] local.INFO: Processing buffer {"connection_id":57299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:28:59] local.INFO: IMEI packet received {"connection_id":57299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":57299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:29:00] local.INFO: TCP Data received {"connection_id":56400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:00] local.INFO: Processing buffer {"connection_id":56400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:00] local.INFO: IMEI packet received {"connection_id":56400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":56400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:29:04] local.INFO: TCP Data received {"connection_id":57299,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:04] local.INFO: Processing buffer {"connection_id":57299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:04] local.INFO: IMEI packet received {"connection_id":57299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":57299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:29:05] local.INFO: TCP Data received {"connection_id":57299,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:05] local.INFO: Processing buffer {"connection_id":57299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:05] local.INFO: Packet analysis {"connection_id":57299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:05] local.INFO: Extracted packet for processing {"connection_id":57299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:29:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":57299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:29:05] local.INFO: GPS data processed {"connection_id":57299,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:29:05] local.INFO: Acknowledgment sent {"connection_id":57299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:29:07] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:07] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:07] local.INFO: IMEI packet received {"connection_id":57300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":57300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:29:08] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:08] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:08] local.INFO: IMEI packet received {"connection_id":57300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":57300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:29:10] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:10] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:10] local.INFO: IMEI packet received {"connection_id":57300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":57300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:29:14] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:14] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:29:14] local.INFO: IMEI packet received {"connection_id":57300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":57300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:29:15] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e187e8012d1869c00720d4e0003b015128..."} 
[2026-04-28 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e187e8012d1869c00720d4e0003b015128..."} 
[2026-04-28 12:29:15] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e187e8012d1869c00720d4e0003b015128..."} 
[2026-04-28 12:29:15] local.INFO: Packet analysis {"connection_id":57300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:15] local.INFO: Extracted packet for processing {"connection_id":57300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756574656,"raw_latitude":119592160,"longitude_deg":75.6574656,"latitude_deg":11.959216,"altitude":59,"angle":337,"satellites":40,"speed":25,"hex_longitude":"2d1869c0","hex_latitude":"0720d4e0","is_valid_coordinates":true} 
[2026-04-28 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028928001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115554170953531392,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759359372545406976,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359489000,"timestamp_ms":1777359489000,"timestamp_seconds":1777359489,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e187e8"} 
[2026-04-28 12:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 12:29:15] 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-04-28 12:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028928001,"66":13602,"106":206,"83":41984,"24":25,"16":115554170953531392,"45":1759359372545406976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028928001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:29:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115554170953531392,"km_value":115554170953531.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759359372545406976,"description":"Unknown IO ID 45"} 
[2026-04-28 12:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028928001,"power":13602,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1759359372545406976}} 
[2026-04-28 12:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":57300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:29:15] local.INFO: GPS data processed {"connection_id":57300,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:29:15] local.INFO: Acknowledgment sent {"connection_id":57300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:29:34] local.INFO: TCP Data received {"connection_id":56575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:34] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:34] local.INFO: IMEI packet received {"connection_id":56575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":56575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:29:37] local.INFO: TCP Data received {"connection_id":57299,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:37] local.INFO: Processing buffer {"connection_id":57299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:29:37] local.INFO: Packet analysis {"connection_id":57299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:37] local.INFO: Extracted packet for processing {"connection_id":57299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:29:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:29:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":57299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:29:37] local.INFO: GPS data processed {"connection_id":57299,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:29:37] local.INFO: Acknowledgment sent {"connection_id":57299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:29:40] local.INFO: TCP Data received {"connection_id":56575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:40] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:29:40] local.INFO: IMEI packet received {"connection_id":56575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":56575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:29:40] local.INFO: TCP Data received {"connection_id":56575,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2b668d8012cb29ac007822ea0004400192b..."} 
[2026-04-28 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2b668d8012cb29ac007822ea0004400192b..."} 
[2026-04-28 12:29:40] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2b668d8012cb29ac007822ea0004400192b..."} 
[2026-04-28 12:29:40] local.INFO: Packet analysis {"connection_id":56575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 12:29:40] local.INFO: Extracted packet for processing {"connection_id":56575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2b6"} 
[2026-04-28 12:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972128,"longitude_deg":74.9902528,"latitude_deg":12.5972128,"altitude":68,"angle":25,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea0","is_valid_coordinates":true} 
[2026-04-28 12:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003228672001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063540224,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777356663000,"timestamp_ms":1777356663000,"timestamp_seconds":1777356663,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2b668d8"} 
[2026-04-28 12:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:29:40] 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-04-28 12:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 12:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 12:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 12:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 12:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 12:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003228672001,"66":24995,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063540224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 12:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 12:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 12:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003228672001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:29:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 12:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 12:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063540224,"description":"Unknown IO ID 44"} 
[2026-04-28 12:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003228672001,"power":24995,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063540224}} 
[2026-04-28 12:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":56575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:29:41] local.INFO: GPS data processed {"connection_id":56575,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:29:41] local.INFO: Acknowledgment sent {"connection_id":56575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:29:46] local.INFO: TCP Data received {"connection_id":57300,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e22810012d183440072110a0003b000827..."} 
[2026-04-28 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e22810012d183440072110a0003b000827..."} 
[2026-04-28 12:29:46] local.INFO: Processing buffer {"connection_id":57300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e22810012d183440072110a0003b000827..."} 
[2026-04-28 12:29:46] local.INFO: Packet analysis {"connection_id":57300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e2"} 
[2026-04-28 12:29:46] local.INFO: Extracted packet for processing {"connection_id":57300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e2"} 
[2026-04-28 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119607456,"longitude_deg":75.656096,"latitude_deg":11.9607456,"altitude":59,"angle":8,"satellites":39,"speed":23,"hex_longitude":"2d183440","hex_latitude":"072110a0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004039424001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115555386429276160,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355062763520,"note":"Value kept but may cause issues"} 
[2026-04-28 12:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777359530000,"timestamp_ms":1777359530000,"timestamp_seconds":1777359530,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e22810"} 
[2026-04-28 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-04-28 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 12:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004039424001,"66":14265,"106":206,"83":41984,"24":23,"16":115555386429276160,"45":1744089355062763520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004039424001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:29:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115555386429276160,"km_value":115555386429276.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355062763520,"description":"Unknown IO ID 45"} 
[2026-04-28 12:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004039424001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1744089355062763520}} 
[2026-04-28 12:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":57300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:29:46] local.INFO: GPS data processed {"connection_id":57300,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:29:46] local.INFO: Acknowledgment sent {"connection_id":57300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:29:53] local.INFO: TCP Data received {"connection_id":57301,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:53] local.INFO: Processing buffer {"connection_id":57301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:53] local.INFO: IMEI packet received {"connection_id":57301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":57301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:29:59] local.INFO: TCP Data received {"connection_id":57301,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:59] local.INFO: Processing buffer {"connection_id":57301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:29:59] local.INFO: IMEI packet received {"connection_id":57301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":57301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:30:00] local.INFO: TCP Data received {"connection_id":57301,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:00] local.INFO: Processing buffer {"connection_id":57301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:00] local.INFO: Packet analysis {"connection_id":57301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:30:00] local.INFO: Extracted packet for processing {"connection_id":57301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:30: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-04-28 12: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-04-28 12:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:30:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:30:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":57301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:30:00] local.INFO: GPS data processed {"connection_id":57301,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:30:00] local.INFO: Acknowledgment sent {"connection_id":57301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:30:07] local.INFO: TCP Data received {"connection_id":56401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:07] local.INFO: Processing buffer {"connection_id":56401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:07] local.INFO: IMEI packet received {"connection_id":56401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":56401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:30:09] local.INFO: TCP Data received {"connection_id":56401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:09] local.INFO: Processing buffer {"connection_id":56401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:09] local.INFO: IMEI packet received {"connection_id":56401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":56401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:30:14] local.INFO: TCP Data received {"connection_id":56401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:14] local.INFO: Processing buffer {"connection_id":56401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:30:14] local.INFO: IMEI packet received {"connection_id":56401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":56401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:30:15] local.INFO: TCP Data received {"connection_id":56401,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e233c8012d18354007211770003b016527..."} 
[2026-04-28 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e233c8012d18354007211770003b016527..."} 
[2026-04-28 12:30:15] local.INFO: Processing buffer {"connection_id":56401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e233c8012d18354007211770003b016527..."} 
[2026-04-28 12:30:15] local.INFO: Packet analysis {"connection_id":56401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e2"} 
[2026-04-28 12:30:15] local.INFO: Extracted packet for processing {"connection_id":56401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e2"} 
[2026-04-28 12:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":119609200,"longitude_deg":75.6561216,"latitude_deg":11.96092,"altitude":59,"angle":357,"satellites":39,"speed":23,"hex_longitude":"2d183540","hex_latitude":"07211770","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004039680001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115555472328622080,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355062910976,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359533000,"timestamp_ms":1777359533000,"timestamp_seconds":1777359533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e233c8"} 
[2026-04-28 12:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 12:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004039680001,"66":14374,"106":206,"83":41984,"24":23,"16":115555472328622080,"45":1744089355062910976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 12:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004039680001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 12:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115555472328622080,"km_value":115555472328622.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355062910976,"description":"Unknown IO ID 45"} 
[2026-04-28 12:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004039680001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1744089355062910976}} 
[2026-04-28 12:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":56401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:30:15] local.INFO: GPS data processed {"connection_id":56401,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:30:15] local.INFO: Acknowledgment sent {"connection_id":56401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:30:32] local.INFO: TCP Data received {"connection_id":57301,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:32] local.INFO: Processing buffer {"connection_id":57301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:30:32] local.INFO: Packet analysis {"connection_id":57301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:30:32] local.INFO: Extracted packet for processing {"connection_id":57301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:30: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-04-28 12:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:30: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-04-28 12:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":57301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:30:32] local.INFO: GPS data processed {"connection_id":57301,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:30:32] local.INFO: Acknowledgment sent {"connection_id":57301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:30:35] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:30:35] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:30:35] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:30:47] local.INFO: TCP Data received {"connection_id":56401,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e329e0012d180d80072186480044015f26..."} 
[2026-04-28 12:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e329e0012d180d80072186480044015f26..."} 
[2026-04-28 12:30:47] local.INFO: Processing buffer {"connection_id":56401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e329e0012d180d80072186480044015f26..."} 
[2026-04-28 12:30:47] local.INFO: Packet analysis {"connection_id":56401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:30:47] local.INFO: Extracted packet for processing {"connection_id":56401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119637576,"longitude_deg":75.655104,"latitude_deg":11.9637576,"altitude":68,"angle":351,"satellites":38,"speed":14,"hex_longitude":"2d180d80","hex_latitude":"07218648","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004055040001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557104416194560,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769068544,"note":"Value kept but may cause issues"} 
[2026-04-28 12:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777359596000,"timestamp_ms":1777359596000,"timestamp_seconds":1777359596,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e329e0"} 
[2026-04-28 12:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:30: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-04-28 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 12:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:30:47] 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-04-28 12:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004055040001,"66":14004,"107":206,"83":41984,"24":14,"16":115557104416194560,"45":1732619249769068544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 12:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004055040001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:30:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 12:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557104416194560,"km_value":115557104416194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769068544,"description":"Unknown IO ID 45"} 
[2026-04-28 12:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004055040001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1732619249769068544}} 
[2026-04-28 12:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":56401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:30:47] local.INFO: GPS data processed {"connection_id":56401,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:30:47] local.INFO: Acknowledgment sent {"connection_id":56401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:30:53] local.INFO: TCP Data received {"connection_id":56618,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:53] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:53] local.INFO: IMEI packet received {"connection_id":56618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":56618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:30:59] local.INFO: TCP Data received {"connection_id":56618,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:59] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:30:59] local.INFO: IMEI packet received {"connection_id":56618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:31:01] local.INFO: TCP Data received {"connection_id":56618,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:01] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:01] local.INFO: Packet analysis {"connection_id":56618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:31:01] local.INFO: Extracted packet for processing {"connection_id":56618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:31: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-04-28 12:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:31:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:31:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":56618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:31:02] local.INFO: GPS data processed {"connection_id":56618,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:31:02] local.INFO: Acknowledgment sent {"connection_id":56618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:31:09] local.INFO: TCP Data received {"connection_id":57302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:09] local.INFO: Processing buffer {"connection_id":57302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:09] local.INFO: IMEI packet received {"connection_id":57302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":57302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:31:10] local.INFO: TCP Data received {"connection_id":57302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:10] local.INFO: Processing buffer {"connection_id":57302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:10] local.INFO: IMEI packet received {"connection_id":57302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":57302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:31:14] local.INFO: TCP Data received {"connection_id":57302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:14] local.INFO: Processing buffer {"connection_id":57302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:31:14] local.INFO: IMEI packet received {"connection_id":57302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":57302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:31:18] local.INFO: TCP Data received {"connection_id":57302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e32dc8012d180d00072187a00045014f26..."} 
[2026-04-28 12:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e32dc8012d180d00072187a00045014f26..."} 
[2026-04-28 12:31:18] local.INFO: Processing buffer {"connection_id":57302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e32dc8012d180d00072187a00045014f26..."} 
[2026-04-28 12:31:18] local.INFO: Packet analysis {"connection_id":57302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:31:18] local.INFO: Extracted packet for processing {"connection_id":57302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119637920,"longitude_deg":75.6550912,"latitude_deg":11.963792,"altitude":69,"angle":335,"satellites":38,"speed":13,"hex_longitude":"2d180d00","hex_latitude":"072187a0","is_valid_coordinates":true} 
[2026-04-28 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004056576001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557121596063744,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723083776,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777359597000,"timestamp_ms":1777359597000,"timestamp_seconds":1777359597,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e32dc8"} 
[2026-04-28 12:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:31: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-04-28 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 12:31:18] 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-04-28 12:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:31:18] 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-04-28 12:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004056576001,"66":14004,"107":206,"83":41984,"24":13,"16":115557121596063744,"45":1733182199723083776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 12:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004056576001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:31:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 12:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557121596063744,"km_value":115557121596063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723083776,"description":"Unknown IO ID 45"} 
[2026-04-28 12:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004056576001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1733182199723083776}} 
[2026-04-28 12:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":57302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:31:18] local.INFO: GPS data processed {"connection_id":57302,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:31:18] local.INFO: Acknowledgment sent {"connection_id":57302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:31:33] local.INFO: TCP Data received {"connection_id":56618,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:33] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:31:33] local.INFO: Packet analysis {"connection_id":56618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:31:33] local.INFO: Extracted packet for processing {"connection_id":56618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:31:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":56618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:31:33] local.INFO: GPS data processed {"connection_id":56618,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:31:33] local.INFO: Acknowledgment sent {"connection_id":56618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:31:50] local.INFO: TCP Data received {"connection_id":57302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e331b0012d180c40072188a00045013a26..."} 
[2026-04-28 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e331b0012d180c40072188a00045013a26..."} 
[2026-04-28 12:31:50] local.INFO: Processing buffer {"connection_id":57302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e331b0012d180c40072188a00045013a26..."} 
[2026-04-28 12:31:50] local.INFO: Packet analysis {"connection_id":57302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:31:50] local.INFO: Extracted packet for processing {"connection_id":57302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":119638176,"longitude_deg":75.655072,"latitude_deg":11.9638176,"altitude":69,"angle":314,"satellites":38,"speed":12,"hex_longitude":"2d180c40","hex_latitude":"072188a0","is_valid_coordinates":true} 
[2026-04-28 12:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004056832001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557138775932928,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462234816512,"note":"Value kept but may cause issues"} 
[2026-04-28 12:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777359598000,"timestamp_ms":1777359598000,"timestamp_seconds":1777359598,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e331b0"} 
[2026-04-28 12:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 12:31:50] 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-04-28 12:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:31:50] 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-04-28 12:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004056832001,"66":14004,"107":206,"83":41984,"24":12,"16":115557138775932928,"45":1733041462234816512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 12:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004056832001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:31:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 12:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557138775932928,"km_value":115557138775932.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462234816512,"description":"Unknown IO ID 45"} 
[2026-04-28 12:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004056832001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1733041462234816512}} 
[2026-04-28 12:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":57302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:31:50] local.INFO: GPS data processed {"connection_id":57302,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:31:50] local.INFO: Acknowledgment sent {"connection_id":57302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:31:59] local.INFO: TCP Data received {"connection_id":57303,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:31:59] local.INFO: Processing buffer {"connection_id":57303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:31:59] local.INFO: IMEI packet received {"connection_id":57303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":57303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:32:04] local.INFO: TCP Data received {"connection_id":57303,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:04] local.INFO: Processing buffer {"connection_id":57303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:04] local.INFO: IMEI packet received {"connection_id":57303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":57303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:32:06] local.INFO: TCP Data received {"connection_id":57303,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:06] local.INFO: Processing buffer {"connection_id":57303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:06] local.INFO: Packet analysis {"connection_id":57303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:32:06] local.INFO: Extracted packet for processing {"connection_id":57303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:32: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-04-28 12:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:32:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:32:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":57303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:32:06] local.INFO: GPS data processed {"connection_id":57303,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:32:06] local.INFO: Acknowledgment sent {"connection_id":57303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:32:09] local.INFO: TCP Data received {"connection_id":57303,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:09] local.INFO: Processing buffer {"connection_id":57303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:32:09] local.INFO: Packet analysis {"connection_id":57303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:32:09] local.INFO: Extracted packet for processing {"connection_id":57303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:32:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:32:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":57303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:32:09] local.INFO: GPS data processed {"connection_id":57303,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:32:09] local.INFO: Acknowledgment sent {"connection_id":57303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:32:14] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:14] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:14] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:32:17] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:17] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:32:17] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:32:27] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e37800012d1809c007218ae00045015527..."} 
[2026-04-28 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e37800012d1809c007218ae00045015527..."} 
[2026-04-28 12:32:27] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e37800012d1809c007218ae00045015527..."} 
[2026-04-28 12:32:27] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:32:27] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756550080,"raw_latitude":119638752,"longitude_deg":75.655008,"latitude_deg":11.9638752,"altitude":69,"angle":341,"satellites":39,"speed":6,"hex_longitude":"2d1809c0","hex_latitude":"07218ae0","is_valid_coordinates":true} 
[2026-04-28 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557186020573184,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732830356002349056,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777359616000,"timestamp_ms":1777359616000,"timestamp_seconds":1777359616,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e37800"} 
[2026-04-28 12:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 12:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:32:27] 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-04-28 12:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004057088001,"66":14428,"105":206,"83":41984,"24":6,"16":115557186020573184,"45":1732830356002349056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:32:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557186020573184,"km_value":115557186020573.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732830356002349056,"description":"Unknown IO ID 45"} 
[2026-04-28 12:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004057088001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1732830356002349056}} 
[2026-04-28 12:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:32:27] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:32:27] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:32:28] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e37be8012d1809c007218b800045000427..."} 
[2026-04-28 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e37be8012d1809c007218b800045000427..."} 
[2026-04-28 12:32:28] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e37be8012d1809c007218b800045000427..."} 
[2026-04-28 12:32:28] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:32:28] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756550080,"raw_latitude":119638912,"longitude_deg":75.655008,"latitude_deg":11.9638912,"altitude":69,"angle":4,"satellites":39,"speed":6,"hex_longitude":"2d1809c0","hex_latitude":"07218b80","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004061696001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557194610507776,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732126668560719872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777359617000,"timestamp_ms":1777359617000,"timestamp_seconds":1777359617,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e37be8"} 
[2026-04-28 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 12:32:28] 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-04-28 12:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004061696001,"66":14428,"105":206,"83":41984,"24":6,"16":115557194610507776,"45":1732126668560719872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004061696001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:32:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557194610507776,"km_value":115557194610507.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732126668560719872,"description":"Unknown IO ID 45"} 
[2026-04-28 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004061696001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1732126668560719872}} 
[2026-04-28 12:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:32:28] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:32:28] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:32:54] local.INFO: TCP Data received {"connection_id":57304,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:54] local.INFO: Processing buffer {"connection_id":57304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:54] local.INFO: IMEI packet received {"connection_id":57304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":57304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:32:59] local.INFO: TCP Data received {"connection_id":57304,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:59] local.INFO: Processing buffer {"connection_id":57304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:32:59] local.INFO: IMEI packet received {"connection_id":57304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":57304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:33:00] local.INFO: TCP Data received {"connection_id":57304,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:00] local.INFO: Processing buffer {"connection_id":57304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:00] local.INFO: Packet analysis {"connection_id":57304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:33:00] local.INFO: Extracted packet for processing {"connection_id":57304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 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-04-28 12:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:33: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-04-28 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-04-28 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-04-28 12:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:33:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":57304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:33:00] local.INFO: GPS data processed {"connection_id":57304,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:33:00] local.INFO: Acknowledgment sent {"connection_id":57304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:33:09] local.INFO: TCP Data received {"connection_id":57305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:09] local.INFO: Processing buffer {"connection_id":57305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:09] local.INFO: IMEI packet received {"connection_id":57305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":57305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:33:14] local.INFO: TCP Data received {"connection_id":57305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:14] local.INFO: Processing buffer {"connection_id":57305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:33:14] local.INFO: IMEI packet received {"connection_id":57305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":57305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:33:15] local.INFO: TCP Data received {"connection_id":57305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e383b8012d180a4007218d500045001c27..."} 
[2026-04-28 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e383b8012d180a4007218d500045001c27..."} 
[2026-04-28 12:33:15] local.INFO: Processing buffer {"connection_id":57305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e383b8012d180a4007218d500045001c27..."} 
[2026-04-28 12:33:15] local.INFO: Packet analysis {"connection_id":57305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:15] local.INFO: Extracted packet for processing {"connection_id":57305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756550208,"raw_latitude":119639376,"longitude_deg":75.6550208,"latitude_deg":11.9639376,"altitude":69,"angle":28,"satellites":39,"speed":11,"hex_longitude":"2d180a40","hex_latitude":"07218d50","is_valid_coordinates":true} 
[2026-04-28 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004061952001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557216085344256,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732126668560760832,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359619000,"timestamp_ms":1777359619000,"timestamp_seconds":1777359619,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e383b8"} 
[2026-04-28 12:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 12:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004061952001,"66":14374,"105":206,"83":41984,"24":11,"16":115557216085344256,"45":1732126668560760832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004061952001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557216085344256,"km_value":115557216085344.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732126668560760832,"description":"Unknown IO ID 45"} 
[2026-04-28 12:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004061952001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1732126668560760832}} 
[2026-04-28 12:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":57305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:33:15] local.INFO: GPS data processed {"connection_id":57305,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:33:15] local.INFO: Acknowledgment sent {"connection_id":57305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:33:20] local.INFO: TCP Data received {"connection_id":57305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e39b28012d181080072196780046002927..."} 
[2026-04-28 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e39b28012d181080072196780046002927..."} 
[2026-04-28 12:33:20] local.INFO: Processing buffer {"connection_id":57305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e39b28012d181080072196780046002927..."} 
[2026-04-28 12:33:20] local.INFO: Packet analysis {"connection_id":57305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:20] local.INFO: Extracted packet for processing {"connection_id":57305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756551808,"raw_latitude":119641720,"longitude_deg":75.6551808,"latitude_deg":11.964172,"altitude":70,"angle":41,"satellites":39,"speed":25,"hex_longitude":"2d181080","hex_latitude":"07219678","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004062464001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557353524297728,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732267406049234944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777359625000,"timestamp_ms":1777359625000,"timestamp_seconds":1777359625,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e39b28"} 
[2026-04-28 12:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 12:33:20] 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-04-28 12: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-04-28 12:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004062464001,"66":14483,"105":206,"83":41984,"24":25,"16":115557353524297728,"45":1732267406049234944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004062464001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:33:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:33:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557353524297728,"km_value":115557353524297.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732267406049234944,"description":"Unknown IO ID 45"} 
[2026-04-28 12:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004062464001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1732267406049234944}} 
[2026-04-28 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":57305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:33:20] local.INFO: GPS data processed {"connection_id":57305,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:33:20] local.INFO: Acknowledgment sent {"connection_id":57305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:33:32] local.INFO: TCP Data received {"connection_id":57304,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:32] local.INFO: Processing buffer {"connection_id":57304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e17c30012d7fa44005afde68000901122a..."} 
[2026-04-28 12:33:32] local.INFO: Packet analysis {"connection_id":57304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:33:32] local.INFO: Extracted packet for processing {"connection_id":57304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e1"} 
[2026-04-28 12:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455003951360001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777359486000,"timestamp_ms":1777359486000,"timestamp_seconds":1777359486,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e17c30"} 
[2026-04-28 12:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455003951360001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455003951360001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:33:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455003951360001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":57304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:33:32] local.INFO: GPS data processed {"connection_id":57304,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:33:32] local.INFO: Acknowledgment sent {"connection_id":57304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:33:54] local.INFO: TCP Data received {"connection_id":57305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e3a2f8012d18138007219b100046001a24..."} 
[2026-04-28 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e3a2f8012d18138007219b100046001a24..."} 
[2026-04-28 12:33:54] local.INFO: Processing buffer {"connection_id":57305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e3a2f8012d18138007219b100046001a24..."} 
[2026-04-28 12:33:54] local.INFO: Packet analysis {"connection_id":57305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:54] local.INFO: Extracted packet for processing {"connection_id":57305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642896,"longitude_deg":75.6552576,"latitude_deg":11.9642896,"altitude":70,"angle":26,"satellites":36,"speed":29,"hex_longitude":"2d181380","hex_latitude":"07219b10","is_valid_coordinates":true} 
[2026-04-28 12:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004064000001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557422243774464,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624654276608,"note":"Value kept but may cause issues"} 
[2026-04-28 12:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777359627000,"timestamp_ms":1777359627000,"timestamp_seconds":1777359627,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e3a2f8"} 
[2026-04-28 12:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:33:54] 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-04-28 12:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 12:33:54] 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-04-28 12:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004064000001,"66":14428,"105":206,"83":41984,"24":29,"16":115557422243774464,"45":1734026624654276608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004064000001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:33:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557422243774464,"km_value":115557422243774.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624654276608,"description":"Unknown IO ID 45"} 
[2026-04-28 12:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004064000001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1734026624654276608}} 
[2026-04-28 12:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":57305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:33:54] local.INFO: GPS data processed {"connection_id":57305,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:33:54] local.INFO: Acknowledgment sent {"connection_id":57305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:33:54] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:54] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:54] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:33:59] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:59] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:33:59] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:34:01] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:01] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:01] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:01] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:34:01] 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-04-28 12:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:34:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:34:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:34:01] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:34:01] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:34:09] local.INFO: TCP Data received {"connection_id":56578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:09] local.INFO: Processing buffer {"connection_id":56578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:09] local.INFO: IMEI packet received {"connection_id":56578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":56578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:34:14] local.INFO: TCP Data received {"connection_id":56578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:14] local.INFO: Processing buffer {"connection_id":56578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:34:14] local.INFO: IMEI packet received {"connection_id":56578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":56578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:34:18] local.INFO: TCP Data received {"connection_id":56578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e3b680012d1819800721a6500048002528..."} 
[2026-04-28 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e3b680012d1819800721a6500048002528..."} 
[2026-04-28 12:34:18] local.INFO: Processing buffer {"connection_id":56578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e3b680012d1819800721a6500048002528..."} 
[2026-04-28 12:34:18] local.INFO: Packet analysis {"connection_id":56578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:34:18] local.INFO: Extracted packet for processing {"connection_id":56578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e3"} 
[2026-04-28 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756554112,"raw_latitude":119645776,"longitude_deg":75.6554112,"latitude_deg":11.9645776,"altitude":72,"angle":37,"satellites":40,"speed":20,"hex_longitude":"2d181980","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004064512001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557581157564416,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584709632,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777359632000,"timestamp_ms":1777359632000,"timestamp_seconds":1777359632,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e3b680"} 
[2026-04-28 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-04-28 12:34: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-04-28 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 12:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:34:18] 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-04-28 12:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004064512001,"66":14461,"105":206,"83":41984,"24":20,"16":115557581157564416,"45":1734871049584709632},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004064512001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:34:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557581157564416,"km_value":115557581157564.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584709632,"description":"Unknown IO ID 45"} 
[2026-04-28 12:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004064512001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1734871049584709632}} 
[2026-04-28 12:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":56578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:34:18] local.INFO: GPS data processed {"connection_id":56578,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:34:18] local.INFO: Acknowledgment sent {"connection_id":56578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:34:33] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:33] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:34:33] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:33] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:34:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:34:33] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:34:33] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:34:51] local.INFO: TCP Data received {"connection_id":56578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e65660012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e65660012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:34:51] local.INFO: Processing buffer {"connection_id":56578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e65660012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:34:51] local.INFO: Packet analysis {"connection_id":56578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:51] local.INFO: Extracted packet for processing {"connection_id":56578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004104448001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777359804000,"timestamp_ms":1777359804000,"timestamp_seconds":1777359804,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e65660"} 
[2026-04-28 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-04-28 12: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-04-28 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 12:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004104448001,"66":12863,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004104448001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004104448001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":56578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:34:51] local.INFO: GPS data processed {"connection_id":56578,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:34:51] local.INFO: Acknowledgment sent {"connection_id":56578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:34:54] local.INFO: TCP Data received {"connection_id":56406,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:54] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:54] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:34:59] local.INFO: TCP Data received {"connection_id":56406,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:59] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:34:59] local.INFO: IMEI packet received {"connection_id":56406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:35:00] local.INFO: TCP Data received {"connection_id":56406,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:00] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:00] local.INFO: Packet analysis {"connection_id":56406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:00] local.INFO: Extracted packet for processing {"connection_id":56406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:35: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-04-28 12: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-04-28 12:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:35:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":56406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:35:00] local.INFO: GPS data processed {"connection_id":56406,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:35:00] local.INFO: Acknowledgment sent {"connection_id":56406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:35:06] local.INFO: TCP Data received {"connection_id":56406,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:06] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:06] local.INFO: Packet analysis {"connection_id":56406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:06] local.INFO: Extracted packet for processing {"connection_id":56406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:35:06] 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-04-28 12:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:35:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:35:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":56406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:35:06] local.INFO: GPS data processed {"connection_id":56406,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:35:06] local.INFO: Acknowledgment sent {"connection_id":56406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:35:09] local.INFO: TCP Data received {"connection_id":56620,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:09] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:09] local.INFO: IMEI packet received {"connection_id":56620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":56620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:35:14] local.INFO: TCP Data received {"connection_id":56620,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:14] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:35:14] local.INFO: IMEI packet received {"connection_id":56620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":56620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:35:15] local.INFO: TCP Data received {"connection_id":56620,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e6a868012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e6a868012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:15] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e6a868012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:15] local.INFO: Packet analysis {"connection_id":56620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:15] local.INFO: Extracted packet for processing {"connection_id":56620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004109824001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359825000,"timestamp_ms":1777359825000,"timestamp_seconds":1777359825,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e6a868"} 
[2026-04-28 12:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 12:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004109824001,"66":12841,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004109824001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:35:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004109824001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":56620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:35:15] local.INFO: GPS data processed {"connection_id":56620,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:35:15] local.INFO: Acknowledgment sent {"connection_id":56620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:35:37] local.INFO: TCP Data received {"connection_id":56406,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:37] local.INFO: Processing buffer {"connection_id":56406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:35:37] local.INFO: Packet analysis {"connection_id":56406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:37] local.INFO: Extracted packet for processing {"connection_id":56406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":56406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:35:37] local.INFO: GPS data processed {"connection_id":56406,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:35:37] local.INFO: Acknowledgment sent {"connection_id":56406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:35:53] local.INFO: TCP Data received {"connection_id":56621,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:53] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:53] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:35:55] local.INFO: TCP Data received {"connection_id":56579,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:35:55] local.INFO: Processing buffer {"connection_id":56579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:35:55] local.INFO: IMEI packet received {"connection_id":56579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":56579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:35:57] local.INFO: TCP Data received {"connection_id":56620,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e6fa70012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e6fa70012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:57] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e6fa70012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:35:57] local.INFO: Packet analysis {"connection_id":56620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:57] local.INFO: Extracted packet for processing {"connection_id":56620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004115200001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:35: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-04-28 12:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777359846000,"timestamp_ms":1777359846000,"timestamp_seconds":1777359846,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e6fa70"} 
[2026-04-28 12:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 12:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:35:57] 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-04-28 12:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004115200001,"66":12809,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004115200001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:35:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004115200001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":56620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:35:58] local.INFO: GPS data processed {"connection_id":56620,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:35:58] local.INFO: Acknowledgment sent {"connection_id":56620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:35:59] local.INFO: TCP Data received {"connection_id":56621,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:59] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:35:59] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:36:00] local.INFO: TCP Data received {"connection_id":56621,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:00] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:00] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:36:00] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:36: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-04-28 12:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:36:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:36:00] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:36:00] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:36:08] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:08] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:08] local.INFO: IMEI packet received {"connection_id":56580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":56580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:36:09] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:09] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:09] local.INFO: IMEI packet received {"connection_id":56580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":56580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:36:14] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:14] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:36:14] local.INFO: IMEI packet received {"connection_id":56580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":56580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:36:17] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e74c78012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e74c78012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:36:17] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e74c78012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:36:17] local.INFO: Packet analysis {"connection_id":56580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:36:17] local.INFO: Extracted packet for processing {"connection_id":56580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004120576001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777359867000,"timestamp_ms":1777359867000,"timestamp_seconds":1777359867,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e74c78"} 
[2026-04-28 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-04-28 12:36: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-04-28 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538226752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1964633759737698944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3115843659,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338127872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430175785340902951,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,139,168,45,128,185,75,38,10,66,86,4,1,240,85,227,210,33,113,205,96,37,184,239,50,2,154,7,164,93],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:36:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404352701402185728,"timestamp_seconds":5404352701402186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 12:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004120576001,"66":12809,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004120576001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004120576001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":56580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:36:17] local.INFO: GPS data processed {"connection_id":56580,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:36:17] local.INFO: Acknowledgment sent {"connection_id":56580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:36:32] local.INFO: TCP Data received {"connection_id":56621,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:32] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:36:32] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:36:32] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:36:32] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:36:32] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:36:34] local.INFO: TCP Data received {"connection_id":56581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:36:34] local.INFO: Processing buffer {"connection_id":56581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:36:34] local.INFO: IMEI packet received {"connection_id":56581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":56581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:36:48] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e79e80012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e79e80012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:36:48] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e79e80012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:36:48] local.INFO: Packet analysis {"connection_id":56580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:36:48] local.INFO: Extracted packet for processing {"connection_id":56580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004125952001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777359888000,"timestamp_ms":1777359888000,"timestamp_seconds":1777359888,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e79e80"} 
[2026-04-28 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:36: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-04-28 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538247752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1941544015554402944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3115843659,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338127872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430175785340902950,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 12:36:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,139,250,45,128,185,75,38,10,66,168,86,1,240,63,227,210,33,4,113,205,178,37,184,239,50,2,154,7,164,93],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:36:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404352701402185728,"timestamp_seconds":5404352701402186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:36:48] 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-04-28 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004125952001,"66":12809,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004125952001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004125952001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":56580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:36:48] local.INFO: GPS data processed {"connection_id":56580,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:36:48] local.INFO: Acknowledgment sent {"connection_id":56580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:36:53] local.INFO: TCP Data received {"connection_id":57306,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:53] local.INFO: Processing buffer {"connection_id":57306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:53] local.INFO: IMEI packet received {"connection_id":57306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":57306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:36:59] local.INFO: TCP Data received {"connection_id":57306,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:59] local.INFO: Processing buffer {"connection_id":57306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:36:59] local.INFO: IMEI packet received {"connection_id":57306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":57306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:37:03] local.INFO: TCP Data received {"connection_id":57306,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:03] local.INFO: Processing buffer {"connection_id":57306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:03] local.INFO: Packet analysis {"connection_id":57306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:37:03] local.INFO: Extracted packet for processing {"connection_id":57306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:37:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:37:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":57306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:37:03] local.INFO: GPS data processed {"connection_id":57306,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:37:03] local.INFO: Acknowledgment sent {"connection_id":57306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:37:09] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:09] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:09] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:37:15] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:15] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:37:15] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:37:16] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e7f088012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e7f088012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:37:16] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e7f088012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:37:16] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:37:16] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e7"} 
[2026-04-28 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004131328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777359909000,"timestamp_ms":1777359909000,"timestamp_seconds":1777359909,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e7f088"} 
[2026-04-28 12:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:37: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-04-28 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538268752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1918454271371106944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3115843659,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338127872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430175785340902950,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,139,76,45,128,185,75,38,10,66,250,168,1,240,41,227,210,33,4,113,205,37,184,36,239,50,2,154,7,164,93],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:37:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404352705697153024,"timestamp_seconds":5404352705697153.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:37:16] 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-04-28 12:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004131328001,"66":12722,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004131328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:37:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004131328001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:37:16] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:37:16] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:37:34] local.INFO: TCP Data received {"connection_id":57306,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:34] local.INFO: Processing buffer {"connection_id":57306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:37:34] local.INFO: Packet analysis {"connection_id":57306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:37:34] local.INFO: Extracted packet for processing {"connection_id":57306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:37:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:37:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":57306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:37:34] local.INFO: GPS data processed {"connection_id":57306,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:37:34] local.INFO: Acknowledgment sent {"connection_id":57306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:37:49] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e84290012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e84290012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:37:49] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e84290012d1825800721b9b8004b001e26..."} 
[2026-04-28 12:37:49] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:37:49] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004136704001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777359930000,"timestamp_ms":1777359930000,"timestamp_seconds":1777359930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e84290"} 
[2026-04-28 12:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:37: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-04-28 12:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 12:37:49] 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-04-28 12:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:37:49] 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-04-28 12:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004136704001,"66":12722,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004136704001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004136704001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:37:49] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:37:49] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:37:59] local.INFO: TCP Data received {"connection_id":57307,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:37:59] local.INFO: Processing buffer {"connection_id":57307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:37:59] local.INFO: IMEI packet received {"connection_id":57307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":57307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:38:04] local.INFO: TCP Data received {"connection_id":57307,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:04] local.INFO: Processing buffer {"connection_id":57307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:04] local.INFO: IMEI packet received {"connection_id":57307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":57307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:38:05] local.INFO: TCP Data received {"connection_id":57307,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:05] local.INFO: Processing buffer {"connection_id":57307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:05] local.INFO: Packet analysis {"connection_id":57307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:38:05] local.INFO: Extracted packet for processing {"connection_id":57307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:38:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":57307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:38:05] local.INFO: GPS data processed {"connection_id":57307,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:38:05] local.INFO: Acknowledgment sent {"connection_id":57307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:38:09] local.INFO: TCP Data received {"connection_id":57308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:09] local.INFO: Processing buffer {"connection_id":57308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:09] local.INFO: IMEI packet received {"connection_id":57308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":57308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:38:10] local.INFO: TCP Data received {"connection_id":57307,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:10] local.INFO: Processing buffer {"connection_id":57307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e61010012d7fa44005afde68000901122b..."} 
[2026-04-28 12:38:10] local.INFO: Packet analysis {"connection_id":57307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:38:10] local.INFO: Extracted packet for processing {"connection_id":57307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e6"} 
[2026-04-28 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004028416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777359786000,"timestamp_ms":1777359786000,"timestamp_seconds":1777359786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e61010"} 
[2026-04-28 12:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 12:38:10] 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-04-28 12:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004028416001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004028416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:38:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:38:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004028416001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":57307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:38:10] local.INFO: GPS data processed {"connection_id":57307,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:38:10] local.INFO: Acknowledgment sent {"connection_id":57307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:38:14] local.INFO: TCP Data received {"connection_id":57308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:14] local.INFO: Processing buffer {"connection_id":57308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:38:14] local.INFO: IMEI packet received {"connection_id":57308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":57308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:38:15] local.INFO: TCP Data received {"connection_id":57308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e89498012d1825800721b9b8004b001e25..."} 
[2026-04-28 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e89498012d1825800721b9b8004b001e25..."} 
[2026-04-28 12:38:15] local.INFO: Processing buffer {"connection_id":57308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e89498012d1825800721b9b8004b001e25..."} 
[2026-04-28 12:38:15] local.INFO: Packet analysis {"connection_id":57308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:38:15] local.INFO: Extracted packet for processing {"connection_id":57308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 12:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004142080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777359951000,"timestamp_ms":1777359951000,"timestamp_seconds":1777359951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e89498"} 
[2026-04-28 12:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 12:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004142080001,"66":13678,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004142080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:38:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004142080001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":57308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:38:15] local.INFO: GPS data processed {"connection_id":57308,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:38:15] local.INFO: Acknowledgment sent {"connection_id":57308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:38:46] local.INFO: TCP Data received {"connection_id":57308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e8e6a0012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e8e6a0012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:38:46] local.INFO: Processing buffer {"connection_id":57308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e8e6a0012d1825800721b9b8004b001e27..."} 
[2026-04-28 12:38:46] local.INFO: Packet analysis {"connection_id":57308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:38:46] local.INFO: Extracted packet for processing {"connection_id":57308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e8"} 
[2026-04-28 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650744,"longitude_deg":75.6557184,"latitude_deg":11.9650744,"altitude":75,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004147456001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557971999588352,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777359972000,"timestamp_ms":1777359972000,"timestamp_seconds":1777359972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e8e6a0"} 
[2026-04-28 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-04-28 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 12:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004147456001,"66":12798,"105":206,"83":41984,"24":0,"16":115557971999588352,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004147456001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557971999588352,"km_value":115557971999588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004147456001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":57308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:38:46] local.INFO: GPS data processed {"connection_id":57308,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:38:46] local.INFO: Acknowledgment sent {"connection_id":57308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:38:54] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:54] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:54] local.INFO: IMEI packet received {"connection_id":56582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":56582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:38:59] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:59] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:38:59] local.INFO: IMEI packet received {"connection_id":56582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":56582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:39:02] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:02] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:02] local.INFO: Packet analysis {"connection_id":56582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:39:02] local.INFO: Extracted packet for processing {"connection_id":56582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:39:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:39:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":56582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:39:02] local.INFO: GPS data processed {"connection_id":56582,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:39:02] local.INFO: Acknowledgment sent {"connection_id":56582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:39:14] local.INFO: TCP Data received {"connection_id":57310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:14] local.INFO: Processing buffer {"connection_id":57310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:14] local.INFO: IMEI packet received {"connection_id":57310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":57310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:39:20] local.INFO: TCP Data received {"connection_id":57310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:20] local.INFO: Processing buffer {"connection_id":57310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:39:20] local.INFO: IMEI packet received {"connection_id":57310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":57310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:39:21] local.INFO: TCP Data received {"connection_id":57310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e91580012d1825000721b920004a00ca28..."} 
[2026-04-28 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e91580012d1825000721b920004a00ca28..."} 
[2026-04-28 12:39:21] local.INFO: Processing buffer {"connection_id":57310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e91580012d1825000721b920004a00ca28..."} 
[2026-04-28 12:39:21] local.INFO: Packet analysis {"connection_id":57310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:39:21] local.INFO: Extracted packet for processing {"connection_id":57310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650592,"longitude_deg":75.6557056,"latitude_deg":11.9650592,"altitude":74,"angle":202,"satellites":40,"speed":2,"hex_longitude":"2d182500","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-04-28 12:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004152832001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115557980589522944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167510528,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777359984000,"timestamp_ms":1777359984000,"timestamp_seconds":1777359984,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e91580"} 
[2026-04-28 12:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 12:39:21] 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-04-28 12:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:39:21] 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-04-28 12:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004152832001,"66":12798,"105":206,"83":41984,"24":2,"16":115557980589522944,"45":1739937599167510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004152832001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:39:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115557980589522944,"km_value":115557980589522.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167510528,"description":"Unknown IO ID 45"} 
[2026-04-28 12:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004152832001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739937599167510528}} 
[2026-04-28 12:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":57310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:39:21] local.INFO: GPS data processed {"connection_id":57310,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:39:21] local.INFO: Acknowledgment sent {"connection_id":57310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:39:24] local.INFO: TCP Data received {"connection_id":57310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e96788012d1823800721b658004a00d228..."} 
[2026-04-28 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e96788012d1823800721b658004a00d228..."} 
[2026-04-28 12:39:24] local.INFO: Processing buffer {"connection_id":57310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e96788012d1823800721b658004a00d228..."} 
[2026-04-28 12:39:24] local.INFO: Packet analysis {"connection_id":57310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:39:24] local.INFO: Extracted packet for processing {"connection_id":57310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004155904001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679116288,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39: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-04-28 12:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777360005000,"timestamp_ms":1777360005000,"timestamp_seconds":1777360005,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e96788"} 
[2026-04-28 12:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 12:39:24] 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-04-28 12: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-04-28 12:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:39:24] 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-04-28 12:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004155904001,"66":12819,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739796861679116288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004155904001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:39:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679116288,"description":"Unknown IO ID 45"} 
[2026-04-28 12:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004155904001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679116288}} 
[2026-04-28 12:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":57310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:39:24] local.INFO: GPS data processed {"connection_id":57310,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:39:24] local.INFO: Acknowledgment sent {"connection_id":57310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:39:34] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:34] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:39:34] local.INFO: Packet analysis {"connection_id":56582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:39:34] local.INFO: Extracted packet for processing {"connection_id":56582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:39:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:39:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":56582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:39:34] local.INFO: GPS data processed {"connection_id":56582,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:39:34] local.INFO: Acknowledgment sent {"connection_id":56582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:39:59] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:39:59] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:39:59] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:40:04] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:04] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:04] local.INFO: IMEI packet received {"connection_id":56407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":56407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:40:05] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:05] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:05] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:05] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:40:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:40:05] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:40:05] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:40:10] local.INFO: TCP Data received {"connection_id":56407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:10] local.INFO: Processing buffer {"connection_id":56407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:40:10] local.INFO: Packet analysis {"connection_id":56407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:10] local.INFO: Extracted packet for processing {"connection_id":56407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:40:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:40:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":56407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:40:10] local.INFO: GPS data processed {"connection_id":56407,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:40:10] local.INFO: Acknowledgment sent {"connection_id":56407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:40:11] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: IMEI packet received {"connection_id":56408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":56408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:40:11] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:11] local.INFO: IMEI packet received {"connection_id":56408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":56408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:40:14] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:14] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:40:14] local.INFO: IMEI packet received {"connection_id":56408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":56408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:40:15] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2e9b990012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2e9b990012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:15] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2e9b990012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:15] local.INFO: Packet analysis {"connection_id":56408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:40:15] local.INFO: Extracted packet for processing {"connection_id":56408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2e9"} 
[2026-04-28 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004161280001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360026000,"timestamp_ms":1777360026000,"timestamp_seconds":1777360026,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2e9b990"} 
[2026-04-28 12:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538394752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362902089728,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1779915806271330944,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3115843659,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":184,"raw_value":21110752739852288,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338127872,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430175785340902950,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744203253239379,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750517330715065,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,139,21,45,185,74,40,10,66,230,128,75,39,148,1,240,110,227,210,33,4,113,205,37,184,239,49,2,154,7,50,164,93,69,112],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-04-28 12:40:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028047192064,"timestamp_seconds":5332493028047192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004161280001,"66":12776,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004161280001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:40:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004161280001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":56408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:40:15] local.INFO: GPS data processed {"connection_id":56408,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:40:15] local.INFO: Acknowledgment sent {"connection_id":56408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:40:21] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ea0b98012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ea0b98012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:21] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ea0b98012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:21] local.INFO: Packet analysis {"connection_id":56408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:21] local.INFO: Extracted packet for processing {"connection_id":56408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004166656001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777360047000,"timestamp_ms":1777360047000,"timestamp_seconds":1777360047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ea0b98"} 
[2026-04-28 12:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 12:40:21] 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-04-28 12: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-04-28 12:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:21] 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-04-28 12:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004166656001,"66":12776,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004166656001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:40:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004166656001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":56408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:40:21] local.INFO: GPS data processed {"connection_id":56408,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:40:21] local.INFO: Acknowledgment sent {"connection_id":56408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:40:52] local.INFO: TCP Data received {"connection_id":56408,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ea5da0012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ea5da0012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:52] local.INFO: Processing buffer {"connection_id":56408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ea5da0012d1823800721b658004a00d228..."} 
[2026-04-28 12:40:52] local.INFO: Packet analysis {"connection_id":56408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:52] local.INFO: Extracted packet for processing {"connection_id":56408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004172032001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777360068000,"timestamp_ms":1777360068000,"timestamp_seconds":1777360068,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ea5da0"} 
[2026-04-28 12:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 12:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:40:52] 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-04-28 12:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004172032001,"66":12722,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004172032001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:40:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004172032001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":56408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:40:52] local.INFO: GPS data processed {"connection_id":56408,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:40:52] local.INFO: Acknowledgment sent {"connection_id":56408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:40:53] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:53] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:53] local.INFO: IMEI packet received {"connection_id":56409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":56409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:40:59] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:59] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:40:59] local.INFO: IMEI packet received {"connection_id":56409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:41:01] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:01] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:01] local.INFO: Packet analysis {"connection_id":56409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:01] local.INFO: Extracted packet for processing {"connection_id":56409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":56409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:41:01] local.INFO: GPS data processed {"connection_id":56409,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:41:01] local.INFO: Acknowledgment sent {"connection_id":56409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:41:12] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:12] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:12] local.INFO: IMEI packet received {"connection_id":56624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":56624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:41:14] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:14] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:41:14] local.INFO: IMEI packet received {"connection_id":56624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":56624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:41:15] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaafa8012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaafa8012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:15] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaafa8012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:15] local.INFO: Packet analysis {"connection_id":56624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:15] local.INFO: Extracted packet for processing {"connection_id":56624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004177408001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360089000,"timestamp_ms":1777360089000,"timestamp_seconds":1777360089,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaafa8"} 
[2026-04-28 12:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 12:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004177408001,"66":12711,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004177408001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:41:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004177408001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":56624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:41:15] local.INFO: GPS data processed {"connection_id":56624,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:41:15] local.INFO: Acknowledgment sent {"connection_id":56624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:41:33] local.INFO: TCP Data received {"connection_id":56409,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:33] local.INFO: Processing buffer {"connection_id":56409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:41:33] local.INFO: Packet analysis {"connection_id":56409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:33] local.INFO: Extracted packet for processing {"connection_id":56409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:41:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":56409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:41:33] local.INFO: GPS data processed {"connection_id":56409,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:41:33] local.INFO: Acknowledgment sent {"connection_id":56409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:41:36] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eb01b0012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eb01b0012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:36] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eb01b0012d1823800721b658004a00d227..."} 
[2026-04-28 12:41:36] local.INFO: Packet analysis {"connection_id":56624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:41:36] local.INFO: Extracted packet for processing {"connection_id":56624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182784001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777360110000,"timestamp_ms":1777360110000,"timestamp_seconds":1777360110,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eb01b0"} 
[2026-04-28 12:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:41:36] 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-04-28 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 12:41:36] 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-04-28 12:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182784001,"66":12711,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182784001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:41:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182784001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":56624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:41:36] local.INFO: GPS data processed {"connection_id":56624,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:41:36] local.INFO: Acknowledgment sent {"connection_id":56624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:41:50] local.INFO: TCP Data received {"connection_id":56625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:41:50] local.INFO: Processing buffer {"connection_id":56625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:41:50] local.INFO: IMEI packet received {"connection_id":56625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":56625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:41:53] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:53] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:53] local.INFO: IMEI packet received {"connection_id":56626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:41:59] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:59] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:41:59] local.INFO: IMEI packet received {"connection_id":56626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:42:00] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:00] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:00] local.INFO: Packet analysis {"connection_id":56626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:42:00] local.INFO: Extracted packet for processing {"connection_id":56626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:42:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:42:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":56626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:42:00] local.INFO: GPS data processed {"connection_id":56626,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:42:00] local.INFO: Acknowledgment sent {"connection_id":56626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:42:10] local.INFO: TCP Data received {"connection_id":57312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:10] local.INFO: Processing buffer {"connection_id":57312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:10] local.INFO: IMEI packet received {"connection_id":57312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":57312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:42:14] local.INFO: TCP Data received {"connection_id":57312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:14] local.INFO: Processing buffer {"connection_id":57312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:42:14] local.INFO: IMEI packet received {"connection_id":57312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":57312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:42:15] local.INFO: TCP Data received {"connection_id":57312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eb53b8012d1823800721b658004a00d229..."} 
[2026-04-28 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eb53b8012d1823800721b658004a00d229..."} 
[2026-04-28 12:42:15] local.INFO: Processing buffer {"connection_id":57312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eb53b8012d1823800721b658004a00d229..."} 
[2026-04-28 12:42:15] local.INFO: Packet analysis {"connection_id":57312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:42:15] local.INFO: Extracted packet for processing {"connection_id":57312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004188160001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360131000,"timestamp_ms":1777360131000,"timestamp_seconds":1777360131,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eb53b8"} 
[2026-04-28 12:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 12:42:15] 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-04-28 12:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004188160001,"66":12722,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004188160001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:42:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004188160001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":57312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:42:15] local.INFO: GPS data processed {"connection_id":57312,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:42:15] local.INFO: Acknowledgment sent {"connection_id":57312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:42:32] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:32] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:42:32] local.INFO: Packet analysis {"connection_id":56626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:42:32] local.INFO: Extracted packet for processing {"connection_id":56626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:42: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-04-28 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:42:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":56626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:42:32] local.INFO: GPS data processed {"connection_id":56626,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:42:32] local.INFO: Acknowledgment sent {"connection_id":56626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:42:35] local.INFO: TCP Data received {"connection_id":56627,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:42:35] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:42:35] local.INFO: IMEI packet received {"connection_id":56627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":56627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:42:46] local.INFO: TCP Data received {"connection_id":57312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eba5c0012d1823800721b658004a00d227..."} 
[2026-04-28 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eba5c0012d1823800721b658004a00d227..."} 
[2026-04-28 12:42:46] local.INFO: Processing buffer {"connection_id":57312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eba5c0012d1823800721b658004a00d227..."} 
[2026-04-28 12:42:46] local.INFO: Packet analysis {"connection_id":57312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:42:46] local.INFO: Extracted packet for processing {"connection_id":57312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004193536001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777360152000,"timestamp_ms":1777360152000,"timestamp_seconds":1777360152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eba5c0"} 
[2026-04-28 12:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 12:42:46] 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-04-28 12:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004193536001,"66":12689,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004193536001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:42:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004193536001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":57312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:42:46] local.INFO: GPS data processed {"connection_id":57312,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:42:46] local.INFO: Acknowledgment sent {"connection_id":57312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:42:53] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:53] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:53] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:42:59] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:59] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:42:59] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:43:00] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:00] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:00] local.INFO: Packet analysis {"connection_id":56584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:43:00] local.INFO: Extracted packet for processing {"connection_id":56584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:43:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":56584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:43:00] local.INFO: GPS data processed {"connection_id":56584,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:43:00] local.INFO: Acknowledgment sent {"connection_id":56584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:43:14] local.INFO: TCP Data received {"connection_id":57314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:14] local.INFO: Processing buffer {"connection_id":57314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:14] local.INFO: IMEI packet received {"connection_id":57314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":57314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:43:19] local.INFO: TCP Data received {"connection_id":57314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:19] local.INFO: Processing buffer {"connection_id":57314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:43:19] local.INFO: IMEI packet received {"connection_id":57314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":57314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:43:20] local.INFO: TCP Data received {"connection_id":57314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ebf7c8012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ebf7c8012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:20] local.INFO: Processing buffer {"connection_id":57314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ebf7c8012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:20] local.INFO: Packet analysis {"connection_id":57314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:43:20] local.INFO: Extracted packet for processing {"connection_id":57314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2eb"} 
[2026-04-28 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004198912001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777360173000,"timestamp_ms":1777360173000,"timestamp_seconds":1777360173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ebf7c8"} 
[2026-04-28 12:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 12:43:20] 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-04-28 12:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004198912001,"66":12645,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004198912001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:43:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004198912001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":57314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:43:20] local.INFO: GPS data processed {"connection_id":57314,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:43:20] local.INFO: Acknowledgment sent {"connection_id":57314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:43:31] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:31] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eaa7d8012d7fa44005afde68000901122b..."} 
[2026-04-28 12:43:31] local.INFO: Packet analysis {"connection_id":56584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:43:31] local.INFO: Extracted packet for processing {"connection_id":56584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ea"} 
[2026-04-28 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004105216001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777360087000,"timestamp_ms":1777360087000,"timestamp_seconds":1777360087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eaa7d8"} 
[2026-04-28 12:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 12:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004105216001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004105216001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:43:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004105216001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":56584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:43:31] local.INFO: GPS data processed {"connection_id":56584,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:43:31] local.INFO: Acknowledgment sent {"connection_id":56584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:43:51] local.INFO: TCP Data received {"connection_id":57314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ec49d0012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ec49d0012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:51] local.INFO: Processing buffer {"connection_id":57314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ec49d0012d1823800721b658004a00d228..."} 
[2026-04-28 12:43:51] local.INFO: Packet analysis {"connection_id":57314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:43:51] local.INFO: Extracted packet for processing {"connection_id":57314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004204288001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777360194000,"timestamp_ms":1777360194000,"timestamp_seconds":1777360194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ec49d0"} 
[2026-04-28 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:43: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-04-28 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 12:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004204288001,"66":12678,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004204288001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:43:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004204288001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":57314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:43:51] local.INFO: GPS data processed {"connection_id":57314,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:43:51] local.INFO: Acknowledgment sent {"connection_id":57314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:43:59] local.INFO: TCP Data received {"connection_id":56585,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:43:59] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:43:59] local.INFO: IMEI packet received {"connection_id":56585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:44:04] local.INFO: TCP Data received {"connection_id":56585,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:04] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:04] local.INFO: IMEI packet received {"connection_id":56585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":56585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:44:07] local.INFO: TCP Data received {"connection_id":56585,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:07] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:07] local.INFO: Packet analysis {"connection_id":56585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:44:07] local.INFO: Extracted packet for processing {"connection_id":56585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:44:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:44:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":56585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:44:07] local.INFO: GPS data processed {"connection_id":56585,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:44:07] local.INFO: Acknowledgment sent {"connection_id":56585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:44:09] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:09] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:09] local.INFO: IMEI packet received {"connection_id":56629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":56629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:44:10] local.INFO: TCP Data received {"connection_id":56585,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:10] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:44:10] local.INFO: Packet analysis {"connection_id":56585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:44:10] local.INFO: Extracted packet for processing {"connection_id":56585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:44:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:44:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":56585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:44:10] local.INFO: GPS data processed {"connection_id":56585,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:44:10] local.INFO: Acknowledgment sent {"connection_id":56585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:44:14] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:14] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:44:14] local.INFO: IMEI packet received {"connection_id":56629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:44:15] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ec9bd8012d1823800721b658004a00d227..."} 
[2026-04-28 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ec9bd8012d1823800721b658004a00d227..."} 
[2026-04-28 12:44:15] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ec9bd8012d1823800721b658004a00d227..."} 
[2026-04-28 12:44:15] local.INFO: Packet analysis {"connection_id":56629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:44:15] local.INFO: Extracted packet for processing {"connection_id":56629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004209664001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360215000,"timestamp_ms":1777360215000,"timestamp_seconds":1777360215,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ec9bd8"} 
[2026-04-28 12:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 12:44:15] 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-04-28 12:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004209664001,"66":12667,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004209664001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:44:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004209664001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":56629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:44:15] local.INFO: GPS data processed {"connection_id":56629,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:44:15] local.INFO: Acknowledgment sent {"connection_id":56629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:44:20] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ecede0012d1823800721b658004a00d228..."} 
[2026-04-28 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ecede0012d1823800721b658004a00d228..."} 
[2026-04-28 12:44:20] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ecede0012d1823800721b658004a00d228..."} 
[2026-04-28 12:44:20] local.INFO: Packet analysis {"connection_id":56629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:44:20] local.INFO: Extracted packet for processing {"connection_id":56629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ec"} 
[2026-04-28 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004215040001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777360236000,"timestamp_ms":1777360236000,"timestamp_seconds":1777360236,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ecede0"} 
[2026-04-28 12:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 12:44:20] 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-04-28 12:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004215040001,"66":12558,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004215040001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:44:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004215040001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":56629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:44:20] local.INFO: GPS data processed {"connection_id":56629,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:44:20] local.INFO: Acknowledgment sent {"connection_id":56629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:44:53] local.INFO: TCP Data received {"connection_id":56630,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:53] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:53] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:44:59] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ed3fe8012d1823800721b658004a00d229..."} 
[2026-04-28 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ed3fe8012d1823800721b658004a00d229..."} 
[2026-04-28 12:44:59] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ed3fe8012d1823800721b658004a00d229..."} 
[2026-04-28 12:44:59] local.INFO: Packet analysis {"connection_id":56629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:44:59] local.INFO: Extracted packet for processing {"connection_id":56629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004220416001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777360257000,"timestamp_ms":1777360257000,"timestamp_seconds":1777360257,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ed3fe8"} 
[2026-04-28 12:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:44: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-04-28 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538616752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51201,"corrected_to":0} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386163930248792,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3953508353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3059220554,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338914304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 12:44:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,139,155,45,128,182,74,39,10,66,73,40,247,1,240,101,227,210,33,4,113,205,35,88,41,239,49,2,154,7,106,81,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":247,"original":51201,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028047192064,"timestamp_seconds":5332493028047192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:44:59] 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-04-28 12:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004220416001,"66":12613,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004220416001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:44:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004220416001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":56629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:44:59] local.INFO: GPS data processed {"connection_id":56629,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:44:59] local.INFO: Acknowledgment sent {"connection_id":56629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:44:59] local.INFO: TCP Data received {"connection_id":56630,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:59] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:44:59] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:45:00] local.INFO: TCP Data received {"connection_id":56630,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:00] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:00] local.INFO: Packet analysis {"connection_id":56630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:45:00] local.INFO: Extracted packet for processing {"connection_id":56630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":56630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:45:00] local.INFO: GPS data processed {"connection_id":56630,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:45:00] local.INFO: Acknowledgment sent {"connection_id":56630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:45:23] local.INFO: TCP Data received {"connection_id":56411,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: IMEI packet received {"connection_id":56411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":56411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:45:23] local.INFO: TCP Data received {"connection_id":56411,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:45:23] local.INFO: IMEI packet received {"connection_id":56411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":56411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:45:24] local.INFO: TCP Data received {"connection_id":56411,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ed91f0012d1823800721b658004a00d228..."} 
[2026-04-28 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ed91f0012d1823800721b658004a00d228..."} 
[2026-04-28 12:45:24] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ed91f0012d1823800721b658004a00d228..."} 
[2026-04-28 12:45:24] local.INFO: Packet analysis {"connection_id":56411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:45:24] local.INFO: Extracted packet for processing {"connection_id":56411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004225792001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45: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-04-28 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777360278000,"timestamp_ms":1777360278000,"timestamp_seconds":1777360278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ed91f0"} 
[2026-04-28 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:45: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-04-28 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 12:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:45:24] 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-04-28 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004225792001,"66":12558,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004225792001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004225792001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":56411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:45:24] local.INFO: GPS data processed {"connection_id":56411,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:45:24] local.INFO: Acknowledgment sent {"connection_id":56411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:45:24] local.INFO: TCP Data received {"connection_id":56411,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ede3f8012d1823800721b658004a00d229..."} 
[2026-04-28 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ede3f8012d1823800721b658004a00d229..."} 
[2026-04-28 12:45:24] local.INFO: Processing buffer {"connection_id":56411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ede3f8012d1823800721b658004a00d229..."} 
[2026-04-28 12:45:24] local.INFO: Packet analysis {"connection_id":56411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:45:24] local.INFO: Extracted packet for processing {"connection_id":56411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ed"} 
[2026-04-28 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004231168001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45: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-04-28 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777360299000,"timestamp_ms":1777360299000,"timestamp_seconds":1777360299,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ede3f8"} 
[2026-04-28 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538658752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386163930248792,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3964260353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3059220554,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:45:24] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3355520280,"corrected_to":0} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338914304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,139,63,45,128,182,74,41,10,66,237,40,155,1,240,123,227,210,33,4,113,205,247,35,88,239,49,2,154,7,106,81,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":247,"original":3355520280,"validated":0}]} 
[2026-04-28 12:45:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028047192064,"timestamp_seconds":5332493028047192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:45:24] 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-04-28 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004231168001,"66":12558,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004231168001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004231168001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":56411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:45:25] local.INFO: GPS data processed {"connection_id":56411,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:45:25] local.INFO: Acknowledgment sent {"connection_id":56411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:45:32] local.INFO: TCP Data received {"connection_id":56630,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:32] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:45:32] local.INFO: Packet analysis {"connection_id":56630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:45:32] local.INFO: Extracted packet for processing {"connection_id":56630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:45:32] local.INFO: GPS data processed {"connection_id":56630,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:45:32] local.INFO: Acknowledgment sent {"connection_id":56630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:45:53] local.INFO: TCP Data received {"connection_id":57315,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:53] local.INFO: Processing buffer {"connection_id":57315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:53] local.INFO: IMEI packet received {"connection_id":57315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":57315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:45:59] local.INFO: TCP Data received {"connection_id":57315,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:59] local.INFO: Processing buffer {"connection_id":57315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:45:59] local.INFO: IMEI packet received {"connection_id":57315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":57315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:46:00] local.INFO: TCP Data received {"connection_id":57315,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:00] local.INFO: Processing buffer {"connection_id":57315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:00] local.INFO: Packet analysis {"connection_id":57315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:46:00] local.INFO: Extracted packet for processing {"connection_id":57315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:46:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:46:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":57315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:46:00] local.INFO: GPS data processed {"connection_id":57315,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:46:00] local.INFO: Acknowledgment sent {"connection_id":57315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:46:15] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:46:15] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:46:15] local.INFO: IMEI packet received {"connection_id":56587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":56587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:46:16] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:46:16] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 12:46:16] local.INFO: IMEI packet received {"connection_id":56587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":56587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:46:16] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ee3600012d1823800721b658004a00d229..."} 
[2026-04-28 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ee3600012d1823800721b658004a00d229..."} 
[2026-04-28 12:46:16] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd2..."} 
[2026-04-28 12:46:16] local.INFO: IMEI packet received {"connection_id":56587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":56587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:46:19] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ee8808012d1823800721b658004a00d228..."} 
[2026-04-28 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ee8808012d1823800721b658004a00d228..."} 
[2026-04-28 12:46:19] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd2ee3600012d1823800721b658004a00d229..."} 
[2026-04-28 12:46:19] local.INFO: Packet analysis {"connection_id":56587,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:19] local.INFO: Extracted packet for processing {"connection_id":56587,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004236544001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777360320000,"timestamp_ms":1777360320000,"timestamp_seconds":1777360320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ee3600"} 
[2026-04-28 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-04-28 12:46: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-04-28 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538679752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386163930248792,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3969636353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3059220554,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338914304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,139,145,45,128,182,74,40,10,66,63,41,237,1,240,14,227,210,33,4,113,205,73,35,88,239,49,2,154,7,106,81,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:46:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493032342159360,"timestamp_seconds":5332493032342159.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:19] 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-04-28 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004236544001,"66":12591,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004236544001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:46:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004236544001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":56587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:46:20] local.INFO: GPS data processed {"connection_id":56587,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:46:20] local.INFO: Acknowledgment sent {"connection_id":56587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:46:20] local.INFO: Packet analysis {"connection_id":56587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:20] local.INFO: Extracted packet for processing {"connection_id":56587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004241920001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777360341000,"timestamp_ms":1777360341000,"timestamp_seconds":1777360341,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ee8808"} 
[2026-04-28 12:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:46: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-04-28 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 12:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004241920001,"66":12580,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004241920001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:46:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004241920001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":56587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:46:20] local.INFO: GPS data processed {"connection_id":56587,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:46:20] local.INFO: Acknowledgment sent {"connection_id":56587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:46:28] local.INFO: TCP Data received {"connection_id":56587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2eeda10012d1823800721b658004a00d228..."} 
[2026-04-28 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2eeda10012d1823800721b658004a00d228..."} 
[2026-04-28 12:46:28] local.INFO: Processing buffer {"connection_id":56587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2eeda10012d1823800721b658004a00d228..."} 
[2026-04-28 12:46:28] local.INFO: Packet analysis {"connection_id":56587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:28] local.INFO: Extracted packet for processing {"connection_id":56587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ee"} 
[2026-04-28 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004247296001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777360362000,"timestamp_ms":1777360362000,"timestamp_seconds":1777360362,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2eeda10"} 
[2026-04-28 12:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 12:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004247296001,"66":12428,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004247296001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:46:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004247296001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":56587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:46:28] local.INFO: GPS data processed {"connection_id":56587,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:46:28] local.INFO: Acknowledgment sent {"connection_id":56587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:46:32] local.INFO: TCP Data received {"connection_id":57315,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:32] local.INFO: Processing buffer {"connection_id":57315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:46:32] local.INFO: Packet analysis {"connection_id":57315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:46:32] local.INFO: Extracted packet for processing {"connection_id":57315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":57315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:46:32] local.INFO: GPS data processed {"connection_id":57315,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:46:32] local.INFO: Acknowledgment sent {"connection_id":57315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:46:59] local.INFO: TCP Data received {"connection_id":56412,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:46:59] local.INFO: Processing buffer {"connection_id":56412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:46:59] local.INFO: IMEI packet received {"connection_id":56412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:47:04] local.INFO: TCP Data received {"connection_id":56412,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:04] local.INFO: Processing buffer {"connection_id":56412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:04] local.INFO: IMEI packet received {"connection_id":56412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":56412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:47:06] local.INFO: TCP Data received {"connection_id":56412,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:06] local.INFO: Processing buffer {"connection_id":56412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:06] local.INFO: Packet analysis {"connection_id":56412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:06] local.INFO: Extracted packet for processing {"connection_id":56412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:47:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:47:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":56412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:47:06] local.INFO: GPS data processed {"connection_id":56412,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:47:06] local.INFO: Acknowledgment sent {"connection_id":56412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:47:09] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:09] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:09] local.INFO: IMEI packet received {"connection_id":57316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":57316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:47:09] local.INFO: TCP Data received {"connection_id":56412,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:09] local.INFO: Processing buffer {"connection_id":56412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:47:09] local.INFO: Packet analysis {"connection_id":56412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:09] local.INFO: Extracted packet for processing {"connection_id":56412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":56412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:47:09] local.INFO: GPS data processed {"connection_id":56412,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:47:09] local.INFO: Acknowledgment sent {"connection_id":56412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:47:13] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:13] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:13] local.INFO: IMEI packet received {"connection_id":57316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":57316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:47:15] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:15] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:47:15] local.INFO: IMEI packet received {"connection_id":57316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":57316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:47:16] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef2c18012d1823800721b658004a00d228..."} 
[2026-04-28 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef2c18012d1823800721b658004a00d228..."} 
[2026-04-28 12:47:16] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef2c18012d1823800721b658004a00d228..."} 
[2026-04-28 12:47:16] local.INFO: Packet analysis {"connection_id":57316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:16] local.INFO: Extracted packet for processing {"connection_id":57316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004252672001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777360383000,"timestamp_ms":1777360383000,"timestamp_seconds":1777360383,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef2c18"} 
[2026-04-28 12:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 12:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:16] 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-04-28 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004252672001,"66":12580,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004252672001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004252672001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":57316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:47:16] local.INFO: GPS data processed {"connection_id":57316,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:47:16] local.INFO: Acknowledgment sent {"connection_id":57316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:47:19] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef7e20012d1823800721b658004a00d229..."} 
[2026-04-28 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef7e20012d1823800721b658004a00d229..."} 
[2026-04-28 12:47:19] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef7e20012d1823800721b658004a00d229..."} 
[2026-04-28 12:47:19] local.INFO: Packet analysis {"connection_id":57316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:19] local.INFO: Extracted packet for processing {"connection_id":57316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004258048001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777360404000,"timestamp_ms":1777360404000,"timestamp_seconds":1777360404,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef7e20"} 
[2026-04-28 12:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:47: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-04-28 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 12:47:19] 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-04-28 12:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:19] 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-04-28 12:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004258048001,"66":12548,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004258048001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004258048001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":57316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:47:19] local.INFO: GPS data processed {"connection_id":57316,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:47:19] local.INFO: Acknowledgment sent {"connection_id":57316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:47:50] local.INFO: TCP Data received {"connection_id":57316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2efd028012d1823800721b658004a00d22a..."} 
[2026-04-28 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2efd028012d1823800721b658004a00d22a..."} 
[2026-04-28 12:47:50] local.INFO: Processing buffer {"connection_id":57316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2efd028012d1823800721b658004a00d22a..."} 
[2026-04-28 12:47:50] local.INFO: Packet analysis {"connection_id":57316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:50] local.INFO: Extracted packet for processing {"connection_id":57316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004263424001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777360425000,"timestamp_ms":1777360425000,"timestamp_seconds":1777360425,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2efd028"} 
[2026-04-28 12:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3538784752,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3996516353,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3059220554,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2338914304,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 12:47:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,139,44,45,128,182,74,40,10,66,218,136,1,240,36,227,210,33,4,113,205,35,88,41,239,49,2,154,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 12:47:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493032342159360,"timestamp_seconds":5332493032342159.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 12:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:47:50] 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-04-28 12:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004263424001,"66":12504,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004263424001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:47:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004263424001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":57316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:47:50] local.INFO: GPS data processed {"connection_id":57316,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:47:50] local.INFO: Acknowledgment sent {"connection_id":57316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:47:53] local.INFO: TCP Data received {"connection_id":57317,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:53] local.INFO: Processing buffer {"connection_id":57317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:53] local.INFO: IMEI packet received {"connection_id":57317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":57317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:47:59] local.INFO: TCP Data received {"connection_id":57317,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:59] local.INFO: Processing buffer {"connection_id":57317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:47:59] local.INFO: IMEI packet received {"connection_id":57317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":57317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:48:00] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:00] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:00] local.INFO: IMEI packet received {"connection_id":56632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":56632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:48:00] local.INFO: TCP Data received {"connection_id":57317,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:00] local.INFO: Processing buffer {"connection_id":57317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:00] local.INFO: Packet analysis {"connection_id":57317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:48:00] local.INFO: Extracted packet for processing {"connection_id":57317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:48:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":57317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:48:00] local.INFO: GPS data processed {"connection_id":57317,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:48:00] local.INFO: Acknowledgment sent {"connection_id":57317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:48:09] local.INFO: TCP Data received {"connection_id":56588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:09] local.INFO: Processing buffer {"connection_id":56588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:09] local.INFO: IMEI packet received {"connection_id":56588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":56588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:48:16] local.INFO: TCP Data received {"connection_id":56588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:16] local.INFO: Processing buffer {"connection_id":56588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:48:16] local.INFO: IMEI packet received {"connection_id":56588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":56588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:48:17] local.INFO: TCP Data received {"connection_id":56588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f02230012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f02230012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:17] local.INFO: Processing buffer {"connection_id":56588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f02230012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:17] local.INFO: Packet analysis {"connection_id":56588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:48:17] local.INFO: Extracted packet for processing {"connection_id":56588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004268800001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777360446000,"timestamp_ms":1777360446000,"timestamp_seconds":1777360446,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f02230"} 
[2026-04-28 12:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004268800001,"66":12526,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004268800001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004268800001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":56588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:48:17] local.INFO: GPS data processed {"connection_id":56588,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:48:17] local.INFO: Acknowledgment sent {"connection_id":56588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:48:32] local.INFO: TCP Data received {"connection_id":57317,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:32] local.INFO: Processing buffer {"connection_id":57317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ef3fa0012d7fa44005afde680009011228..."} 
[2026-04-28 12:48:32] local.INFO: Packet analysis {"connection_id":57317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:48:32] local.INFO: Extracted packet for processing {"connection_id":57317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ef"} 
[2026-04-28 12:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004182272001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360388000,"timestamp_ms":1777360388000,"timestamp_seconds":1777360388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ef3fa0"} 
[2026-04-28 12:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004182272001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004182272001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004182272001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":57317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:48:32] local.INFO: GPS data processed {"connection_id":57317,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:48:32] local.INFO: Acknowledgment sent {"connection_id":57317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:48:34] local.INFO: TCP Data received {"connection_id":57318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:34] local.INFO: Processing buffer {"connection_id":57318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:48:34] local.INFO: IMEI packet received {"connection_id":57318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":57318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:48:48] local.INFO: TCP Data received {"connection_id":56588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f07438012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f07438012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:48] local.INFO: Processing buffer {"connection_id":56588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f07438012d1823800721b658004a00d229..."} 
[2026-04-28 12:48:48] local.INFO: Packet analysis {"connection_id":56588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:48:48] local.INFO: Extracted packet for processing {"connection_id":56588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004274176001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777360467000,"timestamp_ms":1777360467000,"timestamp_seconds":1777360467,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f07438"} 
[2026-04-28 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:48: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-04-28 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:48: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-04-28 12:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:48:48] 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-04-28 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004274176001,"66":12526,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004274176001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004274176001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":56588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:48:48] local.INFO: GPS data processed {"connection_id":56588,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:48:48] local.INFO: Acknowledgment sent {"connection_id":56588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:48:54] local.INFO: TCP Data received {"connection_id":56589,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:54] local.INFO: Processing buffer {"connection_id":56589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:54] local.INFO: IMEI packet received {"connection_id":56589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":56589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:48:59] local.INFO: TCP Data received {"connection_id":56589,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:59] local.INFO: Processing buffer {"connection_id":56589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:48:59] local.INFO: IMEI packet received {"connection_id":56589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:49:00] local.INFO: TCP Data received {"connection_id":56589,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:00] local.INFO: Processing buffer {"connection_id":56589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:00] local.INFO: Packet analysis {"connection_id":56589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:49:00] local.INFO: Extracted packet for processing {"connection_id":56589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 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-04-28 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:49:00] local.INFO: GPS data processed {"connection_id":56589,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:49:00] local.INFO: Acknowledgment sent {"connection_id":56589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:49:09] local.INFO: TCP Data received {"connection_id":57319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:09] local.INFO: Processing buffer {"connection_id":57319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:09] local.INFO: IMEI packet received {"connection_id":57319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":57319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:49:14] local.INFO: TCP Data received {"connection_id":57319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:14] local.INFO: Processing buffer {"connection_id":57319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:49:14] local.INFO: IMEI packet received {"connection_id":57319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":57319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:49:15] local.INFO: TCP Data received {"connection_id":57319,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f0c640012d1823800721b658004a00d229..."} 
[2026-04-28 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f0c640012d1823800721b658004a00d229..."} 
[2026-04-28 12:49:15] local.INFO: Processing buffer {"connection_id":57319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f0c640012d1823800721b658004a00d229..."} 
[2026-04-28 12:49:15] local.INFO: Packet analysis {"connection_id":57319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:49:15] local.INFO: Extracted packet for processing {"connection_id":57319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f0"} 
[2026-04-28 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-04-28 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004279552001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558023539195904,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360488000,"timestamp_ms":1777360488000,"timestamp_seconds":1777360488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f0c640"} 
[2026-04-28 12:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004279552001,"66":12504,"105":206,"83":41984,"24":0,"16":115558023539195904,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004279552001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:49:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558023539195904,"km_value":115558023539195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004279552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":57319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:49:15] local.INFO: GPS data processed {"connection_id":57319,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:49:15] local.INFO: Acknowledgment sent {"connection_id":57319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:49:32] local.INFO: TCP Data received {"connection_id":56589,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:32] local.INFO: Processing buffer {"connection_id":56589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:49:32] local.INFO: Packet analysis {"connection_id":56589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:49:32] local.INFO: Extracted packet for processing {"connection_id":56589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:49:32] local.INFO: GPS data processed {"connection_id":56589,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:49:32] local.INFO: Acknowledgment sent {"connection_id":56589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:49:46] local.INFO: TCP Data received {"connection_id":57319,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f11848012d1821c00721b438004900d629..."} 
[2026-04-28 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f11848012d1821c00721b438004900d629..."} 
[2026-04-28 12:49:46] local.INFO: Processing buffer {"connection_id":57319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f11848012d1821c00721b438004900d629..."} 
[2026-04-28 12:49:46] local.INFO: Packet analysis {"connection_id":57319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f1"} 
[2026-04-28 12:49:46] local.INFO: Extracted packet for processing {"connection_id":57319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f1"} 
[2026-04-28 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649336,"longitude_deg":75.6556224,"latitude_deg":11.9649336,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004284928001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558062193901568,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-04-28 12:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777360509000,"timestamp_ms":1777360509000,"timestamp_seconds":1777360509,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f11848"} 
[2026-04-28 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-04-28 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004284928001,"66":12461,"105":206,"83":41984,"24":0,"16":115558062193901568,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004284928001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:49:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558062193901568,"km_value":115558062193901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-04-28 12:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004284928001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-04-28 12:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":57319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:49:46] local.INFO: GPS data processed {"connection_id":57319,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:49:46] local.INFO: Acknowledgment sent {"connection_id":57319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:49:59] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:49:59] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:49:59] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:50:04] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:04] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:04] local.INFO: IMEI packet received {"connection_id":56413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":56413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:50:05] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:05] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:05] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:50:05] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:50:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:50:05] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:50:05] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:50:09] local.INFO: TCP Data received {"connection_id":56413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:09] local.INFO: Processing buffer {"connection_id":56413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:50:09] local.INFO: Packet analysis {"connection_id":56413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:50:09] local.INFO: Extracted packet for processing {"connection_id":56413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:50:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:50:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":56413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:50:09] local.INFO: GPS data processed {"connection_id":56413,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:50:09] local.INFO: Acknowledgment sent {"connection_id":56413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:50:27] local.INFO: TCP Data received {"connection_id":57320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: Processing buffer {"connection_id":57320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: IMEI packet received {"connection_id":57320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":57320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:50:27] local.INFO: TCP Data received {"connection_id":57320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: Processing buffer {"connection_id":57320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:50:27] local.INFO: IMEI packet received {"connection_id":57320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":57320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:50:28] local.INFO: TCP Data received {"connection_id":57320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f49ea0012d1821800721b430004900d629..."} 
[2026-04-28 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f49ea0012d1821800721b430004900d629..."} 
[2026-04-28 12:50:28] local.INFO: Processing buffer {"connection_id":57320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f49ea0012d1821800721b430004900d629..."} 
[2026-04-28 12:50:28] local.INFO: Packet analysis {"connection_id":57320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f4"} 
[2026-04-28 12:50:28] local.INFO: Extracted packet for processing {"connection_id":57320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f4"} 
[2026-04-28 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004344064001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777360740000,"timestamp_ms":1777360740000,"timestamp_seconds":1777360740,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f49ea0"} 
[2026-04-28 12:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:50:28] 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-04-28 12:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:50: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-04-28 12:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004344064001,"66":12504,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004344064001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:50:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004344064001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":57320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:50:28] local.INFO: GPS data processed {"connection_id":57320,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:50:28] local.INFO: Acknowledgment sent {"connection_id":57320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:50:29] local.INFO: TCP Data received {"connection_id":57320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f4f0a8012d1821800721b430004900d629..."} 
[2026-04-28 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f4f0a8012d1821800721b430004900d629..."} 
[2026-04-28 12:50:29] local.INFO: Processing buffer {"connection_id":57320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f4f0a8012d1821800721b430004900d629..."} 
[2026-04-28 12:50:29] local.INFO: Packet analysis {"connection_id":57320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f4"} 
[2026-04-28 12:50:29] local.INFO: Extracted packet for processing {"connection_id":57320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f4"} 
[2026-04-28 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004349440001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777360761000,"timestamp_ms":1777360761000,"timestamp_seconds":1777360761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f4f0a8"} 
[2026-04-28 12:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:50: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-04-28 12: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-04-28 12:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:50: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-04-28 12:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004349440001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004349440001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:50:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004349440001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":57320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:50:29] local.INFO: GPS data processed {"connection_id":57320,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:50:29] local.INFO: Acknowledgment sent {"connection_id":57320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:50:53] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:53] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:53] local.INFO: IMEI packet received {"connection_id":56633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":56633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:50:59] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:59] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:50:59] local.INFO: IMEI packet received {"connection_id":56633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":56633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:51:00] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:00] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:00] local.INFO: Packet analysis {"connection_id":56633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:51:00] local.INFO: Extracted packet for processing {"connection_id":56633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:51:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":56633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:51:00] local.INFO: GPS data processed {"connection_id":56633,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:51:00] local.INFO: Acknowledgment sent {"connection_id":56633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:51:14] local.INFO: TCP Data received {"connection_id":57321,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:14] local.INFO: Processing buffer {"connection_id":57321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:14] local.INFO: IMEI packet received {"connection_id":57321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":57321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:51:19] local.INFO: TCP Data received {"connection_id":57321,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:19] local.INFO: Processing buffer {"connection_id":57321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:51:19] local.INFO: IMEI packet received {"connection_id":57321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":57321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:51:23] local.INFO: TCP Data received {"connection_id":57321,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f542b0012d1821800721b430004900d62a..."} 
[2026-04-28 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f542b0012d1821800721b430004900d62a..."} 
[2026-04-28 12:51:23] local.INFO: Processing buffer {"connection_id":57321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f542b0012d1821800721b430004900d62a..."} 
[2026-04-28 12:51:23] local.INFO: Packet analysis {"connection_id":57321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:23] local.INFO: Extracted packet for processing {"connection_id":57321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004354816001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777360782000,"timestamp_ms":1777360782000,"timestamp_seconds":1777360782,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f542b0"} 
[2026-04-28 12:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004354816001,"66":12504,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004354816001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004354816001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":57321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:51:23] local.INFO: GPS data processed {"connection_id":57321,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:51:23] local.INFO: Acknowledgment sent {"connection_id":57321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:51:23] local.INFO: TCP Data received {"connection_id":57321,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f594b8012d1821800721b430004900d629..."} 
[2026-04-28 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f594b8012d1821800721b430004900d629..."} 
[2026-04-28 12:51:23] local.INFO: Processing buffer {"connection_id":57321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f594b8012d1821800721b430004900d629..."} 
[2026-04-28 12:51:23] local.INFO: Packet analysis {"connection_id":57321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:23] local.INFO: Extracted packet for processing {"connection_id":57321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004360192001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777360803000,"timestamp_ms":1777360803000,"timestamp_seconds":1777360803,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f594b8"} 
[2026-04-28 12:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004360192001,"66":12504,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004360192001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004360192001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":57321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:51:23] local.INFO: GPS data processed {"connection_id":57321,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:51:23] local.INFO: Acknowledgment sent {"connection_id":57321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:51:32] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:32] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:51:32] local.INFO: Packet analysis {"connection_id":56633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:51:32] local.INFO: Extracted packet for processing {"connection_id":56633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":56633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:51:32] local.INFO: GPS data processed {"connection_id":56633,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:51:32] local.INFO: Acknowledgment sent {"connection_id":56633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:51:53] local.INFO: TCP Data received {"connection_id":56634,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:53] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:53] local.INFO: IMEI packet received {"connection_id":56634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":56634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:51:54] local.INFO: TCP Data received {"connection_id":57321,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f5e6c0012d1821800721b430004900d628..."} 
[2026-04-28 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f5e6c0012d1821800721b430004900d628..."} 
[2026-04-28 12:51:54] local.INFO: Processing buffer {"connection_id":57321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f5e6c0012d1821800721b430004900d628..."} 
[2026-04-28 12:51:54] local.INFO: Packet analysis {"connection_id":57321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:54] local.INFO: Extracted packet for processing {"connection_id":57321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f5"} 
[2026-04-28 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004365568001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777360824000,"timestamp_ms":1777360824000,"timestamp_seconds":1777360824,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f5e6c0"} 
[2026-04-28 12:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:51: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-04-28 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004365568001,"66":12428,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004365568001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:51:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004365568001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":57321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:51:55] local.INFO: GPS data processed {"connection_id":57321,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:51:55] local.INFO: Acknowledgment sent {"connection_id":57321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:51:59] local.INFO: TCP Data received {"connection_id":56634,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:59] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:51:59] local.INFO: IMEI packet received {"connection_id":56634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:52:00] local.INFO: TCP Data received {"connection_id":56634,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:00] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:00] local.INFO: Packet analysis {"connection_id":56634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:52:00] local.INFO: Extracted packet for processing {"connection_id":56634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:52:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:52:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":56634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:52:00] local.INFO: GPS data processed {"connection_id":56634,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:52:00] local.INFO: Acknowledgment sent {"connection_id":56634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:52:09] local.INFO: TCP Data received {"connection_id":56416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:09] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:09] local.INFO: IMEI packet received {"connection_id":56416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":56416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:52:14] local.INFO: TCP Data received {"connection_id":56416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:14] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:52:14] local.INFO: IMEI packet received {"connection_id":56416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":56416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:52:15] local.INFO: TCP Data received {"connection_id":56416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f638c8012d1821800721b430004900d627..."} 
[2026-04-28 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f638c8012d1821800721b430004900d627..."} 
[2026-04-28 12:52:15] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f638c8012d1821800721b430004900d627..."} 
[2026-04-28 12:52:15] local.INFO: Packet analysis {"connection_id":56416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:52:15] local.INFO: Extracted packet for processing {"connection_id":56416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004370944001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360845000,"timestamp_ms":1777360845000,"timestamp_seconds":1777360845,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f638c8"} 
[2026-04-28 12:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 12:52:15] 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-04-28 12:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004370944001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004370944001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:52:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004370944001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":56416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:52:15] local.INFO: GPS data processed {"connection_id":56416,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:52:15] local.INFO: Acknowledgment sent {"connection_id":56416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:52:32] local.INFO: TCP Data received {"connection_id":56634,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:32] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:52:32] local.INFO: Packet analysis {"connection_id":56634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:52:32] local.INFO: Extracted packet for processing {"connection_id":56634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":56634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:52:32] local.INFO: GPS data processed {"connection_id":56634,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:52:32] local.INFO: Acknowledgment sent {"connection_id":56634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:52:45] local.INFO: TCP Data received {"connection_id":56416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f68ad0012d1821800721b430004900d628..."} 
[2026-04-28 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f68ad0012d1821800721b430004900d628..."} 
[2026-04-28 12:52:45] local.INFO: Processing buffer {"connection_id":56416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f68ad0012d1821800721b430004900d628..."} 
[2026-04-28 12:52:45] local.INFO: Packet analysis {"connection_id":56416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:52:45] local.INFO: Extracted packet for processing {"connection_id":56416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004376320001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777360866000,"timestamp_ms":1777360866000,"timestamp_seconds":1777360866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f68ad0"} 
[2026-04-28 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-04-28 12:52: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-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:52:45] 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-04-28 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-04-28 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-04-28 12:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:52:45] 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-04-28 12:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004376320001,"66":12406,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004376320001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004376320001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":56416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:52:45] local.INFO: GPS data processed {"connection_id":56416,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:52:45] local.INFO: Acknowledgment sent {"connection_id":56416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:52:53] local.INFO: TCP Data received {"connection_id":56636,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:53] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:53] local.INFO: IMEI packet received {"connection_id":56636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:52:59] local.INFO: TCP Data received {"connection_id":56636,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:59] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:52:59] local.INFO: IMEI packet received {"connection_id":56636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:53:00] local.INFO: TCP Data received {"connection_id":56636,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:00] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:00] local.INFO: Packet analysis {"connection_id":56636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:53:00] local.INFO: Extracted packet for processing {"connection_id":56636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:53:00] local.INFO: GPS data processed {"connection_id":56636,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:53:00] local.INFO: Acknowledgment sent {"connection_id":56636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:53:08] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:08] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:08] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:53:09] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:09] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:09] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:53:14] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:14] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:53:14] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:53:15] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f6dcd8012d1821800721b430004900d629..."} 
[2026-04-28 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f6dcd8012d1821800721b430004900d629..."} 
[2026-04-28 12:53:15] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f6dcd8012d1821800721b430004900d629..."} 
[2026-04-28 12:53:15] local.INFO: Packet analysis {"connection_id":56591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:53:15] local.INFO: Extracted packet for processing {"connection_id":56591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f6"} 
[2026-04-28 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004381696001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360887000,"timestamp_ms":1777360887000,"timestamp_seconds":1777360887,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f6dcd8"} 
[2026-04-28 12:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 12:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004381696001,"66":12428,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004381696001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:53:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004381696001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":56591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:53:15] local.INFO: GPS data processed {"connection_id":56591,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:53:15] local.INFO: Acknowledgment sent {"connection_id":56591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:53:32] local.INFO: TCP Data received {"connection_id":56636,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:32] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f3d768012d7fa44005afde680009011229..."} 
[2026-04-28 12:53:32] local.INFO: Packet analysis {"connection_id":56636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:53:32] local.INFO: Extracted packet for processing {"connection_id":56636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f3"} 
[2026-04-28 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004259328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360689000,"timestamp_ms":1777360689000,"timestamp_seconds":1777360689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f3d768"} 
[2026-04-28 12:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004259328001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004259328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004259328001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:53:32] local.INFO: GPS data processed {"connection_id":56636,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:53:32] local.INFO: Acknowledgment sent {"connection_id":56636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:53:46] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f72ee0012d1821800721b430004900d628..."} 
[2026-04-28 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f72ee0012d1821800721b430004900d628..."} 
[2026-04-28 12:53:46] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f72ee0012d1821800721b430004900d628..."} 
[2026-04-28 12:53:46] local.INFO: Packet analysis {"connection_id":56591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:53:46] local.INFO: Extracted packet for processing {"connection_id":56591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004387072001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777360908000,"timestamp_ms":1777360908000,"timestamp_seconds":1777360908,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f72ee0"} 
[2026-04-28 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-04-28 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 12:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004387072001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004387072001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:53:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004387072001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":56591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:53:46] local.INFO: GPS data processed {"connection_id":56591,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:53:46] local.INFO: Acknowledgment sent {"connection_id":56591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:53:59] local.INFO: TCP Data received {"connection_id":57322,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:53:59] local.INFO: Processing buffer {"connection_id":57322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:53:59] local.INFO: IMEI packet received {"connection_id":57322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":57322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:54:04] local.INFO: TCP Data received {"connection_id":57322,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:04] local.INFO: Processing buffer {"connection_id":57322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:04] local.INFO: IMEI packet received {"connection_id":57322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":57322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:54:05] local.INFO: TCP Data received {"connection_id":56592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:05] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:05] local.INFO: IMEI packet received {"connection_id":56592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":56592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:54:05] local.INFO: TCP Data received {"connection_id":57322,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:05] local.INFO: Processing buffer {"connection_id":57322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:05] local.INFO: Packet analysis {"connection_id":57322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:54:05] local.INFO: Extracted packet for processing {"connection_id":57322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":57322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:54:05] local.INFO: GPS data processed {"connection_id":57322,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:54:05] local.INFO: Acknowledgment sent {"connection_id":57322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:54:09] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:09] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:09] local.INFO: IMEI packet received {"connection_id":56637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":56637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:54:10] local.INFO: TCP Data received {"connection_id":57322,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:10] local.INFO: Processing buffer {"connection_id":57322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:54:10] local.INFO: Packet analysis {"connection_id":57322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:54:10] local.INFO: Extracted packet for processing {"connection_id":57322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:54:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:54:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":57322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:54:10] local.INFO: GPS data processed {"connection_id":57322,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:54:10] local.INFO: Acknowledgment sent {"connection_id":57322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:54:11] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:11] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:54:11] local.INFO: IMEI packet received {"connection_id":56637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":56637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:54:12] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f780e8012d1821800721b430004900d627..."} 
[2026-04-28 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f780e8012d1821800721b430004900d627..."} 
[2026-04-28 12:54:12] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f780e8012d1821800721b430004900d627..."} 
[2026-04-28 12:54:12] local.INFO: Packet analysis {"connection_id":56637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:54:12] local.INFO: Extracted packet for processing {"connection_id":56637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004392448001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777360929000,"timestamp_ms":1777360929000,"timestamp_seconds":1777360929,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f780e8"} 
[2026-04-28 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:54:12] 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-04-28 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004392448001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004392448001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004392448001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":56637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:54:12] local.INFO: GPS data processed {"connection_id":56637,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:54:12] local.INFO: Acknowledgment sent {"connection_id":56637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:54:34] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:34] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:54:34] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:54:43] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f7d2f0012d1821800721b430004900d628..."} 
[2026-04-28 12:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f7d2f0012d1821800721b430004900d628..."} 
[2026-04-28 12:54:43] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f7d2f0012d1821800721b430004900d628..."} 
[2026-04-28 12:54:43] local.INFO: Packet analysis {"connection_id":56637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:54:43] local.INFO: Extracted packet for processing {"connection_id":56637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f7"} 
[2026-04-28 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004397824001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777360950000,"timestamp_ms":1777360950000,"timestamp_seconds":1777360950,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f7d2f0"} 
[2026-04-28 12:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:54:43] 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-04-28 12:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004397824001,"66":12439,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004397824001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:54:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004397824001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":56637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:54:43] local.INFO: GPS data processed {"connection_id":56637,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:54:43] local.INFO: Acknowledgment sent {"connection_id":56637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:54:53] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:53] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:53] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:54:59] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:59] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:54:59] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:55:00] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:00] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:00] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:00] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:55:00] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:55:00] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:55:09] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:09] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:09] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:55:14] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:14] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:55:14] local.INFO: IMEI packet received {"connection_id":56417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":56417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:55:15] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f824f8012d1821800721b430004900d628..."} 
[2026-04-28 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f824f8012d1821800721b430004900d628..."} 
[2026-04-28 12:55:15] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f824f8012d1821800721b430004900d628..."} 
[2026-04-28 12:55:15] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:15] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004403200001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777360971000,"timestamp_ms":1777360971000,"timestamp_seconds":1777360971,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f824f8"} 
[2026-04-28 12:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 12:55:15] 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-04-28 12:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004403200001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004403200001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:55:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004403200001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:55:15] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:55:15] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:55:32] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:32] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:55:32] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:32] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:55:32] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:55:32] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:55:46] local.INFO: TCP Data received {"connection_id":56417,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f87700012d1821800721b430004900d628..."} 
[2026-04-28 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f87700012d1821800721b430004900d628..."} 
[2026-04-28 12:55:46] local.INFO: Processing buffer {"connection_id":56417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f87700012d1821800721b430004900d628..."} 
[2026-04-28 12:55:46] local.INFO: Packet analysis {"connection_id":56417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:46] local.INFO: Extracted packet for processing {"connection_id":56417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004408576001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777360992000,"timestamp_ms":1777360992000,"timestamp_seconds":1777360992,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f87700"} 
[2026-04-28 12:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12: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-04-28 12:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004408576001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004408576001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:55:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004408576001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":56417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:55:46] local.INFO: GPS data processed {"connection_id":56417,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:55:46] local.INFO: Acknowledgment sent {"connection_id":56417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:55:53] local.INFO: TCP Data received {"connection_id":57324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:53] local.INFO: Processing buffer {"connection_id":57324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:53] local.INFO: IMEI packet received {"connection_id":57324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":57324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:55:59] local.INFO: TCP Data received {"connection_id":57324,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:59] local.INFO: Processing buffer {"connection_id":57324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:55:59] local.INFO: IMEI packet received {"connection_id":57324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":57324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:56:00] local.INFO: TCP Data received {"connection_id":57324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:00] local.INFO: Processing buffer {"connection_id":57324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:00] local.INFO: Packet analysis {"connection_id":57324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:00] local.INFO: Extracted packet for processing {"connection_id":57324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:56:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:56:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":57324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:56:00] local.INFO: GPS data processed {"connection_id":57324,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:56:00] local.INFO: Acknowledgment sent {"connection_id":57324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:56:16] local.INFO: TCP Data received {"connection_id":57325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:16] local.INFO: Processing buffer {"connection_id":57325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:16] local.INFO: IMEI packet received {"connection_id":57325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":57325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:56:18] local.INFO: TCP Data received {"connection_id":57325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:18] local.INFO: Processing buffer {"connection_id":57325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:56:18] local.INFO: IMEI packet received {"connection_id":57325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":57325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:56:19] local.INFO: TCP Data received {"connection_id":57325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f8c908012d1821800721b430004900d629..."} 
[2026-04-28 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f8c908012d1821800721b430004900d629..."} 
[2026-04-28 12:56:19] local.INFO: Processing buffer {"connection_id":57325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f8c908012d1821800721b430004900d629..."} 
[2026-04-28 12:56:19] local.INFO: Packet analysis {"connection_id":57325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:19] local.INFO: Extracted packet for processing {"connection_id":57325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413952001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777361013000,"timestamp_ms":1777361013000,"timestamp_seconds":1777361013,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f8c908"} 
[2026-04-28 12:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:56: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-04-28 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:56:19] 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-04-28 12: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-04-28 12:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:19] 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-04-28 12:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413952001,"66":12428,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413952001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:56:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413952001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":57325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:56:19] local.INFO: GPS data processed {"connection_id":57325,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:56:19] local.INFO: Acknowledgment sent {"connection_id":57325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:56:20] local.INFO: TCP Data received {"connection_id":57325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f91b10012d1821800721b430004900d629..."} 
[2026-04-28 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f91b10012d1821800721b430004900d629..."} 
[2026-04-28 12:56:20] local.INFO: Processing buffer {"connection_id":57325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f91b10012d1821800721b430004900d629..."} 
[2026-04-28 12:56:20] local.INFO: Packet analysis {"connection_id":57325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:56:20] local.INFO: Extracted packet for processing {"connection_id":57325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004419328001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777361034000,"timestamp_ms":1777361034000,"timestamp_seconds":1777361034,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f91b10"} 
[2026-04-28 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-04-28 12:56: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-04-28 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 12:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004419328001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004419328001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:56:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004419328001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":57325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:56:20] local.INFO: GPS data processed {"connection_id":57325,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:56:20] local.INFO: Acknowledgment sent {"connection_id":57325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:56:32] local.INFO: TCP Data received {"connection_id":57324,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:32] local.INFO: Processing buffer {"connection_id":57324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:56:32] local.INFO: Packet analysis {"connection_id":57324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:32] local.INFO: Extracted packet for processing {"connection_id":57324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:56: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-04-28 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:56: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-04-28 12:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":57324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:56:32] local.INFO: GPS data processed {"connection_id":57324,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:56:32] local.INFO: Acknowledgment sent {"connection_id":57324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:56:51] local.INFO: TCP Data received {"connection_id":57325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f96d18012d1821800721b430004900d629..."} 
[2026-04-28 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f96d18012d1821800721b430004900d629..."} 
[2026-04-28 12:56:51] local.INFO: Processing buffer {"connection_id":57325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f96d18012d1821800721b430004900d629..."} 
[2026-04-28 12:56:51] local.INFO: Packet analysis {"connection_id":57325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:56:51] local.INFO: Extracted packet for processing {"connection_id":57325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004424704001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777361055000,"timestamp_ms":1777361055000,"timestamp_seconds":1777361055,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f96d18"} 
[2026-04-28 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-04-28 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004424704001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004424704001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:56:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004424704001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":57325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:56:51] local.INFO: GPS data processed {"connection_id":57325,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:56:51] local.INFO: Acknowledgment sent {"connection_id":57325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:56:59] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:56:59] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:56:59] local.INFO: IMEI packet received {"connection_id":56594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:57:04] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:04] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:04] local.INFO: IMEI packet received {"connection_id":56594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":56594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:57:05] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:05] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:05] local.INFO: Packet analysis {"connection_id":56594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:57:05] local.INFO: Extracted packet for processing {"connection_id":56594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:57:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:57:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":56594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:57:05] local.INFO: GPS data processed {"connection_id":56594,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:57:05] local.INFO: Acknowledgment sent {"connection_id":56594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:57:09] local.INFO: TCP Data received {"connection_id":56594,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:09] local.INFO: Processing buffer {"connection_id":56594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:57:09] local.INFO: Packet analysis {"connection_id":56594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:57:09] local.INFO: Extracted packet for processing {"connection_id":56594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:57:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:57:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":56594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:57:09] local.INFO: GPS data processed {"connection_id":56594,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:57:09] local.INFO: Acknowledgment sent {"connection_id":56594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:57:09] local.INFO: TCP Data received {"connection_id":57326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:09] local.INFO: Processing buffer {"connection_id":57326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:09] local.INFO: IMEI packet received {"connection_id":57326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":57326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:57:14] local.INFO: TCP Data received {"connection_id":57326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:14] local.INFO: Processing buffer {"connection_id":57326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:57:14] local.INFO: IMEI packet received {"connection_id":57326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":57326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:57:15] local.INFO: TCP Data received {"connection_id":57326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f9bf20012d1821800721b430004900d628..."} 
[2026-04-28 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f9bf20012d1821800721b430004900d628..."} 
[2026-04-28 12:57:15] local.INFO: Processing buffer {"connection_id":57326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f9bf20012d1821800721b430004900d628..."} 
[2026-04-28 12:57:15] local.INFO: Packet analysis {"connection_id":57326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:57:15] local.INFO: Extracted packet for processing {"connection_id":57326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f9"} 
[2026-04-28 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004430080001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361076000,"timestamp_ms":1777361076000,"timestamp_seconds":1777361076,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f9bf20"} 
[2026-04-28 12:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004430080001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004430080001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:57:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004430080001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":57326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:57:15] local.INFO: GPS data processed {"connection_id":57326,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:57:15] local.INFO: Acknowledgment sent {"connection_id":57326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:57:46] local.INFO: TCP Data received {"connection_id":57326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fa1128012d1821800721b430004900d629..."} 
[2026-04-28 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fa1128012d1821800721b430004900d629..."} 
[2026-04-28 12:57:46] local.INFO: Processing buffer {"connection_id":57326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fa1128012d1821800721b430004900d629..."} 
[2026-04-28 12:57:46] local.INFO: Packet analysis {"connection_id":57326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:57:46] local.INFO: Extracted packet for processing {"connection_id":57326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004435456001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777361097000,"timestamp_ms":1777361097000,"timestamp_seconds":1777361097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fa1128"} 
[2026-04-28 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-04-28 12:57: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-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004435456001,"66":12504,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004435456001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:57:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004435456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":57326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:57:46] local.INFO: GPS data processed {"connection_id":57326,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:57:46] local.INFO: Acknowledgment sent {"connection_id":57326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:57:54] local.INFO: TCP Data received {"connection_id":56595,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:54] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:54] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:57:59] local.INFO: TCP Data received {"connection_id":56595,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:59] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:57:59] local.INFO: IMEI packet received {"connection_id":56595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:58:00] local.INFO: TCP Data received {"connection_id":56595,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:00] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:00] local.INFO: Packet analysis {"connection_id":56595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:58:00] local.INFO: Extracted packet for processing {"connection_id":56595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:58:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:58:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":56595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:58:00] local.INFO: GPS data processed {"connection_id":56595,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:58:00] local.INFO: Acknowledgment sent {"connection_id":56595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:58:12] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:12] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:12] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:58:14] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:14] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:58:14] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:58:17] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fa6330012d1821800721b430004900d628..."} 
[2026-04-28 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fa6330012d1821800721b430004900d628..."} 
[2026-04-28 12:58:17] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fa6330012d1821800721b430004900d628..."} 
[2026-04-28 12:58:17] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:58:17] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 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-04-28 12:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004440832001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777361118000,"timestamp_ms":1777361118000,"timestamp_seconds":1777361118,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fa6330"} 
[2026-04-28 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-04-28 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 12:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 12:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004440832001,"66":12428,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004440832001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004440832001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:58:17] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:58:17] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:58:19] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fab538012d1821800721b430004900d628..."} 
[2026-04-28 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fab538012d1821800721b430004900d628..."} 
[2026-04-28 12:58:19] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fab538012d1821800721b430004900d628..."} 
[2026-04-28 12:58:19] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:58:19] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fa"} 
[2026-04-28 12:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004446208001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777361139000,"timestamp_ms":1777361139000,"timestamp_seconds":1777361139,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fab538"} 
[2026-04-28 12:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:58: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-04-28 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 12:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:19] 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-04-28 12:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004446208001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004446208001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:58:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004446208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:58:19] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:58:19] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:58:32] local.INFO: TCP Data received {"connection_id":56595,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:32] local.INFO: Processing buffer {"connection_id":56595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2f86f30012d7fa44005afde680009011227..."} 
[2026-04-28 12:58:32] local.INFO: Packet analysis {"connection_id":56595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:58:32] local.INFO: Extracted packet for processing {"connection_id":56595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2f8"} 
[2026-04-28 12:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004336384001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777360990000,"timestamp_ms":1777360990000,"timestamp_seconds":1777360990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2f86f30"} 
[2026-04-28 12:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 12:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004336384001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004336384001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004336384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:58:32] local.INFO: GPS data processed {"connection_id":56595,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:58:32] local.INFO: Acknowledgment sent {"connection_id":56595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:58:50] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fb0740012d1821800721b430004900d629..."} 
[2026-04-28 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fb0740012d1821800721b430004900d629..."} 
[2026-04-28 12:58:50] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fb0740012d1821800721b430004900d629..."} 
[2026-04-28 12:58:50] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:58:50] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004451584001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777361160000,"timestamp_ms":1777361160000,"timestamp_seconds":1777361160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fb0740"} 
[2026-04-28 12:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:58:50] 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-04-28 12:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004451584001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004451584001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004451584001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:58:50] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:58:50] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:58:53] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:53] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:53] local.INFO: IMEI packet received {"connection_id":56596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":56596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:58:59] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:59] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:58:59] local.INFO: IMEI packet received {"connection_id":56596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:59:01] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:01] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:01] local.INFO: Packet analysis {"connection_id":56596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 12:59:01] local.INFO: Extracted packet for processing {"connection_id":56596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 12:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:59:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:59:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":56596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:59:01] local.INFO: GPS data processed {"connection_id":56596,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:59:01] local.INFO: Acknowledgment sent {"connection_id":56596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:59:09] local.INFO: TCP Data received {"connection_id":56418,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:09] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:09] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 12:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:59:14] local.INFO: TCP Data received {"connection_id":56418,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:14] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 12:59:14] local.INFO: IMEI packet received {"connection_id":56418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":56418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 12:59:15] local.INFO: TCP Data received {"connection_id":56418,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fb5948012d1821800721b430004900d629..."} 
[2026-04-28 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fb5948012d1821800721b430004900d629..."} 
[2026-04-28 12:59:15] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fb5948012d1821800721b430004900d629..."} 
[2026-04-28 12:59:15] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:59:15] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004456960001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361181000,"timestamp_ms":1777361181000,"timestamp_seconds":1777361181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fb5948"} 
[2026-04-28 12:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004456960001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004456960001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:59:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004456960001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:59:15] local.INFO: GPS data processed {"connection_id":56418,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:59:15] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:59:33] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:33] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 12:59:33] local.INFO: Packet analysis {"connection_id":56596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 12:59:33] local.INFO: Extracted packet for processing {"connection_id":56596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 12:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 12:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 12:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 12:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 12:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 12:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 12:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 12:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 12:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 12:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 12:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 12:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 12:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":56596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:59:33] local.INFO: GPS data processed {"connection_id":56596,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:59:33] local.INFO: Acknowledgment sent {"connection_id":56596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:59:46] local.INFO: TCP Data received {"connection_id":56418,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fbab50012d1821800721b430004900d629..."} 
[2026-04-28 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fbab50012d1821800721b430004900d629..."} 
[2026-04-28 12:59:46] local.INFO: Processing buffer {"connection_id":56418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fbab50012d1821800721b430004900d629..."} 
[2026-04-28 12:59:46] local.INFO: Packet analysis {"connection_id":56418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:59:46] local.INFO: Extracted packet for processing {"connection_id":56418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 12: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-04-28 12:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004462336001,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 12:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 12:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777361202000,"timestamp_ms":1777361202000,"timestamp_seconds":1777361202,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fbab50"} 
[2026-04-28 12:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 12:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 12: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-04-28 12:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 12:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 12:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 12:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 12:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 12:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 12:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 12:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004462336001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 12:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 12:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 12:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004462336001,"description":"Unknown IO ID 0"} 
[2026-04-28 12:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 12:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 12:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 12:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 12:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004462336001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 12:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":56418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 12:59:46] local.INFO: GPS data processed {"connection_id":56418,"processed":1,"errors":0,"total":1} 
[2026-04-28 12:59:46] local.INFO: Acknowledgment sent {"connection_id":56418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 12:59:54] local.INFO: TCP Data received {"connection_id":56644,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:54] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:54] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:59:55] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:59:55] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 12:59:55] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 12:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 12:59:59] local.INFO: TCP Data received {"connection_id":56644,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:59] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 12:59:59] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:00:00] local.INFO: TCP Data received {"connection_id":56644,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:00] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:00] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:00] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:00:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:00] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:00] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:05] local.INFO: TCP Data received {"connection_id":56644,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:05] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:05] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:05] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:05] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:05] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:08] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:08] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:08] local.INFO: IMEI packet received {"connection_id":56597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":56597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:00:11] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:11] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:11] local.INFO: IMEI packet received {"connection_id":56597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":56597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:00:14] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:14] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:00:14] local.INFO: IMEI packet received {"connection_id":56597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":56597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:00:15] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fbfd58012d1821800721b430004900d629..."} 
[2026-04-28 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fbfd58012d1821800721b430004900d629..."} 
[2026-04-28 13:00:15] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fbfd58012d1821800721b430004900d629..."} 
[2026-04-28 13:00:15] local.INFO: Packet analysis {"connection_id":56597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 13:00:15] local.INFO: Extracted packet for processing {"connection_id":56597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fb"} 
[2026-04-28 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004467712001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361223000,"timestamp_ms":1777361223000,"timestamp_seconds":1777361223,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fbfd58"} 
[2026-04-28 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004467712001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004467712001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004467712001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":56597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:15] local.INFO: GPS data processed {"connection_id":56597,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:15] local.INFO: Acknowledgment sent {"connection_id":56597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:19] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fc4f60012d1821800721b430004900d628..."} 
[2026-04-28 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fc4f60012d1821800721b430004900d628..."} 
[2026-04-28 13:00:19] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fc4f60012d1821800721b430004900d628..."} 
[2026-04-28 13:00:19] local.INFO: Packet analysis {"connection_id":56597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:00:19] local.INFO: Extracted packet for processing {"connection_id":56597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004473088001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777361244000,"timestamp_ms":1777361244000,"timestamp_seconds":1777361244,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fc4f60"} 
[2026-04-28 13:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00: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-04-28 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:19] 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-04-28 13: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-04-28 13:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:19] 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-04-28 13:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004473088001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004473088001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004473088001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":56597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:20] local.INFO: GPS data processed {"connection_id":56597,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:20] local.INFO: Acknowledgment sent {"connection_id":56597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:34] local.INFO: TCP Data received {"connection_id":56598,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:00:34] local.INFO: Processing buffer {"connection_id":56598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:00:34] local.INFO: IMEI packet received {"connection_id":56598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":56598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:00:37] local.INFO: TCP Data received {"connection_id":56644,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:37] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:00:37] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:37] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:37] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:37] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:53] local.INFO: TCP Data received {"connection_id":56597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fca168012d1821800721b430004900d629..."} 
[2026-04-28 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fca168012d1821800721b430004900d629..."} 
[2026-04-28 13:00:53] local.INFO: Processing buffer {"connection_id":56597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fca168012d1821800721b430004900d629..."} 
[2026-04-28 13:00:53] local.INFO: Packet analysis {"connection_id":56597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:00:53] local.INFO: Extracted packet for processing {"connection_id":56597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004478464001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 13:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777361265000,"timestamp_ms":1777361265000,"timestamp_seconds":1777361265,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fca168"} 
[2026-04-28 13:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:00: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-04-28 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:00:53] 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-04-28 13:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:00:53] 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-04-28 13:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004478464001,"66":12461,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004478464001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:00:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 13:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004478464001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 13:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":56597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:00:53] local.INFO: GPS data processed {"connection_id":56597,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:00:53] local.INFO: Acknowledgment sent {"connection_id":56597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:00:53] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:53] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:53] local.INFO: IMEI packet received {"connection_id":56599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:00:59] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:59] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:00:59] local.INFO: IMEI packet received {"connection_id":56599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:01:00] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:00] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:00] local.INFO: Packet analysis {"connection_id":56599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:00] local.INFO: Extracted packet for processing {"connection_id":56599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:01:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:01:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":56599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:01:00] local.INFO: GPS data processed {"connection_id":56599,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:01:00] local.INFO: Acknowledgment sent {"connection_id":56599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:01:09] local.INFO: TCP Data received {"connection_id":56600,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:09] local.INFO: Processing buffer {"connection_id":56600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:09] local.INFO: IMEI packet received {"connection_id":56600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":56600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:01:11] local.INFO: TCP Data received {"connection_id":56600,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:11] local.INFO: Processing buffer {"connection_id":56600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:11] local.INFO: IMEI packet received {"connection_id":56600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":56600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:01:16] local.INFO: TCP Data received {"connection_id":56600,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:16] local.INFO: Processing buffer {"connection_id":56600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:01:16] local.INFO: IMEI packet received {"connection_id":56600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":56600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:01:16] local.INFO: TCP Data received {"connection_id":56600,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fcf370012d1821800721b430004900d629..."} 
[2026-04-28 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fcf370012d1821800721b430004900d629..."} 
[2026-04-28 13:01:16] local.INFO: Processing buffer {"connection_id":56600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fcf370012d1821800721b430004900d629..."} 
[2026-04-28 13:01:16] local.INFO: Packet analysis {"connection_id":56600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:01:16] local.INFO: Extracted packet for processing {"connection_id":56600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fc"} 
[2026-04-28 13:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649328,"longitude_deg":75.655616,"latitude_deg":11.9649328,"altitude":73,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-04-28 13:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004483840001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558066488868864,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777361286000,"timestamp_ms":1777361286000,"timestamp_seconds":1777361286,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fcf370"} 
[2026-04-28 13:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:01:16] 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-04-28 13:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004483840001,"66":12439,"105":206,"83":41984,"24":0,"16":115558066488868864,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004483840001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:01:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558066488868864,"km_value":115558066488868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 13:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004483840001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 13:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":56600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:01:16] local.INFO: GPS data processed {"connection_id":56600,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:01:16] local.INFO: Acknowledgment sent {"connection_id":56600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:01:32] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:32] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:01:32] local.INFO: Packet analysis {"connection_id":56599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:32] local.INFO: Extracted packet for processing {"connection_id":56599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:01:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":56599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:01:32] local.INFO: GPS data processed {"connection_id":56599,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:01:32] local.INFO: Acknowledgment sent {"connection_id":56599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:01:47] local.INFO: TCP Data received {"connection_id":56600,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd4578012d1820000721b250004b00d127..."} 
[2026-04-28 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd4578012d1820000721b250004b00d127..."} 
[2026-04-28 13:01:47] local.INFO: Processing buffer {"connection_id":56600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd4578012d1820000721b250004b00d127..."} 
[2026-04-28 13:01:47] local.INFO: Packet analysis {"connection_id":56600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:47] local.INFO: Extracted packet for processing {"connection_id":56600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004489216001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260305408,"note":"Value kept but may cause issues"} 
[2026-04-28 13:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777361307000,"timestamp_ms":1777361307000,"timestamp_seconds":1777361307,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd4578"} 
[2026-04-28 13:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:01: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-04-28 13:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:01:47] 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-04-28 13:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004489216001,"66":12178,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738811699260305408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004489216001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:01:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260305408,"description":"Unknown IO ID 45"} 
[2026-04-28 13:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004489216001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260305408}} 
[2026-04-28 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":56600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:01:47] local.INFO: GPS data processed {"connection_id":56600,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:01:47] local.INFO: Acknowledgment sent {"connection_id":56600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:01:53] local.INFO: TCP Data received {"connection_id":57327,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:53] local.INFO: Processing buffer {"connection_id":57327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:53] local.INFO: IMEI packet received {"connection_id":57327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":57327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:01:59] local.INFO: TCP Data received {"connection_id":57327,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:59] local.INFO: Processing buffer {"connection_id":57327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:01:59] local.INFO: IMEI packet received {"connection_id":57327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":57327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:02:00] local.INFO: TCP Data received {"connection_id":57327,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:00] local.INFO: Processing buffer {"connection_id":57327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:00] local.INFO: Packet analysis {"connection_id":57327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:00] local.INFO: Extracted packet for processing {"connection_id":57327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":57327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:02:00] local.INFO: GPS data processed {"connection_id":57327,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:02:00] local.INFO: Acknowledgment sent {"connection_id":57327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:02:09] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:09] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:09] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:02:14] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:14] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:02:14] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:02:18] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd9780012d1820000721b250004b00d127..."} 
[2026-04-28 13:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd9780012d1820000721b250004b00d127..."} 
[2026-04-28 13:02:18] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd9780012d1820000721b250004b00d127..."} 
[2026-04-28 13:02:18] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:18] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004494592001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777361328000,"timestamp_ms":1777361328000,"timestamp_seconds":1777361328,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd9780"} 
[2026-04-28 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-04-28 13:02: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-04-28 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 13:02: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-04-28 13: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-04-28 13:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:02:18] 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-04-28 13:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004494592001,"66":12461,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004494592001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:02:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004494592001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:02:18] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:02:18] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:02:32] local.INFO: TCP Data received {"connection_id":57327,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:32] local.INFO: Processing buffer {"connection_id":57327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:02:32] local.INFO: Packet analysis {"connection_id":57327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:32] local.INFO: Extracted packet for processing {"connection_id":57327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":57327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:02:32] local.INFO: GPS data processed {"connection_id":57327,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:02:32] local.INFO: Acknowledgment sent {"connection_id":57327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:02:44] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: IMEI packet received {"connection_id":56647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":56647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:02:44] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:44] local.INFO: IMEI packet received {"connection_id":56647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":56647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:02:48] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:48] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 13:02:48] local.INFO: IMEI packet received {"connection_id":56647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 13:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":56647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:02:49] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fde988012d1820000721b250004b00d128..."} 
[2026-04-28 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fde988012d1820000721b250004b00d128..."} 
[2026-04-28 13:02:49] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fde988012d1820000721b250004b00d128..."} 
[2026-04-28 13:02:49] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:49] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004499968001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777361349000,"timestamp_ms":1777361349000,"timestamp_seconds":1777361349,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fde988"} 
[2026-04-28 13:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:02: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-04-28 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:02:49] 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-04-28 13:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004499968001,"66":12406,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004499968001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:02:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004499968001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:02:49] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:02:49] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:02:49] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 13:02:49] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-28 13:02:49] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 13:02:49] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 13:02: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-04-28 13: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-04-28 13:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:02:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:02:49] 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-04-28 13:02:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 13:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 13:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 13:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 13:02:49] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 13:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 13:02:49] local.ERROR: GPS data processing failed {"connection_id":56647,"error":"No valid data to process"} 
[2026-04-28 13:02:49] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 13:02:59] local.INFO: TCP Data received {"connection_id":56648,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:02:59] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:02:59] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:03:04] local.INFO: TCP Data received {"connection_id":56648,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:04] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:04] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:03:06] local.INFO: TCP Data received {"connection_id":56648,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:06] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:06] local.INFO: Packet analysis {"connection_id":56648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:03:06] local.INFO: Extracted packet for processing {"connection_id":56648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:03:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:03:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":56648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:03:06] local.INFO: GPS data processed {"connection_id":56648,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:03:06] local.INFO: Acknowledgment sent {"connection_id":56648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:03:09] local.INFO: TCP Data received {"connection_id":56648,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:09] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fd06f8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:03:09] local.INFO: Packet analysis {"connection_id":56648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:03:09] local.INFO: Extracted packet for processing {"connection_id":56648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fd"} 
[2026-04-28 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004413440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777361291000,"timestamp_ms":1777361291000,"timestamp_seconds":1777361291,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fd06f8"} 
[2026-04-28 13:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004413440001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004413440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:03:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:03:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004413440001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":56648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:03:09] local.INFO: GPS data processed {"connection_id":56648,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:03:09] local.INFO: Acknowledgment sent {"connection_id":56648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:03:11] local.INFO: TCP Data received {"connection_id":56419,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:11] local.INFO: Processing buffer {"connection_id":56419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:11] local.INFO: IMEI packet received {"connection_id":56419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":56419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:03:14] local.INFO: TCP Data received {"connection_id":56419,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:14] local.INFO: Processing buffer {"connection_id":56419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:03:14] local.INFO: IMEI packet received {"connection_id":56419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":56419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:03:15] local.INFO: TCP Data received {"connection_id":56419,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fe3b90012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fe3b90012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:15] local.INFO: Processing buffer {"connection_id":56419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fe3b90012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:15] local.INFO: Packet analysis {"connection_id":56419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:03:15] local.INFO: Extracted packet for processing {"connection_id":56419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004505344001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361370000,"timestamp_ms":1777361370000,"timestamp_seconds":1777361370,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fe3b90"} 
[2026-04-28 13:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 13:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004505344001,"66":12439,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004505344001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:03:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004505344001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":56419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:03:15] local.INFO: GPS data processed {"connection_id":56419,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:03:15] local.INFO: Acknowledgment sent {"connection_id":56419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:03:20] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 13:03:20] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-28 13:03:20] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 13:03:20] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-28 13:03: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-04-28 13: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-04-28 13:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:03:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:03:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 13:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 13:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 13:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 13:03:20] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 13:03:20] local.ERROR: GPS data processing failed {"connection_id":56647,"error":"No valid data to process"} 
[2026-04-28 13:03:20] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 13:03:46] local.INFO: TCP Data received {"connection_id":56419,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fe8d98012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fe8d98012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:46] local.INFO: Processing buffer {"connection_id":56419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fe8d98012d1820000721b250004b00d127..."} 
[2026-04-28 13:03:46] local.INFO: Packet analysis {"connection_id":56419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:03:46] local.INFO: Extracted packet for processing {"connection_id":56419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004510720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777361391000,"timestamp_ms":1777361391000,"timestamp_seconds":1777361391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fe8d98"} 
[2026-04-28 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-04-28 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:03:46] 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-04-28 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-04-28 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-04-28 13:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004510720001,"66":12461,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004510720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:03:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004510720001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":56419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:03:46] local.INFO: GPS data processed {"connection_id":56419,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:03:46] local.INFO: Acknowledgment sent {"connection_id":56419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:03:50] local.INFO: TCP Data received {"connection_id":56649,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:50] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:50] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:03:51] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:03:51] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:03:51] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:03:51] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 13:03: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-04-28 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:03:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777361594000,"timestamp_ms":1777361594000,"timestamp_seconds":1777361594,"priority":1,"record_length":96,"hex_timestamp":"0000019dd301a690"} 
[2026-04-28 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:03:51] 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-04-28 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-04-28 13:03:51] 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-04-28 13:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 13:03:51] local.INFO: GPS data processed {"connection_id":56647,"processed":0,"errors":0,"total":1} 
[2026-04-28 13:03:51] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:03:53] local.INFO: TCP Data received {"connection_id":56649,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:53] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:53] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:03:59] local.INFO: TCP Data received {"connection_id":56649,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:59] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:03:59] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:04:01] local.INFO: TCP Data received {"connection_id":56649,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:01] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:01] local.INFO: Packet analysis {"connection_id":56649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:01] local.INFO: Extracted packet for processing {"connection_id":56649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:04:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:04:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":56649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:04:01] local.INFO: GPS data processed {"connection_id":56649,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:04:01] local.INFO: Acknowledgment sent {"connection_id":56649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:09] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:09] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:09] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:04:14] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:14] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:04:14] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:04:15] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2fedfa0012d1820000721b250004b00d126..."} 
[2026-04-28 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2fedfa0012d1820000721b250004b00d126..."} 
[2026-04-28 13:04:15] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2fedfa0012d1820000721b250004b00d126..."} 
[2026-04-28 13:04:15] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:04:15] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2fe"} 
[2026-04-28 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004516096001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361412000,"timestamp_ms":1777361412000,"timestamp_seconds":1777361412,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2fedfa0"} 
[2026-04-28 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004516096001,"66":12461,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004516096001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:04:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004516096001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:04:15] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:04:15] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:26] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:04:26] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd301a6900100000000000000000000000000..."} 
[2026-04-28 13:04:26] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:26] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04: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-04-28 13:04:26] 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-04-28 13:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777361594000,"timestamp_ms":1777361594000,"timestamp_seconds":1777361594,"priority":1,"record_length":96,"hex_timestamp":"0000019dd301a690"} 
[2026-04-28 13:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:26] 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-04-28 13:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 13:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 13:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 13:04:26] local.INFO: GPS data processed {"connection_id":56647,"processed":0,"errors":0,"total":1} 
[2026-04-28 13:04:26] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:34] local.INFO: TCP Data received {"connection_id":56649,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:34] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:04:34] local.INFO: Packet analysis {"connection_id":56649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:34] local.INFO: Extracted packet for processing {"connection_id":56649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:04:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:04:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":56649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:04:34] local.INFO: GPS data processed {"connection_id":56649,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:04:34] local.INFO: Acknowledgment sent {"connection_id":56649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:46] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ff31a8012d1820000721b250004b00d127..."} 
[2026-04-28 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ff31a8012d1820000721b250004b00d127..."} 
[2026-04-28 13:04:46] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ff31a8012d1820000721b250004b00d127..."} 
[2026-04-28 13:04:46] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:04:46] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004521472001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777361433000,"timestamp_ms":1777361433000,"timestamp_seconds":1777361433,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ff31a8"} 
[2026-04-28 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-04-28 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004521472001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004521472001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:04:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004521472001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:04:46] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:04:46] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:57] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:04:57] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:04:57] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:57] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98624208,"longitude_deg":76.2971584,"latitude_deg":9.8624208,"altitude":5,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05e0e2d0","is_valid_coordinates":true} 
[2026-04-28 13:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:04:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777361606000,"timestamp_ms":1777361606000,"timestamp_seconds":1777361606,"priority":1,"record_length":96,"hex_timestamp":"0000019dd301d570"} 
[2026-04-28 13:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 13:04:57] 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-04-28 13: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-04-28 13:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 13:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 13:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12461,"83":206,"87":12288,"24":0,"16":76921266543525888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16]} 
[2026-04-28 13:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 13:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 13:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-28 13:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 13:04:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 13:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76921266543525888,"km_value":76921266543525.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:04:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12461,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null}} 
[2026-04-28 13:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:04:57] local.INFO: GPS data processed {"connection_id":56647,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:04:57] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:04:59] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:04:59] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:04:59] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:05:04] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:04] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:04] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:05:06] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:06] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:06] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:06] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:05:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:06] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:06] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:05:09] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:09] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:05:09] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:09] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:09] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:09] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:05:09] local.INFO: TCP Data received {"connection_id":56602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:09] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:09] local.INFO: IMEI packet received {"connection_id":56602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":56602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:05:16] local.INFO: TCP Data received {"connection_id":56602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:16] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:05:16] local.INFO: IMEI packet received {"connection_id":56602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":56602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:05:17] local.INFO: TCP Data received {"connection_id":56602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ff83b0012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ff83b0012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:17] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ff83b0012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:17] local.INFO: Packet analysis {"connection_id":56602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:05:17] local.INFO: Extracted packet for processing {"connection_id":56602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004526848001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777361454000,"timestamp_ms":1777361454000,"timestamp_seconds":1777361454,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ff83b0"} 
[2026-04-28 13:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004526848001,"66":12461,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004526848001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004526848001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":56602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:17] local.INFO: GPS data processed {"connection_id":56602,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:17] local.INFO: Acknowledgment sent {"connection_id":56602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:05:28] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:28] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:28] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:28] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98624208,"longitude_deg":76.2971584,"latitude_deg":9.8624208,"altitude":5,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05e0e2d0","is_valid_coordinates":true} 
[2026-04-28 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777361606000,"timestamp_ms":1777361606000,"timestamp_seconds":1777361606,"priority":1,"record_length":96,"hex_timestamp":"0000019dd301d570"} 
[2026-04-28 13:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:28] 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-04-28 13: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-04-28 13:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 13:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 13:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12461,"83":206,"87":12288,"24":0,"16":76921266543525888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16]} 
[2026-04-28 13:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 13:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 13:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 13:05:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 13:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76921266543525888,"km_value":76921266543525.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12461,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null}} 
[2026-04-28 13:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:28] local.INFO: GPS data processed {"connection_id":56647,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:28] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:05:48] local.INFO: TCP Data received {"connection_id":56602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd2ffd5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd2ffd5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:48] local.INFO: Processing buffer {"connection_id":56602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd2ffd5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:05:48] local.INFO: Packet analysis {"connection_id":56602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:05:48] local.INFO: Extracted packet for processing {"connection_id":56602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd2ff"} 
[2026-04-28 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004532224001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777361475000,"timestamp_ms":1777361475000,"timestamp_seconds":1777361475,"priority":1,"record_length":96,"hex_timestamp":"0000019dd2ffd5b8"} 
[2026-04-28 13:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05: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-04-28 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:48] 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-04-28 13:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:05:48] 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-04-28 13:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004532224001,"66":12406,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004532224001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004532224001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":56602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:48] local.INFO: GPS data processed {"connection_id":56602,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:48] local.INFO: Acknowledgment sent {"connection_id":56602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:05:50] local.INFO: TCP Data received {"connection_id":57329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:05:50] local.INFO: Processing buffer {"connection_id":57329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:05:50] local.INFO: IMEI packet received {"connection_id":57329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":57329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:05:54] local.INFO: TCP Data received {"connection_id":56603,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:54] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:54] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:05:59] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:59] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd301d570012d7a05c005e0e2d0000500000a..."} 
[2026-04-28 13:05:59] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:59] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:05:59] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98624208,"longitude_deg":76.2971584,"latitude_deg":9.8624208,"altitude":5,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05e0e2d0","is_valid_coordinates":true} 
[2026-04-28 13:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:05:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 13:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777361606000,"timestamp_ms":1777361606000,"timestamp_seconds":1777361606,"priority":1,"record_length":96,"hex_timestamp":"0000019dd301d570"} 
[2026-04-28 13:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 13:05:59] 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-04-28 13: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-04-28 13:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 13:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 13:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 13:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12461,"83":206,"87":12288,"24":0,"16":76921266543525888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16]} 
[2026-04-28 13:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 13:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 13:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-28 13:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 13:05:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 13:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76921266543525888,"km_value":76921266543525.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:05:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12461,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null}} 
[2026-04-28 13:05:59] local.INFO: TCP Data received {"connection_id":56603,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:59] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:05:59] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:05:59] local.INFO: GPS data processed {"connection_id":56647,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:05:59] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:00] local.INFO: TCP Data received {"connection_id":56603,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:00] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:00] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:00] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:06:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:06:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:06:00] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:06:00] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:05] local.INFO: TCP Data received {"connection_id":56603,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:05] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:05] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:05] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:06:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:06:05] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:06:05] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:14] local.INFO: TCP Data received {"connection_id":56421,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:14] local.INFO: Processing buffer {"connection_id":56421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:14] local.INFO: IMEI packet received {"connection_id":56421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":56421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:06:22] local.INFO: TCP Data received {"connection_id":56421,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:22] local.INFO: Processing buffer {"connection_id":56421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:06:22] local.INFO: IMEI packet received {"connection_id":56421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":56421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:06:22] local.INFO: TCP Data received {"connection_id":56421,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30027c0012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30027c0012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:22] local.INFO: Processing buffer {"connection_id":56421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30027c0012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:22] local.INFO: Packet analysis {"connection_id":56421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd300"} 
[2026-04-28 13:06:22] local.INFO: Extracted packet for processing {"connection_id":56421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd300"} 
[2026-04-28 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004537600001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777361496000,"timestamp_ms":1777361496000,"timestamp_seconds":1777361496,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30027c0"} 
[2026-04-28 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:06: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-04-28 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 13:06:22] 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-04-28 13:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:06:22] 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-04-28 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004537600001,"66":12461,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004537600001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:06:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004537600001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":56421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:06:22] local.INFO: GPS data processed {"connection_id":56421,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:06:22] local.INFO: Acknowledgment sent {"connection_id":56421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:36] local.INFO: TCP Data received {"connection_id":56603,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:36] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:06:36] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:36] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:06:36] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:06:36] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:40] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:06:40] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:06:40] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:06:53] local.INFO: TCP Data received {"connection_id":57330,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:53] local.INFO: Processing buffer {"connection_id":57330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:53] local.INFO: IMEI packet received {"connection_id":57330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":57330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:06:54] local.INFO: TCP Data received {"connection_id":56421,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd303ae18012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd303ae18012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:54] local.INFO: Processing buffer {"connection_id":56421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd303ae18012d1820000721b250004b00d127..."} 
[2026-04-28 13:06:54] local.INFO: Packet analysis {"connection_id":56421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd303"} 
[2026-04-28 13:06:54] local.INFO: Extracted packet for processing {"connection_id":56421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd303"} 
[2026-04-28 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004596736001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777361727000,"timestamp_ms":1777361727000,"timestamp_seconds":1777361727,"priority":1,"record_length":96,"hex_timestamp":"0000019dd303ae18"} 
[2026-04-28 13:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:06:54] 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-04-28 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 13:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004596736001,"66":12385,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004596736001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:06:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004596736001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":56421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:06:54] local.INFO: GPS data processed {"connection_id":56421,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:06:54] local.INFO: Acknowledgment sent {"connection_id":56421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:06:59] local.INFO: TCP Data received {"connection_id":57330,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:59] local.INFO: Processing buffer {"connection_id":57330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:06:59] local.INFO: IMEI packet received {"connection_id":57330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":57330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:07:00] local.INFO: TCP Data received {"connection_id":57330,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:00] local.INFO: Processing buffer {"connection_id":57330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:00] local.INFO: Packet analysis {"connection_id":57330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:07:00] local.INFO: Extracted packet for processing {"connection_id":57330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:07:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:07:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":57330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:07:00] local.INFO: GPS data processed {"connection_id":57330,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:07:00] local.INFO: Acknowledgment sent {"connection_id":57330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:07:08] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:08] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:08] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:07:16] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:16] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:16] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:07:17] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:17] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:07:17] local.INFO: IMEI packet received {"connection_id":56423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":56423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:07:17] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3040020012d1820000721b250004b00d125..."} 
[2026-04-28 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3040020012d1820000721b250004b00d125..."} 
[2026-04-28 13:07:17] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3040020012d1820000721b250004b00d125..."} 
[2026-04-28 13:07:17] local.INFO: Packet analysis {"connection_id":56423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:17] local.INFO: Extracted packet for processing {"connection_id":56423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004602112001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777361748000,"timestamp_ms":1777361748000,"timestamp_seconds":1777361748,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3040020"} 
[2026-04-28 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 13:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004602112001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004602112001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004602112001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":56423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:07:17] local.INFO: GPS data processed {"connection_id":56423,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:07:17] local.INFO: Acknowledgment sent {"connection_id":56423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:07:19] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3045228012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3045228012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:19] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3045228012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:19] local.INFO: Packet analysis {"connection_id":56423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:19] local.INFO: Extracted packet for processing {"connection_id":56423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004607488001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777361769000,"timestamp_ms":1777361769000,"timestamp_seconds":1777361769,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3045228"} 
[2026-04-28 13:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:07: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-04-28 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:19] 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-04-28 13:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004607488001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004607488001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:07:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004607488001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":56423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:07:19] local.INFO: GPS data processed {"connection_id":56423,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:07:19] local.INFO: Acknowledgment sent {"connection_id":56423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:07:32] local.INFO: TCP Data received {"connection_id":57330,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:32] local.INFO: Processing buffer {"connection_id":57330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:07:32] local.INFO: Packet analysis {"connection_id":57330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:07:32] local.INFO: Extracted packet for processing {"connection_id":57330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:07:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":57330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:07:32] local.INFO: GPS data processed {"connection_id":57330,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:07:32] local.INFO: Acknowledgment sent {"connection_id":57330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:07:53] local.INFO: TCP Data received {"connection_id":56654,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:53] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:53] local.INFO: IMEI packet received {"connection_id":56654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:07:56] local.INFO: TCP Data received {"connection_id":56423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd304a430012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd304a430012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:56] local.INFO: Processing buffer {"connection_id":56423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd304a430012d1820000721b250004b00d129..."} 
[2026-04-28 13:07:56] local.INFO: Packet analysis {"connection_id":56423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:56] local.INFO: Extracted packet for processing {"connection_id":56423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004612864001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777361790000,"timestamp_ms":1777361790000,"timestamp_seconds":1777361790,"priority":1,"record_length":96,"hex_timestamp":"0000019dd304a430"} 
[2026-04-28 13:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:07:56] 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-04-28 13:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004612864001,"66":12439,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004612864001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:07:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004612864001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":56423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:07:56] local.INFO: GPS data processed {"connection_id":56423,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:07:56] local.INFO: Acknowledgment sent {"connection_id":56423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:07:59] local.INFO: TCP Data received {"connection_id":56654,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:59] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:07:59] local.INFO: IMEI packet received {"connection_id":56654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:08:00] local.INFO: TCP Data received {"connection_id":56654,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:00] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:00] local.INFO: Packet analysis {"connection_id":56654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:08:00] local.INFO: Extracted packet for processing {"connection_id":56654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:08:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:08:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":56654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:08:00] local.INFO: GPS data processed {"connection_id":56654,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:08:00] local.INFO: Acknowledgment sent {"connection_id":56654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:08:09] local.INFO: TCP Data received {"connection_id":56604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:09] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:09] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:08:11] local.INFO: TCP Data received {"connection_id":56604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:11] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:11] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:08:14] local.INFO: TCP Data received {"connection_id":56604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:14] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:08:14] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:08:17] local.INFO: TCP Data received {"connection_id":56604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd304f638012d1820000721b250004b00d125..."} 
[2026-04-28 13:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd304f638012d1820000721b250004b00d125..."} 
[2026-04-28 13:08:17] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd304f638012d1820000721b250004b00d125..."} 
[2026-04-28 13:08:17] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:08:17] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004618240001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777361811000,"timestamp_ms":1777361811000,"timestamp_seconds":1777361811,"priority":1,"record_length":96,"hex_timestamp":"0000019dd304f638"} 
[2026-04-28 13:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004618240001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004618240001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:08:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004618240001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:08:17] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:08:17] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:08:32] local.INFO: TCP Data received {"connection_id":56654,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:32] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3019ec0012d7fa44005afde68000901122b..."} 
[2026-04-28 13:08:32] local.INFO: Packet analysis {"connection_id":56654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:08:32] local.INFO: Extracted packet for processing {"connection_id":56654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd301"} 
[2026-04-28 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004490496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361592000,"timestamp_ms":1777361592000,"timestamp_seconds":1777361592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3019ec0"} 
[2026-04-28 13:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004490496001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004490496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004490496001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":56654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:08:33] local.INFO: GPS data processed {"connection_id":56654,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:08:33] local.INFO: Acknowledgment sent {"connection_id":56654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:08:48] local.INFO: TCP Data received {"connection_id":56604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3054840012d1820000721b250004b00d127..."} 
[2026-04-28 13:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3054840012d1820000721b250004b00d127..."} 
[2026-04-28 13:08:48] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3054840012d1820000721b250004b00d127..."} 
[2026-04-28 13:08:48] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:08:48] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004623616001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777361832000,"timestamp_ms":1777361832000,"timestamp_seconds":1777361832,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3054840"} 
[2026-04-28 13:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:08: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-04-28 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:08:48] 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-04-28 13:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004623616001,"66":12439,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004623616001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:08:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004623616001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:08:48] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:08:48] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:08:59] local.INFO: TCP Data received {"connection_id":57332,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:08:59] local.INFO: Processing buffer {"connection_id":57332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:08:59] local.INFO: IMEI packet received {"connection_id":57332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":57332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:09:04] local.INFO: TCP Data received {"connection_id":57332,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:04] local.INFO: Processing buffer {"connection_id":57332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:04] local.INFO: IMEI packet received {"connection_id":57332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":57332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:09:05] local.INFO: TCP Data received {"connection_id":57332,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:05] local.INFO: Processing buffer {"connection_id":57332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:05] local.INFO: Packet analysis {"connection_id":57332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:09:05] local.INFO: Extracted packet for processing {"connection_id":57332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":57332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:09:05] local.INFO: GPS data processed {"connection_id":57332,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:09:05] local.INFO: Acknowledgment sent {"connection_id":57332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:09:09] local.INFO: TCP Data received {"connection_id":57332,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:09] local.INFO: Processing buffer {"connection_id":57332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:09:09] local.INFO: Packet analysis {"connection_id":57332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:09:09] local.INFO: Extracted packet for processing {"connection_id":57332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:09:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:09:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":57332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:09:09] local.INFO: GPS data processed {"connection_id":57332,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:09:09] local.INFO: Acknowledgment sent {"connection_id":57332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:09:10] local.INFO: TCP Data received {"connection_id":56424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:10] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:10] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:09:15] local.INFO: TCP Data received {"connection_id":56424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:15] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:09:15] local.INFO: IMEI packet received {"connection_id":56424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":56424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:09:16] local.INFO: TCP Data received {"connection_id":56424,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3059a48012d1820000721b250004b00d127..."} 
[2026-04-28 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3059a48012d1820000721b250004b00d127..."} 
[2026-04-28 13:09:16] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3059a48012d1820000721b250004b00d127..."} 
[2026-04-28 13:09:16] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:09:16] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004628992001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777361853000,"timestamp_ms":1777361853000,"timestamp_seconds":1777361853,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3059a48"} 
[2026-04-28 13:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:09: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-04-28 13:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:09:16] 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-04-28 13:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004628992001,"66":12385,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004628992001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:09:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004628992001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:09:16] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:09:16] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:09:47] local.INFO: TCP Data received {"connection_id":56424,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd305ec50012d1820000721b250004b00d126..."} 
[2026-04-28 13:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd305ec50012d1820000721b250004b00d126..."} 
[2026-04-28 13:09:47] local.INFO: Processing buffer {"connection_id":56424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd305ec50012d1820000721b250004b00d126..."} 
[2026-04-28 13:09:47] local.INFO: Packet analysis {"connection_id":56424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:09:47] local.INFO: Extracted packet for processing {"connection_id":56424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd305"} 
[2026-04-28 13:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004634368001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777361874000,"timestamp_ms":1777361874000,"timestamp_seconds":1777361874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd305ec50"} 
[2026-04-28 13:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 13:09: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-04-28 13: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-04-28 13:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:09:47] 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-04-28 13:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004634368001,"66":12439,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004634368001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:09:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004634368001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":56424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:09:47] local.INFO: GPS data processed {"connection_id":56424,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:09:47] local.INFO: Acknowledgment sent {"connection_id":56424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:09:53] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:53] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:53] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:09:59] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:59] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:09:59] local.INFO: IMEI packet received {"connection_id":56425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:10:00] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:00] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:00] local.INFO: Packet analysis {"connection_id":56425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:00] local.INFO: Extracted packet for processing {"connection_id":56425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:10: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-04-28 13: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-04-28 13:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":56425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:10:00] local.INFO: GPS data processed {"connection_id":56425,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:10:00] local.INFO: Acknowledgment sent {"connection_id":56425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:10:14] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:14] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:14] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:10:17] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:17] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:17] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:10:19] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:19] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:10:19] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:10:22] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063e58012d1820000721b250004b00d129..."} 
[2026-04-28 13:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063e58012d1820000721b250004b00d129..."} 
[2026-04-28 13:10:22] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063e58012d1820000721b250004b00d129..."} 
[2026-04-28 13:10:22] local.INFO: Packet analysis {"connection_id":56606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:22] local.INFO: Extracted packet for processing {"connection_id":56606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004639744001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777361895000,"timestamp_ms":1777361895000,"timestamp_seconds":1777361895,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063e58"} 
[2026-04-28 13:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:10:22] 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-04-28 13: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-04-28 13:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:10:22] 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-04-28 13:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004639744001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004639744001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:10:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004639744001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":56606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:10:22] local.INFO: GPS data processed {"connection_id":56606,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:10:22] local.INFO: Acknowledgment sent {"connection_id":56606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:10:24] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3069060012d1820000721b250004b00d128..."} 
[2026-04-28 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3069060012d1820000721b250004b00d128..."} 
[2026-04-28 13:10:24] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3069060012d1820000721b250004b00d128..."} 
[2026-04-28 13:10:24] local.INFO: Packet analysis {"connection_id":56606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:24] local.INFO: Extracted packet for processing {"connection_id":56606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004645120001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10: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-04-28 13:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777361916000,"timestamp_ms":1777361916000,"timestamp_seconds":1777361916,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3069060"} 
[2026-04-28 13:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:10: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-04-28 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:10:24] 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-04-28 13:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004645120001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004645120001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:10:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004645120001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":56606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:10:24] local.INFO: GPS data processed {"connection_id":56606,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:10:24] local.INFO: Acknowledgment sent {"connection_id":56606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:10:32] local.INFO: TCP Data received {"connection_id":56425,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:32] local.INFO: Processing buffer {"connection_id":56425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:10:32] local.INFO: Packet analysis {"connection_id":56425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:32] local.INFO: Extracted packet for processing {"connection_id":56425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:10:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":56425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:10:32] local.INFO: GPS data processed {"connection_id":56425,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:10:32] local.INFO: Acknowledgment sent {"connection_id":56425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:10:53] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:53] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:53] local.INFO: IMEI packet received {"connection_id":56607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:10:59] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:59] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:10:59] local.INFO: IMEI packet received {"connection_id":56607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:11:00] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:00] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:00] local.INFO: Packet analysis {"connection_id":56607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:00] local.INFO: Extracted packet for processing {"connection_id":56607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:11: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-04-28 13:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:11:00] local.INFO: GPS data processed {"connection_id":56607,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:11:00] local.INFO: Acknowledgment sent {"connection_id":56607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:11:21] local.INFO: TCP Data received {"connection_id":57334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: Processing buffer {"connection_id":57334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: IMEI packet received {"connection_id":57334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":57334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:11:21] local.INFO: TCP Data received {"connection_id":57334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: Processing buffer {"connection_id":57334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:11:21] local.INFO: IMEI packet received {"connection_id":57334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":57334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:11:26] local.INFO: TCP Data received {"connection_id":57334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd306e268012d1820000721b250004b00d127..."} 
[2026-04-28 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd306e268012d1820000721b250004b00d127..."} 
[2026-04-28 13:11:26] local.INFO: Processing buffer {"connection_id":57334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd306e268012d1820000721b250004b00d127..."} 
[2026-04-28 13:11:26] local.INFO: Packet analysis {"connection_id":57334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:26] local.INFO: Extracted packet for processing {"connection_id":57334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004650496001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11: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-04-28 13:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777361937000,"timestamp_ms":1777361937000,"timestamp_seconds":1777361937,"priority":1,"record_length":96,"hex_timestamp":"0000019dd306e268"} 
[2026-04-28 13:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:11:26] 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-04-28 13: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-04-28 13:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":57334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":57334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":57334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:11:26] 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-04-28 13:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004650496001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004650496001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004650496001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":57334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:11:26] local.INFO: GPS data processed {"connection_id":57334,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:11:26] local.INFO: Acknowledgment sent {"connection_id":57334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:11:26] local.INFO: TCP Data received {"connection_id":57334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3073470012d1820000721b250004b00d129..."} 
[2026-04-28 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3073470012d1820000721b250004b00d129..."} 
[2026-04-28 13:11:26] local.INFO: Processing buffer {"connection_id":57334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3073470012d1820000721b250004b00d129..."} 
[2026-04-28 13:11:26] local.INFO: Packet analysis {"connection_id":57334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:11:26] local.INFO: Extracted packet for processing {"connection_id":57334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004655872001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11: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-04-28 13:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777361958000,"timestamp_ms":1777361958000,"timestamp_seconds":1777361958,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3073470"} 
[2026-04-28 13:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:11:26] 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-04-28 13: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-04-28 13:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":57334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":57334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":57334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:11:26] 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-04-28 13:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004655872001,"66":12428,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004655872001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004655872001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":57334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:11:26] local.INFO: GPS data processed {"connection_id":57334,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:11:26] local.INFO: Acknowledgment sent {"connection_id":57334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:11:32] local.INFO: TCP Data received {"connection_id":56607,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:32] local.INFO: Processing buffer {"connection_id":56607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:11:32] local.INFO: Packet analysis {"connection_id":56607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:32] local.INFO: Extracted packet for processing {"connection_id":56607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:11: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-04-28 13:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:11: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-04-28 13:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:11:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":56607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:11:32] local.INFO: GPS data processed {"connection_id":56607,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:11:32] local.INFO: Acknowledgment sent {"connection_id":56607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:11:54] local.INFO: TCP Data received {"connection_id":56426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:11:54] local.INFO: Processing buffer {"connection_id":56426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:11:54] local.INFO: IMEI packet received {"connection_id":56426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:11:59] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:11:59] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:11:59] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:12:04] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:04] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:04] local.INFO: IMEI packet received {"connection_id":56427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":56427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:12:05] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:05] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:05] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:12:05] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:12:05] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:12:05] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:12:09] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:09] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:09] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:12:09] local.INFO: TCP Data received {"connection_id":56427,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:09] local.INFO: Processing buffer {"connection_id":56427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:12:09] local.INFO: Packet analysis {"connection_id":56427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:12:09] local.INFO: Extracted packet for processing {"connection_id":56427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:12: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-04-28 13:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:12: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-04-28 13:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:12:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:12:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":56427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:12:09] local.INFO: GPS data processed {"connection_id":56427,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:12:09] local.INFO: Acknowledgment sent {"connection_id":56427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:12:14] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:14] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:12:14] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:12:15] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3078678012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3078678012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:15] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3078678012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:15] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:12:15] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004661248001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777361979000,"timestamp_ms":1777361979000,"timestamp_seconds":1777361979,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3078678"} 
[2026-04-28 13:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:12:15] 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-04-28 13:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004661248001,"66":12374,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004661248001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:12:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004661248001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:12:15] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:12:15] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:12:44] local.INFO: TCP Data received {"connection_id":57335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:12:44] local.INFO: Processing buffer {"connection_id":57335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:12:44] local.INFO: IMEI packet received {"connection_id":57335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":57335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:12:45] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:45] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:12:45] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:12:45] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004666624001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777361987000,"timestamp_ms":1777361987000,"timestamp_seconds":1777361987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd307a5b8"} 
[2026-04-28 13:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:12: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-04-28 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 13:12:45] 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-04-28 13: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-04-28 13:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:12:45] 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-04-28 13:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004666624001,"66":12374,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004666624001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:12:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004666624001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:12:45] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:12:45] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:12:54] local.INFO: TCP Data received {"connection_id":56428,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:54] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:54] local.INFO: IMEI packet received {"connection_id":56428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:12:59] local.INFO: TCP Data received {"connection_id":56428,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:59] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:12:59] local.INFO: IMEI packet received {"connection_id":56428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:13:00] local.INFO: TCP Data received {"connection_id":56428,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:00] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:00] local.INFO: Packet analysis {"connection_id":56428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:13:00] local.INFO: Extracted packet for processing {"connection_id":56428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:13: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-04-28 13: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-04-28 13:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:13:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":56428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:13:00] local.INFO: GPS data processed {"connection_id":56428,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:13:00] local.INFO: Acknowledgment sent {"connection_id":56428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:13:09] local.INFO: TCP Data received {"connection_id":57336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:09] local.INFO: Processing buffer {"connection_id":57336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:09] local.INFO: IMEI packet received {"connection_id":57336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":57336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:13:14] local.INFO: TCP Data received {"connection_id":57336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:14] local.INFO: Processing buffer {"connection_id":57336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:13:14] local.INFO: IMEI packet received {"connection_id":57336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":57336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:13:18] local.INFO: TCP Data received {"connection_id":57336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:18] local.INFO: Processing buffer {"connection_id":57336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:18] local.INFO: Packet analysis {"connection_id":57336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:13:18] local.INFO: Extracted packet for processing {"connection_id":57336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:13: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-04-28 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004668672001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777361987000,"timestamp_ms":1777361987000,"timestamp_seconds":1777361987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd307a5b8"} 
[2026-04-28 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-04-28 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 13:13: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-04-28 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-04-28 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-04-28 13:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:13:18] 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-04-28 13:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004668672001,"66":12374,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004668672001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:13:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004668672001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":57336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:13:18] local.INFO: GPS data processed {"connection_id":57336,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:13:18] local.INFO: Acknowledgment sent {"connection_id":57336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:13:32] local.INFO: TCP Data received {"connection_id":56428,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:32] local.INFO: Processing buffer {"connection_id":56428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3063688012d7fa44005afde680009011228..."} 
[2026-04-28 13:13:32] local.INFO: Packet analysis {"connection_id":56428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:13:32] local.INFO: Extracted packet for processing {"connection_id":56428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd306"} 
[2026-04-28 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:13: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-04-28 13:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004567552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777361893000,"timestamp_ms":1777361893000,"timestamp_seconds":1777361893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3063688"} 
[2026-04-28 13:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:13: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-04-28 13:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004567552001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004567552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004567552001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":56428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:13:32] local.INFO: GPS data processed {"connection_id":56428,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:13:32] local.INFO: Acknowledgment sent {"connection_id":56428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:13:49] local.INFO: TCP Data received {"connection_id":57336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:49] local.INFO: Processing buffer {"connection_id":57336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd307a5b8012d1820000721b250004b00d128..."} 
[2026-04-28 13:13:49] local.INFO: Packet analysis {"connection_id":57336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:13:49] local.INFO: Extracted packet for processing {"connection_id":57336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd307"} 
[2026-04-28 13:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648848,"longitude_deg":75.6555776,"latitude_deg":11.9648848,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-04-28 13:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004668672001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777361987000,"timestamp_ms":1777361987000,"timestamp_seconds":1777361987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd307a5b8"} 
[2026-04-28 13:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 13:13:49] 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-04-28 13: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-04-28 13:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:13:49] 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-04-28 13:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004668672001,"66":12374,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004668672001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:13:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004668672001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":57336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:13:49] local.INFO: GPS data processed {"connection_id":57336,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:13:49] local.INFO: Acknowledgment sent {"connection_id":57336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:13:52] local.INFO: TCP Data received {"connection_id":57337,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:52] local.INFO: Processing buffer {"connection_id":57337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:52] local.INFO: IMEI packet received {"connection_id":57337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":57337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:13:53] local.INFO: TCP Data received {"connection_id":57337,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:53] local.INFO: Processing buffer {"connection_id":57337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:53] local.INFO: IMEI packet received {"connection_id":57337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":57337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:13:59] local.INFO: TCP Data received {"connection_id":57337,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:59] local.INFO: Processing buffer {"connection_id":57337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:13:59] local.INFO: IMEI packet received {"connection_id":57337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":57337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:14:00] local.INFO: TCP Data received {"connection_id":57337,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:00] local.INFO: Processing buffer {"connection_id":57337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:00] local.INFO: Packet analysis {"connection_id":57337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:00] local.INFO: Extracted packet for processing {"connection_id":57337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":57337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:14:00] local.INFO: GPS data processed {"connection_id":57337,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:14:00] local.INFO: Acknowledgment sent {"connection_id":57337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:14:19] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:19] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:19] local.INFO: IMEI packet received {"connection_id":56609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":56609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:14:20] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:20] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:14:20] local.INFO: IMEI packet received {"connection_id":56609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":56609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:14:21] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Packet analysis {"connection_id":56609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:21] local.INFO: Extracted packet for processing {"connection_id":56609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648696,"longitude_deg":75.6555584,"latitude_deg":11.9648696,"altitude":73,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-04-28 13:14:21] 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-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004668672001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795116544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777362195000,"timestamp_ms":1777362195000,"timestamp_seconds":1777362195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ad238"} 
[2026-04-28 13:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 13:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:21] 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-04-28 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004668672001,"66":2177,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738389486795116544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004668672001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795116544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004668672001,"power":2177,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795116544}} 
[2026-04-28 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":56609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:14:21] local.INFO: GPS data processed {"connection_id":56609,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:14:21] local.INFO: Acknowledgment sent {"connection_id":56609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:14:21] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:21] local.INFO: Packet analysis {"connection_id":56609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:21] local.INFO: Extracted packet for processing {"connection_id":56609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648696,"longitude_deg":75.6555584,"latitude_deg":11.9648696,"altitude":73,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-04-28 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721920001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562544640,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777362195000,"timestamp_ms":1777362195000,"timestamp_seconds":1777362195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ad238"} 
[2026-04-28 13:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:14:21] 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-04-28 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 13:14:21] 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-04-28 13:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:21] 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-04-28 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721920001,"66":2177,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738178380562544640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721920001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562544640,"description":"Unknown IO ID 45"} 
[2026-04-28 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721920001,"power":2177,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562544640}} 
[2026-04-28 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":56609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:14:21] local.INFO: GPS data processed {"connection_id":56609,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:14:21] local.INFO: Acknowledgment sent {"connection_id":56609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:14:32] local.INFO: TCP Data received {"connection_id":57337,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:32] local.INFO: Processing buffer {"connection_id":57337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:14:32] local.INFO: Packet analysis {"connection_id":57337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:32] local.INFO: Extracted packet for processing {"connection_id":57337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:14:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":57337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:14:32] local.INFO: GPS data processed {"connection_id":57337,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:14:32] local.INFO: Acknowledgment sent {"connection_id":57337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:14:52] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:52] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ad238012d181f400721b1b8004900d124..."} 
[2026-04-28 13:14:52] local.INFO: Packet analysis {"connection_id":56609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:52] local.INFO: Extracted packet for processing {"connection_id":56609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648696,"longitude_deg":75.6555584,"latitude_deg":11.9648696,"altitude":73,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-04-28 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721920001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558096553639936,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562544640,"note":"Value kept but may cause issues"} 
[2026-04-28 13:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777362195000,"timestamp_ms":1777362195000,"timestamp_seconds":1777362195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ad238"} 
[2026-04-28 13:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13: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-04-28 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 13:14:52] 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-04-28 13: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-04-28 13:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:14:52] 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-04-28 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721920001,"66":2177,"105":206,"83":41984,"24":0,"16":115558096553639936,"45":1738178380562544640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721920001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:14:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558096553639936,"km_value":115558096553639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562544640,"description":"Unknown IO ID 45"} 
[2026-04-28 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721920001,"power":2177,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562544640}} 
[2026-04-28 13:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":56609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:14:53] local.INFO: GPS data processed {"connection_id":56609,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:14:53] local.INFO: Acknowledgment sent {"connection_id":56609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:14:59] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:14:59] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:14:59] local.INFO: IMEI packet received {"connection_id":56430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:15:04] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:04] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:04] local.INFO: IMEI packet received {"connection_id":56430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":56430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:15:05] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:05] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:05] local.INFO: Packet analysis {"connection_id":56430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:15:05] local.INFO: Extracted packet for processing {"connection_id":56430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:15:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:15:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":56430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:15:05] local.INFO: GPS data processed {"connection_id":56430,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:15:05] local.INFO: Acknowledgment sent {"connection_id":56430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:15:09] local.INFO: TCP Data received {"connection_id":56430,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:09] local.INFO: Processing buffer {"connection_id":56430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:15:09] local.INFO: Packet analysis {"connection_id":56430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:15:09] local.INFO: Extracted packet for processing {"connection_id":56430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:15:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:15:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":56430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:15:09] local.INFO: GPS data processed {"connection_id":56430,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:15:09] local.INFO: Acknowledgment sent {"connection_id":56430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:15:17] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:17] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:17] local.INFO: IMEI packet received {"connection_id":56656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":56656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:15:18] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:18] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:15:18] local.INFO: IMEI packet received {"connection_id":56656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":56656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:15:18] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30b2828012d181e400721ae78004b00d128..."} 
[2026-04-28 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30b2828012d181e400721ae78004b00d128..."} 
[2026-04-28 13:15:18] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30b2828012d181e400721ae78004b00d128..."} 
[2026-04-28 13:15:18] local.INFO: Packet analysis {"connection_id":56656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:18] local.INFO: Extracted packet for processing {"connection_id":56656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721920001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562544640,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777362217000,"timestamp_ms":1777362217000,"timestamp_seconds":1777362217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30b2828"} 
[2026-04-28 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-04-28 13:15: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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 13:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:18] 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-04-28 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721920001,"66":13928,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1738178380562544640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721920001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:15:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562544640,"description":"Unknown IO ID 45"} 
[2026-04-28 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721920001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562544640}} 
[2026-04-28 13:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":56656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:15:19] local.INFO: GPS data processed {"connection_id":56656,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:15:19] local.INFO: Acknowledgment sent {"connection_id":56656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:15:22] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30b7a30012d181e400721ae78004b00d127..."} 
[2026-04-28 13:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30b7a30012d181e400721ae78004b00d127..."} 
[2026-04-28 13:15:22] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30b7a30012d181e400721ae78004b00d127..."} 
[2026-04-28 13:15:22] local.INFO: Packet analysis {"connection_id":56656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:22] local.INFO: Extracted packet for processing {"connection_id":56656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004727552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777362238000,"timestamp_ms":1777362238000,"timestamp_seconds":1777362238,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30b7a30"} 
[2026-04-28 13:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 13:15:22] 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-04-28 13: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-04-28 13:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:22] 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-04-28 13:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004727552001,"66":12950,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004727552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:15:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004727552001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":56656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:15:22] local.INFO: GPS data processed {"connection_id":56656,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:15:22] local.INFO: Acknowledgment sent {"connection_id":56656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:15:53] local.INFO: TCP Data received {"connection_id":56610,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:53] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:53] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:15:53] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30bcc38012d181e400721ae78004b00d125..."} 
[2026-04-28 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30bcc38012d181e400721ae78004b00d125..."} 
[2026-04-28 13:15:53] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30bcc38012d181e400721ae78004b00d125..."} 
[2026-04-28 13:15:53] local.INFO: Packet analysis {"connection_id":56656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:53] local.INFO: Extracted packet for processing {"connection_id":56656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30b"} 
[2026-04-28 13:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004732928001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777362259000,"timestamp_ms":1777362259000,"timestamp_seconds":1777362259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30bcc38"} 
[2026-04-28 13:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:15: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-04-28 13:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 13:15:53] 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-04-28 13:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:15:53] 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-04-28 13:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004732928001,"66":12972,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004732928001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:15:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004732928001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":56656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:15:53] local.INFO: GPS data processed {"connection_id":56656,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:15:53] local.INFO: Acknowledgment sent {"connection_id":56656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:15:59] local.INFO: TCP Data received {"connection_id":56610,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:59] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:15:59] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:16:00] local.INFO: TCP Data received {"connection_id":56610,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:00] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:00] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:16:00] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:16:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:16:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:16:00] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:16:00] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:16:14] local.INFO: TCP Data received {"connection_id":57339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:14] local.INFO: Processing buffer {"connection_id":57339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:14] local.INFO: IMEI packet received {"connection_id":57339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":57339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:16:19] local.INFO: TCP Data received {"connection_id":57339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:19] local.INFO: Processing buffer {"connection_id":57339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:16:19] local.INFO: IMEI packet received {"connection_id":57339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":57339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:16:20] local.INFO: TCP Data received {"connection_id":57339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30c1e40012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30c1e40012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:20] local.INFO: Processing buffer {"connection_id":57339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30c1e40012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:20] local.INFO: Packet analysis {"connection_id":57339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:20] local.INFO: Extracted packet for processing {"connection_id":57339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004738304001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777362280000,"timestamp_ms":1777362280000,"timestamp_seconds":1777362280,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30c1e40"} 
[2026-04-28 13:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:16: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-04-28 13: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 13:16:20] 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-04-28 13: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-04-28 13:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004738304001,"66":12939,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004738304001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:16:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004738304001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":57339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:16:20] local.INFO: GPS data processed {"connection_id":57339,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:16:20] local.INFO: Acknowledgment sent {"connection_id":57339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:16:21] local.INFO: TCP Data received {"connection_id":57339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30c7048012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30c7048012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:21] local.INFO: Processing buffer {"connection_id":57339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30c7048012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:21] local.INFO: Packet analysis {"connection_id":57339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:21] local.INFO: Extracted packet for processing {"connection_id":57339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004743680001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777362301000,"timestamp_ms":1777362301000,"timestamp_seconds":1777362301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30c7048"} 
[2026-04-28 13:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:16:21] 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-04-28 13:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 13:16:21] 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-04-28 13:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:21] 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-04-28 13:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004743680001,"66":12917,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004743680001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:16:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004743680001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":57339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:16:21] local.INFO: GPS data processed {"connection_id":57339,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:16:21] local.INFO: Acknowledgment sent {"connection_id":57339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:16:32] local.INFO: TCP Data received {"connection_id":56610,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:32] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:16:32] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:16:32] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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":795,"current_offset":40} 
[2026-04-28 13:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:16:32] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:16:32] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:16:52] local.INFO: TCP Data received {"connection_id":57339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30cc250012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30cc250012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:52] local.INFO: Processing buffer {"connection_id":57339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30cc250012d181e400721ae78004b00d127..."} 
[2026-04-28 13:16:52] local.INFO: Packet analysis {"connection_id":57339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:52] local.INFO: Extracted packet for processing {"connection_id":57339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30c"} 
[2026-04-28 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004749056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777362322000,"timestamp_ms":1777362322000,"timestamp_seconds":1777362322,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30cc250"} 
[2026-04-28 13:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:16: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-04-28 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 13:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:16:52] 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-04-28 13:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004749056001,"66":12852,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004749056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:16:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004749056001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":57339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:16:52] local.INFO: GPS data processed {"connection_id":57339,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:16:52] local.INFO: Acknowledgment sent {"connection_id":57339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:16:53] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:53] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:53] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:16:59] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:59] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:16:59] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:17:00] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:00] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:00] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:17:00] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:17:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:17:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:17:00] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:17:00] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:17:09] local.INFO: TCP Data received {"connection_id":56657,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:09] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:09] local.INFO: IMEI packet received {"connection_id":56657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":56657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:17:14] local.INFO: TCP Data received {"connection_id":56657,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:14] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:17:14] local.INFO: IMEI packet received {"connection_id":56657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:17:14] local.INFO: TCP Data received {"connection_id":56657,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30d1458012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30d1458012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:14] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30d1458012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:14] local.INFO: Packet analysis {"connection_id":56657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:17:14] local.INFO: Extracted packet for processing {"connection_id":56657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004754432001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777362343000,"timestamp_ms":1777362343000,"timestamp_seconds":1777362343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30d1458"} 
[2026-04-28 13:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 13:17:14] 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-04-28 13:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:17:14] 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-04-28 13:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004754432001,"66":12722,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004754432001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:17:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004754432001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":56657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:17:15] local.INFO: GPS data processed {"connection_id":56657,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:17:15] local.INFO: Acknowledgment sent {"connection_id":56657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:17:32] local.INFO: TCP Data received {"connection_id":56611,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:32] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:17:32] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:17:32] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:17:32] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:17:32] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:17:45] local.INFO: TCP Data received {"connection_id":56657,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30d6660012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30d6660012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:45] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30d6660012d181e400721ae78004b00d127..."} 
[2026-04-28 13:17:45] local.INFO: Packet analysis {"connection_id":56657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:17:45] local.INFO: Extracted packet for processing {"connection_id":56657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004759808001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777362364000,"timestamp_ms":1777362364000,"timestamp_seconds":1777362364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30d6660"} 
[2026-04-28 13:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:17: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-04-28 13:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:17:45] 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-04-28 13: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-04-28 13:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:17:45] 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-04-28 13:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004759808001,"66":12841,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004759808001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004759808001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":56657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:17:45] local.INFO: GPS data processed {"connection_id":56657,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:17:45] local.INFO: Acknowledgment sent {"connection_id":56657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:17:59] local.INFO: TCP Data received {"connection_id":56612,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:17:59] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:17:59] local.INFO: IMEI packet received {"connection_id":56612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:18:04] local.INFO: TCP Data received {"connection_id":56612,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:04] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:04] local.INFO: IMEI packet received {"connection_id":56612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":56612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:18:05] local.INFO: TCP Data received {"connection_id":56612,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:05] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:05] local.INFO: Packet analysis {"connection_id":56612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:18:05] local.INFO: Extracted packet for processing {"connection_id":56612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:18:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":56612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:18:05] local.INFO: GPS data processed {"connection_id":56612,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:18:05] local.INFO: Acknowledgment sent {"connection_id":56612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:18:06] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:06] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:06] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:18:09] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:09] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:09] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:18:09] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:09] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:09] local.INFO: IMEI packet received {"connection_id":56658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:18:10] local.INFO: TCP Data received {"connection_id":56612,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:10] local.INFO: Processing buffer {"connection_id":56612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ace50012d7fa44005afde680009011229..."} 
[2026-04-28 13:18:10] local.INFO: Packet analysis {"connection_id":56612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:18:10] local.INFO: Extracted packet for processing {"connection_id":56612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30a"} 
[2026-04-28 13:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004644608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777362194000,"timestamp_ms":1777362194000,"timestamp_seconds":1777362194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ace50"} 
[2026-04-28 13:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004644608001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004644608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:18:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:18:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004644608001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":56612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:18:10] local.INFO: GPS data processed {"connection_id":56612,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:18:10] local.INFO: Acknowledgment sent {"connection_id":56612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:18:14] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:14] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:18:14] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:18:14] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30db868012d181e400721ae78004b00d125..."} 
[2026-04-28 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30db868012d181e400721ae78004b00d125..."} 
[2026-04-28 13:18:14] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30db868012d181e400721ae78004b00d125..."} 
[2026-04-28 13:18:14] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:18:14] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30d"} 
[2026-04-28 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004765184001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777362385000,"timestamp_ms":1777362385000,"timestamp_seconds":1777362385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30db868"} 
[2026-04-28 13:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 13:18:14] 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-04-28 13:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:18:14] 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-04-28 13:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004765184001,"66":12809,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004765184001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:18:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004765184001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:18:15] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:18:15] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:18:34] local.INFO: TCP Data received {"connection_id":56432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:34] local.INFO: Processing buffer {"connection_id":56432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:18:34] local.INFO: IMEI packet received {"connection_id":56432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":56432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:18:46] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30e0a70012d181e400721ae78004b00d126..."} 
[2026-04-28 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30e0a70012d181e400721ae78004b00d126..."} 
[2026-04-28 13:18:46] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30e0a70012d181e400721ae78004b00d126..."} 
[2026-04-28 13:18:46] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:18:46] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004770560001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777362406000,"timestamp_ms":1777362406000,"timestamp_seconds":1777362406,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30e0a70"} 
[2026-04-28 13:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:18: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-04-28 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3540765752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":211,"raw_value":827026263185563200,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927099979,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2340421632,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427009191852953895,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 13:18:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,139,102,45,64,174,75,39,10,66,20,194,1,240,52,227,211,33,4,113,205,30,120,239,50,2,154,7,164,128],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 13:18:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549509688590336,"timestamp_seconds":5404549509688590.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004770560001,"66":12798,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004770560001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:18:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004770560001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:18:46] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:18:46] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:18:54] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:54] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:54] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:18:55] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:55] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:55] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:18:59] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:59] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:18:59] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:19:00] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:00] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:00] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:00] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 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-04-28 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:19: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-04-28 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-04-28 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-04-28 13:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:19:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:00] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:00] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:04] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:04] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:04] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:04] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:19: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-04-28 13:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:19: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-04-28 13:19: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-04-28 13:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:19:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:04] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:04] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:09] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:09] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:09] local.INFO: IMEI packet received {"connection_id":57340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":57340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:19:12] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:12] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:12] local.INFO: IMEI packet received {"connection_id":57340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":57340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:19:14] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:14] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:19:14] local.INFO: IMEI packet received {"connection_id":57340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":57340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:19:21] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30e5c78012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30e5c78012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30e5c78012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Packet analysis {"connection_id":57340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:19:21] local.INFO: Extracted packet for processing {"connection_id":57340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004775936001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777362427000,"timestamp_ms":1777362427000,"timestamp_seconds":1777362427,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30e5c78"} 
[2026-04-28 13:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:19: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-04-28 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 13:19:21] 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-04-28 13:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:21] 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-04-28 13:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004775936001,"66":12711,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004775936001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004775936001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":57340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:21] local.INFO: GPS data processed {"connection_id":57340,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:21] local.INFO: Acknowledgment sent {"connection_id":57340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:21] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30eae80012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30eae80012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30eae80012d181e400721ae78004b00d127..."} 
[2026-04-28 13:19:21] local.INFO: Packet analysis {"connection_id":57340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:19:21] local.INFO: Extracted packet for processing {"connection_id":57340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30e"} 
[2026-04-28 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004781312001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777362448000,"timestamp_ms":1777362448000,"timestamp_seconds":1777362448,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30eae80"} 
[2026-04-28 13:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:19:21] 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-04-28 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 13:19:21] 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-04-28 13:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:21] 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-04-28 13:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004781312001,"66":12689,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004781312001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004781312001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":57340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:22] local.INFO: GPS data processed {"connection_id":57340,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:22] local.INFO: Acknowledgment sent {"connection_id":57340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:36] local.INFO: TCP Data received {"connection_id":56613,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:36] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:19:36] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:36] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:19:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:36] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:36] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:53] local.INFO: TCP Data received {"connection_id":56660,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:53] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:53] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:19:55] local.INFO: TCP Data received {"connection_id":57340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f0088012d181e400721ae78004b00d124..."} 
[2026-04-28 13:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f0088012d181e400721ae78004b00d124..."} 
[2026-04-28 13:19:55] local.INFO: Processing buffer {"connection_id":57340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f0088012d181e400721ae78004b00d124..."} 
[2026-04-28 13:19:55] local.INFO: Packet analysis {"connection_id":57340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:55] local.INFO: Extracted packet for processing {"connection_id":57340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004786688001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:19:55] 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-04-28 13:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777362469000,"timestamp_ms":1777362469000,"timestamp_seconds":1777362469,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f0088"} 
[2026-04-28 13:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 13:19:55] 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-04-28 13: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-04-28 13:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":57340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":57340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004786688001,"66":12722,"107":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 13:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004786688001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:19:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 13:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004786688001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":57340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:19:55] local.INFO: GPS data processed {"connection_id":57340,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:19:55] local.INFO: Acknowledgment sent {"connection_id":57340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:19:59] local.INFO: TCP Data received {"connection_id":56660,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:59] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:19:59] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:20:00] local.INFO: TCP Data received {"connection_id":56660,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:00] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:00] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:00] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:20: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-04-28 13: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-04-28 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:20:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:20:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:20:00] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:20:00] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:20:09] local.INFO: TCP Data received {"connection_id":56614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:09] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:09] local.INFO: IMEI packet received {"connection_id":56614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":56614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:20:14] local.INFO: TCP Data received {"connection_id":56614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:14] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:20:14] local.INFO: IMEI packet received {"connection_id":56614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":56614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:20:18] local.INFO: TCP Data received {"connection_id":56614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f5290012d181e400721ae78004b00d126..."} 
[2026-04-28 13:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f5290012d181e400721ae78004b00d126..."} 
[2026-04-28 13:20:18] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f5290012d181e400721ae78004b00d126..."} 
[2026-04-28 13:20:18] local.INFO: Packet analysis {"connection_id":56614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:18] local.INFO: Extracted packet for processing {"connection_id":56614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004792064001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777362490000,"timestamp_ms":1777362490000,"timestamp_seconds":1777362490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f5290"} 
[2026-04-28 13:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:20: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-04-28 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:20:18] 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-04-28 13:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004792064001,"66":12689,"107":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 13:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004792064001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004792064001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":56614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:20:19] local.INFO: GPS data processed {"connection_id":56614,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:20:19] local.INFO: Acknowledgment sent {"connection_id":56614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:20:33] local.INFO: TCP Data received {"connection_id":56660,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:33] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:20:33] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:33] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:20:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:20:33] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:20:33] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:20:49] local.INFO: TCP Data received {"connection_id":56614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30fa498012d181e400721ae78004b00d127..."} 
[2026-04-28 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30fa498012d181e400721ae78004b00d127..."} 
[2026-04-28 13:20:49] local.INFO: Processing buffer {"connection_id":56614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30fa498012d181e400721ae78004b00d127..."} 
[2026-04-28 13:20:49] local.INFO: Packet analysis {"connection_id":56614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:49] local.INFO: Extracted packet for processing {"connection_id":56614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004797440001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777362511000,"timestamp_ms":1777362511000,"timestamp_seconds":1777362511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30fa498"} 
[2026-04-28 13:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:20: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-04-28 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 13:20:49] 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-04-28 13:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:20:49] 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-04-28 13:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004797440001,"66":13243,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004797440001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004797440001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":56614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:20:50] local.INFO: GPS data processed {"connection_id":56614,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:20:50] local.INFO: Acknowledgment sent {"connection_id":56614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:20:59] local.INFO: TCP Data received {"connection_id":57342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:20:59] local.INFO: Processing buffer {"connection_id":57342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:20:59] local.INFO: IMEI packet received {"connection_id":57342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":57342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:21:04] local.INFO: TCP Data received {"connection_id":57342,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:04] local.INFO: Processing buffer {"connection_id":57342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:04] local.INFO: IMEI packet received {"connection_id":57342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":57342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:21:05] local.INFO: TCP Data received {"connection_id":57342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:05] local.INFO: Processing buffer {"connection_id":57342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:05] local.INFO: Packet analysis {"connection_id":57342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:05] local.INFO: Extracted packet for processing {"connection_id":57342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:21:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":57342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:21:05] local.INFO: GPS data processed {"connection_id":57342,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:21:05] local.INFO: Acknowledgment sent {"connection_id":57342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:21:09] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:09] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:09] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:21:09] local.INFO: TCP Data received {"connection_id":57342,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:09] local.INFO: Processing buffer {"connection_id":57342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:21:09] local.INFO: Packet analysis {"connection_id":57342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:09] local.INFO: Extracted packet for processing {"connection_id":57342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:21:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:21:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":57342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:21:09] local.INFO: GPS data processed {"connection_id":57342,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:21:09] local.INFO: Acknowledgment sent {"connection_id":57342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:21:14] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:14] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:21:14] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:21:14] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30ff6a0012d181e400721ae78004b00d127..."} 
[2026-04-28 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30ff6a0012d181e400721ae78004b00d127..."} 
[2026-04-28 13:21:14] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30ff6a0012d181e400721ae78004b00d127..."} 
[2026-04-28 13:21:14] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:14] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647864,"longitude_deg":75.6555328,"latitude_deg":11.9647864,"altitude":75,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-04-28 13:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004802816001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558122323443712,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777362532000,"timestamp_ms":1777362532000,"timestamp_seconds":1777362532,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30ff6a0"} 
[2026-04-28 13:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-28 13:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:21:14] 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-04-28 13:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004802816001,"66":12863,"105":206,"83":41984,"24":0,"16":115558122323443712,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004802816001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:21:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558122323443712,"km_value":115558122323443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004802816001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:21:14] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:21:14] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:21:45] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3103cf0012d181d000721ac48004400ae27..."} 
[2026-04-28 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3103cf0012d181d000721ac48004400ae27..."} 
[2026-04-28 13:21:45] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3103cf0012d181d000721ac48004400ae27..."} 
[2026-04-28 13:21:45] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:21:45] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647304,"longitude_deg":75.6555008,"latitude_deg":11.9647304,"altitude":68,"angle":174,"satellites":39,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721ac48","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004808192001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558152388214784,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585620992,"note":"Value kept but may cause issues"} 
[2026-04-28 13:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777362550000,"timestamp_ms":1777362550000,"timestamp_seconds":1777362550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3103cf0"} 
[2026-04-28 13:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:21: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-04-28 13:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 13:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004808192001,"66":13906,"105":206,"83":41984,"24":7,"16":115558152388214784,"45":1737896905585620992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004808192001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:21:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558152388214784,"km_value":115558152388214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585620992,"description":"Unknown IO ID 45"} 
[2026-04-28 13:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004808192001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737896905585620992}} 
[2026-04-28 13:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:21:46] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:21:46] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:21:54] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:54] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:54] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:21:59] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:59] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:21:59] local.INFO: IMEI packet received {"connection_id":56434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:22:00] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:00] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:00] local.INFO: Packet analysis {"connection_id":56434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:22:00] local.INFO: Extracted packet for processing {"connection_id":56434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:22: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-04-28 13: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-04-28 13:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:22:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:22:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":56434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:22:00] local.INFO: GPS data processed {"connection_id":56434,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:22:00] local.INFO: Acknowledgment sent {"connection_id":56434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:22:09] local.INFO: TCP Data received {"connection_id":56616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: IMEI packet received {"connection_id":56616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:22:09] local.INFO: TCP Data received {"connection_id":56616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:09] local.INFO: IMEI packet received {"connection_id":56616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:22:17] local.INFO: TCP Data received {"connection_id":56616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:17] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:22:17] local.INFO: IMEI packet received {"connection_id":56616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":56616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:22:18] local.INFO: TCP Data received {"connection_id":56616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31044c0012d181d400721aa980045009527..."} 
[2026-04-28 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31044c0012d181d400721aa980045009527..."} 
[2026-04-28 13:22:18] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31044c0012d181d400721aa980045009527..."} 
[2026-04-28 13:22:18] local.INFO: Packet analysis {"connection_id":56616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:22:18] local.INFO: Extracted packet for processing {"connection_id":56616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646872,"longitude_deg":75.6555072,"latitude_deg":11.9646872,"altitude":69,"angle":149,"satellites":39,"speed":11,"hex_longitude":"2d181d40","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-04-28 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004812800001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558173863051264,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864589312,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777362552000,"timestamp_ms":1777362552000,"timestamp_seconds":1777362552,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31044c0"} 
[2026-04-28 13:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:22: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-04-28 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 13:22:18] 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-04-28 13:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:22:18] 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-04-28 13:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004812800001,"66":13722,"105":206,"83":41984,"24":11,"16":115558173863051264,"45":1737545061864589312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004812800001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:22:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558173863051264,"km_value":115558173863051.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864589312,"description":"Unknown IO ID 45"} 
[2026-04-28 13:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004812800001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737545061864589312}} 
[2026-04-28 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":56616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:22:18] local.INFO: GPS data processed {"connection_id":56616,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:22:18] local.INFO: Acknowledgment sent {"connection_id":56616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:22:31] local.INFO: TCP Data received {"connection_id":56434,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:31] local.INFO: Processing buffer {"connection_id":56434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:22:31] local.INFO: Packet analysis {"connection_id":56434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:22:31] local.INFO: Extracted packet for processing {"connection_id":56434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:22:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:22:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":56434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:22:31] local.INFO: GPS data processed {"connection_id":56434,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:22:31] local.INFO: Acknowledgment sent {"connection_id":56434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:22:49] local.INFO: TCP Data received {"connection_id":56616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31048a8012d181e400721a9900045008927..."} 
[2026-04-28 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31048a8012d181e400721a9900045008927..."} 
[2026-04-28 13:22:49] local.INFO: Processing buffer {"connection_id":56616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31048a8012d181e400721a9900045008927..."} 
[2026-04-28 13:22:49] local.INFO: Packet analysis {"connection_id":56616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:22:49] local.INFO: Extracted packet for processing {"connection_id":56616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646608,"longitude_deg":75.6555328,"latitude_deg":11.9646608,"altitude":69,"angle":137,"satellites":39,"speed":14,"hex_longitude":"2d181e40","hex_latitude":"0721a990","is_valid_coordinates":true} 
[2026-04-28 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004813312001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558191042920448,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608656384,"note":"Value kept but may cause issues"} 
[2026-04-28 13:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777362553000,"timestamp_ms":1777362553000,"timestamp_seconds":1777362553,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31048a8"} 
[2026-04-28 13:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 13:22:49] 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-04-28 13:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:22:49] 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-04-28 13:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004813312001,"66":13722,"105":206,"83":41984,"24":14,"16":115558191042920448,"45":1737615430608656384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004813312001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558191042920448,"km_value":115558191042920.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608656384,"description":"Unknown IO ID 45"} 
[2026-04-28 13:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004813312001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737615430608656384}} 
[2026-04-28 13:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":56616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:22:49] local.INFO: GPS data processed {"connection_id":56616,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:22:49] local.INFO: Acknowledgment sent {"connection_id":56616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:22:53] local.INFO: TCP Data received {"connection_id":57344,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:53] local.INFO: Processing buffer {"connection_id":57344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:53] local.INFO: IMEI packet received {"connection_id":57344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":57344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:22:59] local.INFO: TCP Data received {"connection_id":57344,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:59] local.INFO: Processing buffer {"connection_id":57344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:22:59] local.INFO: IMEI packet received {"connection_id":57344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":57344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:23:00] local.INFO: TCP Data received {"connection_id":57344,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:00] local.INFO: Processing buffer {"connection_id":57344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:00] local.INFO: Packet analysis {"connection_id":57344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:23:00] local.INFO: Extracted packet for processing {"connection_id":57344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:23: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-04-28 13: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-04-28 13:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:23:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:23:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":57344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:23:00] local.INFO: GPS data processed {"connection_id":57344,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:23:00] local.INFO: Acknowledgment sent {"connection_id":57344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:23:09] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:09] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:09] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:23:12] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:12] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:12] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:23:14] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:14] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:23:14] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:23:15] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3107b70012d18298007219e580048007d27..."} 
[2026-04-28 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3107b70012d18298007219e580048007d27..."} 
[2026-04-28 13:23:15] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3107b70012d18298007219e580048007d27..."} 
[2026-04-28 13:23:15] local.INFO: Packet analysis {"connection_id":56617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:23:15] local.INFO: Extracted packet for processing {"connection_id":56617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643736,"longitude_deg":75.6558208,"latitude_deg":11.9643736,"altitude":72,"angle":125,"satellites":39,"speed":10,"hex_longitude":"2d182980","hex_latitude":"07219e58","is_valid_coordinates":true} 
[2026-04-28 13:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004813568001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558388611416064,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585299456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777362566000,"timestamp_ms":1777362566000,"timestamp_seconds":1777362566,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3107b70"} 
[2026-04-28 13:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 13:23:15] 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-04-28 13: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-04-28 13:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004813568001,"66":14102,"105":206,"83":41984,"24":10,"16":115558388611416064,"45":1737896905585299456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004813568001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:23:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558388611416064,"km_value":115558388611416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585299456,"description":"Unknown IO ID 45"} 
[2026-04-28 13:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004813568001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737896905585299456}} 
[2026-04-28 13:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":56617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:23:15] local.INFO: GPS data processed {"connection_id":56617,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:23:15] local.INFO: Acknowledgment sent {"connection_id":56617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:23:32] local.INFO: TCP Data received {"connection_id":57344,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:32] local.INFO: Processing buffer {"connection_id":57344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd30f6618012d7fa44005afde680009011229..."} 
[2026-04-28 13:23:32] local.INFO: Packet analysis {"connection_id":57344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:23:32] local.INFO: Extracted packet for processing {"connection_id":57344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd30f"} 
[2026-04-28 13:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004721664001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362495000,"timestamp_ms":1777362495000,"timestamp_seconds":1777362495,"priority":1,"record_length":96,"hex_timestamp":"0000019dd30f6618"} 
[2026-04-28 13:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004721664001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004721664001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004721664001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":57344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:23:32] local.INFO: GPS data processed {"connection_id":57344,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:23:32] local.INFO: Acknowledgment sent {"connection_id":57344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:23:47] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd310cd78012d182c8007219c600049007c23..."} 
[2026-04-28 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd310cd78012d182c8007219c600049007c23..."} 
[2026-04-28 13:23:47] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd310cd78012d182c8007219c600049007c23..."} 
[2026-04-28 13:23:47] local.INFO: Packet analysis {"connection_id":56617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:23:47] local.INFO: Extracted packet for processing {"connection_id":56617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd310"} 
[2026-04-28 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119643232,"longitude_deg":75.6558976,"latitude_deg":11.9643232,"altitude":73,"angle":124,"satellites":35,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219c60","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004816896001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115558435856056320,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072559104,"note":"Value kept but may cause issues"} 
[2026-04-28 13:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777362587000,"timestamp_ms":1777362587000,"timestamp_seconds":1777362587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd310cd78"} 
[2026-04-28 13:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:23: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-04-28 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 13:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:23:47] 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-04-28 13:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004816896001,"66":13167,"105":206,"83":41984,"24":0,"16":115558435856056320,"45":1741063499072559104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 13:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004816896001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:23:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 13:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115558435856056320,"km_value":115558435856056.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072559104,"description":"Unknown IO ID 45"} 
[2026-04-28 13:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004816896001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741063499072559104}} 
[2026-04-28 13:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":56617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:23:47] local.INFO: GPS data processed {"connection_id":56617,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:23:47] local.INFO: Acknowledgment sent {"connection_id":56617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:23:53] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:53] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:53] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:23:54] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:54] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:54] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:23:59] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:59] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:23:59] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:24:00] local.INFO: TCP Data received {"connection_id":56618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:00] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:00] local.INFO: IMEI packet received {"connection_id":56618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":56618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:24:00] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:00] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:00] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:00] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:24: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-04-28 13:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:24:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:24:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:24:00] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:24:00] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:24:09] local.INFO: TCP Data received {"connection_id":57345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:09] local.INFO: Processing buffer {"connection_id":57345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:09] local.INFO: IMEI packet received {"connection_id":57345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":57345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:24:15] local.INFO: TCP Data received {"connection_id":57345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:15] local.INFO: Processing buffer {"connection_id":57345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:15] local.INFO: IMEI packet received {"connection_id":57345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":57345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:24:22] local.INFO: TCP Data received {"connection_id":57345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:22] local.INFO: Processing buffer {"connection_id":57345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:24:22] local.INFO: IMEI packet received {"connection_id":57345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":57345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:24:23] local.INFO: TCP Data received {"connection_id":57345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313c348012d188a40072180800049006f26..."} 
[2026-04-28 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313c348012d188a40072180800049006f26..."} 
[2026-04-28 13:24:23] local.INFO: Processing buffer {"connection_id":57345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313c348012d188a40072180800049006f26..."} 
[2026-04-28 13:24:23] local.INFO: Packet analysis {"connection_id":57345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:23] local.INFO: Extracted packet for processing {"connection_id":57345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756582976,"raw_latitude":119636096,"longitude_deg":75.6582976,"latitude_deg":11.9636096,"altitude":73,"angle":111,"satellites":38,"speed":20,"hex_longitude":"2d188a40","hex_latitude":"07218080","is_valid_coordinates":true} 
[2026-04-28 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004869888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115559659921735680,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028370319360,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777362781000,"timestamp_ms":1777362781000,"timestamp_seconds":1777362781,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313c348"} 
[2026-04-28 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-28 13:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004869888001,"66":13928,"106":206,"83":41984,"24":20,"16":115559659921735680,"45":1764637028370319360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004869888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:24:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115559659921735680,"km_value":115559659921735.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028370319360,"description":"Unknown IO ID 45"} 
[2026-04-28 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004869888001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1764637028370319360}} 
[2026-04-28 13:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":57345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:24:24] local.INFO: GPS data processed {"connection_id":57345,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:24:24] local.INFO: Acknowledgment sent {"connection_id":57345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:24:25] local.INFO: TCP Data received {"connection_id":57345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313f9f8012d18ac80072172500049008227..."} 
[2026-04-28 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313f9f8012d18ac80072172500049008227..."} 
[2026-04-28 13:24:25] local.INFO: Processing buffer {"connection_id":57345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313f9f8012d18ac80072172500049008227..."} 
[2026-04-28 13:24:25] local.INFO: Packet analysis {"connection_id":57345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:25] local.INFO: Extracted packet for processing {"connection_id":57345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632464,"longitude_deg":75.6591744,"latitude_deg":11.9632464,"altitude":73,"angle":130,"satellites":39,"speed":28,"hex_longitude":"2d18ac80","hex_latitude":"07217250","is_valid_coordinates":true} 
[2026-04-28 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004871936001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115560115188269056,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768296203067359232,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777362795000,"timestamp_ms":1777362795000,"timestamp_seconds":1777362795,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313f9f8"} 
[2026-04-28 13:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 13:24: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-04-28 13:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:24:25] 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-04-28 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004871936001,"66":14113,"106":206,"83":41984,"24":28,"16":115560115188269056,"45":1768296203067359232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004871936001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:24:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115560115188269056,"km_value":115560115188269.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768296203067359232,"description":"Unknown IO ID 45"} 
[2026-04-28 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004871936001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1768296203067359232}} 
[2026-04-28 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":57345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:24:25] local.INFO: GPS data processed {"connection_id":57345,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:24:25] local.INFO: Acknowledgment sent {"connection_id":57345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:24:32] local.INFO: TCP Data received {"connection_id":56619,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:32] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:24:32] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:32] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:24:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:24:32] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:24:32] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:24:34] local.INFO: TCP Data received {"connection_id":56435,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:34] local.INFO: Processing buffer {"connection_id":56435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:24:34] local.INFO: IMEI packet received {"connection_id":56435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":56435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:24:53] local.INFO: TCP Data received {"connection_id":57346,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:53] local.INFO: Processing buffer {"connection_id":57346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:53] local.INFO: IMEI packet received {"connection_id":57346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":57346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:24:59] local.INFO: TCP Data received {"connection_id":57346,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:59] local.INFO: Processing buffer {"connection_id":57346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:24:59] local.INFO: IMEI packet received {"connection_id":57346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":57346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:25:00] local.INFO: TCP Data received {"connection_id":57346,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:00] local.INFO: Processing buffer {"connection_id":57346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:00] local.INFO: Packet analysis {"connection_id":57346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:25:00] local.INFO: Extracted packet for processing {"connection_id":57346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:25: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-04-28 13: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-04-28 13:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:25:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:25:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":57346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:25:00] local.INFO: GPS data processed {"connection_id":57346,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:25:00] local.INFO: Acknowledgment sent {"connection_id":57346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:25:09] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:09] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:09] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:25:12] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:12] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:12] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:25:14] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:14] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:25:14] local.INFO: IMEI packet received {"connection_id":56436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":56436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:25:19] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd314b578012d18e9400720ea200039009624..."} 
[2026-04-28 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd314b578012d18e9400720ea200039009624..."} 
[2026-04-28 13:25:19] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd314b578012d18e9400720ea200039009624..."} 
[2026-04-28 13:25:19] local.INFO: Packet analysis {"connection_id":56436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd314"} 
[2026-04-28 13:25:19] local.INFO: Extracted packet for processing {"connection_id":56436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd314"} 
[2026-04-28 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756607296,"raw_latitude":119597600,"longitude_deg":75.6607296,"latitude_deg":11.95976,"altitude":57,"angle":150,"satellites":36,"speed":41,"hex_longitude":"2d18e940","hex_latitude":"0720ea20","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004886272001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115562022153748480,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790743832451377152,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777362843000,"timestamp_ms":1777362843000,"timestamp_seconds":1777362843,"priority":1,"record_length":96,"hex_timestamp":"0000019dd314b578"} 
[2026-04-28 13:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:25: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-04-28 13: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 13:25:19] 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-04-28 13: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-04-28 13:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:25:19] 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-04-28 13:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004886272001,"66":14157,"106":206,"83":41984,"24":41,"16":115562022153748480,"45":1790743832451377152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004886272001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:25:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115562022153748480,"km_value":115562022153748.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790743832451377152,"description":"Unknown IO ID 45"} 
[2026-04-28 13:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004886272001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1790743832451377152}} 
[2026-04-28 13:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":56436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:25:19] local.INFO: GPS data processed {"connection_id":56436,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:25:19] local.INFO: Acknowledgment sent {"connection_id":56436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:25:32] local.INFO: TCP Data received {"connection_id":57346,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:32] local.INFO: Processing buffer {"connection_id":57346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:25:32] local.INFO: Packet analysis {"connection_id":57346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:25:32] local.INFO: Extracted packet for processing {"connection_id":57346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:25: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-04-28 13:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:25: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-04-28 13:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:25:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:25:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":57346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:25:32] local.INFO: GPS data processed {"connection_id":57346,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:25:32] local.INFO: Acknowledgment sent {"connection_id":57346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:25:50] local.INFO: TCP Data received {"connection_id":56436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3157cb0012d198c000720b3a80033005924..."} 
[2026-04-28 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3157cb0012d198c000720b3a80033005924..."} 
[2026-04-28 13:25:50] local.INFO: Processing buffer {"connection_id":56436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3157cb0012d198c000720b3a80033005924..."} 
[2026-04-28 13:25:50] local.INFO: Packet analysis {"connection_id":56436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd315"} 
[2026-04-28 13:25:50] local.INFO: Extracted packet for processing {"connection_id":56436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd315"} 
[2026-04-28 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583656,"longitude_deg":75.664896,"latitude_deg":11.9583656,"altitude":51,"angle":89,"satellites":36,"speed":24,"hex_longitude":"2d198c00","hex_latitude":"0720b3a8","is_valid_coordinates":true} 
[2026-04-28 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004898048001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115564268421644288,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235231909888,"note":"Value kept but may cause issues"} 
[2026-04-28 13:25:50] 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-04-28 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777362894000,"timestamp_ms":1777362894000,"timestamp_seconds":1777362894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3157cb0"} 
[2026-04-28 13:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 13:25:50] 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-04-28 13:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:25:50] 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-04-28 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004898048001,"66":14341,"106":206,"83":41984,"24":24,"16":115564268421644288,"45":1832613235231909888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004898048001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:25:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115564268421644288,"km_value":115564268421644.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235231909888,"description":"Unknown IO ID 45"} 
[2026-04-28 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004898048001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1832613235231909888}} 
[2026-04-28 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":56436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:25:50] local.INFO: GPS data processed {"connection_id":56436,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:25:50] local.INFO: Acknowledgment sent {"connection_id":56436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:25:53] local.INFO: TCP Data received {"connection_id":57348,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:53] local.INFO: Processing buffer {"connection_id":57348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:53] local.INFO: IMEI packet received {"connection_id":57348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":57348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:25:59] local.INFO: TCP Data received {"connection_id":57348,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:59] local.INFO: Processing buffer {"connection_id":57348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:25:59] local.INFO: IMEI packet received {"connection_id":57348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":57348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:26:01] local.INFO: TCP Data received {"connection_id":57348,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:01] local.INFO: Processing buffer {"connection_id":57348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:01] local.INFO: Packet analysis {"connection_id":57348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:26:01] local.INFO: Extracted packet for processing {"connection_id":57348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:26:01] 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-04-28 13:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:26:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":57348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:26:01] local.INFO: GPS data processed {"connection_id":57348,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:26:01] local.INFO: Acknowledgment sent {"connection_id":57348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:26:09] local.INFO: TCP Data received {"connection_id":57349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: Processing buffer {"connection_id":57349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: IMEI packet received {"connection_id":57349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":57349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:26:09] local.INFO: TCP Data received {"connection_id":57349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: Processing buffer {"connection_id":57349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:09] local.INFO: IMEI packet received {"connection_id":57349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":57349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:26:15] local.INFO: TCP Data received {"connection_id":57349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:15] local.INFO: Processing buffer {"connection_id":57349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:26:15] local.INFO: IMEI packet received {"connection_id":57349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":57349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:26:15] local.INFO: TCP Data received {"connection_id":57349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd315a3c0012d19a7000720b1480034006526..."} 
[2026-04-28 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd315a3c0012d19a7000720b1480034006526..."} 
[2026-04-28 13:26:15] local.INFO: Processing buffer {"connection_id":57349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd315a3c0012d19a7000720b1480034006526..."} 
[2026-04-28 13:26:15] local.INFO: Packet analysis {"connection_id":57349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd315"} 
[2026-04-28 13:26:15] local.INFO: Extracted packet for processing {"connection_id":57349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd315"} 
[2026-04-28 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756655872,"raw_latitude":119583048,"longitude_deg":75.6655872,"latitude_deg":11.9583048,"altitude":52,"angle":101,"satellites":38,"speed":27,"hex_longitude":"2d19a700","hex_latitude":"0720b148","is_valid_coordinates":true} 
[2026-04-28 13:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004900864001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115564599134126080,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301106176,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777362904000,"timestamp_ms":1777362904000,"timestamp_seconds":1777362904,"priority":1,"record_length":96,"hex_timestamp":"0000019dd315a3c0"} 
[2026-04-28 13:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942823667,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3541373752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505362982436864,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2933915692,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2418475008,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751564228993219,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.WARNING: Large IO value detected {"io_id":88,"raw_value":12948330569019136,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,145,81,45,192,173,37,10,66,144,54,171,44,30,46,128,1,240,39,227,211,32,4,113,205,38,19,58,160,239,2,154,7,42,206,248,88],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:26:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675035307089592320,"timestamp_seconds":3675035307089592.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004900864001,"66":14265,"106":206,"83":41984,"24":27,"16":115564599134126080,"45":1840846378301106176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004900864001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:26:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115564599134126080,"km_value":115564599134126.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301106176,"description":"Unknown IO ID 45"} 
[2026-04-28 13:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004900864001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1840846378301106176}} 
[2026-04-28 13:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":57349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:26:16] local.INFO: GPS data processed {"connection_id":57349,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:26:16] local.INFO: Acknowledgment sent {"connection_id":57349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:26:32] local.INFO: TCP Data received {"connection_id":57348,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:32] local.INFO: Processing buffer {"connection_id":57348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:26:32] local.INFO: Packet analysis {"connection_id":57348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:26:32] local.INFO: Extracted packet for processing {"connection_id":57348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":57348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:26:32] local.INFO: GPS data processed {"connection_id":57348,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:26:32] local.INFO: Acknowledgment sent {"connection_id":57348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:26:50] local.INFO: TCP Data received {"connection_id":57349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3166af8012d19bc8007204688002a00b524..."} 
[2026-04-28 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3166af8012d19bc8007204688002a00b524..."} 
[2026-04-28 13:26:50] local.INFO: Processing buffer {"connection_id":57349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3166af8012d19bc8007204688002a00b524..."} 
[2026-04-28 13:26:50] local.INFO: Packet analysis {"connection_id":57349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:26:50] local.INFO: Extracted packet for processing {"connection_id":57349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119555720,"longitude_deg":75.6661376,"latitude_deg":11.955572,"altitude":42,"angle":181,"satellites":36,"speed":23,"hex_longitude":"2d19bc80","hex_latitude":"07204688","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004914176001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115566171092156416,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227224317952,"note":"Value kept but may cause issues"} 
[2026-04-28 13:26:50] 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-04-28 13:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777362955000,"timestamp_ms":1777362955000,"timestamp_seconds":1777362955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3166af8"} 
[2026-04-28 13:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 13:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:26:50] 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-04-28 13:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004914176001,"66":14363,"106":206,"83":41984,"24":23,"16":115566171092156416,"45":1853794227224317952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004914176001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:26:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115566171092156416,"km_value":115566171092156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227224317952,"description":"Unknown IO ID 45"} 
[2026-04-28 13:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004914176001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853794227224317952}} 
[2026-04-28 13:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":57349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:26:50] local.INFO: GPS data processed {"connection_id":57349,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:26:50] local.INFO: Acknowledgment sent {"connection_id":57349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:26:59] local.INFO: TCP Data received {"connection_id":56620,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:26:59] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:26:59] local.INFO: IMEI packet received {"connection_id":56620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":56620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:27:04] local.INFO: TCP Data received {"connection_id":56620,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:04] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:04] local.INFO: IMEI packet received {"connection_id":56620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":56620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:27:05] local.INFO: TCP Data received {"connection_id":56620,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:05] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:05] local.INFO: Packet analysis {"connection_id":56620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:27:05] local.INFO: Extracted packet for processing {"connection_id":56620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:27:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":56620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:27:05] local.INFO: GPS data processed {"connection_id":56620,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:27:05] local.INFO: Acknowledgment sent {"connection_id":56620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:27:09] local.INFO: TCP Data received {"connection_id":56620,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:09] local.INFO: Processing buffer {"connection_id":56620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:27:09] local.INFO: Packet analysis {"connection_id":56620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:27:09] local.INFO: Extracted packet for processing {"connection_id":56620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:27:09] 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-04-28 13:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:27:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:27:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":56620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:27:09] local.INFO: GPS data processed {"connection_id":56620,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:27:09] local.INFO: Acknowledgment sent {"connection_id":56620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:27:13] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:13] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:13] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:27:17] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:17] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:17] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:27:22] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:22] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:27:22] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:27:23] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3167a98012d19bd8007203c28002b00a825..."} 
[2026-04-28 13:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3167a98012d19bd8007203c28002b00a825..."} 
[2026-04-28 13:27:23] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3167a98012d19bd8007203c28002b00a825..."} 
[2026-04-28 13:27:23] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:27:23] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119553064,"longitude_deg":75.6661632,"latitude_deg":11.9553064,"altitude":43,"angle":168,"satellites":37,"speed":27,"hex_longitude":"2d19bd80","hex_latitude":"07203c28","is_valid_coordinates":true} 
[2026-04-28 13:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004916480001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115566299941175296,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914664421376,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777362959000,"timestamp_ms":1777362959000,"timestamp_seconds":1777362959,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3167a98"} 
[2026-04-28 13:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-28 13:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004916480001,"66":14341,"106":206,"83":41984,"24":27,"16":115566299941175296,"45":1854497914664421376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004916480001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115566299941175296,"km_value":115566299941175.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914664421376,"description":"Unknown IO ID 45"} 
[2026-04-28 13:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004916480001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1854497914664421376}} 
[2026-04-28 13:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:27:23] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:27:23] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:27:23] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3168650012d19c00007203418002c009b25..."} 
[2026-04-28 13:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3168650012d19c00007203418002c009b25..."} 
[2026-04-28 13:27:23] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3168650012d19c00007203418002c009b25..."} 
[2026-04-28 13:27:23] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:27:23] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd316"} 
[2026-04-28 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551000,"longitude_deg":75.6662272,"latitude_deg":11.9551,"altitude":44,"angle":155,"satellites":37,"speed":28,"hex_longitude":"2d19c000","hex_latitude":"07203418","is_valid_coordinates":true} 
[2026-04-28 13:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004917504001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115566403020390400,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389640452096,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777362962000,"timestamp_ms":1777362962000,"timestamp_seconds":1777362962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3168650"} 
[2026-04-28 13:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942823917,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3541435752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505363012321280,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2392326190,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3221692560,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2448752640,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84752234243891357,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":13793219405945600,"note":"Value kept but may cause issues"} 
[2026-04-28 13:27:23] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,146,45,128,70,42,36,10,66,71,96,43,38,48,192,1,240,185,227,211,32,4,113,205,18,9,172,136,39,239,55,2,154,7,47,19,206,248,160],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:27:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098661420499927040,"timestamp_seconds":3098661420499927.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004917504001,"66":14233,"106":206,"83":41984,"24":28,"16":115566403020390400,"45":1854779389640452096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004917504001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115566403020390400,"km_value":115566403020390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389640452096,"description":"Unknown IO ID 45"} 
[2026-04-28 13:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004917504001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1854779389640452096}} 
[2026-04-28 13:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:27:24] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:27:24] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:27:53] local.INFO: TCP Data received {"connection_id":57351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:53] local.INFO: Processing buffer {"connection_id":57351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:53] local.INFO: IMEI packet received {"connection_id":57351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":57351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:27:59] local.INFO: TCP Data received {"connection_id":57351,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:59] local.INFO: Processing buffer {"connection_id":57351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:27:59] local.INFO: IMEI packet received {"connection_id":57351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":57351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:28:00] local.INFO: TCP Data received {"connection_id":57351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:00] local.INFO: Processing buffer {"connection_id":57351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:00] local.INFO: Packet analysis {"connection_id":57351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:28:00] local.INFO: Extracted packet for processing {"connection_id":57351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:28: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-04-28 13: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-04-28 13:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":57351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:28:00] local.INFO: GPS data processed {"connection_id":57351,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:28:00] local.INFO: Acknowledgment sent {"connection_id":57351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:28:06] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:06] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:06] local.INFO: IMEI packet received {"connection_id":57352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":57352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:28:12] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:12] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:12] local.INFO: IMEI packet received {"connection_id":57352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":57352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:28:17] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:17] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:28:17] local.INFO: IMEI packet received {"connection_id":57352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":57352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:28:17] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3177498012d1a6d80071fd8a0002f007425..."} 
[2026-04-28 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3177498012d1a6d80071fd8a0002f007425..."} 
[2026-04-28 13:28:17] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3177498012d1a6d80071fd8a0002f007425..."} 
[2026-04-28 13:28:17] local.INFO: Packet analysis {"connection_id":57352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd317"} 
[2026-04-28 13:28:17] local.INFO: Extracted packet for processing {"connection_id":57352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd317"} 
[2026-04-28 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119527584,"longitude_deg":75.6706688,"latitude_deg":11.9527584,"altitude":47,"angle":116,"satellites":37,"speed":34,"hex_longitude":"2d1a6d80","hex_latitude":"071fd8a0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004932864001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115568954230964224,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900659810837929984,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777363023000,"timestamp_ms":1777363023000,"timestamp_seconds":1777363023,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3177498"} 
[2026-04-28 13:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:28: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-04-28 13:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 13:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004932864001,"66":14396,"106":206,"83":41984,"24":34,"16":115568954230964224,"45":1900659810837929984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004932864001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115568954230964224,"km_value":115568954230964.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900659810837929984,"description":"Unknown IO ID 45"} 
[2026-04-28 13:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004932864001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1900659810837929984}} 
[2026-04-28 13:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":57352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:28:17] local.INFO: GPS data processed {"connection_id":57352,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:28:17] local.INFO: Acknowledgment sent {"connection_id":57352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:28:18] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3177c68012d1a7300071fd4780030008325..."} 
[2026-04-28 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3177c68012d1a7300071fd4780030008325..."} 
[2026-04-28 13:28:18] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3177c68012d1a7300071fd4780030008325..."} 
[2026-04-28 13:28:18] local.INFO: Packet analysis {"connection_id":57352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd317"} 
[2026-04-28 13:28:18] local.INFO: Extracted packet for processing {"connection_id":57352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd317"} 
[2026-04-28 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756708096,"raw_latitude":119526520,"longitude_deg":75.6708096,"latitude_deg":11.952652,"altitude":48,"angle":131,"satellites":37,"speed":36,"hex_longitude":"2d1a7300","hex_latitude":"071fd478","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004933888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115569035835342848,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985535004672,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777363025000,"timestamp_ms":1777363025000,"timestamp_seconds":1777363025,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3177c68"} 
[2026-04-28 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-04-28 13:28: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-04-28 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 13:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:18] 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-04-28 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004933888001,"66":14396,"106":206,"83":41984,"24":36,"16":115569035835342848,"45":1904318985535004672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004933888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:28:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115569035835342848,"km_value":115569035835342.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985535004672,"description":"Unknown IO ID 45"} 
[2026-04-28 13:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004933888001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1904318985535004672}} 
[2026-04-28 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":57352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:28:18] local.INFO: GPS data processed {"connection_id":57352,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:28:18] local.INFO: Acknowledgment sent {"connection_id":57352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:28:31] local.INFO: TCP Data received {"connection_id":57351,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:32] local.INFO: Processing buffer {"connection_id":57351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd313fde0012d7fa44005afde680009011229..."} 
[2026-04-28 13:28:32] local.INFO: Packet analysis {"connection_id":57351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:28:32] local.INFO: Extracted packet for processing {"connection_id":57351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd313"} 
[2026-04-28 13:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004798720001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777362796000,"timestamp_ms":1777362796000,"timestamp_seconds":1777362796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd313fde0"} 
[2026-04-28 13:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004798720001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004798720001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004798720001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":57351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:28:32] local.INFO: GPS data processed {"connection_id":57351,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:28:32] local.INFO: Acknowledgment sent {"connection_id":57351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:28:52] local.INFO: TCP Data received {"connection_id":57352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3185b10012d1a7380071fd1e00034013c27..."} 
[2026-04-28 13:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3185b10012d1a7380071fd1e00034013c27..."} 
[2026-04-28 13:28:52] local.INFO: Processing buffer {"connection_id":57352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3185b10012d1a7380071fd1e00034013c27..."} 
[2026-04-28 13:28:52] local.INFO: Packet analysis {"connection_id":57352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:28:52] local.INFO: Extracted packet for processing {"connection_id":57352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756708224,"raw_latitude":119525856,"longitude_deg":75.6708224,"latitude_deg":11.9525856,"altitude":52,"angle":316,"satellites":39,"speed":38,"hex_longitude":"2d1a7380","hex_latitude":"071fd1e0","is_valid_coordinates":true} 
[2026-04-28 13:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004945920001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115570113872134144,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912059547392126976,"note":"Value kept but may cause issues"} 
[2026-04-28 13:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777363082000,"timestamp_ms":1777363082000,"timestamp_seconds":1777363082,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3185b10"} 
[2026-04-28 13:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:28: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-04-28 13:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 13:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:28:52] 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-04-28 13:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004945920001,"66":14265,"106":206,"83":41984,"24":38,"16":115570113872134144,"45":1912059547392126976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004945920001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:28:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115570113872134144,"km_value":115570113872134.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912059547392126976,"description":"Unknown IO ID 45"} 
[2026-04-28 13:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004945920001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1912059547392126976}} 
[2026-04-28 13:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":57352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:28:52] local.INFO: GPS data processed {"connection_id":57352,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:28:52] local.INFO: Acknowledgment sent {"connection_id":57352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:28:53] local.INFO: TCP Data received {"connection_id":56663,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:53] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:53] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:28:55] local.INFO: TCP Data received {"connection_id":56663,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:55] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:55] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:28:59] local.INFO: TCP Data received {"connection_id":56663,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:59] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:28:59] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:29:01] local.INFO: TCP Data received {"connection_id":56663,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:01] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:01] local.INFO: Packet analysis {"connection_id":56663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:01] local.INFO: Extracted packet for processing {"connection_id":56663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:29:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":56663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:29:01] local.INFO: GPS data processed {"connection_id":56663,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:29:01] local.INFO: Acknowledgment sent {"connection_id":56663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:29:11] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:29:11] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:29:11] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:29:20] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31866c8012d1a6bc0071fd8600034012e25..."} 
[2026-04-28 13:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31866c8012d1a6bc0071fd8600034012e25..."} 
[2026-04-28 13:29:20] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31866c8012d1a6bc0071fd8600034012e25..."} 
[2026-04-28 13:29:20] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:20] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756706240,"raw_latitude":119527520,"longitude_deg":75.670624,"latitude_deg":11.952752,"altitude":52,"angle":302,"satellites":37,"speed":28,"hex_longitude":"2d1a6bc0","hex_latitude":"071fd860","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004948992001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115570238426185728,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906007835394826240,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777363085000,"timestamp_ms":1777363085000,"timestamp_seconds":1777363085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31866c8"} 
[2026-04-28 13:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:29: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-04-28 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 13:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004948992001,"66":14298,"106":206,"83":41984,"24":28,"16":115570238426185728,"45":1906007835394826240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004948992001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:29:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115570238426185728,"km_value":115570238426185.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906007835394826240,"description":"Unknown IO ID 45"} 
[2026-04-28 13:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004948992001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1906007835394826240}} 
[2026-04-28 13:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:29:20] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:29:20] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:29:25] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3186e98012d1a67c0071fda200033012225..."} 
[2026-04-28 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3186e98012d1a67c0071fda200033012225..."} 
[2026-04-28 13:29:25] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3186e98012d1a67c0071fda200033012225..."} 
[2026-04-28 13:29:25] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:25] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119527968,"longitude_deg":75.6705216,"latitude_deg":11.9527968,"altitude":51,"angle":290,"satellites":37,"speed":15,"hex_longitude":"2d1a67c0","hex_latitude":"071fda20","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004949760001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115570289965793280,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903826404325744640,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777363087000,"timestamp_ms":1777363087000,"timestamp_seconds":1777363087,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3186e98"} 
[2026-04-28 13:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:29: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-04-28 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-28 13:29:25] 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-04-28 13: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-04-28 13:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:29:25] 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-04-28 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004949760001,"66":14265,"106":206,"83":41984,"24":15,"16":115570289965793280,"45":1903826404325744640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004949760001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:29:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115570289965793280,"km_value":115570289965793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903826404325744640,"description":"Unknown IO ID 45"} 
[2026-04-28 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004949760001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1903826404325744640}} 
[2026-04-28 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:29:25] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:29:25] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:29:33] local.INFO: TCP Data received {"connection_id":56663,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:33] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:29:33] local.INFO: Packet analysis {"connection_id":56663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:33] local.INFO: Extracted packet for processing {"connection_id":56663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:29:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":56663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:29:33] local.INFO: GPS data processed {"connection_id":56663,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:29:33] local.INFO: Acknowledgment sent {"connection_id":56663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:29:59] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:29:59] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:29:59] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:29:59] local.INFO: TCP Data received {"connection_id":56664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:29:59] local.INFO: Processing buffer {"connection_id":56664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:29:59] local.INFO: IMEI packet received {"connection_id":56664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:30:04] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:04] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:04] local.INFO: IMEI packet received {"connection_id":56439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":56439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:30:05] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:05] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:05] local.INFO: Packet analysis {"connection_id":56439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:30:05] local.INFO: Extracted packet for processing {"connection_id":56439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:30:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":56439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:30:05] local.INFO: GPS data processed {"connection_id":56439,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:30:05] local.INFO: Acknowledgment sent {"connection_id":56439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:30:06] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:06] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:06] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:30:07] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:07] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:07] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:30:09] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:09] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:09] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:30:09] local.INFO: TCP Data received {"connection_id":56439,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:09] local.INFO: Processing buffer {"connection_id":56439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:30:09] local.INFO: Packet analysis {"connection_id":56439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:30:09] local.INFO: Extracted packet for processing {"connection_id":56439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:30:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:30:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":56439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:30:09] local.INFO: GPS data processed {"connection_id":56439,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:30:09] local.INFO: Acknowledgment sent {"connection_id":56439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:30:16] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:16] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:30:16] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:30:17] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3196898012d19df00072008d0002b010527..."} 
[2026-04-28 13:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3196898012d19df00072008d0002b010527..."} 
[2026-04-28 13:30:17] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3196898012d19df00072008d0002b010527..."} 
[2026-04-28 13:30:17] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd319"} 
[2026-04-28 13:30:17] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd319"} 
[2026-04-28 13:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539920,"longitude_deg":75.6670208,"latitude_deg":11.953992,"altitude":43,"angle":261,"satellites":39,"speed":8,"hex_longitude":"2d19df00","hex_latitude":"072008d0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004966400001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115572128211795968,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589427200,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777363151000,"timestamp_ms":1777363151000,"timestamp_seconds":1777363151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3196898"} 
[2026-04-28 13:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:30: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-04-28 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 13:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004966400001,"66":14396,"106":206,"83":41984,"24":8,"16":115572128211795968,"45":1864419907589427200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004966400001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:30:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115572128211795968,"km_value":115572128211795.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589427200,"description":"Unknown IO ID 45"} 
[2026-04-28 13:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004966400001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864419907589427200}} 
[2026-04-28 13:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:30:17] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:30:17] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:30:35] local.INFO: TCP Data received {"connection_id":56623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:30:35] local.INFO: Processing buffer {"connection_id":56623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:30:35] local.INFO: IMEI packet received {"connection_id":56623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":56623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:30:54] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:54] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:54] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:30:55] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31a3b88012d198440071ff078003400f825..."} 
[2026-04-28 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31a3b88012d198440071ff078003400f825..."} 
[2026-04-28 13:30:55] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31a3b88012d198440071ff078003400f825..."} 
[2026-04-28 13:30:55] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31a"} 
[2026-04-28 13:30:55] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31a"} 
[2026-04-28 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533688,"longitude_deg":75.6646976,"latitude_deg":11.9533688,"altitude":52,"angle":248,"satellites":37,"speed":17,"hex_longitude":"2d198440","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-04-28 13:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004979968001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115573378047279104,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109637343232,"note":"Value kept but may cause issues"} 
[2026-04-28 13:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777363205000,"timestamp_ms":1777363205000,"timestamp_seconds":1777363205,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31a3b88"} 
[2026-04-28 13:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 13:30:55] 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-04-28 13:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004979968001,"66":14483,"106":206,"83":41984,"24":17,"16":115573378047279104,"45":1839650109637343232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004979968001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:30:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115573378047279104,"km_value":115573378047279.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109637343232,"description":"Unknown IO ID 45"} 
[2026-04-28 13:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004979968001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1839650109637343232}} 
[2026-04-28 13:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:30:55] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:30:55] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:30:59] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:59] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:30:59] local.INFO: IMEI packet received {"connection_id":56440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:31:00] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:00] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:00] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:31:00] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:31:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:31:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:31:00] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:31:00] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:31:09] local.INFO: TCP Data received {"connection_id":56441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:09] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:09] local.INFO: IMEI packet received {"connection_id":56441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":56441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:31:11] local.INFO: TCP Data received {"connection_id":56441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:11] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:31:11] local.INFO: IMEI packet received {"connection_id":56441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":56441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:31:12] local.INFO: TCP Data received {"connection_id":56441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31a4358012d198140071fee98003500e525..."} 
[2026-04-28 13:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31a4358012d198140071fee98003500e525..."} 
[2026-04-28 13:31:12] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31a4358012d198140071fee98003500e525..."} 
[2026-04-28 13:31:12] local.INFO: Packet analysis {"connection_id":56441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31a"} 
[2026-04-28 13:31:12] local.INFO: Extracted packet for processing {"connection_id":56441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31a"} 
[2026-04-28 13:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756646208,"raw_latitude":119533208,"longitude_deg":75.6646208,"latitude_deg":11.9533208,"altitude":53,"angle":229,"satellites":37,"speed":18,"hex_longitude":"2d198140","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-04-28 13:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004980480001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115573420996952064,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218806784,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777363207000,"timestamp_ms":1777363207000,"timestamp_seconds":1777363207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31a4358"} 
[2026-04-28 13:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 13:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:31:12] 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-04-28 13:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004980480001,"66":14461,"106":206,"83":41984,"24":18,"16":115573420996952064,"45":1838664947218806784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004980480001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:31:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115573420996952064,"km_value":115573420996952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218806784,"description":"Unknown IO ID 45"} 
[2026-04-28 13:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004980480001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838664947218806784}} 
[2026-04-28 13:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":56441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:31:12] local.INFO: GPS data processed {"connection_id":56441,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:31:12] local.INFO: Acknowledgment sent {"connection_id":56441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:31:33] local.INFO: TCP Data received {"connection_id":56440,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:33] local.INFO: Processing buffer {"connection_id":56440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:31:33] local.INFO: Packet analysis {"connection_id":56440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:31:33] local.INFO: Extracted packet for processing {"connection_id":56440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:31:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":56440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:31:33] local.INFO: GPS data processed {"connection_id":56440,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:31:33] local.INFO: Acknowledgment sent {"connection_id":56440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:31:43] local.INFO: TCP Data received {"connection_id":56441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31b1648012d1927c0072001080030014a24..."} 
[2026-04-28 13:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31b1648012d1927c0072001080030014a24..."} 
[2026-04-28 13:31:43] local.INFO: Processing buffer {"connection_id":56441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31b1648012d1927c0072001080030014a24..."} 
[2026-04-28 13:31:43] local.INFO: Packet analysis {"connection_id":56441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31b"} 
[2026-04-28 13:31:43] local.INFO: Extracted packet for processing {"connection_id":56441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31b"} 
[2026-04-28 13:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119537928,"longitude_deg":75.6623296,"latitude_deg":11.9537928,"altitude":48,"angle":330,"satellites":36,"speed":17,"hex_longitude":"2d1927c0","hex_latitude":"07200108","is_valid_coordinates":true} 
[2026-04-28 13:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004994560001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115574602112958464,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986850764800,"note":"Value kept but may cause issues"} 
[2026-04-28 13:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777363261000,"timestamp_ms":1777363261000,"timestamp_seconds":1777363261,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31b1648"} 
[2026-04-28 13:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-28 13:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:31:43] 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-04-28 13:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004994560001,"66":13656,"106":206,"83":41984,"24":17,"16":115574602112958464,"45":1812909986850764800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004994560001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115574602112958464,"km_value":115574602112958.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986850764800,"description":"Unknown IO ID 45"} 
[2026-04-28 13:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004994560001,"power":13656,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1812909986850764800}} 
[2026-04-28 13:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":56441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:31:43] local.INFO: GPS data processed {"connection_id":56441,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:31:43] local.INFO: Acknowledgment sent {"connection_id":56441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:31:53] local.INFO: TCP Data received {"connection_id":56666,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:53] local.INFO: Processing buffer {"connection_id":56666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:53] local.INFO: IMEI packet received {"connection_id":56666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:31:59] local.INFO: TCP Data received {"connection_id":56666,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:59] local.INFO: Processing buffer {"connection_id":56666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:31:59] local.INFO: IMEI packet received {"connection_id":56666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:32:00] local.INFO: TCP Data received {"connection_id":56666,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:00] local.INFO: Processing buffer {"connection_id":56666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:00] local.INFO: Packet analysis {"connection_id":56666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:32:00] local.INFO: Extracted packet for processing {"connection_id":56666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:32:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:32:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":56666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:32:00] local.INFO: GPS data processed {"connection_id":56666,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:32:00] local.INFO: Acknowledgment sent {"connection_id":56666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:32:09] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:09] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:09] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:32:14] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:14] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:32:14] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:32:19] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31b1a30012d1927c0072003000030016024..."} 
[2026-04-28 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31b1a30012d1927c0072003000030016024..."} 
[2026-04-28 13:32:19] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31b1a30012d1927c0072003000030016024..."} 
[2026-04-28 13:32:19] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31b"} 
[2026-04-28 13:32:19] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31b"} 
[2026-04-28 13:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119538432,"longitude_deg":75.6623296,"latitude_deg":11.9538432,"altitude":48,"angle":352,"satellites":36,"speed":18,"hex_longitude":"2d1927c0","hex_latitude":"07200300","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004994816001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115574627882762240,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874156544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777363262000,"timestamp_ms":1777363262000,"timestamp_seconds":1777363262,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31b1a30"} 
[2026-04-28 13:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:32: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-04-28 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-28 13:32: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-04-28 13: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-04-28 13:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:32:19] 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-04-28 13:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004994816001,"66":13928,"106":206,"83":41984,"24":18,"16":115574627882762240,"45":1812628511874156544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004994816001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:32:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115574627882762240,"km_value":115574627882762.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874156544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004994816001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1812628511874156544}} 
[2026-04-28 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:32:20] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:32:20] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:32:32] local.INFO: TCP Data received {"connection_id":56666,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:32] local.INFO: Processing buffer {"connection_id":56666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:32:32] local.INFO: Packet analysis {"connection_id":56666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:32:32] local.INFO: Extracted packet for processing {"connection_id":56666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":56666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:32:32] local.INFO: GPS data processed {"connection_id":56666,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:32:32] local.INFO: Acknowledgment sent {"connection_id":56666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:32:53] local.INFO: TCP Data received {"connection_id":56668,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:53] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:53] local.INFO: IMEI packet received {"connection_id":56668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:32:54] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31c0c60012d191240072014d00035002428..."} 
[2026-04-28 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31c0c60012d191240072014d00035002428..."} 
[2026-04-28 13:32:54] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31c0c60012d191240072014d00035002428..."} 
[2026-04-28 13:32:54] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31c"} 
[2026-04-28 13:32:54] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31c"} 
[2026-04-28 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756617792,"raw_latitude":119542992,"longitude_deg":75.6617792,"latitude_deg":11.9542992,"altitude":53,"angle":36,"satellites":40,"speed":4,"hex_longitude":"2d191240","hex_latitude":"072014d0","is_valid_coordinates":true} 
[2026-04-28 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005010432001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115575061674459136,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506431131961344,"note":"Value kept but may cause issues"} 
[2026-04-28 13:32:54] 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-04-28 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777363324000,"timestamp_ms":1777363324000,"timestamp_seconds":1777363324,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31c0c60"} 
[2026-04-28 13:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:32: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-04-28 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-28 13:32:54] 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-04-28 13:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005010432001,"66":14396,"106":206,"83":41984,"24":4,"16":115575061674459136,"45":1806506431131961344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005010432001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:32:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115575061674459136,"km_value":115575061674459.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506431131961344,"description":"Unknown IO ID 45"} 
[2026-04-28 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005010432001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1806506431131961344}} 
[2026-04-28 13:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:32:54] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:32:54] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:32:59] local.INFO: TCP Data received {"connection_id":56668,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:59] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:32:59] local.INFO: IMEI packet received {"connection_id":56668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:33:01] local.INFO: TCP Data received {"connection_id":56668,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:01] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:01] local.INFO: Packet analysis {"connection_id":56668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:33:01] local.INFO: Extracted packet for processing {"connection_id":56668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:33:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:33:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":56668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:33:01] local.INFO: GPS data processed {"connection_id":56668,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:33:01] local.INFO: Acknowledgment sent {"connection_id":56668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:33:08] local.INFO: TCP Data received {"connection_id":56442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:08] local.INFO: Processing buffer {"connection_id":56442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:08] local.INFO: IMEI packet received {"connection_id":56442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:33:09] local.INFO: TCP Data received {"connection_id":56442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: Processing buffer {"connection_id":56442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: IMEI packet received {"connection_id":56442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":56442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:33:09] local.INFO: TCP Data received {"connection_id":56442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: Processing buffer {"connection_id":56442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:09] local.INFO: IMEI packet received {"connection_id":56442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":56442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:33:10] local.INFO: TCP Data received {"connection_id":56442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:10] local.INFO: Processing buffer {"connection_id":56442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:33:10] local.INFO: IMEI packet received {"connection_id":56442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":56442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:33:33] local.INFO: TCP Data received {"connection_id":56668,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:33] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31895a8012d7fa44005afde680009011228..."} 
[2026-04-28 13:33:33] local.INFO: Packet analysis {"connection_id":56668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:33:33] local.INFO: Extracted packet for processing {"connection_id":56668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd318"} 
[2026-04-28 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777363097000,"timestamp_ms":1777363097000,"timestamp_seconds":1777363097,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31895a8"} 
[2026-04-28 13:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004875776001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:33:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004875776001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":56668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:33:33] local.INFO: GPS data processed {"connection_id":56668,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:33:33] local.INFO: Acknowledgment sent {"connection_id":56668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:33:56] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:56] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:56] local.INFO: IMEI packet received {"connection_id":56443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":56443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:33:58] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:58] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:33:58] local.INFO: IMEI packet received {"connection_id":56443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:34:04] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:04] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:04] local.INFO: IMEI packet received {"connection_id":56443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":56443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:34:05] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:05] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:05] local.INFO: Packet analysis {"connection_id":56443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:34:05] local.INFO: Extracted packet for processing {"connection_id":56443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:34:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":56443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:34:05] local.INFO: GPS data processed {"connection_id":56443,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:34:05] local.INFO: Acknowledgment sent {"connection_id":56443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:34:37] local.INFO: TCP Data received {"connection_id":56443,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:37] local.INFO: Processing buffer {"connection_id":56443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:34:37] local.INFO: Packet analysis {"connection_id":56443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:34:37] local.INFO: Extracted packet for processing {"connection_id":56443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:34:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:34:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":56443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:34:37] local.INFO: GPS data processed {"connection_id":56443,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:34:37] local.INFO: Acknowledgment sent {"connection_id":56443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:34:53] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:53] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:53] local.INFO: IMEI packet received {"connection_id":56626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:34:59] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:59] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:34:59] local.INFO: IMEI packet received {"connection_id":56626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:35:00] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:00] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:00] local.INFO: Packet analysis {"connection_id":56626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:35:00] local.INFO: Extracted packet for processing {"connection_id":56626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:35: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-04-28 13:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:35:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":56626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:35:00] local.INFO: GPS data processed {"connection_id":56626,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:35:00] local.INFO: Acknowledgment sent {"connection_id":56626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:35:32] local.INFO: TCP Data received {"connection_id":56626,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:32] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:35:32] local.INFO: Packet analysis {"connection_id":56626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:35:32] local.INFO: Extracted packet for processing {"connection_id":56626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:35:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":56626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:35:32] local.INFO: GPS data processed {"connection_id":56626,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:35:32] local.INFO: Acknowledgment sent {"connection_id":56626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:35:49] local.INFO: TCP Data received {"connection_id":56445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:35:49] local.INFO: Processing buffer {"connection_id":56445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:35:49] local.INFO: IMEI packet received {"connection_id":56445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":56445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:35:59] local.INFO: TCP Data received {"connection_id":56669,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:35:59] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:35:59] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:36:04] local.INFO: TCP Data received {"connection_id":56669,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:04] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:04] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:36:05] local.INFO: TCP Data received {"connection_id":56669,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:05] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:05] local.INFO: Packet analysis {"connection_id":56669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:36:05] local.INFO: Extracted packet for processing {"connection_id":56669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:36:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":56669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:36:05] local.INFO: GPS data processed {"connection_id":56669,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:36:05] local.INFO: Acknowledgment sent {"connection_id":56669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:36:09] local.INFO: TCP Data received {"connection_id":56669,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:09] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:36:09] local.INFO: Packet analysis {"connection_id":56669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:36:09] local.INFO: Extracted packet for processing {"connection_id":56669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:36:09] 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-04-28 13:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:36:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:36:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":56669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:36:10] local.INFO: GPS data processed {"connection_id":56669,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:36:10] local.INFO: Acknowledgment sent {"connection_id":56669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:36:35] local.INFO: TCP Data received {"connection_id":56447,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:36:35] local.INFO: Processing buffer {"connection_id":56447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:36:35] local.INFO: IMEI packet received {"connection_id":56447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":56447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:36:54] local.INFO: TCP Data received {"connection_id":56627,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:54] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:54] local.INFO: IMEI packet received {"connection_id":56627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":56627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:36:59] local.INFO: TCP Data received {"connection_id":56627,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:59] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:36:59] local.INFO: IMEI packet received {"connection_id":56627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":56627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:37:00] local.INFO: TCP Data received {"connection_id":56627,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:00] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:00] local.INFO: Packet analysis {"connection_id":56627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:37:00] local.INFO: Extracted packet for processing {"connection_id":56627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:37: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-04-28 13: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-04-28 13:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:37:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:37:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":56627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:37:00] local.INFO: GPS data processed {"connection_id":56627,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:37:00] local.INFO: Acknowledgment sent {"connection_id":56627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:37:32] local.INFO: TCP Data received {"connection_id":56627,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:32] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:37:32] local.INFO: Packet analysis {"connection_id":56627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:37:32] local.INFO: Extracted packet for processing {"connection_id":56627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:37:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":56627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:37:32] local.INFO: GPS data processed {"connection_id":56627,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:37:32] local.INFO: Acknowledgment sent {"connection_id":56627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:37:54] local.INFO: TCP Data received {"connection_id":56449,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:54] local.INFO: Processing buffer {"connection_id":56449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:54] local.INFO: IMEI packet received {"connection_id":56449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:37:59] local.INFO: TCP Data received {"connection_id":56449,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:59] local.INFO: Processing buffer {"connection_id":56449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:37:59] local.INFO: IMEI packet received {"connection_id":56449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:38:00] local.INFO: TCP Data received {"connection_id":56449,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:00] local.INFO: Processing buffer {"connection_id":56449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:00] local.INFO: Packet analysis {"connection_id":56449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:38:00] local.INFO: Extracted packet for processing {"connection_id":56449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:38: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-04-28 13: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-04-28 13:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:38:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:38:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:38:00] local.INFO: GPS data processed {"connection_id":56449,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:38:00] local.INFO: Acknowledgment sent {"connection_id":56449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:38:14] local.INFO: TCP Data received {"connection_id":56672,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:38:14] local.INFO: Processing buffer {"connection_id":56672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:38:14] local.INFO: IMEI packet received {"connection_id":56672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":56672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:38:14] local.INFO: TCP Data received {"connection_id":56672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31f0230012d19bb8007204ab8002b015528..."} 
[2026-04-28 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31f0230012d19bb8007204ab8002b015528..."} 
[2026-04-28 13:38:14] local.INFO: Processing buffer {"connection_id":56672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31f0230012d19bb8007204ab8002b015528..."} 
[2026-04-28 13:38:14] local.INFO: Packet analysis {"connection_id":56672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:38:14] local.INFO: Extracted packet for processing {"connection_id":56672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119556792,"longitude_deg":75.666112,"latitude_deg":11.9556792,"altitude":43,"angle":341,"satellites":40,"speed":9,"hex_longitude":"2d19bb80","hex_latitude":"07204ab8","is_valid_coordinates":true} 
[2026-04-28 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115578974389665792,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439687501824,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] 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-04-28 13:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777363518000,"timestamp_ms":1777363518000,"timestamp_seconds":1777363518,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31f0230"} 
[2026-04-28 13:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303185443999082,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58075809043709960,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3541984752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950602,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2644246528,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,158,211,45,58,38,10,66,160,64,33,46,137,1,240,82,227,32,4,113,205,14,105,221,88,239,56,2,154,7,8],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:38:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170926826529488896,"timestamp_seconds":3170926826529489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:38:14] 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-04-28 13:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005058816001,"66":13004,"106":206,"83":41984,"24":9,"16":115578974389665792,"45":1854216439687501824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115578974389665792,"km_value":115578974389665.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439687501824,"description":"Unknown IO ID 45"} 
[2026-04-28 13:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005058816001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1854216439687501824}} 
[2026-04-28 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":56672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:38:15] local.INFO: GPS data processed {"connection_id":56672,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:38:15] local.INFO: Acknowledgment sent {"connection_id":56672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:38:32] local.INFO: TCP Data received {"connection_id":56449,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:32] local.INFO: Processing buffer {"connection_id":56449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31d2d70012d7fa44005afde680009011228..."} 
[2026-04-28 13:38:32] local.INFO: Packet analysis {"connection_id":56449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:38:32] local.INFO: Extracted packet for processing {"connection_id":56449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31d"} 
[2026-04-28 13:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004952832001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363398000,"timestamp_ms":1777363398000,"timestamp_seconds":1777363398,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31d2d70"} 
[2026-04-28 13:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 13:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004952832001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004952832001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004952832001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":56449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:38:32] local.INFO: GPS data processed {"connection_id":56449,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:38:32] local.INFO: Acknowledgment sent {"connection_id":56449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:38:46] local.INFO: TCP Data received {"connection_id":56672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31f0618012d19bb4007204b68002b014728..."} 
[2026-04-28 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31f0618012d19bb4007204b68002b014728..."} 
[2026-04-28 13:38:46] local.INFO: Processing buffer {"connection_id":56672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31f0618012d19bb4007204b68002b014728..."} 
[2026-04-28 13:38:46] local.INFO: Packet analysis {"connection_id":56672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:38:46] local.INFO: Extracted packet for processing {"connection_id":56672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119556968,"longitude_deg":75.6661056,"latitude_deg":11.9556968,"altitude":43,"angle":327,"satellites":40,"speed":7,"hex_longitude":"2d19bb40","hex_latitude":"07204b68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005060608001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115578987274567680,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439687985152,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777363519000,"timestamp_ms":1777363519000,"timestamp_seconds":1777363519,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31f0618"} 
[2026-04-28 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-04-28 13:38: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-04-28 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 13:38:46] 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-04-28 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-04-28 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-04-28 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005060608001,"66":13004,"106":206,"83":41984,"24":7,"16":115578987274567680,"45":1854216439687985152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005060608001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:38:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115578987274567680,"km_value":115578987274567.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439687985152,"description":"Unknown IO ID 45"} 
[2026-04-28 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005060608001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1854216439687985152}} 
[2026-04-28 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":56672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:38:46] local.INFO: GPS data processed {"connection_id":56672,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:38:46] local.INFO: Acknowledgment sent {"connection_id":56672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:38:53] local.INFO: TCP Data received {"connection_id":56673,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:53] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:53] local.INFO: IMEI packet received {"connection_id":56673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:38:57] local.INFO: TCP Data received {"connection_id":56673,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:57] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:38:57] local.INFO: IMEI packet received {"connection_id":56673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":56673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:38:58] local.INFO: TCP Data received {"connection_id":56673,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:38:58] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:38:58] local.INFO: Packet analysis {"connection_id":56673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:38:58] local.INFO: Extracted packet for processing {"connection_id":56673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:38: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-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:38: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-04-28 13: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-04-28 13:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:38:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:38:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":56673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:38:58] local.INFO: GPS data processed {"connection_id":56673,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:38:58] local.INFO: Acknowledgment sent {"connection_id":56673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:39:08] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:08] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:08] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:39:09] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:09] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:09] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:39:14] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:14] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:39:14] local.INFO: IMEI packet received {"connection_id":56450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":56450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:39:15] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31f0de8012d19bac007204c78002b015428..."} 
[2026-04-28 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31f0de8012d19bac007204c78002b015428..."} 
[2026-04-28 13:39:15] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31f0de8012d19bac007204c78002b015428..."} 
[2026-04-28 13:39:15] local.INFO: Packet analysis {"connection_id":56450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:39:15] local.INFO: Extracted packet for processing {"connection_id":56450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557240,"longitude_deg":75.6660928,"latitude_deg":11.955724,"altitude":43,"angle":340,"satellites":40,"speed":6,"hex_longitude":"2d19bac0","hex_latitude":"07204c78","is_valid_coordinates":true} 
[2026-04-28 13:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005060864001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579000159469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070943852544,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777363521000,"timestamp_ms":1777363521000,"timestamp_seconds":1777363521,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31f0de8"} 
[2026-04-28 13:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:39: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-04-28 13:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 13:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005060864001,"66":13015,"106":206,"83":41984,"24":6,"16":115579000159469568,"45":1854146070943852544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005060864001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579000159469568,"km_value":115579000159469.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070943852544,"description":"Unknown IO ID 45"} 
[2026-04-28 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005060864001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1854146070943852544}} 
[2026-04-28 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":56450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:39:15] local.INFO: GPS data processed {"connection_id":56450,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:39:15] local.INFO: Acknowledgment sent {"connection_id":56450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:39:30] local.INFO: TCP Data received {"connection_id":56673,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:39:30] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:39:30] local.INFO: Packet analysis {"connection_id":56673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:39:30] local.INFO: Extracted packet for processing {"connection_id":56673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:39: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-04-28 13:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:39:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:39:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":56673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:39:30] local.INFO: GPS data processed {"connection_id":56673,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:39:30] local.INFO: Acknowledgment sent {"connection_id":56673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:39:54] local.INFO: TCP Data received {"connection_id":56674,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:54] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:54] local.INFO: IMEI packet received {"connection_id":56674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":56674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:39:57] local.INFO: TCP Data received {"connection_id":56450,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd31f5ff0012d19bac007204da0002a015427..."} 
[2026-04-28 13:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd31f5ff0012d19bac007204da0002a015427..."} 
[2026-04-28 13:39:57] local.INFO: Processing buffer {"connection_id":56450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd31f5ff0012d19bac007204da0002a015427..."} 
[2026-04-28 13:39:57] local.INFO: Packet analysis {"connection_id":56450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:39:57] local.INFO: Extracted packet for processing {"connection_id":56450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd31f"} 
[2026-04-28 13:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005061376001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455566848,"note":"Value kept but may cause issues"} 
[2026-04-28 13:39: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-04-28 13:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777363542000,"timestamp_ms":1777363542000,"timestamp_seconds":1777363542,"priority":1,"record_length":96,"hex_timestamp":"0000019dd31f5ff0"} 
[2026-04-28 13:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:39: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-04-28 13:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 13:39:57] 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-04-28 13: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-04-28 13:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:39:57] 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-04-28 13:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005061376001,"66":13004,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455566848},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005061376001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:39:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455566848,"description":"Unknown IO ID 45"} 
[2026-04-28 13:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005061376001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455566848}} 
[2026-04-28 13:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":56450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:39:57] local.INFO: GPS data processed {"connection_id":56450,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:39:57] local.INFO: Acknowledgment sent {"connection_id":56450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:39:59] local.INFO: TCP Data received {"connection_id":56674,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:59] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:39:59] local.INFO: IMEI packet received {"connection_id":56674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:40:00] local.INFO: TCP Data received {"connection_id":56674,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:00] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:00] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:40:00] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:40: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-04-28 13: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-04-28 13:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:40:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:40:00] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:40:00] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:40:28] local.INFO: TCP Data received {"connection_id":56675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:40:28] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:40:28] local.INFO: IMEI packet received {"connection_id":56675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":56675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:40:32] local.INFO: TCP Data received {"connection_id":56674,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:32] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:40:32] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:40:32] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:40:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:40:32] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:40:32] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:40:53] local.INFO: TCP Data received {"connection_id":57357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:53] local.INFO: Processing buffer {"connection_id":57357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:53] local.INFO: IMEI packet received {"connection_id":57357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":57357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:40:59] local.INFO: TCP Data received {"connection_id":57357,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:59] local.INFO: Processing buffer {"connection_id":57357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:40:59] local.INFO: IMEI packet received {"connection_id":57357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":57357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:40:59] local.INFO: TCP Data received {"connection_id":56675,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 13:40:59] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 13:40:59] local.INFO: IMEI packet received {"connection_id":56675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:41:01] local.INFO: TCP Data received {"connection_id":57357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:01] local.INFO: Processing buffer {"connection_id":57357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:01] local.INFO: Packet analysis {"connection_id":57357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:41:01] local.INFO: Extracted packet for processing {"connection_id":57357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:41: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-04-28 13: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-04-28 13:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":57357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:41:01] local.INFO: GPS data processed {"connection_id":57357,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:41:01] local.INFO: Acknowledgment sent {"connection_id":57357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:41:16] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:16] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:16] local.INFO: IMEI packet received {"connection_id":56628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":56628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:41:17] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:17] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:17] local.INFO: IMEI packet received {"connection_id":56628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":56628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:41:19] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:19] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:41:19] local.INFO: IMEI packet received {"connection_id":56628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":56628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:41:20] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3233850012d19bac007204da0002a015429..."} 
[2026-04-28 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3233850012d19bac007204da0002a015429..."} 
[2026-04-28 13:41:20] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3233850012d19bac007204da0002a015429..."} 
[2026-04-28 13:41:20] local.INFO: Packet analysis {"connection_id":56628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:41:20] local.INFO: Extracted packet for processing {"connection_id":56628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005125888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777363794000,"timestamp_ms":1777363794000,"timestamp_seconds":1777363794,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3233850"} 
[2026-04-28 13:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:41: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-04-28 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:41:20] 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-04-28 13: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-04-28 13:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005125888001,"66":12722,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005125888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:41:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005125888001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":56628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:41:20] local.INFO: GPS data processed {"connection_id":56628,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:41:20] local.INFO: Acknowledgment sent {"connection_id":56628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:41:24] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3238a58012d19bac007204da0002a015428..."} 
[2026-04-28 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3238a58012d19bac007204da0002a015428..."} 
[2026-04-28 13:41:24] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3238a58012d19bac007204da0002a015428..."} 
[2026-04-28 13:41:24] local.INFO: Packet analysis {"connection_id":56628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:41:24] local.INFO: Extracted packet for processing {"connection_id":56628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005131264001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777363815000,"timestamp_ms":1777363815000,"timestamp_seconds":1777363815,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3238a58"} 
[2026-04-28 13:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:41: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-04-28 13: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":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:41:24] 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-04-28 13:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005131264001,"66":12776,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005131264001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:41:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005131264001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":56628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:41:24] local.INFO: GPS data processed {"connection_id":56628,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:41:24] local.INFO: Acknowledgment sent {"connection_id":56628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:41:32] local.INFO: TCP Data received {"connection_id":57357,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:32] local.INFO: Processing buffer {"connection_id":57357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:41:32] local.INFO: Packet analysis {"connection_id":57357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:41:32] local.INFO: Extracted packet for processing {"connection_id":57357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":57357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:41:32] local.INFO: GPS data processed {"connection_id":57357,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:41:32] local.INFO: Acknowledgment sent {"connection_id":57357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:41:53] local.INFO: TCP Data received {"connection_id":56676,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:53] local.INFO: Processing buffer {"connection_id":56676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:53] local.INFO: IMEI packet received {"connection_id":56676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:41:59] local.INFO: TCP Data received {"connection_id":56676,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:59] local.INFO: Processing buffer {"connection_id":56676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:41:59] local.INFO: IMEI packet received {"connection_id":56676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:42:00] local.INFO: TCP Data received {"connection_id":56676,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:00] local.INFO: Processing buffer {"connection_id":56676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:00] local.INFO: Packet analysis {"connection_id":56676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:42:00] local.INFO: Extracted packet for processing {"connection_id":56676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:42: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-04-28 13:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:42:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:42:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":56676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:42:00] local.INFO: GPS data processed {"connection_id":56676,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:42:00] local.INFO: Acknowledgment sent {"connection_id":56676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:42:09] local.INFO: TCP Data received {"connection_id":57359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:09] local.INFO: Processing buffer {"connection_id":57359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:09] local.INFO: IMEI packet received {"connection_id":57359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":57359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:42:09] local.INFO: TCP Data received {"connection_id":57358,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:09] local.INFO: Processing buffer {"connection_id":57358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:09] local.INFO: IMEI packet received {"connection_id":57358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":57358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:42:14] local.INFO: TCP Data received {"connection_id":57359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:14] local.INFO: Processing buffer {"connection_id":57359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:42:14] local.INFO: IMEI packet received {"connection_id":57359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":57359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:42:15] local.INFO: TCP Data received {"connection_id":57359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd323dc60012d19bac007204da0002a015429..."} 
[2026-04-28 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd323dc60012d19bac007204da0002a015429..."} 
[2026-04-28 13:42:15] local.INFO: Processing buffer {"connection_id":57359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd323dc60012d19bac007204da0002a015429..."} 
[2026-04-28 13:42:15] local.INFO: Packet analysis {"connection_id":57359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:42:15] local.INFO: Extracted packet for processing {"connection_id":57359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd323"} 
[2026-04-28 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005136640001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777363836000,"timestamp_ms":1777363836000,"timestamp_seconds":1777363836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd323dc60"} 
[2026-04-28 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-04-28 13:42: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-04-28 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 13:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005136640001,"66":12722,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005136640001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:42:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005136640001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":57359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:42:15] local.INFO: GPS data processed {"connection_id":57359,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:42:15] local.INFO: Acknowledgment sent {"connection_id":57359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:42:32] local.INFO: TCP Data received {"connection_id":56676,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:32] local.INFO: Processing buffer {"connection_id":56676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:42:32] local.INFO: Packet analysis {"connection_id":56676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:42:32] local.INFO: Extracted packet for processing {"connection_id":56676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:42: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-04-28 13:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:42:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":56676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:42:32] local.INFO: GPS data processed {"connection_id":56676,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:42:32] local.INFO: Acknowledgment sent {"connection_id":56676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:42:39] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:39] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:42:39] local.INFO: IMEI packet received {"connection_id":56629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":56629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:42:59] local.INFO: TCP Data received {"connection_id":57360,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:42:59] local.INFO: Processing buffer {"connection_id":57360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:42:59] local.INFO: IMEI packet received {"connection_id":57360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":57360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:43:04] local.INFO: TCP Data received {"connection_id":57360,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:04] local.INFO: Processing buffer {"connection_id":57360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:04] local.INFO: IMEI packet received {"connection_id":57360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":57360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:43:05] local.INFO: TCP Data received {"connection_id":57360,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:05] local.INFO: Processing buffer {"connection_id":57360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:05] local.INFO: Packet analysis {"connection_id":57360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:43:05] local.INFO: Extracted packet for processing {"connection_id":57360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 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-04-28 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:43:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":57360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:43:05] local.INFO: GPS data processed {"connection_id":57360,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:43:05] local.INFO: Acknowledgment sent {"connection_id":57360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:43:09] local.INFO: TCP Data received {"connection_id":57360,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:09] local.INFO: Processing buffer {"connection_id":57360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd321c538012d7fa44005afde680009011229..."} 
[2026-04-28 13:43:09] local.INFO: Packet analysis {"connection_id":57360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:43:09] local.INFO: Extracted packet for processing {"connection_id":57360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd321"} 
[2026-04-28 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005029888001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777363699000,"timestamp_ms":1777363699000,"timestamp_seconds":1777363699,"priority":1,"record_length":96,"hex_timestamp":"0000019dd321c538"} 
[2026-04-28 13:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005029888001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005029888001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:43:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:43:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005029888001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":57360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:43:09] local.INFO: GPS data processed {"connection_id":57360,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:43:09] local.INFO: Acknowledgment sent {"connection_id":57360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:43:16] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:16] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:16] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:43:17] local.INFO: TCP Data received {"connection_id":57359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3242e68012d19bac007204da0002a015428..."} 
[2026-04-28 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3242e68012d19bac007204da0002a015428..."} 
[2026-04-28 13:43:17] local.INFO: Processing buffer {"connection_id":57359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3242e68012d19bac007204da0002a015428..."} 
[2026-04-28 13:43:17] local.INFO: Packet analysis {"connection_id":57359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:43:17] local.INFO: Extracted packet for processing {"connection_id":57359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005142016001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777363857000,"timestamp_ms":1777363857000,"timestamp_seconds":1777363857,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3242e68"} 
[2026-04-28 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-04-28 13:43: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-04-28 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:43:17] 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-04-28 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-04-28 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-04-28 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005142016001,"66":12722,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005142016001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:43:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005142016001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":57359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:43:17] local.INFO: GPS data processed {"connection_id":57359,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:43:17] local.INFO: Acknowledgment sent {"connection_id":57359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:43:26] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:26] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:43:26] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:43:27] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3248070012d19bac007204da0002a015429..."} 
[2026-04-28 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3248070012d19bac007204da0002a015429..."} 
[2026-04-28 13:43:27] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3248070012d19bac007204da0002a015429..."} 
[2026-04-28 13:43:27] local.INFO: Packet analysis {"connection_id":56630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:43:27] local.INFO: Extracted packet for processing {"connection_id":56630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005147392001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:43: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-04-28 13:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777363878000,"timestamp_ms":1777363878000,"timestamp_seconds":1777363878,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3248070"} 
[2026-04-28 13:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 13:43:27] 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-04-28 13:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:43:27] 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-04-28 13:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005147392001,"66":12645,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005147392001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:43:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005147392001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":56630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:43:27] local.INFO: GPS data processed {"connection_id":56630,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:43:27] local.INFO: Acknowledgment sent {"connection_id":56630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:43:53] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:53] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:53] local.INFO: IMEI packet received {"connection_id":56677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":56677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:43:59] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:59] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:43:59] local.INFO: IMEI packet received {"connection_id":56677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:44:00] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:00] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:00] local.INFO: Packet analysis {"connection_id":56677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:44:00] local.INFO: Extracted packet for processing {"connection_id":56677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:44:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:44:00] local.INFO: GPS data processed {"connection_id":56677,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:44:00] local.INFO: Acknowledgment sent {"connection_id":56677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:44:14] local.INFO: TCP Data received {"connection_id":56452,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:14] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:14] local.INFO: IMEI packet received {"connection_id":56452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:44:19] local.INFO: TCP Data received {"connection_id":56452,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:19] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:44:19] local.INFO: IMEI packet received {"connection_id":56452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":56452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:44:20] local.INFO: TCP Data received {"connection_id":56452,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd324d278012d19bac007204da0002a015429..."} 
[2026-04-28 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd324d278012d19bac007204da0002a015429..."} 
[2026-04-28 13:44:20] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd324d278012d19bac007204da0002a015429..."} 
[2026-04-28 13:44:20] local.INFO: Packet analysis {"connection_id":56452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:44:20] local.INFO: Extracted packet for processing {"connection_id":56452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd324"} 
[2026-04-28 13:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005152768001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777363899000,"timestamp_ms":1777363899000,"timestamp_seconds":1777363899,"priority":1,"record_length":96,"hex_timestamp":"0000019dd324d278"} 
[2026-04-28 13:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:44: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-04-28 13:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 13:44:20] 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-04-28 13:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005152768001,"66":12689,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005152768001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:44:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005152768001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":56452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:44:20] local.INFO: GPS data processed {"connection_id":56452,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:44:20] local.INFO: Acknowledgment sent {"connection_id":56452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:44:23] local.INFO: TCP Data received {"connection_id":56452,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3252480012d19bac007204da0002a01542a..."} 
[2026-04-28 13:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3252480012d19bac007204da0002a01542a..."} 
[2026-04-28 13:44:23] local.INFO: Processing buffer {"connection_id":56452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3252480012d19bac007204da0002a01542a..."} 
[2026-04-28 13:44:23] local.INFO: Packet analysis {"connection_id":56452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:44:23] local.INFO: Extracted packet for processing {"connection_id":56452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005158144001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777363920000,"timestamp_ms":1777363920000,"timestamp_seconds":1777363920,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3252480"} 
[2026-04-28 13:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:44: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-04-28 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 13:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005158144001,"66":12645,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005158144001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:44:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005158144001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":56452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:44:23] local.INFO: GPS data processed {"connection_id":56452,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:44:23] local.INFO: Acknowledgment sent {"connection_id":56452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:44:32] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:32] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:44:32] local.INFO: Packet analysis {"connection_id":56677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:44:32] local.INFO: Extracted packet for processing {"connection_id":56677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":56677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:44:32] local.INFO: GPS data processed {"connection_id":56677,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:44:32] local.INFO: Acknowledgment sent {"connection_id":56677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:44:59] local.INFO: TCP Data received {"connection_id":56454,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:44:59] local.INFO: Processing buffer {"connection_id":56454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:44:59] local.INFO: IMEI packet received {"connection_id":56454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:45:04] local.INFO: TCP Data received {"connection_id":56454,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:04] local.INFO: Processing buffer {"connection_id":56454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:04] local.INFO: IMEI packet received {"connection_id":56454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":56454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:45:06] local.INFO: TCP Data received {"connection_id":56454,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:06] local.INFO: Processing buffer {"connection_id":56454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:06] local.INFO: Packet analysis {"connection_id":56454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:45:06] local.INFO: Extracted packet for processing {"connection_id":56454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:45:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:45:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":56454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:45:06] local.INFO: GPS data processed {"connection_id":56454,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:45:06] local.INFO: Acknowledgment sent {"connection_id":56454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:45:09] local.INFO: TCP Data received {"connection_id":56454,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:09] local.INFO: Processing buffer {"connection_id":56454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:45:09] local.INFO: Packet analysis {"connection_id":56454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:45:09] local.INFO: Extracted packet for processing {"connection_id":56454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:45:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:45:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":56454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:45:09] local.INFO: GPS data processed {"connection_id":56454,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:45:09] local.INFO: Acknowledgment sent {"connection_id":56454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:45:26] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:26] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:26] local.INFO: IMEI packet received {"connection_id":56632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":56632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:45:29] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:29] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:45:29] local.INFO: IMEI packet received {"connection_id":56632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":56632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:45:32] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3257688012d19bac007204da0002a01542a..."} 
[2026-04-28 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3257688012d19bac007204da0002a01542a..."} 
[2026-04-28 13:45:32] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3257688012d19bac007204da0002a01542a..."} 
[2026-04-28 13:45:32] local.INFO: Packet analysis {"connection_id":56632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:45:32] local.INFO: Extracted packet for processing {"connection_id":56632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005163520001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:32] 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-04-28 13:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777363941000,"timestamp_ms":1777363941000,"timestamp_seconds":1777363941,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3257688"} 
[2026-04-28 13:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 13:45: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-04-28 13: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-04-28 13:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005163520001,"66":12591,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005163520001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005163520001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:45:32] local.INFO: GPS data processed {"connection_id":56632,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:45:32] local.INFO: Acknowledgment sent {"connection_id":56632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:45:42] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd325c890012d19bac007204da0002a015428..."} 
[2026-04-28 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd325c890012d19bac007204da0002a015428..."} 
[2026-04-28 13:45:42] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd325c890012d19bac007204da0002a015428..."} 
[2026-04-28 13:45:42] local.INFO: Packet analysis {"connection_id":56632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:45:42] local.INFO: Extracted packet for processing {"connection_id":56632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd325"} 
[2026-04-28 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005168896001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777363962000,"timestamp_ms":1777363962000,"timestamp_seconds":1777363962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd325c890"} 
[2026-04-28 13:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 13:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":56632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":56632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":56632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:45:42] 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-04-28 13:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005168896001,"66":12613,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005168896001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:45:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005168896001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":56632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:45:42] local.INFO: GPS data processed {"connection_id":56632,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:45:42] local.INFO: Acknowledgment sent {"connection_id":56632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:45:53] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:53] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:53] local.INFO: IMEI packet received {"connection_id":56633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:45:59] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:59] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:45:59] local.INFO: IMEI packet received {"connection_id":56633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:46:01] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:02] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:02] local.INFO: Packet analysis {"connection_id":56633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:02] local.INFO: Extracted packet for processing {"connection_id":56633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:46:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:46:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":56633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:46:02] local.INFO: GPS data processed {"connection_id":56633,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:46:02] local.INFO: Acknowledgment sent {"connection_id":56633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:46:08] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:08] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:08] local.INFO: IMEI packet received {"connection_id":56634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":56634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:46:16] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:16] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:16] local.INFO: IMEI packet received {"connection_id":56634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":56634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:46:17] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:17] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:46:17] local.INFO: IMEI packet received {"connection_id":56634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":56634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:46:17] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3261a98012d19bac007204da0002a01542a..."} 
[2026-04-28 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3261a98012d19bac007204da0002a01542a..."} 
[2026-04-28 13:46:17] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3261a98012d19bac007204da0002a01542a..."} 
[2026-04-28 13:46:17] local.INFO: Packet analysis {"connection_id":56634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:17] local.INFO: Extracted packet for processing {"connection_id":56634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005174272001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777363983000,"timestamp_ms":1777363983000,"timestamp_seconds":1777363983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3261a98"} 
[2026-04-28 13:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 13:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005174272001,"66":12667,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005174272001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:46:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005174272001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":56634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:46:17] local.INFO: GPS data processed {"connection_id":56634,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:46:17] local.INFO: Acknowledgment sent {"connection_id":56634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:46:19] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3266ca0012d19bac007204da0002a015426..."} 
[2026-04-28 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3266ca0012d19bac007204da0002a015426..."} 
[2026-04-28 13:46:19] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3266ca0012d19bac007204da0002a015426..."} 
[2026-04-28 13:46:19] local.INFO: Packet analysis {"connection_id":56634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:19] local.INFO: Extracted packet for processing {"connection_id":56634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005179648001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777364004000,"timestamp_ms":1777364004000,"timestamp_seconds":1777364004,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3266ca0"} 
[2026-04-28 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-04-28 13:46: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-04-28 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 13:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:19] 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-04-28 13:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005179648001,"66":12602,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005179648001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:46:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005179648001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":56634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:46:20] local.INFO: GPS data processed {"connection_id":56634,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:46:20] local.INFO: Acknowledgment sent {"connection_id":56634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:46:33] local.INFO: TCP Data received {"connection_id":56633,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:33] local.INFO: Processing buffer {"connection_id":56633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:46:33] local.INFO: Packet analysis {"connection_id":56633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:33] local.INFO: Extracted packet for processing {"connection_id":56633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":56633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:46:33] local.INFO: GPS data processed {"connection_id":56633,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:46:33] local.INFO: Acknowledgment sent {"connection_id":56633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:46:53] local.INFO: TCP Data received {"connection_id":56456,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:53] local.INFO: Processing buffer {"connection_id":56456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:53] local.INFO: IMEI packet received {"connection_id":56456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":56456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:46:53] local.INFO: TCP Data received {"connection_id":56634,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd326bea8012d19bac007204da0002a015429..."} 
[2026-04-28 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd326bea8012d19bac007204da0002a015429..."} 
[2026-04-28 13:46:53] local.INFO: Processing buffer {"connection_id":56634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd326bea8012d19bac007204da0002a015429..."} 
[2026-04-28 13:46:53] local.INFO: Packet analysis {"connection_id":56634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:53] local.INFO: Extracted packet for processing {"connection_id":56634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005185024001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777364025000,"timestamp_ms":1777364025000,"timestamp_seconds":1777364025,"priority":1,"record_length":96,"hex_timestamp":"0000019dd326bea8"} 
[2026-04-28 13:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:46: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-04-28 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 13:46:53] 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-04-28 13: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-04-28 13:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:46:53] 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-04-28 13:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005185024001,"66":12613,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005185024001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:46:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005185024001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":56634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:46:53] local.INFO: GPS data processed {"connection_id":56634,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:46:53] local.INFO: Acknowledgment sent {"connection_id":56634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:46:59] local.INFO: TCP Data received {"connection_id":56456,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:59] local.INFO: Processing buffer {"connection_id":56456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:46:59] local.INFO: IMEI packet received {"connection_id":56456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:47:00] local.INFO: TCP Data received {"connection_id":56456,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:00] local.INFO: Processing buffer {"connection_id":56456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:00] local.INFO: Packet analysis {"connection_id":56456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:47:00] local.INFO: Extracted packet for processing {"connection_id":56456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":56456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:47:00] local.INFO: GPS data processed {"connection_id":56456,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:47:00] local.INFO: Acknowledgment sent {"connection_id":56456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:47:09] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:09] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:09] local.INFO: IMEI packet received {"connection_id":56457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":56457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:47:14] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: IMEI packet received {"connection_id":56457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":56457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:47:14] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:47:14] local.INFO: IMEI packet received {"connection_id":56457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":56457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:47:15] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32710b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32710b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:47:15] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32710b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:47:15] local.INFO: Packet analysis {"connection_id":56457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:15] local.INFO: Extracted packet for processing {"connection_id":56457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005190400001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364046000,"timestamp_ms":1777364046000,"timestamp_seconds":1777364046,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32710b0"} 
[2026-04-28 13:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 13:47:15] 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-04-28 13:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005190400001,"66":12580,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005190400001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:47:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005190400001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":56457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:47:15] local.INFO: GPS data processed {"connection_id":56457,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:47:15] local.INFO: Acknowledgment sent {"connection_id":56457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:47:19] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32762b8012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32762b8012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:20] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32762b8012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:20] local.INFO: Packet analysis {"connection_id":56457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:20] local.INFO: Extracted packet for processing {"connection_id":56457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005195776001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777364067000,"timestamp_ms":1777364067000,"timestamp_seconds":1777364067,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32762b8"} 
[2026-04-28 13:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:47: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-04-28 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 13:47:20] 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-04-28 13: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-04-28 13:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005195776001,"66":12548,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005195776001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:47:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005195776001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":56457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:47:20] local.INFO: GPS data processed {"connection_id":56457,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:47:20] local.INFO: Acknowledgment sent {"connection_id":56457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:47:32] local.INFO: TCP Data received {"connection_id":56456,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:32] local.INFO: Processing buffer {"connection_id":56456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:47:32] local.INFO: Packet analysis {"connection_id":56456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:47:32] local.INFO: Extracted packet for processing {"connection_id":56456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:47:32] local.INFO: GPS data processed {"connection_id":56456,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:47:32] local.INFO: Acknowledgment sent {"connection_id":56456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:47:51] local.INFO: TCP Data received {"connection_id":56457,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd327b4c0012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd327b4c0012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:51] local.INFO: Processing buffer {"connection_id":56457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd327b4c0012d19bac007204da0002a015429..."} 
[2026-04-28 13:47:51] local.INFO: Packet analysis {"connection_id":56457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:51] local.INFO: Extracted packet for processing {"connection_id":56457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd327"} 
[2026-04-28 13:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005201152001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777364088000,"timestamp_ms":1777364088000,"timestamp_seconds":1777364088,"priority":1,"record_length":96,"hex_timestamp":"0000019dd327b4c0"} 
[2026-04-28 13:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3542447752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:47:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2415996185,"corrected_to":0} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692493,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2659188736,"note":"Value kept but may cause issues"} 
[2026-04-28 13:47:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,158,45,192,77,42,10,66,190,41,108,1,240,58,227,211,32,4,113,205,200,186,160,40,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":2415996185,"validated":0}]} 
[2026-04-28 13:47:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026792959640076288,"timestamp_seconds":3026792959640076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005201152001,"66":12591,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005201152001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:47:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005201152001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":56457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:47:51] local.INFO: GPS data processed {"connection_id":56457,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:47:51] local.INFO: Acknowledgment sent {"connection_id":56457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:47:59] local.INFO: TCP Data received {"connection_id":56635,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:47:59] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:47:59] local.INFO: IMEI packet received {"connection_id":56635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:48:04] local.INFO: TCP Data received {"connection_id":56635,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:04] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:04] local.INFO: IMEI packet received {"connection_id":56635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":56635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:48:04] local.INFO: TCP Data received {"connection_id":56679,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:04] local.INFO: Processing buffer {"connection_id":56679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:04] local.INFO: IMEI packet received {"connection_id":56679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":56679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:48:05] local.INFO: TCP Data received {"connection_id":56635,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:05] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:05] local.INFO: Packet analysis {"connection_id":56635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:48:05] local.INFO: Extracted packet for processing {"connection_id":56635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:48:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:48:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":56635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:48:05] local.INFO: GPS data processed {"connection_id":56635,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:48:05] local.INFO: Acknowledgment sent {"connection_id":56635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:48:10] local.INFO: TCP Data received {"connection_id":56635,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:10] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3265d00012d7fa44005afde680009011229..."} 
[2026-04-28 13:48:10] local.INFO: Packet analysis {"connection_id":56635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:48:10] local.INFO: Extracted packet for processing {"connection_id":56635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd326"} 
[2026-04-28 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005106944001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777364000000,"timestamp_ms":1777364000000,"timestamp_seconds":1777364000,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3265d00"} 
[2026-04-28 13:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005106944001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005106944001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:48:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:48:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005106944001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":56635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:48:10] local.INFO: GPS data processed {"connection_id":56635,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:48:10] local.INFO: Acknowledgment sent {"connection_id":56635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:48:16] local.INFO: TCP Data received {"connection_id":56458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: Processing buffer {"connection_id":56458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: IMEI packet received {"connection_id":56458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":56458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:48:16] local.INFO: TCP Data received {"connection_id":56458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: Processing buffer {"connection_id":56458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:16] local.INFO: IMEI packet received {"connection_id":56458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":56458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:48:19] local.INFO: TCP Data received {"connection_id":56458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:19] local.INFO: Processing buffer {"connection_id":56458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:48:19] local.INFO: IMEI packet received {"connection_id":56458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":56458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:48:19] local.INFO: TCP Data received {"connection_id":56458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32806c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32806c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:48:19] local.INFO: Processing buffer {"connection_id":56458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32806c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:48:19] local.INFO: Packet analysis {"connection_id":56458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:48:19] local.INFO: Extracted packet for processing {"connection_id":56458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005206528001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777364109000,"timestamp_ms":1777364109000,"timestamp_seconds":1777364109,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32806c8"} 
[2026-04-28 13:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:48: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-04-28 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 13:48:19] 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-04-28 13: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-04-28 13:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:48:19] 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-04-28 13:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005206528001,"66":12558,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005206528001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:48:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005206528001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":56458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:48:19] local.INFO: GPS data processed {"connection_id":56458,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:48:19] local.INFO: Acknowledgment sent {"connection_id":56458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:48:26] local.INFO: TCP Data received {"connection_id":56458,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32858d0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32858d0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:48:26] local.INFO: Processing buffer {"connection_id":56458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32858d0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:48:26] local.INFO: Packet analysis {"connection_id":56458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:48:26] local.INFO: Extracted packet for processing {"connection_id":56458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005211904001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48: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-04-28 13:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777364130000,"timestamp_ms":1777364130000,"timestamp_seconds":1777364130,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32858d0"} 
[2026-04-28 13:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:48: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-04-28 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3542489752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833940040568224,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692493,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2659188736,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 13:48:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,158,180,45,192,77,42,41,10,66,98,1,240,36,227,211,32,4,113,205,108,186,160,38,239,49,2,154,7,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:48:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026792959640076288,"timestamp_seconds":3026792959640076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:48:26] 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-04-28 13:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005211904001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005211904001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:48:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005211904001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":56458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:48:26] local.INFO: GPS data processed {"connection_id":56458,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:48:26] local.INFO: Acknowledgment sent {"connection_id":56458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:48:34] local.INFO: TCP Data received {"connection_id":56636,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:34] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:48:34] local.INFO: IMEI packet received {"connection_id":56636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":56636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:48:54] local.INFO: TCP Data received {"connection_id":56680,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:54] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:54] local.INFO: IMEI packet received {"connection_id":56680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":56680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:48:59] local.INFO: TCP Data received {"connection_id":56680,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:59] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:48:59] local.INFO: IMEI packet received {"connection_id":56680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:49:00] local.INFO: TCP Data received {"connection_id":56680,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:00] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:00] local.INFO: Packet analysis {"connection_id":56680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:49:00] local.INFO: Extracted packet for processing {"connection_id":56680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":56680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:49:00] local.INFO: GPS data processed {"connection_id":56680,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:49:00] local.INFO: Acknowledgment sent {"connection_id":56680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:49:11] local.INFO: TCP Data received {"connection_id":57361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:11] local.INFO: Processing buffer {"connection_id":57361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:11] local.INFO: IMEI packet received {"connection_id":57361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":57361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:49:14] local.INFO: TCP Data received {"connection_id":57361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:14] local.INFO: Processing buffer {"connection_id":57361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:49:14] local.INFO: IMEI packet received {"connection_id":57361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":57361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:49:17] local.INFO: TCP Data received {"connection_id":57361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd328aad8012d19bac007204da0002a015429..."} 
[2026-04-28 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd328aad8012d19bac007204da0002a015429..."} 
[2026-04-28 13:49:17] local.INFO: Processing buffer {"connection_id":57361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd328aad8012d19bac007204da0002a015429..."} 
[2026-04-28 13:49:17] local.INFO: Packet analysis {"connection_id":57361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:49:17] local.INFO: Extracted packet for processing {"connection_id":57361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005217280001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777364151000,"timestamp_ms":1777364151000,"timestamp_seconds":1777364151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd328aad8"} 
[2026-04-28 13:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:49: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-04-28 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005217280001,"66":12558,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005217280001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:49:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005217280001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":57361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:49:17] local.INFO: GPS data processed {"connection_id":57361,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:49:17] local.INFO: Acknowledgment sent {"connection_id":57361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:49:32] local.INFO: TCP Data received {"connection_id":56680,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:32] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:49:32] local.INFO: Packet analysis {"connection_id":56680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:49:32] local.INFO: Extracted packet for processing {"connection_id":56680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:49:32] local.INFO: GPS data processed {"connection_id":56680,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:49:32] local.INFO: Acknowledgment sent {"connection_id":56680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:49:48] local.INFO: TCP Data received {"connection_id":57361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd328fce0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd328fce0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:49:48] local.INFO: Processing buffer {"connection_id":57361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd328fce0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:49:48] local.INFO: Packet analysis {"connection_id":57361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:49:48] local.INFO: Extracted packet for processing {"connection_id":57361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd328"} 
[2026-04-28 13:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005222656001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777364172000,"timestamp_ms":1777364172000,"timestamp_seconds":1777364172,"priority":1,"record_length":96,"hex_timestamp":"0000019dd328fce0"} 
[2026-04-28 13:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:49: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-04-28 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3542531752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833940040568224,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692493,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2659188736,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 13:49:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,158,88,45,192,77,42,10,66,6,41,180,1,240,47,227,211,32,4,113,205,186,160,239,49,2,154,7,84,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:49:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026792959640076288,"timestamp_seconds":3026792959640076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:49:48] 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-04-28 13:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005222656001,"66":12548,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005222656001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:49:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005222656001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":57361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:49:48] local.INFO: GPS data processed {"connection_id":57361,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:49:48] local.INFO: Acknowledgment sent {"connection_id":57361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:49:53] local.INFO: TCP Data received {"connection_id":56638,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:53] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:53] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:49:59] local.INFO: TCP Data received {"connection_id":56638,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:59] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:49:59] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:50:00] local.INFO: TCP Data received {"connection_id":56638,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:00] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:00] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:50:00] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:50:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:50:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:50:00] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:50:00] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:50:09] local.INFO: TCP Data received {"connection_id":56639,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:09] local.INFO: Processing buffer {"connection_id":56639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:09] local.INFO: IMEI packet received {"connection_id":56639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":56639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:50:14] local.INFO: TCP Data received {"connection_id":56639,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:14] local.INFO: Processing buffer {"connection_id":56639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:50:14] local.INFO: IMEI packet received {"connection_id":56639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":56639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:50:15] local.INFO: TCP Data received {"connection_id":56639,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3294ee8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3294ee8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:15] local.INFO: Processing buffer {"connection_id":56639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3294ee8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:15] local.INFO: Packet analysis {"connection_id":56639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:50:15] local.INFO: Extracted packet for processing {"connection_id":56639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005228032001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364193000,"timestamp_ms":1777364193000,"timestamp_seconds":1777364193,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3294ee8"} 
[2026-04-28 13:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3542552752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692493,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2659188736,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:15] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,158,170,45,192,77,42,41,10,66,88,6,1,240,14,227,211,32,4,113,205,98,186,160,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:50:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026792963935043584,"timestamp_seconds":3026792963935043.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005228032001,"66":12548,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005228032001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:50:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005228032001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":56639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:50:15] local.INFO: GPS data processed {"connection_id":56639,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:50:15] local.INFO: Acknowledgment sent {"connection_id":56639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:50:32] local.INFO: TCP Data received {"connection_id":56638,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:32] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:50:32] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:50:32] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:50:32] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:50:32] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:50:56] local.INFO: TCP Data received {"connection_id":56639,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd329a0f0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd329a0f0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:56] local.INFO: Processing buffer {"connection_id":56639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd329a0f0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:50:56] local.INFO: Packet analysis {"connection_id":56639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:50:56] local.INFO: Extracted packet for processing {"connection_id":56639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005233408001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777364214000,"timestamp_ms":1777364214000,"timestamp_seconds":1777364214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd329a0f0"} 
[2026-04-28 13:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:50: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-04-28 13:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3542573752,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692493,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2659188736,"note":"Value kept but may cause issues"} 
[2026-04-28 13:50:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,158,252,45,192,77,42,10,66,170,41,88,1,240,216,227,211,32,4,113,205,180,186,160,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 13:50:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026792963935043584,"timestamp_seconds":3026792963935043.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 13:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:50:56] 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-04-28 13:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005233408001,"66":12537,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005233408001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:50:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005233408001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":56639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:50:56] local.INFO: GPS data processed {"connection_id":56639,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:50:56] local.INFO: Acknowledgment sent {"connection_id":56639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:50:59] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:50:59] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:50:59] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:51:04] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:04] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:04] local.INFO: IMEI packet received {"connection_id":56459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":56459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:51:05] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:05] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:05] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:05] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:51:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:51:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:51:05] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:51:05] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:51:09] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:09] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:09] local.INFO: IMEI packet received {"connection_id":56682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":56682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:51:09] local.INFO: TCP Data received {"connection_id":56459,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:09] local.INFO: Processing buffer {"connection_id":56459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:51:09] local.INFO: Packet analysis {"connection_id":56459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:09] local.INFO: Extracted packet for processing {"connection_id":56459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":56459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:51:09] local.INFO: GPS data processed {"connection_id":56459,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:51:09] local.INFO: Acknowledgment sent {"connection_id":56459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:51:14] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:14] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:51:14] local.INFO: IMEI packet received {"connection_id":56682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":56682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:51:15] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd329f2f8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd329f2f8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:51:15] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd329f2f8012d19bac007204da0002a01542a..."} 
[2026-04-28 13:51:15] local.INFO: Packet analysis {"connection_id":56682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:51:15] local.INFO: Extracted packet for processing {"connection_id":56682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd329"} 
[2026-04-28 13:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005238784001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364235000,"timestamp_ms":1777364235000,"timestamp_seconds":1777364235,"priority":1,"record_length":96,"hex_timestamp":"0000019dd329f2f8"} 
[2026-04-28 13:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:51: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-04-28 13:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 13:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:51:15] 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-04-28 13:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005238784001,"66":12526,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005238784001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:51:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005238784001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":56682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:51:15] local.INFO: GPS data processed {"connection_id":56682,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:51:15] local.INFO: Acknowledgment sent {"connection_id":56682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:51:46] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32a4500012d19bac007204da0002a015429..."} 
[2026-04-28 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32a4500012d19bac007204da0002a015429..."} 
[2026-04-28 13:51:46] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32a4500012d19bac007204da0002a015429..."} 
[2026-04-28 13:51:46] local.INFO: Packet analysis {"connection_id":56682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:46] local.INFO: Extracted packet for processing {"connection_id":56682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005244160001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777364256000,"timestamp_ms":1777364256000,"timestamp_seconds":1777364256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32a4500"} 
[2026-04-28 13:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:51: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-04-28 13:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 13:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005244160001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005244160001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:51:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005244160001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":56682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:51:46] local.INFO: GPS data processed {"connection_id":56682,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:51:46] local.INFO: Acknowledgment sent {"connection_id":56682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:51:54] local.INFO: TCP Data received {"connection_id":56640,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:54] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:54] local.INFO: IMEI packet received {"connection_id":56640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":56640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:51:59] local.INFO: TCP Data received {"connection_id":56640,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:59] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:51:59] local.INFO: IMEI packet received {"connection_id":56640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:52:01] local.INFO: TCP Data received {"connection_id":56640,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:01] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:01] local.INFO: Packet analysis {"connection_id":56640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:52:01] local.INFO: Extracted packet for processing {"connection_id":56640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:52:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":56640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:52:01] local.INFO: GPS data processed {"connection_id":56640,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:52:01] local.INFO: Acknowledgment sent {"connection_id":56640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:52:14] local.INFO: TCP Data received {"connection_id":56460,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:14] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:14] local.INFO: IMEI packet received {"connection_id":56460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":56460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:52:19] local.INFO: TCP Data received {"connection_id":56460,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:19] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:52:19] local.INFO: IMEI packet received {"connection_id":56460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":56460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:52:20] local.INFO: TCP Data received {"connection_id":56460,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32cd540012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32cd540012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:20] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32cd540012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:20] local.INFO: Packet analysis {"connection_id":56460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32c"} 
[2026-04-28 13:52:20] local.INFO: Extracted packet for processing {"connection_id":56460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32c"} 
[2026-04-28 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005287168001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777364424000,"timestamp_ms":1777364424000,"timestamp_seconds":1777364424,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32cd540"} 
[2026-04-28 13:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:52: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-04-28 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:52:20] 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-04-28 13: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-04-28 13:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005287168001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005287168001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:52:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005287168001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":56460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:52:20] local.INFO: GPS data processed {"connection_id":56460,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:52:20] local.INFO: Acknowledgment sent {"connection_id":56460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:52:32] local.INFO: TCP Data received {"connection_id":56640,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:32] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:52:32] local.INFO: Packet analysis {"connection_id":56640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:52:32] local.INFO: Extracted packet for processing {"connection_id":56640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":56640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:52:32] local.INFO: GPS data processed {"connection_id":56640,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:52:32] local.INFO: Acknowledgment sent {"connection_id":56640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:52:51] local.INFO: TCP Data received {"connection_id":56460,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32d2748012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32d2748012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:51] local.INFO: Processing buffer {"connection_id":56460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32d2748012d19bac007204da0002a01542a..."} 
[2026-04-28 13:52:51] local.INFO: Packet analysis {"connection_id":56460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:52:51] local.INFO: Extracted packet for processing {"connection_id":56460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005292544001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777364445000,"timestamp_ms":1777364445000,"timestamp_seconds":1777364445,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32d2748"} 
[2026-04-28 13:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:52: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-04-28 13:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005292544001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005292544001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:52:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005292544001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":56460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:52:51] local.INFO: GPS data processed {"connection_id":56460,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:52:51] local.INFO: Acknowledgment sent {"connection_id":56460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:52:53] local.INFO: TCP Data received {"connection_id":57363,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:53] local.INFO: Processing buffer {"connection_id":57363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:53] local.INFO: IMEI packet received {"connection_id":57363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":57363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:52:59] local.INFO: TCP Data received {"connection_id":57363,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:59] local.INFO: Processing buffer {"connection_id":57363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:52:59] local.INFO: IMEI packet received {"connection_id":57363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":57363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:53:00] local.INFO: TCP Data received {"connection_id":57363,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:00] local.INFO: Processing buffer {"connection_id":57363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:00] local.INFO: Packet analysis {"connection_id":57363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:53:00] local.INFO: Extracted packet for processing {"connection_id":57363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":57363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:53:00] local.INFO: GPS data processed {"connection_id":57363,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:53:00] local.INFO: Acknowledgment sent {"connection_id":57363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:53:08] local.INFO: TCP Data received {"connection_id":57364,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:08] local.INFO: Processing buffer {"connection_id":57364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:08] local.INFO: IMEI packet received {"connection_id":57364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":57364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:53:09] local.INFO: TCP Data received {"connection_id":57364,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:09] local.INFO: Processing buffer {"connection_id":57364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:09] local.INFO: IMEI packet received {"connection_id":57364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":57364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:53:14] local.INFO: TCP Data received {"connection_id":57364,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:14] local.INFO: Processing buffer {"connection_id":57364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:53:14] local.INFO: IMEI packet received {"connection_id":57364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":57364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:53:15] local.INFO: TCP Data received {"connection_id":57364,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32d7950012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32d7950012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:15] local.INFO: Processing buffer {"connection_id":57364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32d7950012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:15] local.INFO: Packet analysis {"connection_id":57364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:53:15] local.INFO: Extracted packet for processing {"connection_id":57364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005297920001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364466000,"timestamp_ms":1777364466000,"timestamp_seconds":1777364466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32d7950"} 
[2026-04-28 13:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:53: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-04-28 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005297920001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005297920001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:53:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005297920001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":57364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:53:15] local.INFO: GPS data processed {"connection_id":57364,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:53:15] local.INFO: Acknowledgment sent {"connection_id":57364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:53:32] local.INFO: TCP Data received {"connection_id":57363,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:32] local.INFO: Processing buffer {"connection_id":57363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:53:32] local.INFO: Packet analysis {"connection_id":57363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:53:32] local.INFO: Extracted packet for processing {"connection_id":57363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":57363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:53:32] local.INFO: GPS data processed {"connection_id":57363,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:53:32] local.INFO: Acknowledgment sent {"connection_id":57363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:53:46] local.INFO: TCP Data received {"connection_id":57364,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32dcb58012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32dcb58012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:46] local.INFO: Processing buffer {"connection_id":57364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32dcb58012d19bac007204da0002a01542a..."} 
[2026-04-28 13:53:46] local.INFO: Packet analysis {"connection_id":57364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:53:46] local.INFO: Extracted packet for processing {"connection_id":57364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32d"} 
[2026-04-28 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005303296001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777364487000,"timestamp_ms":1777364487000,"timestamp_seconds":1777364487,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32dcb58"} 
[2026-04-28 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-04-28 13:53: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005303296001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005303296001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:53:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005303296001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":57364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:53:46] local.INFO: GPS data processed {"connection_id":57364,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:53:46] local.INFO: Acknowledgment sent {"connection_id":57364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:53:53] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:53] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:53] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:53:59] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:59] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:53:59] local.INFO: IMEI packet received {"connection_id":56461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:53:59] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:53:59] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:53:59] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:54:00] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:54:00] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32af4c8012d7fa44005afde68000901122a..."} 
[2026-04-28 13:54:00] local.INFO: Packet analysis {"connection_id":56461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:54:00] local.INFO: Extracted packet for processing {"connection_id":56461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32a"} 
[2026-04-28 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005184000001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364301000,"timestamp_ms":1777364301000,"timestamp_seconds":1777364301,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32af4c8"} 
[2026-04-28 13:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005184000001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005184000001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:54:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005184000001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":56461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:01] local.INFO: GPS data processed {"connection_id":56461,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:01] local.INFO: Acknowledgment sent {"connection_id":56461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:09] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:09] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:09] local.INFO: IMEI packet received {"connection_id":56642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":56642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:54:12] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:12] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:12] local.INFO: IMEI packet received {"connection_id":56642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":56642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:54:14] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:14] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:54:14] local.INFO: IMEI packet received {"connection_id":56642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":56642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:54:15] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32e1d60012d19bac007204da0002a015429..."} 
[2026-04-28 13:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32e1d60012d19bac007204da0002a015429..."} 
[2026-04-28 13:54:15] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32e1d60012d19bac007204da0002a015429..."} 
[2026-04-28 13:54:15] local.INFO: Packet analysis {"connection_id":56642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:15] local.INFO: Extracted packet for processing {"connection_id":56642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005308672001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364508000,"timestamp_ms":1777364508000,"timestamp_seconds":1777364508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32e1d60"} 
[2026-04-28 13:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:54: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-04-28 13:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005308672001,"66":12493,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005308672001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005308672001,"power":12493,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":56642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:15] local.INFO: GPS data processed {"connection_id":56642,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:15] local.INFO: Acknowledgment sent {"connection_id":56642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:22] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32e6f68012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32e6f68012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:22] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32e6f68012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:22] local.INFO: Packet analysis {"connection_id":56642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:22] local.INFO: Extracted packet for processing {"connection_id":56642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005314048001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777364529000,"timestamp_ms":1777364529000,"timestamp_seconds":1777364529,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32e6f68"} 
[2026-04-28 13:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:54: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-04-28 13:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005314048001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005314048001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005314048001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":56642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:22] local.INFO: GPS data processed {"connection_id":56642,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:22] local.INFO: Acknowledgment sent {"connection_id":56642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:31] local.INFO: TCP Data received {"connection_id":56461,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:54:31] local.INFO: Processing buffer {"connection_id":56461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:54:31] local.INFO: Packet analysis {"connection_id":56461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:54:31] local.INFO: Extracted packet for processing {"connection_id":56461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 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-04-28 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:31] 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-04-28 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-04-28 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-04-28 13:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:54:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":56461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:31] local.INFO: GPS data processed {"connection_id":56461,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:31] local.INFO: Acknowledgment sent {"connection_id":56461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:34] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:34] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:34] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:54:39] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:39] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:54:39] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 13:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:54:40] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3047938012cb29ac007822ea0004400192b..."} 
[2026-04-28 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3047938012cb29ac007822ea0004400192b..."} 
[2026-04-28 13:54:40] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3047938012cb29ac007822ea0004400192b..."} 
[2026-04-28 13:54:40] local.INFO: Packet analysis {"connection_id":56643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:54:40] local.INFO: Extracted packet for processing {"connection_id":56643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd304"} 
[2026-04-28 13:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972128,"longitude_deg":74.9902528,"latitude_deg":12.5972128,"altitude":68,"angle":25,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea0","is_valid_coordinates":true} 
[2026-04-28 13:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455004538368001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063540224,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777361779000,"timestamp_ms":1777361779000,"timestamp_seconds":1777361779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3047938"} 
[2026-04-28 13:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:54:40] 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-04-28 13:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:54: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-04-28 13:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 13:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 13:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 13:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 13:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455004538368001,"66":25093,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063540224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 13:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 13:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 13:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455004538368001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 13:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 13:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063540224,"description":"Unknown IO ID 44"} 
[2026-04-28 13:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455004538368001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063540224}} 
[2026-04-28 13:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":56643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:40] local.INFO: GPS data processed {"connection_id":56643,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:40] local.INFO: Acknowledgment sent {"connection_id":56643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:53] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32ec170012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32ec170012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:53] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32ec170012d19bac007204da0002a01542a..."} 
[2026-04-28 13:54:53] local.INFO: Packet analysis {"connection_id":56642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:53] local.INFO: Extracted packet for processing {"connection_id":56642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32e"} 
[2026-04-28 13:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005319424001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777364550000,"timestamp_ms":1777364550000,"timestamp_seconds":1777364550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32ec170"} 
[2026-04-28 13:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:54: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-04-28 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005319424001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005319424001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:54:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005319424001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:54:53] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:53] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:53] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":56642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:54:53] local.INFO: GPS data processed {"connection_id":56642,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:54:53] local.INFO: Acknowledgment sent {"connection_id":56642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:54:59] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:59] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:54:59] local.INFO: IMEI packet received {"connection_id":56462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:55:01] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:01] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:01] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:01] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:55:01] 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-04-28 13:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:55:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:55:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:55:01] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:55:01] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:55:09] local.INFO: TCP Data received {"connection_id":57365,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:09] local.INFO: Processing buffer {"connection_id":57365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:09] local.INFO: IMEI packet received {"connection_id":57365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":57365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:55:14] local.INFO: TCP Data received {"connection_id":57365,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:14] local.INFO: Processing buffer {"connection_id":57365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:55:14] local.INFO: IMEI packet received {"connection_id":57365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":57365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:55:15] local.INFO: TCP Data received {"connection_id":57365,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f1378012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f1378012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:15] local.INFO: Processing buffer {"connection_id":57365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f1378012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:15] local.INFO: Packet analysis {"connection_id":57365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:15] local.INFO: Extracted packet for processing {"connection_id":57365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005324800001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364571000,"timestamp_ms":1777364571000,"timestamp_seconds":1777364571,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f1378"} 
[2026-04-28 13:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:55: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-04-28 13:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005324800001,"66":12504,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005324800001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005324800001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":57365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:55:15] local.INFO: GPS data processed {"connection_id":57365,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:55:15] local.INFO: Acknowledgment sent {"connection_id":57365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:55:33] local.INFO: TCP Data received {"connection_id":56462,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:33] local.INFO: Processing buffer {"connection_id":56462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:55:33] local.INFO: Packet analysis {"connection_id":56462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:33] local.INFO: Extracted packet for processing {"connection_id":56462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:55:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:55:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":56462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:55:33] local.INFO: GPS data processed {"connection_id":56462,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:55:33] local.INFO: Acknowledgment sent {"connection_id":56462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:55:34] local.INFO: TCP Data received {"connection_id":56684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:55:34] local.INFO: Processing buffer {"connection_id":56684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:55:34] local.INFO: IMEI packet received {"connection_id":56684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":56684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:55:46] local.INFO: TCP Data received {"connection_id":57365,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f6580012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f6580012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:46] local.INFO: Processing buffer {"connection_id":57365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f6580012d19bac007204da0002a01542a..."} 
[2026-04-28 13:55:46] local.INFO: Packet analysis {"connection_id":57365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:46] local.INFO: Extracted packet for processing {"connection_id":57365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005330176001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777364592000,"timestamp_ms":1777364592000,"timestamp_seconds":1777364592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f6580"} 
[2026-04-28 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-04-28 13:55: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005330176001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005330176001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:55:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005330176001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":57365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:55:46] local.INFO: GPS data processed {"connection_id":57365,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:55:46] local.INFO: Acknowledgment sent {"connection_id":57365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:55:53] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:53] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:53] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:55:59] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:59] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:55:59] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:56:00] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:00] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:00] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:00] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:56:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:56:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:56:00] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:56:00] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:56:09] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:09] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:09] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:56:14] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:14] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:56:14] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:56:15] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32fb788012d19bac007204da0002a015428..."} 
[2026-04-28 13:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32fb788012d19bac007204da0002a015428..."} 
[2026-04-28 13:56:15] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32fb788012d19bac007204da0002a015428..."} 
[2026-04-28 13:56:15] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:15] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005335552001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364613000,"timestamp_ms":1777364613000,"timestamp_seconds":1777364613,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32fb788"} 
[2026-04-28 13:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:56: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-04-28 13:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005335552001,"66":12319,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005335552001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:56:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005335552001,"power":12319,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:56:15] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:56:15] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:56:32] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:32] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:56:32] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:32] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:56: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-04-28 13:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:56:32] 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-04-28 13:56: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-04-28 13:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:56:32] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:56:32] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:56:46] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3300990012d19bac007204da0002a015429..."} 
[2026-04-28 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3300990012d19bac007204da0002a015429..."} 
[2026-04-28 13:56:46] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3300990012d19bac007204da0002a015429..."} 
[2026-04-28 13:56:46] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:56:46] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005340928001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777364634000,"timestamp_ms":1777364634000,"timestamp_seconds":1777364634,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3300990"} 
[2026-04-28 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-04-28 13:56: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-04-28 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-28 13:56: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-04-28 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-04-28 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-04-28 13:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005340928001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005340928001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005340928001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:56:46] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:56:46] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:56:59] local.INFO: TCP Data received {"connection_id":57366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:56:59] local.INFO: Processing buffer {"connection_id":57366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:56:59] local.INFO: IMEI packet received {"connection_id":57366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":57366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:57:04] local.INFO: TCP Data received {"connection_id":57366,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:04] local.INFO: Processing buffer {"connection_id":57366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:04] local.INFO: IMEI packet received {"connection_id":57366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":57366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:57:05] local.INFO: TCP Data received {"connection_id":57366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:05] local.INFO: Processing buffer {"connection_id":57366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:05] local.INFO: Packet analysis {"connection_id":57366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:57:05] local.INFO: Extracted packet for processing {"connection_id":57366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:57:05] 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-04-28 13: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-04-28 13:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:57:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:57:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":57366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:57:05] local.INFO: GPS data processed {"connection_id":57366,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:57:05] local.INFO: Acknowledgment sent {"connection_id":57366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:57:09] local.INFO: TCP Data received {"connection_id":57366,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:09] local.INFO: Processing buffer {"connection_id":57366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:57:09] local.INFO: Packet analysis {"connection_id":57366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:57:09] local.INFO: Extracted packet for processing {"connection_id":57366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:57:09] 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-04-28 13:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":57366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:57:09] local.INFO: GPS data processed {"connection_id":57366,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:57:09] local.INFO: Acknowledgment sent {"connection_id":57366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:57:14] local.INFO: TCP Data received {"connection_id":56645,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:14] local.INFO: Processing buffer {"connection_id":56645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:14] local.INFO: IMEI packet received {"connection_id":56645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":56645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:57:19] local.INFO: TCP Data received {"connection_id":56645,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:19] local.INFO: Processing buffer {"connection_id":56645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:57:19] local.INFO: IMEI packet received {"connection_id":56645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":56645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:57:20] local.INFO: TCP Data received {"connection_id":56645,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3305b98012d19bac007204da0002a015428..."} 
[2026-04-28 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3305b98012d19bac007204da0002a015428..."} 
[2026-04-28 13:57:20] local.INFO: Processing buffer {"connection_id":56645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3305b98012d19bac007204da0002a015428..."} 
[2026-04-28 13:57:20] local.INFO: Packet analysis {"connection_id":56645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:57:20] local.INFO: Extracted packet for processing {"connection_id":56645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005346304001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777364655000,"timestamp_ms":1777364655000,"timestamp_seconds":1777364655,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3305b98"} 
[2026-04-28 13:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:57: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-04-28 13:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005346304001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005346304001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:57:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005346304001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":56645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:57:20] local.INFO: GPS data processed {"connection_id":56645,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:57:20] local.INFO: Acknowledgment sent {"connection_id":56645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:57:21] local.INFO: TCP Data received {"connection_id":56645,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd330ada0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd330ada0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:57:21] local.INFO: Processing buffer {"connection_id":56645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd330ada0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:57:21] local.INFO: Packet analysis {"connection_id":56645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:57:21] local.INFO: Extracted packet for processing {"connection_id":56645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005351680001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:57:21] 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-04-28 13:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777364676000,"timestamp_ms":1777364676000,"timestamp_seconds":1777364676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd330ada0"} 
[2026-04-28 13:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:57: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-04-28 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005351680001,"66":12428,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005351680001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:57:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005351680001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":56645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:57:21] local.INFO: GPS data processed {"connection_id":56645,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:57:21] local.INFO: Acknowledgment sent {"connection_id":56645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:57:24] local.INFO: TCP Data received {"connection_id":56463,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:57:24] local.INFO: Processing buffer {"connection_id":56463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 13:57:24] local.INFO: IMEI packet received {"connection_id":56463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 13:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":56463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:57:53] local.INFO: TCP Data received {"connection_id":57367,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:53] local.INFO: Processing buffer {"connection_id":57367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:53] local.INFO: IMEI packet received {"connection_id":57367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":57367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:57:59] local.INFO: TCP Data received {"connection_id":57367,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:59] local.INFO: Processing buffer {"connection_id":57367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:57:59] local.INFO: IMEI packet received {"connection_id":57367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":57367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:58:00] local.INFO: TCP Data received {"connection_id":57367,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:00] local.INFO: Processing buffer {"connection_id":57367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:00] local.INFO: Packet analysis {"connection_id":57367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:58:00] local.INFO: Extracted packet for processing {"connection_id":57367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:58:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:58:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":57367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:58:00] local.INFO: GPS data processed {"connection_id":57367,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:58:00] local.INFO: Acknowledgment sent {"connection_id":57367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:58:03] local.INFO: TCP Data received {"connection_id":56645,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd330ffa8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd330ffa8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:03] local.INFO: Processing buffer {"connection_id":56645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd330ffa8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:03] local.INFO: Packet analysis {"connection_id":56645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:58:03] local.INFO: Extracted packet for processing {"connection_id":56645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd330"} 
[2026-04-28 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005357056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:03] 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-04-28 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777364697000,"timestamp_ms":1777364697000,"timestamp_seconds":1777364697,"priority":1,"record_length":96,"hex_timestamp":"0000019dd330ffa8"} 
[2026-04-28 13:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:58:03] 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-04-28 13: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-04-28 13:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005357056001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005357056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005357056001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":56645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:58:04] local.INFO: GPS data processed {"connection_id":56645,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:58:04] local.INFO: Acknowledgment sent {"connection_id":56645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:58:09] local.INFO: TCP Data received {"connection_id":57368,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:09] local.INFO: Processing buffer {"connection_id":57368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:09] local.INFO: IMEI packet received {"connection_id":57368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":57368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:58:14] local.INFO: TCP Data received {"connection_id":57368,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:14] local.INFO: Processing buffer {"connection_id":57368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:58:14] local.INFO: IMEI packet received {"connection_id":57368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":57368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:58:15] local.INFO: TCP Data received {"connection_id":57368,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33151b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33151b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:58:15] local.INFO: Processing buffer {"connection_id":57368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33151b0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:58:15] local.INFO: Packet analysis {"connection_id":57368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:58:15] local.INFO: Extracted packet for processing {"connection_id":57368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005362432001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777364718000,"timestamp_ms":1777364718000,"timestamp_seconds":1777364718,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33151b0"} 
[2026-04-28 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005362432001,"66":12428,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005362432001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005362432001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":57368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:58:15] local.INFO: GPS data processed {"connection_id":57368,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:58:15] local.INFO: Acknowledgment sent {"connection_id":57368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:58:32] local.INFO: TCP Data received {"connection_id":57367,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:32] local.INFO: Processing buffer {"connection_id":57367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:58:32] local.INFO: Packet analysis {"connection_id":57367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:58:32] local.INFO: Extracted packet for processing {"connection_id":57367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:58:32] 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-04-28 13:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":57367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:58:32] local.INFO: GPS data processed {"connection_id":57367,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:58:32] local.INFO: Acknowledgment sent {"connection_id":57367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:58:47] local.INFO: TCP Data received {"connection_id":57368,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd331a3b8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd331a3b8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:47] local.INFO: Processing buffer {"connection_id":57368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd331a3b8012d19bac007204da0002a015428..."} 
[2026-04-28 13:58:47] local.INFO: Packet analysis {"connection_id":57368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:58:47] local.INFO: Extracted packet for processing {"connection_id":57368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005367808001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777364739000,"timestamp_ms":1777364739000,"timestamp_seconds":1777364739,"priority":1,"record_length":96,"hex_timestamp":"0000019dd331a3b8"} 
[2026-04-28 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-04-28 13:58: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-04-28 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005367808001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005367808001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:58:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005367808001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":57368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:58:47] local.INFO: GPS data processed {"connection_id":57368,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:58:47] local.INFO: Acknowledgment sent {"connection_id":57368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:58:53] local.INFO: TCP Data received {"connection_id":56646,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:53] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:53] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:58:59] local.INFO: TCP Data received {"connection_id":56646,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:59] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:58:59] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:59:00] local.INFO: TCP Data received {"connection_id":56646,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:59:00] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd32f8c90012d7fa44005afde68000901122b..."} 
[2026-04-28 13:59:00] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:59:00] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd32f"} 
[2026-04-28 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13: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-04-28 13:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005261056001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364602000,"timestamp_ms":1777364602000,"timestamp_seconds":1777364602,"priority":1,"record_length":96,"hex_timestamp":"0000019dd32f8c90"} 
[2026-04-28 13:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 13:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13: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-04-28 13:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005261056001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005261056001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005261056001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:59:00] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:59:00] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:59:09] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:09] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:09] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:59:15] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:15] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 13:59:15] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 13:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 13:59:16] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd331f5c0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd331f5c0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:59:16] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd331f5c0012d19bac007204da0002a01542a..."} 
[2026-04-28 13:59:16] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:59:16] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd331"} 
[2026-04-28 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 13:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005373184001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777364760000,"timestamp_ms":1777364760000,"timestamp_seconds":1777364760,"priority":1,"record_length":96,"hex_timestamp":"0000019dd331f5c0"} 
[2026-04-28 13:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 13:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 13:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005373184001,"66":12428,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005373184001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:59:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005373184001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:59:16] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:59:16] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:59:31] local.INFO: TCP Data received {"connection_id":56646,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 13:59:31] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 13:59:31] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 13:59:31] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 13:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 13:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 13:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:59:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 13:59:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 13:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:59:31] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:59:31] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:59:47] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33247c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33247c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:59:47] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33247c8012d19bac007204da0002a015429..."} 
[2026-04-28 13:59:47] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 13:59:47] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005378560001,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 13:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777364781000,"timestamp_ms":1777364781000,"timestamp_seconds":1777364781,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33247c8"} 
[2026-04-28 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-04-28 13:59: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-04-28 13:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 13:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 13:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005378560001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005378560001,"description":"Unknown IO ID 0"} 
[2026-04-28 13:59:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 13:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005378560001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 13:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 13:59:48] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 13:59:48] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 13:59:54] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:54] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:54] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 13:59:59] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:59] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 13:59:59] local.INFO: IMEI packet received {"connection_id":56464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 13:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:00:01] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:01] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:01] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:00:01] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14: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-04-28 14: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-04-28 14:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:00:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:00:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:00:01] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:00:01] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:00:14] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:14] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:14] local.INFO: IMEI packet received {"connection_id":56647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":56647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:00:19] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:19] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:00:19] local.INFO: IMEI packet received {"connection_id":56647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":56647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:00:19] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33299d0012d19bac007204da0002a01542a..."} 
[2026-04-28 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33299d0012d19bac007204da0002a01542a..."} 
[2026-04-28 14:00:19] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33299d0012d19bac007204da0002a01542a..."} 
[2026-04-28 14:00:19] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 14:00:19] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005383936001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777364802000,"timestamp_ms":1777364802000,"timestamp_seconds":1777364802,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33299d0"} 
[2026-04-28 14:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:00: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-04-28 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:00:19] 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-04-28 14: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-04-28 14:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005383936001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005383936001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 14:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005383936001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:00:20] local.INFO: GPS data processed {"connection_id":56647,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:00:20] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:00:24] local.INFO: TCP Data received {"connection_id":56647,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd332ebd8012d19bac007204da0002a015428..."} 
[2026-04-28 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd332ebd8012d19bac007204da0002a015428..."} 
[2026-04-28 14:00:24] local.INFO: Processing buffer {"connection_id":56647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd332ebd8012d19bac007204da0002a015428..."} 
[2026-04-28 14:00:24] local.INFO: Packet analysis {"connection_id":56647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 14:00:24] local.INFO: Extracted packet for processing {"connection_id":56647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd332"} 
[2026-04-28 14:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119557536,"longitude_deg":75.6660928,"latitude_deg":11.9557536,"altitude":42,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"07204da0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005389312001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579013044371456,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333455642624,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777364823000,"timestamp_ms":1777364823000,"timestamp_seconds":1777364823,"priority":1,"record_length":96,"hex_timestamp":"0000019dd332ebd8"} 
[2026-04-28 14:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:00: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-04-28 14:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005389312001,"66":12461,"106":206,"83":41984,"24":0,"16":115579013044371456,"45":1854005333455642624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005389312001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:00:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579013044371456,"km_value":115579013044371.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333455642624,"description":"Unknown IO ID 45"} 
[2026-04-28 14:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005389312001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854005333455642624}} 
[2026-04-28 14:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":56647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:00:24] local.INFO: GPS data processed {"connection_id":56647,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:00:24] local.INFO: Acknowledgment sent {"connection_id":56647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:00:33] local.INFO: TCP Data received {"connection_id":56464,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:33] local.INFO: Processing buffer {"connection_id":56464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:00:33] local.INFO: Packet analysis {"connection_id":56464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:00:33] local.INFO: Extracted packet for processing {"connection_id":56464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":56464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:00:33] local.INFO: GPS data processed {"connection_id":56464,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:00:33] local.INFO: Acknowledgment sent {"connection_id":56464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:00:53] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:53] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:53] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:00:59] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:59] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:00:59] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:01:00] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:00] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:00] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:01:00] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:01: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-04-28 14: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-04-28 14:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:01:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:01:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:01:00] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:01:00] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:01:04] local.INFO: TCP Data received {"connection_id":56689,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:04] local.INFO: Processing buffer {"connection_id":56689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:04] local.INFO: IMEI packet received {"connection_id":56689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":56689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:01:09] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:09] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:09] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:01:10] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:10] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:10] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:01:14] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:14] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:01:14] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:01:14] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd335ddc0012d19bb00072054b8002b015f2a..."} 
[2026-04-28 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd335ddc0012d19bb00072054b8002b015f2a..."} 
[2026-04-28 14:01:14] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd335ddc0012d19bb00072054b8002b015f2a..."} 
[2026-04-28 14:01:14] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd335"} 
[2026-04-28 14:01:14] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd335"} 
[2026-04-28 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119559352,"longitude_deg":75.6660992,"latitude_deg":11.9559352,"altitude":43,"angle":351,"satellites":42,"speed":18,"hex_longitude":"2d19bb00","hex_latitude":"072054b8","is_valid_coordinates":true} 
[2026-04-28 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005443328001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579103238684672,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070944157696,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:14] 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-04-28 14:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777365016000,"timestamp_ms":1777365016000,"timestamp_seconds":1777365016,"priority":1,"record_length":96,"hex_timestamp":"0000019dd335ddc0"} 
[2026-04-28 14:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 14:01:14] 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-04-28 14:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005443328001,"66":14157,"106":206,"83":41984,"24":18,"16":115579103238684672,"45":1854146070944157696},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005443328001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:01:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579103238684672,"km_value":115579103238684.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070944157696,"description":"Unknown IO ID 45"} 
[2026-04-28 14:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005443328001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1854146070944157696}} 
[2026-04-28 14:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:01:15] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:01:15] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:01:15] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd335fd00012d19b60007206b58002c015028..."} 
[2026-04-28 14:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd335fd00012d19b60007206b58002c015028..."} 
[2026-04-28 14:01:15] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd335fd00012d19b60007206b58002c015028..."} 
[2026-04-28 14:01:15] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd335"} 
[2026-04-28 14:01:15] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd335"} 
[2026-04-28 14:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119565144,"longitude_deg":75.6659712,"latitude_deg":11.9565144,"altitude":44,"angle":336,"satellites":40,"speed":34,"hex_longitude":"2d19b600","hex_latitude":"07206b58","is_valid_coordinates":true} 
[2026-04-28 14:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005444096001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579391001493504,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702200285184,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365024000,"timestamp_ms":1777365024000,"timestamp_seconds":1777365024,"priority":1,"record_length":96,"hex_timestamp":"0000019dd335fd00"} 
[2026-04-28 14:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 14:01:15] 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-04-28 14:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005444096001,"66":13939,"106":206,"83":41984,"24":34,"16":115579391001493504,"45":1854075702200285184},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005444096001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:01:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579391001493504,"km_value":115579391001493.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702200285184,"description":"Unknown IO ID 45"} 
[2026-04-28 14:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005444096001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1854075702200285184}} 
[2026-04-28 14:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:01:15] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:01:15] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:01:32] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:32] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:01:32] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:01:32] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:01:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:01:32] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:01:32] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:01:34] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:34] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:01:34] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:01:46] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3361858012d19ae40072082b0002f015d29..."} 
[2026-04-28 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3361858012d19ae40072082b0002f015d29..."} 
[2026-04-28 14:01:46] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3361858012d19ae40072082b0002f015d29..."} 
[2026-04-28 14:01:46] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd336"} 
[2026-04-28 14:01:46] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd336"} 
[2026-04-28 14:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119571120,"longitude_deg":75.6657728,"latitude_deg":11.957112,"altitude":47,"angle":349,"satellites":41,"speed":32,"hex_longitude":"2d19ae40","hex_latitude":"072082b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005446144001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579695944171520,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327318214656,"note":"Value kept but may cause issues"} 
[2026-04-28 14:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365031000,"timestamp_ms":1777365031000,"timestamp_seconds":1777365031,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3361858"} 
[2026-04-28 14:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:01: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-04-28 14: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-28 14:01:46] 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-04-28 14: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-04-28 14:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005446144001,"66":13928,"106":206,"83":41984,"24":32,"16":115579695944171520,"45":1852668327318214656},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005446144001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:01:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579695944171520,"km_value":115579695944171.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327318214656,"description":"Unknown IO ID 45"} 
[2026-04-28 14:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005446144001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1852668327318214656}} 
[2026-04-28 14:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:01:46] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:01:46] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:01:53] local.INFO: TCP Data received {"connection_id":57371,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:53] local.INFO: Processing buffer {"connection_id":57371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:53] local.INFO: IMEI packet received {"connection_id":57371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":57371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:01:59] local.INFO: TCP Data received {"connection_id":57371,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:59] local.INFO: Processing buffer {"connection_id":57371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:01:59] local.INFO: IMEI packet received {"connection_id":57371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":57371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:02:00] local.INFO: TCP Data received {"connection_id":57371,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:00] local.INFO: Processing buffer {"connection_id":57371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:00] local.INFO: Packet analysis {"connection_id":57371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:02:00] local.INFO: Extracted packet for processing {"connection_id":57371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:02: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-04-28 14:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":57371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:02:00] local.INFO: GPS data processed {"connection_id":57371,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:02:00] local.INFO: Acknowledgment sent {"connection_id":57371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:02:06] local.INFO: TCP Data received {"connection_id":56649,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:06] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:06] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:02:09] local.INFO: TCP Data received {"connection_id":56649,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:09] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:09] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:02:14] local.INFO: TCP Data received {"connection_id":56649,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:14] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:02:14] local.INFO: IMEI packet received {"connection_id":56649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":56649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:02:14] local.INFO: TCP Data received {"connection_id":56649,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3362be0012d19acc0072092e00030000e26..."} 
[2026-04-28 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3362be0012d19acc0072092e00030000e26..."} 
[2026-04-28 14:02:14] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3362be0012d19acc0072092e00030000e26..."} 
[2026-04-28 14:02:14] local.INFO: Packet analysis {"connection_id":56649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd336"} 
[2026-04-28 14:02:14] local.INFO: Extracted packet for processing {"connection_id":56649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd336"} 
[2026-04-28 14:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119575264,"longitude_deg":75.6657344,"latitude_deg":11.9575264,"altitude":48,"angle":14,"satellites":38,"speed":34,"hex_longitude":"2d19acc0","hex_latitude":"072092e0","is_valid_coordinates":true} 
[2026-04-28 14:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005447936001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115579902102601728,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250236928,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:14] 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-04-28 14:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777365036000,"timestamp_ms":1777365036000,"timestamp_seconds":1777365036,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3362be0"} 
[2026-04-28 14:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 14:02:14] 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-04-28 14:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005447936001,"66":13906,"106":206,"83":41984,"24":34,"16":115579902102601728,"45":1850486896250236928},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005447936001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:02:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115579902102601728,"km_value":115579902102601.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250236928,"description":"Unknown IO ID 45"} 
[2026-04-28 14:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005447936001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850486896250236928}} 
[2026-04-28 14:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":56649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:02:15] local.INFO: GPS data processed {"connection_id":56649,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:02:15] local.INFO: Acknowledgment sent {"connection_id":56649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:02:32] local.INFO: TCP Data received {"connection_id":57371,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:32] local.INFO: Processing buffer {"connection_id":57371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:02:32] local.INFO: Packet analysis {"connection_id":57371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:02:32] local.INFO: Extracted packet for processing {"connection_id":57371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":57371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:02:32] local.INFO: GPS data processed {"connection_id":57371,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:02:32] local.INFO: Acknowledgment sent {"connection_id":57371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:02:45] local.INFO: TCP Data received {"connection_id":56649,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3377bd0012d1989000720b3300033001629..."} 
[2026-04-28 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3377bd0012d1989000720b3300033001629..."} 
[2026-04-28 14:02:45] local.INFO: Processing buffer {"connection_id":56649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3377bd0012d1989000720b3300033001629..."} 
[2026-04-28 14:02:45] local.INFO: Packet analysis {"connection_id":56649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:02:45] local.INFO: Extracted packet for processing {"connection_id":56649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119583536,"longitude_deg":75.6648192,"latitude_deg":11.9583536,"altitude":51,"angle":22,"satellites":41,"speed":4,"hex_longitude":"2d198900","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005470976001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115580846995406848,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584626735104,"note":"Value kept but may cause issues"} 
[2026-04-28 14:02:45] 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-04-28 14:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777365122000,"timestamp_ms":1777365122000,"timestamp_seconds":1777365122,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3377bd0"} 
[2026-04-28 14:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:02: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-04-28 14: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 14:02:45] 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-04-28 14: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-04-28 14:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005470976001,"66":13961,"106":206,"83":41984,"24":4,"16":115580846995406848,"45":1839931584626735104},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005470976001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:02:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115580846995406848,"km_value":115580846995406.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584626735104,"description":"Unknown IO ID 45"} 
[2026-04-28 14:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005470976001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1839931584626735104}} 
[2026-04-28 14:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":56649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:02:45] local.INFO: GPS data processed {"connection_id":56649,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:02:45] local.INFO: Acknowledgment sent {"connection_id":56649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:02:59] local.INFO: TCP Data received {"connection_id":57372,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:02:59] local.INFO: Processing buffer {"connection_id":57372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:02:59] local.INFO: IMEI packet received {"connection_id":57372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":57372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:03:04] local.INFO: TCP Data received {"connection_id":57372,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:04] local.INFO: Processing buffer {"connection_id":57372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:04] local.INFO: IMEI packet received {"connection_id":57372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":57372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:03:05] local.INFO: TCP Data received {"connection_id":57372,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:05] local.INFO: Processing buffer {"connection_id":57372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:05] local.INFO: Packet analysis {"connection_id":57372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:03:05] local.INFO: Extracted packet for processing {"connection_id":57372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:03:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":57372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:03:05] local.INFO: GPS data processed {"connection_id":57372,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:03:05] local.INFO: Acknowledgment sent {"connection_id":57372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:03:09] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: IMEI packet received {"connection_id":56465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":56465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:03:09] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:09] local.INFO: IMEI packet received {"connection_id":56465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":56465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:03:09] local.INFO: TCP Data received {"connection_id":57372,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:09] local.INFO: Processing buffer {"connection_id":57372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:03:09] local.INFO: Packet analysis {"connection_id":57372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:03:09] local.INFO: Extracted packet for processing {"connection_id":57372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":57372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:03:09] local.INFO: GPS data processed {"connection_id":57372,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:03:09] local.INFO: Acknowledgment sent {"connection_id":57372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:03:14] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:14] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:03:14] local.INFO: IMEI packet received {"connection_id":56465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":56465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:03:15] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3377fb8012d1989400720b3800033003528..."} 
[2026-04-28 14:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3377fb8012d1989400720b3800033003528..."} 
[2026-04-28 14:03:15] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3377fb8012d1989400720b3800033003528..."} 
[2026-04-28 14:03:15] local.INFO: Packet analysis {"connection_id":56465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:03:15] local.INFO: Extracted packet for processing {"connection_id":56465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756648256,"raw_latitude":119583616,"longitude_deg":75.6648256,"latitude_deg":11.9583616,"altitude":51,"angle":53,"satellites":40,"speed":6,"hex_longitude":"2d198940","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-04-28 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005471232001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115580851290374144,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370943488,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365123000,"timestamp_ms":1777365123000,"timestamp_seconds":1777365123,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3377fb8"} 
[2026-04-28 14:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 14:03:15] 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-04-28 14:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005471232001,"66":13961,"106":206,"83":41984,"24":6,"16":115580851290374144,"45":1840001953370943488},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005471232001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:03:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115580851290374144,"km_value":115580851290374.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370943488,"description":"Unknown IO ID 45"} 
[2026-04-28 14:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005471232001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1840001953370943488}} 
[2026-04-28 14:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":56465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:03:15] local.INFO: GPS data processed {"connection_id":56465,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:03:15] local.INFO: Acknowledgment sent {"connection_id":56465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:03:46] local.INFO: TCP Data received {"connection_id":56465,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33783a0012d198a400720b3a80033005b2a..."} 
[2026-04-28 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33783a0012d198a400720b3a80033005b2a..."} 
[2026-04-28 14:03:46] local.INFO: Processing buffer {"connection_id":56465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33783a0012d198a400720b3a80033005b2a..."} 
[2026-04-28 14:03:46] local.INFO: Packet analysis {"connection_id":56465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:03:46] local.INFO: Extracted packet for processing {"connection_id":56465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd337"} 
[2026-04-28 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756648512,"raw_latitude":119583656,"longitude_deg":75.6648512,"latitude_deg":11.9583656,"altitude":51,"angle":91,"satellites":42,"speed":7,"hex_longitude":"2d198a40","hex_latitude":"0720b3a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005471488001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115580859880308736,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840072322115141632,"note":"Value kept but may cause issues"} 
[2026-04-28 14:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365124000,"timestamp_ms":1777365124000,"timestamp_seconds":1777365124,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33783a0"} 
[2026-04-28 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-04-28 14:03: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-04-28 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 14:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005471488001,"66":14428,"106":206,"83":41984,"24":7,"16":115580859880308736,"45":1840072322115141632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005471488001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:03:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115580859880308736,"km_value":115580859880308.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840072322115141632,"description":"Unknown IO ID 45"} 
[2026-04-28 14:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005471488001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1840072322115141632}} 
[2026-04-28 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":56465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:03:46] local.INFO: GPS data processed {"connection_id":56465,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:03:46] local.INFO: Acknowledgment sent {"connection_id":56465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:03:54] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:54] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:54] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:03:59] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:59] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:03:59] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:04:00] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:04:00] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3342458012d7fa44005afde680009011228..."} 
[2026-04-28 14:04:00] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:04:00] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd334"} 
[2026-04-28 14:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005338112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777364903000,"timestamp_ms":1777364903000,"timestamp_seconds":1777364903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3342458"} 
[2026-04-28 14:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:04: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-04-28 14:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005338112001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005338112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:04:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:04:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005338112001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:04:00] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:04:00] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:04:11] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:04:11] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:11] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:04:14] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:14] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:04:14] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:04:15] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d19b8c00720a880002f013e29..."} 
[2026-04-28 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d19b8c00720a880002f013e29..."} 
[2026-04-28 14:04:15] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d19b8c00720a880002f013e29..."} 
[2026-04-28 14:04:15] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:15] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119580800,"longitude_deg":75.6660416,"latitude_deg":11.95808,"altitude":47,"angle":318,"satellites":41,"speed":9,"hex_longitude":"2d19b8c0","hex_latitude":"0720a880","is_valid_coordinates":true} 
[2026-04-28 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005489408001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115581577139847168,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484764672,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:04: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-04-28 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 14:04:15] 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-04-28 14:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005489408001,"66":14483,"106":206,"83":41984,"24":9,"16":115581577139847168,"45":1853723858484764672},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005489408001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:04:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115581577139847168,"km_value":115581577139847.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484764672,"description":"Unknown IO ID 45"} 
[2026-04-28 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005489408001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1853723858484764672}} 
[2026-04-28 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:04:15] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:04:15] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:04:32] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:04:32] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:04:32] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:32] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:04:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:04:32] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:04:32] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:04:46] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338c3f0012d19b6800720a9f8002f012b29..."} 
[2026-04-28 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338c3f0012d19b6800720a9f8002f012b29..."} 
[2026-04-28 14:04:46] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338c3f0012d19b6800720a9f8002f012b29..."} 
[2026-04-28 14:04:46] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:46] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581176,"longitude_deg":75.665984,"latitude_deg":11.9581176,"altitude":47,"angle":299,"satellites":41,"speed":15,"hex_longitude":"2d19b680","hex_latitude":"0720a9f8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115581607204618240,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508176896,"note":"Value kept but may cause issues"} 
[2026-04-28 14:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365206000,"timestamp_ms":1777365206000,"timestamp_seconds":1777365206,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338c3f0"} 
[2026-04-28 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-04-28 14:04: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-04-28 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 14:04: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-04-28 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-04-28 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-04-28 14:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":14352,"106":206,"83":41984,"24":15,"16":115581607204618240,"45":1853442383508176896},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:04:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115581607204618240,"km_value":115581607204618.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508176896,"description":"Unknown IO ID 45"} 
[2026-04-28 14:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853442383508176896}} 
[2026-04-28 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:04:46] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:04:46] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:04:59] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:04:59] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:04:59] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:05:04] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:04] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:04] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:05:05] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:05] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:05] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:05] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:05:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:05:05] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:05:05] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:05:09] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:09] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:09] local.INFO: IMEI packet received {"connection_id":57373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":57373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:05:09] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:09] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:05:09] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:09] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:05:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:05:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:05:09] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:05:09] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:05:10] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:10] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:10] local.INFO: IMEI packet received {"connection_id":57373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":57373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:05:12] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:12] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:12] local.INFO: IMEI packet received {"connection_id":57373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":57373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:05:14] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:14] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:05:14] local.INFO: IMEI packet received {"connection_id":57373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":57373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:05:14] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338df48012d19aa000720af380031011c29..."} 
[2026-04-28 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338df48012d19aa000720af380031011c29..."} 
[2026-04-28 14:05:14] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338df48012d19aa000720af380031011c29..."} 
[2026-04-28 14:05:14] local.INFO: Packet analysis {"connection_id":57373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:14] local.INFO: Extracted packet for processing {"connection_id":57373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119582520,"longitude_deg":75.665664,"latitude_deg":11.958252,"altitude":49,"angle":284,"satellites":41,"speed":21,"hex_longitude":"2d19aa00","hex_latitude":"0720af38","is_valid_coordinates":true} 
[2026-04-28 14:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492736001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115581774708342784,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810674176,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] 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-04-28 14:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777365213000,"timestamp_ms":1777365213000,"timestamp_seconds":1777365213,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338df48"} 
[2026-04-28 14:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144576,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3543689752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":14355701207933184,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7304678066897289216,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505363260637184,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2795503665,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825558634,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2697199616,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752198810411183,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-8214557883283537868,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,160,188,45,192,168,47,41,10,66,145,166,48,42,141,128,1,240,28,227,211,32,4,113,205,5,64,239,56,2,154,7,49,20,206,144,25],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 14:05:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387035849853960192,"timestamp_seconds":3387035849853960.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492736001,"66":14461,"106":206,"83":41984,"24":21,"16":115581774708342784,"45":1852809064810674176},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492736001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:05:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115581774708342784,"km_value":115581774708342.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810674176,"description":"Unknown IO ID 45"} 
[2026-04-28 14:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492736001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1852809064810674176}} 
[2026-04-28 14:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":57373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:05:14] local.INFO: GPS data processed {"connection_id":57373,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:05:14] local.INFO: Acknowledgment sent {"connection_id":57373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:05:19] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3390a40012d198c800720b2e80033010f28..."} 
[2026-04-28 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3390a40012d198c800720b2e80033010f28..."} 
[2026-04-28 14:05:19] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3390a40012d198c800720b2e80033010f28..."} 
[2026-04-28 14:05:19] local.INFO: Packet analysis {"connection_id":57373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd339"} 
[2026-04-28 14:05:19] local.INFO: Extracted packet for processing {"connection_id":57373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd339"} 
[2026-04-28 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583464,"longitude_deg":75.6649088,"latitude_deg":11.9583464,"altitude":51,"angle":271,"satellites":40,"speed":29,"hex_longitude":"2d198c80","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005494528001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115582135485595648,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627602135040,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777365224000,"timestamp_ms":1777365224000,"timestamp_seconds":1777365224,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3390a40"} 
[2026-04-28 14:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:05: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-04-28 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 14:05:19] 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-04-28 14: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-04-28 14:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005494528001,"66":14407,"106":206,"83":41984,"24":29,"16":115582135485595648,"45":1849290627602135040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005494528001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115582135485595648,"km_value":115582135485595.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627602135040,"description":"Unknown IO ID 45"} 
[2026-04-28 14:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005494528001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1849290627602135040}} 
[2026-04-28 14:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":57373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:05:19] local.INFO: GPS data processed {"connection_id":57373,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:05:19] local.INFO: Acknowledgment sent {"connection_id":57373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:05:50] local.INFO: TCP Data received {"connection_id":57373,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33a5260012d18c34007214f100045015b28..."} 
[2026-04-28 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33a5260012d18c34007214f100045015b28..."} 
[2026-04-28 14:05:50] local.INFO: Processing buffer {"connection_id":57373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33a5260012d18c34007214f100045015b28..."} 
[2026-04-28 14:05:50] local.INFO: Packet analysis {"connection_id":57373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33a"} 
[2026-04-28 14:05:50] local.INFO: Extracted packet for processing {"connection_id":57373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33a"} 
[2026-04-28 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119623440,"longitude_deg":75.6597568,"latitude_deg":11.962344,"altitude":69,"angle":347,"satellites":40,"speed":34,"hex_longitude":"2d18c340","hex_latitude":"07214f10","is_valid_coordinates":true} 
[2026-04-28 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005518080001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115585794797731840,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968463360,"note":"Value kept but may cause issues"} 
[2026-04-28 14:05:50] 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-04-28 14:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777365308000,"timestamp_ms":1777365308000,"timestamp_seconds":1777365308,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33a5260"} 
[2026-04-28 14:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:05: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-04-28 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-28 14:05:50] 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-04-28 14:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005518080001,"66":14004,"106":206,"83":41984,"24":34,"16":115585794797731840,"45":1784551382968463360},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005518080001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:05:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115585794797731840,"km_value":115585794797731.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968463360,"description":"Unknown IO ID 45"} 
[2026-04-28 14:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005518080001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784551382968463360}} 
[2026-04-28 14:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":57373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:05:50] local.INFO: GPS data processed {"connection_id":57373,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:05:50] local.INFO: Acknowledgment sent {"connection_id":57373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:05:54] local.INFO: TCP Data received {"connection_id":57374,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:54] local.INFO: Processing buffer {"connection_id":57374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:54] local.INFO: IMEI packet received {"connection_id":57374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":57374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:05:59] local.INFO: TCP Data received {"connection_id":57374,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:59] local.INFO: Processing buffer {"connection_id":57374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:05:59] local.INFO: IMEI packet received {"connection_id":57374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":57374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:06:01] local.INFO: TCP Data received {"connection_id":57374,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:01] local.INFO: Processing buffer {"connection_id":57374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:01] local.INFO: Packet analysis {"connection_id":57374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:06:01] local.INFO: Extracted packet for processing {"connection_id":57374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:06:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:06:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":57374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:06:01] local.INFO: GPS data processed {"connection_id":57374,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:06:01] local.INFO: Acknowledgment sent {"connection_id":57374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:06:09] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:09] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:09] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:06:10] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:06:10] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:10] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:06:13] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:13] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:06:13] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:06:32] local.INFO: TCP Data received {"connection_id":57374,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:32] local.INFO: Processing buffer {"connection_id":57374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:06:32] local.INFO: Packet analysis {"connection_id":57374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:06:32] local.INFO: Extracted packet for processing {"connection_id":57374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":57374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:06:32] local.INFO: GPS data processed {"connection_id":57374,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:06:32] local.INFO: Acknowledgment sent {"connection_id":57374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:06:53] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:53] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:53] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:06:59] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:59] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:06:59] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:06:59] local.INFO: TCP Data received {"connection_id":56467,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:06:59] local.INFO: Processing buffer {"connection_id":56467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:06:59] local.INFO: IMEI packet received {"connection_id":56467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:07:01] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:01] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:01] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:07:01] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:07:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:07:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:07:01] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:07:01] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:07:33] local.INFO: TCP Data received {"connection_id":56651,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:33] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:07:33] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:07:33] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:07:33] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:07:33] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:07:34] local.INFO: TCP Data received {"connection_id":56698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:07:34] local.INFO: Processing buffer {"connection_id":56698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:07:34] local.INFO: IMEI packet received {"connection_id":56698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":56698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:07:53] local.INFO: TCP Data received {"connection_id":56699,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:53] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:53] local.INFO: IMEI packet received {"connection_id":56699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:07:59] local.INFO: TCP Data received {"connection_id":56699,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:59] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:07:59] local.INFO: IMEI packet received {"connection_id":56699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:08:01] local.INFO: TCP Data received {"connection_id":56699,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:01] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:01] local.INFO: Packet analysis {"connection_id":56699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:08:01] local.INFO: Extracted packet for processing {"connection_id":56699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:08:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:08:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":56699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:08:01] local.INFO: GPS data processed {"connection_id":56699,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:08:01] local.INFO: Acknowledgment sent {"connection_id":56699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:08:33] local.INFO: TCP Data received {"connection_id":56699,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:33] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd338bc20012d7fa44005afde68000901122c..."} 
[2026-04-28 14:08:33] local.INFO: Packet analysis {"connection_id":56699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:08:33] local.INFO: Extracted packet for processing {"connection_id":56699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd338"} 
[2026-04-28 14:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005415168001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777365204000,"timestamp_ms":1777365204000,"timestamp_seconds":1777365204,"priority":1,"record_length":96,"hex_timestamp":"0000019dd338bc20"} 
[2026-04-28 14:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005415168001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005415168001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:08:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005415168001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":56699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:08:33] local.INFO: GPS data processed {"connection_id":56699,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:08:33] local.INFO: Acknowledgment sent {"connection_id":56699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:08:59] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:08:59] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:08:59] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:09:04] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:04] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:04] local.INFO: IMEI packet received {"connection_id":56469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":56469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:09:05] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:05] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:05] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:05] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:09:05] 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-04-28 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:09:05] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:09:05] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:09:06] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:06] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:06] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:06] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:09:06] 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-04-28 14: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-04-28 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:09:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:09:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:09:06] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:09:06] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:09:37] local.INFO: TCP Data received {"connection_id":56469,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:37] local.INFO: Processing buffer {"connection_id":56469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:09:37] local.INFO: Packet analysis {"connection_id":56469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:37] local.INFO: Extracted packet for processing {"connection_id":56469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:09:37] 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-04-28 14:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:09:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:09:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":56469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:09:37] local.INFO: GPS data processed {"connection_id":56469,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:09:37] local.INFO: Acknowledgment sent {"connection_id":56469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:09:53] local.INFO: TCP Data received {"connection_id":56652,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:53] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:53] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:09:59] local.INFO: TCP Data received {"connection_id":56652,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:59] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:09:59] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:10:00] local.INFO: TCP Data received {"connection_id":56652,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:00] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:00] local.INFO: Packet analysis {"connection_id":56652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:10:00] local.INFO: Extracted packet for processing {"connection_id":56652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":56652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:10:00] local.INFO: GPS data processed {"connection_id":56652,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:10:00] local.INFO: Acknowledgment sent {"connection_id":56652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:10:32] local.INFO: TCP Data received {"connection_id":56652,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:32] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:10:32] local.INFO: Packet analysis {"connection_id":56652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:10:32] local.INFO: Extracted packet for processing {"connection_id":56652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:10:32] 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-04-28 14:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:10:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":56652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:10:32] local.INFO: GPS data processed {"connection_id":56652,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:10:32] local.INFO: Acknowledgment sent {"connection_id":56652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:10:59] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:10:59] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:10:59] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:11:04] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:04] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:04] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:11:05] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:05] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:05] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:05] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:11:05] 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-04-28 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:11:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:11:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:11:05] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:11:05] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:11:09] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:09] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:11:09] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:09] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:11:09] 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-04-28 14:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:11:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:11:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:11:09] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:11:09] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:11:14] local.INFO: TCP Data received {"connection_id":57377,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:11:14] local.INFO: Processing buffer {"connection_id":57377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:11:14] local.INFO: IMEI packet received {"connection_id":57377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":57377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:11:15] local.INFO: TCP Data received {"connection_id":57377,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33ccb30012d1820000721b1b00048000a22..."} 
[2026-04-28 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33ccb30012d1820000721b1b00048000a22..."} 
[2026-04-28 14:11:15] local.INFO: Processing buffer {"connection_id":57377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33ccb30012d1820000721b1b00048000a22..."} 
[2026-04-28 14:11:15] local.INFO: Packet analysis {"connection_id":57377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33c"} 
[2026-04-28 14:11:15] local.INFO: Extracted packet for processing {"connection_id":57377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33c"} 
[2026-04-28 14:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005554944001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365470000,"timestamp_ms":1777365470000,"timestamp_seconds":1777365470,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33ccb30"} 
[2026-04-28 14:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:11: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-04-28 14:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 14:11: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-04-28 14:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005554944001,"66":13004,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005554944001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:11:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005554944001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":57377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:11:15] local.INFO: GPS data processed {"connection_id":57377,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:11:15] local.INFO: Acknowledgment sent {"connection_id":57377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:11:46] local.INFO: TCP Data received {"connection_id":57377,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d1d38012d1820000721b1b00048000a23..."} 
[2026-04-28 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d1d38012d1820000721b1b00048000a23..."} 
[2026-04-28 14:11:46] local.INFO: Processing buffer {"connection_id":57377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d1d38012d1820000721b1b00048000a23..."} 
[2026-04-28 14:11:46] local.INFO: Packet analysis {"connection_id":57377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:46] local.INFO: Extracted packet for processing {"connection_id":57377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005560320001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365491000,"timestamp_ms":1777365491000,"timestamp_seconds":1777365491,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d1d38"} 
[2026-04-28 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-04-28 14:11: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-04-28 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 14:11:46] 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-04-28 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-04-28 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-04-28 14:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005560320001,"66":12993,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005560320001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:11:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005560320001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":57377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:11:46] local.INFO: GPS data processed {"connection_id":57377,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:11:46] local.INFO: Acknowledgment sent {"connection_id":57377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:11:54] local.INFO: TCP Data received {"connection_id":56653,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:54] local.INFO: Processing buffer {"connection_id":56653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:54] local.INFO: IMEI packet received {"connection_id":56653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":56653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:11:59] local.INFO: TCP Data received {"connection_id":56653,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:59] local.INFO: Processing buffer {"connection_id":56653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:11:59] local.INFO: IMEI packet received {"connection_id":56653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:12:00] local.INFO: TCP Data received {"connection_id":56653,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:00] local.INFO: Processing buffer {"connection_id":56653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:00] local.INFO: Packet analysis {"connection_id":56653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:00] local.INFO: Extracted packet for processing {"connection_id":56653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:12:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":56653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:00] local.INFO: GPS data processed {"connection_id":56653,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:00] local.INFO: Acknowledgment sent {"connection_id":56653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:05] local.INFO: TCP Data received {"connection_id":56653,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:05] local.INFO: Processing buffer {"connection_id":56653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:05] local.INFO: Packet analysis {"connection_id":56653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:05] local.INFO: Extracted packet for processing {"connection_id":56653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:05] 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-04-28 14: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-04-28 14:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":56653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:05] local.INFO: GPS data processed {"connection_id":56653,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:05] local.INFO: Acknowledgment sent {"connection_id":56653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:14] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:14] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:14] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:12:19] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:19] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:12:19] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:12:20] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d6f40012d1820000721b1b00048000a23..."} 
[2026-04-28 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d6f40012d1820000721b1b00048000a23..."} 
[2026-04-28 14:12:20] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d6f40012d1820000721b1b00048000a23..."} 
[2026-04-28 14:12:20] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:20] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005565696001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777365512000,"timestamp_ms":1777365512000,"timestamp_seconds":1777365512,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d6f40"} 
[2026-04-28 14:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12: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-04-28 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:20] 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-04-28 14: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-04-28 14:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005565696001,"66":12961,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005565696001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005565696001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:20] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:20] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:21] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33dc148012d1820000721b1b00048000a25..."} 
[2026-04-28 14:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33dc148012d1820000721b1b00048000a25..."} 
[2026-04-28 14:12:21] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33dc148012d1820000721b1b00048000a25..."} 
[2026-04-28 14:12:21] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:21] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005571072001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777365533000,"timestamp_ms":1777365533000,"timestamp_seconds":1777365533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33dc148"} 
[2026-04-28 14:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:21] 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-04-28 14: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-04-28 14:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005571072001,"66":12950,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005571072001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005571072001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:21] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:21] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:37] local.INFO: TCP Data received {"connection_id":56653,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:37] local.INFO: Processing buffer {"connection_id":56653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:12:37] local.INFO: Packet analysis {"connection_id":56653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:37] local.INFO: Extracted packet for processing {"connection_id":56653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:37] 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-04-28 14:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":56653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:37] local.INFO: GPS data processed {"connection_id":56653,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:37] local.INFO: Acknowledgment sent {"connection_id":56653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:52] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33e1350012d1820000721b1b00048000a27..."} 
[2026-04-28 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33e1350012d1820000721b1b00048000a27..."} 
[2026-04-28 14:12:52] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33e1350012d1820000721b1b00048000a27..."} 
[2026-04-28 14:12:52] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:12:52] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777365554000,"timestamp_ms":1777365554000,"timestamp_seconds":1777365554,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33e1350"} 
[2026-04-28 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:12: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-04-28 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 14:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005576448001,"66":12885,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:12:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005576448001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:12:52] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:12:52] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:12:54] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:54] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:54] local.INFO: IMEI packet received {"connection_id":56472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:12:59] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:59] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:12:59] local.INFO: IMEI packet received {"connection_id":56472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:13:01] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:01] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:01] local.INFO: Packet analysis {"connection_id":56472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:13:01] local.INFO: Extracted packet for processing {"connection_id":56472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:13:01] 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-04-28 14:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":56472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:13:01] local.INFO: GPS data processed {"connection_id":56472,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:13:01] local.INFO: Acknowledgment sent {"connection_id":56472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:13:04] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:04] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:04] local.INFO: IMEI packet received {"connection_id":56705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":56705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:13:09] local.INFO: TCP Data received {"connection_id":56654,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:09] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:09] local.INFO: IMEI packet received {"connection_id":56654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:13:14] local.INFO: TCP Data received {"connection_id":56654,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:14] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:13:14] local.INFO: IMEI packet received {"connection_id":56654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:13:15] local.INFO: TCP Data received {"connection_id":56654,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33e6558012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33e6558012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:15] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33e6558012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:15] local.INFO: Packet analysis {"connection_id":56654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:13:15] local.INFO: Extracted packet for processing {"connection_id":56654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005581824001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365575000,"timestamp_ms":1777365575000,"timestamp_seconds":1777365575,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33e6558"} 
[2026-04-28 14:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:13: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-04-28 14:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 14:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005581824001,"66":12885,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005581824001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:13:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005581824001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":56654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:13:15] local.INFO: GPS data processed {"connection_id":56654,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:13:15] local.INFO: Acknowledgment sent {"connection_id":56654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:13:32] local.INFO: TCP Data received {"connection_id":56472,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:32] local.INFO: Processing buffer {"connection_id":56472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:13:32] local.INFO: Packet analysis {"connection_id":56472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:13:32] local.INFO: Extracted packet for processing {"connection_id":56472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:13: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-04-28 14:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:13:32] 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-04-28 14:13: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-04-28 14:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":56472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:13:32] local.INFO: GPS data processed {"connection_id":56472,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:13:32] local.INFO: Acknowledgment sent {"connection_id":56472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:13:36] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:36] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:13:36] local.INFO: IMEI packet received {"connection_id":56655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":56655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:13:46] local.INFO: TCP Data received {"connection_id":56654,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33eb760012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33eb760012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:46] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33eb760012d1820000721b1b00048000a27..."} 
[2026-04-28 14:13:46] local.INFO: Packet analysis {"connection_id":56654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:13:46] local.INFO: Extracted packet for processing {"connection_id":56654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33e"} 
[2026-04-28 14:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005587200001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365596000,"timestamp_ms":1777365596000,"timestamp_seconds":1777365596,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33eb760"} 
[2026-04-28 14:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:13: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-04-28 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 14:13: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-04-28 14: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-04-28 14:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005587200001,"66":12852,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005587200001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:13:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005587200001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":56654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:13:46] local.INFO: GPS data processed {"connection_id":56654,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:13:46] local.INFO: Acknowledgment sent {"connection_id":56654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:13:53] local.INFO: TCP Data received {"connection_id":56473,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:53] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:53] local.INFO: IMEI packet received {"connection_id":56473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":56473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:13:59] local.INFO: TCP Data received {"connection_id":56473,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:59] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:13:59] local.INFO: IMEI packet received {"connection_id":56473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:14:00] local.INFO: TCP Data received {"connection_id":56473,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:14:00] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33d53e8012d7fa44005afde680009011229..."} 
[2026-04-28 14:14:00] local.INFO: Packet analysis {"connection_id":56473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:14:00] local.INFO: Extracted packet for processing {"connection_id":56473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33d"} 
[2026-04-28 14:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005492224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777365505000,"timestamp_ms":1777365505000,"timestamp_seconds":1777365505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33d53e8"} 
[2026-04-28 14:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005492224001,"66":25582,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005492224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005492224001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":56473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:14:00] local.INFO: GPS data processed {"connection_id":56473,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:14:00] local.INFO: Acknowledgment sent {"connection_id":56473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:14:09] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:09] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:09] local.INFO: IMEI packet received {"connection_id":56656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:14:14] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:14] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:14:14] local.INFO: IMEI packet received {"connection_id":56656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":56656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:14:15] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33f0968012d1820000721b1b00048000a25..."} 
[2026-04-28 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33f0968012d1820000721b1b00048000a25..."} 
[2026-04-28 14:14:15] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33f0968012d1820000721b1b00048000a25..."} 
[2026-04-28 14:14:15] local.INFO: Packet analysis {"connection_id":56656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:14:15] local.INFO: Extracted packet for processing {"connection_id":56656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005592576001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365617000,"timestamp_ms":1777365617000,"timestamp_seconds":1777365617,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33f0968"} 
[2026-04-28 14:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:14: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-04-28 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 14:14:15] 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-04-28 14:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005592576001,"66":12852,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005592576001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:14:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005592576001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":56656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:14:15] local.INFO: GPS data processed {"connection_id":56656,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:14:15] local.INFO: Acknowledgment sent {"connection_id":56656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:14:31] local.INFO: TCP Data received {"connection_id":56473,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:14:31] local.INFO: Processing buffer {"connection_id":56473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:14:31] local.INFO: Packet analysis {"connection_id":56473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:14:31] local.INFO: Extracted packet for processing {"connection_id":56473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:14:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:14:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":56473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:14:31] local.INFO: GPS data processed {"connection_id":56473,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:14:31] local.INFO: Acknowledgment sent {"connection_id":56473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:14:46] local.INFO: TCP Data received {"connection_id":56656,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33f5b70012d1820000721b1b00048000a26..."} 
[2026-04-28 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33f5b70012d1820000721b1b00048000a26..."} 
[2026-04-28 14:14:46] local.INFO: Processing buffer {"connection_id":56656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33f5b70012d1820000721b1b00048000a26..."} 
[2026-04-28 14:14:46] local.INFO: Packet analysis {"connection_id":56656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:14:46] local.INFO: Extracted packet for processing {"connection_id":56656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005597952001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365638000,"timestamp_ms":1777365638000,"timestamp_seconds":1777365638,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33f5b70"} 
[2026-04-28 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-04-28 14:14: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-04-28 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 14:14:46] 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-04-28 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-04-28 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-04-28 14:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005597952001,"66":12776,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005597952001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005597952001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":56656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:14:46] local.INFO: GPS data processed {"connection_id":56656,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:14:46] local.INFO: Acknowledgment sent {"connection_id":56656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:14:54] local.INFO: TCP Data received {"connection_id":56657,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:54] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:54] local.INFO: IMEI packet received {"connection_id":56657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":56657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:14:59] local.INFO: TCP Data received {"connection_id":56657,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:59] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:14:59] local.INFO: IMEI packet received {"connection_id":56657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:15:00] local.INFO: TCP Data received {"connection_id":56657,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:00] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:00] local.INFO: Packet analysis {"connection_id":56657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:00] local.INFO: Extracted packet for processing {"connection_id":56657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:15:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:15:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":56657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:15:00] local.INFO: GPS data processed {"connection_id":56657,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:15:00] local.INFO: Acknowledgment sent {"connection_id":56657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:15:04] local.INFO: TCP Data received {"connection_id":56657,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:04] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:04] local.INFO: Packet analysis {"connection_id":56657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:04] local.INFO: Extracted packet for processing {"connection_id":56657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:15:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:15:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":56657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:15:04] local.INFO: GPS data processed {"connection_id":56657,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:15:04] local.INFO: Acknowledgment sent {"connection_id":56657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:15:07] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:07] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:07] local.INFO: IMEI packet received {"connection_id":56658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":56658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:15:09] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:09] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:09] local.INFO: IMEI packet received {"connection_id":56658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":56658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:15:14] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:14] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:15:14] local.INFO: IMEI packet received {"connection_id":56658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":56658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:15:15] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33fad78012d1820000721b1b00048000a27..."} 
[2026-04-28 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33fad78012d1820000721b1b00048000a27..."} 
[2026-04-28 14:15:15] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33fad78012d1820000721b1b00048000a27..."} 
[2026-04-28 14:15:15] local.INFO: Packet analysis {"connection_id":56658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:15:15] local.INFO: Extracted packet for processing {"connection_id":56658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005603328001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365659000,"timestamp_ms":1777365659000,"timestamp_seconds":1777365659,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33fad78"} 
[2026-04-28 14:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:15: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-04-28 14:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 14:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005603328001,"66":12776,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005603328001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:15:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005603328001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":56658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:15:15] local.INFO: GPS data processed {"connection_id":56658,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:15:15] local.INFO: Acknowledgment sent {"connection_id":56658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:15:36] local.INFO: TCP Data received {"connection_id":56657,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:36] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:15:36] local.INFO: Packet analysis {"connection_id":56657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:36] local.INFO: Extracted packet for processing {"connection_id":56657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:15:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:15:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":56657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:15:36] local.INFO: GPS data processed {"connection_id":56657,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:15:36] local.INFO: Acknowledgment sent {"connection_id":56657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:15:46] local.INFO: TCP Data received {"connection_id":56658,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd33fff80012d1820000721b1b00048000a25..."} 
[2026-04-28 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd33fff80012d1820000721b1b00048000a25..."} 
[2026-04-28 14:15:46] local.INFO: Processing buffer {"connection_id":56658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd33fff80012d1820000721b1b00048000a25..."} 
[2026-04-28 14:15:46] local.INFO: Packet analysis {"connection_id":56658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:15:46] local.INFO: Extracted packet for processing {"connection_id":56658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd33f"} 
[2026-04-28 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005608704001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365680000,"timestamp_ms":1777365680000,"timestamp_seconds":1777365680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd33fff80"} 
[2026-04-28 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-04-28 14:15: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-04-28 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 14:15:46] 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-04-28 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-04-28 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-04-28 14:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005608704001,"66":12776,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005608704001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005608704001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":56658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:15:46] local.INFO: GPS data processed {"connection_id":56658,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:15:46] local.INFO: Acknowledgment sent {"connection_id":56658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:15:53] local.INFO: TCP Data received {"connection_id":56475,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:53] local.INFO: Processing buffer {"connection_id":56475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:53] local.INFO: IMEI packet received {"connection_id":56475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":56475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:15:59] local.INFO: TCP Data received {"connection_id":56475,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:59] local.INFO: Processing buffer {"connection_id":56475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:15:59] local.INFO: IMEI packet received {"connection_id":56475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:16:01] local.INFO: TCP Data received {"connection_id":56475,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:01] local.INFO: Processing buffer {"connection_id":56475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:01] local.INFO: Packet analysis {"connection_id":56475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:16:01] local.INFO: Extracted packet for processing {"connection_id":56475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:16:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:16:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":56475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:16:01] local.INFO: GPS data processed {"connection_id":56475,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:16:01] local.INFO: Acknowledgment sent {"connection_id":56475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:16:09] local.INFO: TCP Data received {"connection_id":57379,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:09] local.INFO: Processing buffer {"connection_id":57379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:09] local.INFO: IMEI packet received {"connection_id":57379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:16:10] local.INFO: TCP Data received {"connection_id":57379,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:10] local.INFO: Processing buffer {"connection_id":57379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:10] local.INFO: IMEI packet received {"connection_id":57379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":57379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:16:14] local.INFO: TCP Data received {"connection_id":57379,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:14] local.INFO: Processing buffer {"connection_id":57379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:16:14] local.INFO: IMEI packet received {"connection_id":57379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":57379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:16:15] local.INFO: TCP Data received {"connection_id":57379,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3405188012d1820000721b1b00048000a25..."} 
[2026-04-28 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3405188012d1820000721b1b00048000a25..."} 
[2026-04-28 14:16:15] local.INFO: Processing buffer {"connection_id":57379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3405188012d1820000721b1b00048000a25..."} 
[2026-04-28 14:16:15] local.INFO: Packet analysis {"connection_id":57379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd340"} 
[2026-04-28 14:16:15] local.INFO: Extracted packet for processing {"connection_id":57379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd340"} 
[2026-04-28 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005614080001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365701000,"timestamp_ms":1777365701000,"timestamp_seconds":1777365701,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3405188"} 
[2026-04-28 14:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:16: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-04-28 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 14:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005614080001,"66":12765,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005614080001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:16:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005614080001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":57379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:16:15] local.INFO: GPS data processed {"connection_id":57379,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:16:15] local.INFO: Acknowledgment sent {"connection_id":57379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:16:33] local.INFO: TCP Data received {"connection_id":56475,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:33] local.INFO: Processing buffer {"connection_id":56475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:16:33] local.INFO: Packet analysis {"connection_id":56475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:16:33] local.INFO: Extracted packet for processing {"connection_id":56475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":56475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:16:33] local.INFO: GPS data processed {"connection_id":56475,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:16:33] local.INFO: Acknowledgment sent {"connection_id":56475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:16:46] local.INFO: TCP Data received {"connection_id":57379,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd340a390012d1820000721b1b00048000a24..."} 
[2026-04-28 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd340a390012d1820000721b1b00048000a24..."} 
[2026-04-28 14:16:46] local.INFO: Processing buffer {"connection_id":57379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd340a390012d1820000721b1b00048000a24..."} 
[2026-04-28 14:16:46] local.INFO: Packet analysis {"connection_id":57379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd340"} 
[2026-04-28 14:16:46] local.INFO: Extracted packet for processing {"connection_id":57379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd340"} 
[2026-04-28 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005619456001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777365722000,"timestamp_ms":1777365722000,"timestamp_seconds":1777365722,"priority":1,"record_length":96,"hex_timestamp":"0000019dd340a390"} 
[2026-04-28 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-04-28 14:16: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-04-28 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 14:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005619456001,"66":12743,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005619456001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:16:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005619456001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":57379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:16:46] local.INFO: GPS data processed {"connection_id":57379,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:16:46] local.INFO: Acknowledgment sent {"connection_id":57379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:16:53] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:53] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:53] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:16:59] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:59] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:16:59] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:17:01] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:01] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:01] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:17:01] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:17:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:17:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:17:01] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:17:01] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:17:09] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:09] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:09] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:17:13] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:13] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:17:13] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:17:14] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34429e8012d1820000721b1b00048000a24..."} 
[2026-04-28 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34429e8012d1820000721b1b00048000a24..."} 
[2026-04-28 14:17:14] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34429e8012d1820000721b1b00048000a24..."} 
[2026-04-28 14:17:14] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:17:14] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005678592001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777365953000,"timestamp_ms":1777365953000,"timestamp_seconds":1777365953,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34429e8"} 
[2026-04-28 14:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 14:17:14] 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-04-28 14:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005678592001,"66":12645,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005678592001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:17:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005678592001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:17:14] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:17:14] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:17:32] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:32] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:17:32] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:17:32] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:17:32] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:17:32] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:17:45] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3447bf0012d1820000721b1b00048000a26..."} 
[2026-04-28 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3447bf0012d1820000721b1b00048000a26..."} 
[2026-04-28 14:17:45] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3447bf0012d1820000721b1b00048000a26..."} 
[2026-04-28 14:17:45] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:17:45] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005683968001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777365974000,"timestamp_ms":1777365974000,"timestamp_seconds":1777365974,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3447bf0"} 
[2026-04-28 14:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:17: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-04-28 14:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 14:17:45] 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-04-28 14: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-04-28 14:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005683968001,"66":12580,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005683968001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005683968001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:17:45] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:17:45] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:17:59] local.INFO: TCP Data received {"connection_id":57382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:17:59] local.INFO: Processing buffer {"connection_id":57382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:17:59] local.INFO: IMEI packet received {"connection_id":57382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":57382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:18:04] local.INFO: TCP Data received {"connection_id":57382,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:04] local.INFO: Processing buffer {"connection_id":57382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:04] local.INFO: IMEI packet received {"connection_id":57382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":57382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:18:05] local.INFO: TCP Data received {"connection_id":57382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:05] local.INFO: Processing buffer {"connection_id":57382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:05] local.INFO: Packet analysis {"connection_id":57382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:18:05] local.INFO: Extracted packet for processing {"connection_id":57382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:18:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":57382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:18:05] local.INFO: GPS data processed {"connection_id":57382,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:18:05] local.INFO: Acknowledgment sent {"connection_id":57382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:18:09] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:09] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:09] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:18:09] local.INFO: TCP Data received {"connection_id":57382,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:09] local.INFO: Processing buffer {"connection_id":57382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:18:09] local.INFO: Packet analysis {"connection_id":57382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:18:09] local.INFO: Extracted packet for processing {"connection_id":57382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:18:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:18:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":57382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:18:09] local.INFO: GPS data processed {"connection_id":57382,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:18:09] local.INFO: Acknowledgment sent {"connection_id":57382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:18:14] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:14] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:18:14] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:18:15] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd344cdf8012d1820000721b1b00048000a26..."} 
[2026-04-28 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd344cdf8012d1820000721b1b00048000a26..."} 
[2026-04-28 14:18:15] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd344cdf8012d1820000721b1b00048000a26..."} 
[2026-04-28 14:18:15] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:18:15] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd344"} 
[2026-04-28 14:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005689344001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777365995000,"timestamp_ms":1777365995000,"timestamp_seconds":1777365995,"priority":1,"record_length":96,"hex_timestamp":"0000019dd344cdf8"} 
[2026-04-28 14:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 14:18:15] 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-04-28 14:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005689344001,"66":12602,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005689344001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:18:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005689344001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:18:15] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:18:15] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:18:46] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3452000012d1820000721b1b00048000a25..."} 
[2026-04-28 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3452000012d1820000721b1b00048000a25..."} 
[2026-04-28 14:18:46] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3452000012d1820000721b1b00048000a25..."} 
[2026-04-28 14:18:46] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:18:46] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005694720001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366016000,"timestamp_ms":1777366016000,"timestamp_seconds":1777366016,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3452000"} 
[2026-04-28 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-04-28 14:18: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-04-28 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 14:18:46] 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-04-28 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-04-28 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-04-28 14:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005694720001,"66":12591,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005694720001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:18:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005694720001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:18:46] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:18:46] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:18:54] local.INFO: TCP Data received {"connection_id":56707,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:54] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:54] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:18:59] local.INFO: TCP Data received {"connection_id":56707,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:59] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:18:59] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:19:01] local.INFO: TCP Data received {"connection_id":56707,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:01] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd341ebb0012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:01] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:19:01] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd341"} 
[2026-04-28 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005569280001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777365806000,"timestamp_ms":1777365806000,"timestamp_seconds":1777365806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd341ebb0"} 
[2026-04-28 14:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005569280001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005569280001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:19:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:19:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005569280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:19:01] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:19:01] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:19:04] local.INFO: TCP Data received {"connection_id":56476,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:04] local.INFO: Processing buffer {"connection_id":56476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:04] local.INFO: IMEI packet received {"connection_id":56476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":56476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:19:14] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:14] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:14] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:19:19] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:19] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:19:19] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:19:19] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3457208012d1820000721b1b00048000a26..."} 
[2026-04-28 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3457208012d1820000721b1b00048000a26..."} 
[2026-04-28 14:19:19] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3457208012d1820000721b1b00048000a26..."} 
[2026-04-28 14:19:19] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:19:19] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005700096001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777366037000,"timestamp_ms":1777366037000,"timestamp_seconds":1777366037,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3457208"} 
[2026-04-28 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:19: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-04-28 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 14:19:19] 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-04-28 14: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-04-28 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005700096001,"66":12558,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005700096001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005700096001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:19:19] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:19:19] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:19:20] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd345c410012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd345c410012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:20] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd345c410012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:20] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:19:20] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd345"} 
[2026-04-28 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005705472001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777366058000,"timestamp_ms":1777366058000,"timestamp_seconds":1777366058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd345c410"} 
[2026-04-28 14:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:19: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-04-28 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3544417752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550384,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981101640,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2802647040,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,167,32,45,177,72,37,10,66,205,38,123,1,240,36,227,211,33,4,113,215,176,239,49,2,154,7,106,84,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 14:19:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188157929055846400,"timestamp_seconds":5188157929055846.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005705472001,"66":12515,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005705472001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:19:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005705472001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:19:20] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:19:20] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:19:32] local.INFO: TCP Data received {"connection_id":56707,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:32] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:19:32] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:19:32] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:19:32] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:19:32] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:19:34] local.INFO: TCP Data received {"connection_id":57383,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:34] local.INFO: Processing buffer {"connection_id":57383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:19:34] local.INFO: IMEI packet received {"connection_id":57383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":57383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:19:51] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3461618012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3461618012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:51] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3461618012d1820000721b1b00048000a27..."} 
[2026-04-28 14:19:51] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:19:51] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005710848001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777366079000,"timestamp_ms":1777366079000,"timestamp_seconds":1777366079,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3461618"} 
[2026-04-28 14:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:19: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-04-28 14:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 14:19:51] 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-04-28 14:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005710848001,"66":12558,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005710848001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:19:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005710848001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:19:51] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:19:51] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:19:53] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:53] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:53] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:19:59] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:59] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:19:59] local.INFO: IMEI packet received {"connection_id":56477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:20:00] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:00] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:00] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:00] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:20:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:20:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:20:00] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:20:00] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:20:09] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:09] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:09] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:20:14] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:14] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:20:14] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:20:15] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3466820012d1820000721b1b00048000a26..."} 
[2026-04-28 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3466820012d1820000721b1b00048000a26..."} 
[2026-04-28 14:20:15] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3466820012d1820000721b1b00048000a26..."} 
[2026-04-28 14:20:15] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:15] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005716224001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366100000,"timestamp_ms":1777366100000,"timestamp_seconds":1777366100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3466820"} 
[2026-04-28 14:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:20: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-04-28 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3544459752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550384,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981101640,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2802647040,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,167,196,45,177,72,39,10,66,114,38,32,1,240,47,227,211,33,4,113,205,123,176,239,49,2,154,7,106,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 14:20:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188157933350813696,"timestamp_seconds":5188157933350814.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005716224001,"66":12548,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005716224001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:20:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005716224001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:20:15] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:20:15] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:20:32] local.INFO: TCP Data received {"connection_id":56477,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:32] local.INFO: Processing buffer {"connection_id":56477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:20:32] local.INFO: Packet analysis {"connection_id":56477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:32] local.INFO: Extracted packet for processing {"connection_id":56477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":56477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:20:32] local.INFO: GPS data processed {"connection_id":56477,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:20:32] local.INFO: Acknowledgment sent {"connection_id":56477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:20:45] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd346ba28012d1820000721b1b00048000a25..."} 
[2026-04-28 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd346ba28012d1820000721b1b00048000a25..."} 
[2026-04-28 14:20:45] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd346ba28012d1820000721b1b00048000a25..."} 
[2026-04-28 14:20:45] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:45] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005721600001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777366121000,"timestamp_ms":1777366121000,"timestamp_seconds":1777366121,"priority":1,"record_length":96,"hex_timestamp":"0000019dd346ba28"} 
[2026-04-28 14:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:20: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-04-28 14:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3544480752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981101640,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4160826648,"corrected_to":0} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2802647040,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 14:20:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,167,22,45,177,72,39,10,66,196,114,1,240,14,227,211,33,4,113,205,32,176,38,239,49,2,154,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":4160826648,"validated":0}]} 
[2026-04-28 14:20:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188157929055846400,"timestamp_seconds":5188157929055846.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005721600001,"66":12504,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005721600001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:20:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005721600001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:20:46] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:20:46] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:20:53] local.INFO: TCP Data received {"connection_id":57384,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:53] local.INFO: Processing buffer {"connection_id":57384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:53] local.INFO: IMEI packet received {"connection_id":57384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":57384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:20:59] local.INFO: TCP Data received {"connection_id":57384,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:59] local.INFO: Processing buffer {"connection_id":57384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:20:59] local.INFO: IMEI packet received {"connection_id":57384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":57384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:21:01] local.INFO: TCP Data received {"connection_id":57384,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:01] local.INFO: Processing buffer {"connection_id":57384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:01] local.INFO: Packet analysis {"connection_id":57384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:21:01] local.INFO: Extracted packet for processing {"connection_id":57384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:21:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:21:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":57384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:21:01] local.INFO: GPS data processed {"connection_id":57384,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:21:01] local.INFO: Acknowledgment sent {"connection_id":57384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:21:09] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:09] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:09] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:21:14] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:14] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:21:14] local.INFO: IMEI packet received {"connection_id":56478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":56478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:21:15] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3470c30012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3470c30012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:15] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3470c30012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:15] local.INFO: Packet analysis {"connection_id":56478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:21:15] local.INFO: Extracted packet for processing {"connection_id":56478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005726976001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366142000,"timestamp_ms":1777366142000,"timestamp_seconds":1777366142,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3470c30"} 
[2026-04-28 14:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:21: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-04-28 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005726976001,"66":12504,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005726976001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:21:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005726976001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":56478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:21:15] local.INFO: GPS data processed {"connection_id":56478,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:21:15] local.INFO: Acknowledgment sent {"connection_id":56478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:21:32] local.INFO: TCP Data received {"connection_id":57384,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:32] local.INFO: Processing buffer {"connection_id":57384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:21:32] local.INFO: Packet analysis {"connection_id":57384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:21:32] local.INFO: Extracted packet for processing {"connection_id":57384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:21: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-04-28 14:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:21: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-04-28 14:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:21:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":57384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:21:32] local.INFO: GPS data processed {"connection_id":57384,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:21:32] local.INFO: Acknowledgment sent {"connection_id":57384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:21:46] local.INFO: TCP Data received {"connection_id":56478,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3475e38012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3475e38012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:46] local.INFO: Processing buffer {"connection_id":56478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3475e38012d1820000721b1b00048000a26..."} 
[2026-04-28 14:21:46] local.INFO: Packet analysis {"connection_id":56478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:21:46] local.INFO: Extracted packet for processing {"connection_id":56478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005732352001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366163000,"timestamp_ms":1777366163000,"timestamp_seconds":1777366163,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3475e38"} 
[2026-04-28 14:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:21: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-04-28 14: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":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005732352001,"66":12526,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005732352001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:21:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005732352001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":56478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:21:46] local.INFO: GPS data processed {"connection_id":56478,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:21:46] local.INFO: Acknowledgment sent {"connection_id":56478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:21:59] local.INFO: TCP Data received {"connection_id":56664,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:21:59] local.INFO: Processing buffer {"connection_id":56664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:21:59] local.INFO: IMEI packet received {"connection_id":56664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:22:04] local.INFO: TCP Data received {"connection_id":56664,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:22:04] local.INFO: Processing buffer {"connection_id":56664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:22:04] local.INFO: IMEI packet received {"connection_id":56664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":56664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:22:05] local.INFO: TCP Data received {"connection_id":56664,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:05] local.INFO: Processing buffer {"connection_id":56664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:05] local.INFO: Packet analysis {"connection_id":56664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:22:05] local.INFO: Extracted packet for processing {"connection_id":56664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 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-04-28 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":56664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:22:06] local.INFO: GPS data processed {"connection_id":56664,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:22:06] local.INFO: Acknowledgment sent {"connection_id":56664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:22:09] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:09] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:09] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:22:10] local.INFO: TCP Data received {"connection_id":56664,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:10] local.INFO: Processing buffer {"connection_id":56664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:22:10] local.INFO: Packet analysis {"connection_id":56664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:22:10] local.INFO: Extracted packet for processing {"connection_id":56664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:22:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:22:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":56664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:22:10] local.INFO: GPS data processed {"connection_id":56664,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:22:10] local.INFO: Acknowledgment sent {"connection_id":56664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:22:14] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:14] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:22:14] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:22:15] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd347b040012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd347b040012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:15] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd347b040012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:15] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:22:15] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd347"} 
[2026-04-28 14:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005737728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366184000,"timestamp_ms":1777366184000,"timestamp_seconds":1777366184,"priority":1,"record_length":96,"hex_timestamp":"0000019dd347b040"} 
[2026-04-28 14:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:22: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-04-28 14:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005737728001,"66":12526,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005737728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:22:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005737728001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:22:15] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:22:15] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:22:45] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3480248012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3480248012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:45] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3480248012d1820000721b1b00048000a26..."} 
[2026-04-28 14:22:45] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd348"} 
[2026-04-28 14:22:45] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd348"} 
[2026-04-28 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648688,"longitude_deg":75.6555776,"latitude_deg":11.9648688,"altitude":72,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005743104001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588414727782400,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777366205000,"timestamp_ms":1777366205000,"timestamp_seconds":1777366205,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3480248"} 
[2026-04-28 14:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:22: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-04-28 14:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:22:45] 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-04-28 14: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-04-28 14:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005743104001,"66":12526,"105":206,"83":41984,"24":0,"16":115588414727782400,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005743104001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588414727782400,"km_value":115588414727782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005743104001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:22:46] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:22:46] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:03] local.INFO: TCP Data received {"connection_id":56479,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:03] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:03] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:23:04] local.INFO: TCP Data received {"connection_id":56479,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:04] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:04] local.INFO: IMEI packet received {"connection_id":56479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":56479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:23:05] local.INFO: TCP Data received {"connection_id":56479,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:05] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:05] local.INFO: Packet analysis {"connection_id":56479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:05] local.INFO: Extracted packet for processing {"connection_id":56479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:23:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":56479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:23:05] local.INFO: GPS data processed {"connection_id":56479,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:23:05] local.INFO: Acknowledgment sent {"connection_id":56479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:06] local.INFO: TCP Data received {"connection_id":56479,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:06] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:06] local.INFO: Packet analysis {"connection_id":56479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:06] local.INFO: Extracted packet for processing {"connection_id":56479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:23:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:23:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":56479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:23:06] local.INFO: GPS data processed {"connection_id":56479,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:23:06] local.INFO: Acknowledgment sent {"connection_id":56479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:09] local.INFO: TCP Data received {"connection_id":56665,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:09] local.INFO: Processing buffer {"connection_id":56665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:09] local.INFO: IMEI packet received {"connection_id":56665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":56665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:23:14] local.INFO: TCP Data received {"connection_id":56665,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:14] local.INFO: Processing buffer {"connection_id":56665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:23:14] local.INFO: IMEI packet received {"connection_id":56665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":56665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:23:15] local.INFO: TCP Data received {"connection_id":56665,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34840c8012d1820000721b090004a00d226..."} 
[2026-04-28 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34840c8012d1820000721b090004a00d226..."} 
[2026-04-28 14:23:15] local.INFO: Processing buffer {"connection_id":56665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34840c8012d1820000721b090004a00d226..."} 
[2026-04-28 14:23:15] local.INFO: Packet analysis {"connection_id":56665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd348"} 
[2026-04-28 14:23:15] local.INFO: Extracted packet for processing {"connection_id":56665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd348"} 
[2026-04-28 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648400,"longitude_deg":75.6555776,"latitude_deg":11.96484,"altitude":74,"angle":210,"satellites":38,"speed":1,"hex_longitude":"2d182000","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-28 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005748480001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588427612684288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795075584,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366221000,"timestamp_ms":1777366221000,"timestamp_seconds":1777366221,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34840c8"} 
[2026-04-28 14:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:23: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-04-28 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005748480001,"66":12526,"105":206,"83":41984,"24":1,"16":115588427612684288,"45":1738389486795075584},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005748480001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:23:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588427612684288,"km_value":115588427612684.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795075584,"description":"Unknown IO ID 45"} 
[2026-04-28 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005748480001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738389486795075584}} 
[2026-04-28 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":56665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:23:15] local.INFO: GPS data processed {"connection_id":56665,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:23:15] local.INFO: Acknowledgment sent {"connection_id":56665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:37] local.INFO: TCP Data received {"connection_id":56479,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:37] local.INFO: Processing buffer {"connection_id":56479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:23:37] local.INFO: Packet analysis {"connection_id":56479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:37] local.INFO: Extracted packet for processing {"connection_id":56479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:23:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:23:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":56479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:23:37] local.INFO: GPS data processed {"connection_id":56479,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:23:37] local.INFO: Acknowledgment sent {"connection_id":56479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:46] local.INFO: TCP Data received {"connection_id":56665,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34a9288012d181f400721a960004c00a427..."} 
[2026-04-28 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34a9288012d181f400721a960004c00a427..."} 
[2026-04-28 14:23:46] local.INFO: Processing buffer {"connection_id":56665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34a9288012d181f400721a960004c00a427..."} 
[2026-04-28 14:23:46] local.INFO: Packet analysis {"connection_id":56665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34a"} 
[2026-04-28 14:23:46] local.INFO: Extracted packet for processing {"connection_id":56665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34a"} 
[2026-04-28 14:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646560,"longitude_deg":75.6555584,"latitude_deg":11.964656,"altitude":76,"angle":164,"satellites":39,"speed":11,"hex_longitude":"2d181f40","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005790720001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588526396932096,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329659392,"note":"Value kept but may cause issues"} 
[2026-04-28 14:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366373000,"timestamp_ms":1777366373000,"timestamp_seconds":1777366373,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34a9288"} 
[2026-04-28 14:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:23: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-04-28 14: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-28 14:23:46] 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-04-28 14: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-04-28 14:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005790720001,"66":13015,"105":206,"83":41984,"24":11,"16":115588526396932096,"45":1737967274329659392},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005790720001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588526396932096,"km_value":115588526396932.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329659392,"description":"Unknown IO ID 45"} 
[2026-04-28 14:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005790720001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737967274329659392}} 
[2026-04-28 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":56665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:23:47] local.INFO: GPS data processed {"connection_id":56665,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:23:47] local.INFO: Acknowledgment sent {"connection_id":56665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:23:53] local.INFO: TCP Data received {"connection_id":56480,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:53] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:53] local.INFO: IMEI packet received {"connection_id":56480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:23:59] local.INFO: TCP Data received {"connection_id":56480,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:59] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:23:59] local.INFO: IMEI packet received {"connection_id":56480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:24:00] local.INFO: TCP Data received {"connection_id":56480,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:24:00] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3468378012d7fa44005afde68000901122a..."} 
[2026-04-28 14:24:00] local.INFO: Packet analysis {"connection_id":56480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:24:00] local.INFO: Extracted packet for processing {"connection_id":56480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd346"} 
[2026-04-28 14:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005646336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366107000,"timestamp_ms":1777366107000,"timestamp_seconds":1777366107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3468378"} 
[2026-04-28 14:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005646336001,"66":25560,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005646336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:24:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:24:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005646336001,"power":25560,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:24:00] local.INFO: GPS data processed {"connection_id":56480,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:24:00] local.INFO: Acknowledgment sent {"connection_id":56480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:24:09] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:09] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:09] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:24:12] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:12] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:12] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:24:14] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:14] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:24:14] local.INFO: IMEI packet received {"connection_id":56481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":56481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:24:14] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34a9a58012d1820000721a758004c008e27..."} 
[2026-04-28 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34a9a58012d1820000721a758004c008e27..."} 
[2026-04-28 14:24:14] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34a9a58012d1820000721a758004c008e27..."} 
[2026-04-28 14:24:14] local.INFO: Packet analysis {"connection_id":56481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34a"} 
[2026-04-28 14:24:14] local.INFO: Extracted packet for processing {"connection_id":56481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34a"} 
[2026-04-28 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646040,"longitude_deg":75.6555776,"latitude_deg":11.964604,"altitude":76,"angle":142,"satellites":39,"speed":11,"hex_longitude":"2d182000","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-04-28 14:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005791488001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115588556461703168,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561997824,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777366375000,"timestamp_ms":1777366375000,"timestamp_seconds":1777366375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34a9a58"} 
[2026-04-28 14:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 14:24:14] 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-04-28 14:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005791488001,"66":13015,"105":206,"83":41984,"24":11,"16":115588556461703168,"45":1738178380561997824},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 14:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005791488001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:24:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 14:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115588556461703168,"km_value":115588556461703.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561997824,"description":"Unknown IO ID 45"} 
[2026-04-28 14:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005791488001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738178380561997824}} 
[2026-04-28 14:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":56481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:24:15] local.INFO: GPS data processed {"connection_id":56481,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:24:15] local.INFO: Acknowledgment sent {"connection_id":56481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:24:31] local.INFO: TCP Data received {"connection_id":56480,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:24:31] local.INFO: Processing buffer {"connection_id":56480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:24:31] local.INFO: Packet analysis {"connection_id":56480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:24:31] local.INFO: Extracted packet for processing {"connection_id":56480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:24:31] 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-04-28 14: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-04-28 14:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:24:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:24:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":56480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:24:31] local.INFO: GPS data processed {"connection_id":56480,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:24:31] local.INFO: Acknowledgment sent {"connection_id":56480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:24:46] local.INFO: TCP Data received {"connection_id":56481,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34ba010012d18ca40072135b00042009326..."} 
[2026-04-28 14:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34ba010012d18ca40072135b00042009326..."} 
[2026-04-28 14:24:46] local.INFO: Processing buffer {"connection_id":56481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34ba010012d18ca40072135b00042009326..."} 
[2026-04-28 14:24:46] local.INFO: Packet analysis {"connection_id":56481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:24:46] local.INFO: Extracted packet for processing {"connection_id":56481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119616944,"longitude_deg":75.659936,"latitude_deg":11.9616944,"altitude":66,"angle":147,"satellites":38,"speed":37,"hex_longitude":"2d18ca40","hex_latitude":"072135b0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005808640001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115591279470968832,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153879040,"note":"Value kept but may cause issues"} 
[2026-04-28 14:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366442000,"timestamp_ms":1777366442000,"timestamp_seconds":1777366442,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34ba010"} 
[2026-04-28 14:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:24: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-04-28 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 14:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005808640001,"66":12722,"106":206,"83":41984,"24":37,"16":115591279470968832,"45":1785325439153879040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005808640001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:24:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115591279470968832,"km_value":115591279470968.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153879040,"description":"Unknown IO ID 45"} 
[2026-04-28 14:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005808640001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785325439153879040}} 
[2026-04-28 14:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":56481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:24:46] local.INFO: GPS data processed {"connection_id":56481,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:24:46] local.INFO: Acknowledgment sent {"connection_id":56481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:24:53] local.INFO: TCP Data received {"connection_id":56667,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:53] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:53] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:24:54] local.INFO: TCP Data received {"connection_id":57385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:24:54] local.INFO: Processing buffer {"connection_id":57385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:24:54] local.INFO: IMEI packet received {"connection_id":57385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":57385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:24:59] local.INFO: TCP Data received {"connection_id":56667,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:59] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:24:59] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:25:01] local.INFO: TCP Data received {"connection_id":56667,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:01] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:01] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:01] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:25:01] 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-04-28 14:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:25:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:25:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:25:01] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:25:01] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:25:12] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:12] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:12] local.INFO: IMEI packet received {"connection_id":56668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":56668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:25:14] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:14] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:14] local.INFO: IMEI packet received {"connection_id":56668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":56668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:25:19] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:19] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:25:19] local.INFO: IMEI packet received {"connection_id":56668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":56668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:25:20] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34bafb0012d18d1c007212910004000a026..."} 
[2026-04-28 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34bafb0012d18d1c007212910004000a026..."} 
[2026-04-28 14:25:20] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34bafb0012d18d1c007212910004000a026..."} 
[2026-04-28 14:25:20] local.INFO: Packet analysis {"connection_id":56668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:20] local.INFO: Extracted packet for processing {"connection_id":56668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613712,"longitude_deg":75.660128,"latitude_deg":11.9613712,"altitude":64,"angle":160,"satellites":38,"speed":36,"hex_longitude":"2d18d1c0","hex_latitude":"07212910","is_valid_coordinates":true} 
[2026-04-28 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005809152001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115591464154562560,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601571938304,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777366446000,"timestamp_ms":1777366446000,"timestamp_seconds":1777366446,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34bafb0"} 
[2026-04-28 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:25: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-04-28 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 14:25:20] 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-04-28 14:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005809152001,"66":12765,"106":206,"83":41984,"24":36,"16":115591464154562560,"45":1786310601571938304},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005809152001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115591464154562560,"km_value":115591464154562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601571938304,"description":"Unknown IO ID 45"} 
[2026-04-28 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005809152001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1786310601571938304}} 
[2026-04-28 14:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":56668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:25:20] local.INFO: GPS data processed {"connection_id":56668,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:25:20] local.INFO: Acknowledgment sent {"connection_id":56668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:25:20] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34bb398012d18d24007212590004000ab26..."} 
[2026-04-28 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34bb398012d18d24007212590004000ab26..."} 
[2026-04-28 14:25:20] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34bb398012d18d24007212590004000ab26..."} 
[2026-04-28 14:25:20] local.INFO: Packet analysis {"connection_id":56668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:20] local.INFO: Extracted packet for processing {"connection_id":56668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612816,"longitude_deg":75.6601408,"latitude_deg":11.9612816,"altitude":64,"angle":171,"satellites":38,"speed":37,"hex_longitude":"2d18d240","hex_latitude":"07212590","is_valid_coordinates":true} 
[2026-04-28 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005810176001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115591507104235520,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896440832,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777366447000,"timestamp_ms":1777366447000,"timestamp_seconds":1777366447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34bb398"} 
[2026-04-28 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:25: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-04-28 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 14:25:20] 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-04-28 14:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005810176001,"66":12765,"106":206,"83":41984,"24":37,"16":115591507104235520,"45":1788421663896440832},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005810176001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115591507104235520,"km_value":115591507104235.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896440832,"description":"Unknown IO ID 45"} 
[2026-04-28 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005810176001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788421663896440832}} 
[2026-04-28 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":56668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:25:21] local.INFO: GPS data processed {"connection_id":56668,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:25:21] local.INFO: Acknowledgment sent {"connection_id":56668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:25:33] local.INFO: TCP Data received {"connection_id":56667,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:33] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:25:33] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:33] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:25:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:25:33] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:25:33] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:25:34] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:25:34] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:25:34] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:25:52] local.INFO: TCP Data received {"connection_id":56668,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34c7ad0012d195a400720ab68002f005524..."} 
[2026-04-28 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34c7ad0012d195a400720ab68002f005524..."} 
[2026-04-28 14:25:52] local.INFO: Processing buffer {"connection_id":56668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34c7ad0012d195a400720ab68002f005524..."} 
[2026-04-28 14:25:52] local.INFO: Packet analysis {"connection_id":56668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:25:52] local.INFO: Extracted packet for processing {"connection_id":56668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119581544,"longitude_deg":75.6636224,"latitude_deg":11.9581544,"altitude":47,"angle":85,"satellites":36,"speed":29,"hex_longitude":"2d195a40","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005822720001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115593959530561536,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354674653184,"note":"Value kept but may cause issues"} 
[2026-04-28 14:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777366498000,"timestamp_ms":1777366498000,"timestamp_seconds":1777366498,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34c7ad0"} 
[2026-04-28 14:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:25: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-04-28 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 14:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005822720001,"66":13820,"106":206,"83":41984,"24":29,"16":115593959530561536,"45":1824239354674653184},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005822720001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:25:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115593959530561536,"km_value":115593959530561.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354674653184,"description":"Unknown IO ID 45"} 
[2026-04-28 14:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005822720001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1824239354674653184}} 
[2026-04-28 14:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":56668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:25:52] local.INFO: GPS data processed {"connection_id":56668,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:25:52] local.INFO: Acknowledgment sent {"connection_id":56668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:25:53] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:53] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:53] local.INFO: IMEI packet received {"connection_id":56482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:25:59] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:59] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:25:59] local.INFO: IMEI packet received {"connection_id":56482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:26:00] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:00] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:00] local.INFO: Packet analysis {"connection_id":56482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:26:00] local.INFO: Extracted packet for processing {"connection_id":56482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:26:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:26:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:26:00] local.INFO: GPS data processed {"connection_id":56482,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:26:00] local.INFO: Acknowledgment sent {"connection_id":56482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:26:14] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:14] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:14] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:26:16] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:16] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:16] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:26:19] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:19] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:26:19] local.INFO: IMEI packet received {"connection_id":56483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":56483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:26:20] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34c9a10012d196f400720adb0002f004826..."} 
[2026-04-28 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34c9a10012d196f400720adb0002f004826..."} 
[2026-04-28 14:26:20] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34c9a10012d196f400720adb0002f004826..."} 
[2026-04-28 14:26:20] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:26:20] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119582128,"longitude_deg":75.66416,"latitude_deg":11.9582128,"altitude":47,"angle":72,"satellites":38,"speed":30,"hex_longitude":"2d196f40","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005823488001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115594217228599296,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998209210368,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777366506000,"timestamp_ms":1777366506000,"timestamp_seconds":1777366506,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34c9a10"} 
[2026-04-28 14:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:26: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-04-28 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 14:26:20] 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-04-28 14: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-04-28 14:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005823488001,"66":13820,"75":206,"83":41984,"24":30,"16":115594217228599296,"45":1826842998209210368},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-28 14:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005823488001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:26:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-28 14:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115594217228599296,"km_value":115594217228599.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998209210368,"description":"Unknown IO ID 45"} 
[2026-04-28 14:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005823488001,"power":13820,"unknown_75":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1826842998209210368}} 
[2026-04-28 14:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:26:20] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:26:20] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:26:32] local.INFO: TCP Data received {"connection_id":56482,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:32] local.INFO: Processing buffer {"connection_id":56482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:26:32] local.INFO: Packet analysis {"connection_id":56482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:26:32] local.INFO: Extracted packet for processing {"connection_id":56482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:26:32] 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-04-28 14:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":56482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:26:32] local.INFO: GPS data processed {"connection_id":56482,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:26:32] local.INFO: Acknowledgment sent {"connection_id":56482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:26:51] local.INFO: TCP Data received {"connection_id":56483,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34cb568012d1982c00720b2900033005424..."} 
[2026-04-28 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34cb568012d1982c00720b2900033005424..."} 
[2026-04-28 14:26:51] local.INFO: Processing buffer {"connection_id":56483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34cb568012d1982c00720b2900033005424..."} 
[2026-04-28 14:26:51] local.INFO: Packet analysis {"connection_id":56483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:26:51] local.INFO: Extracted packet for processing {"connection_id":56483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34c"} 
[2026-04-28 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756646592,"raw_latitude":119583376,"longitude_deg":75.6646592,"latitude_deg":11.9583376,"altitude":51,"angle":84,"satellites":36,"speed":22,"hex_longitude":"2d1982c0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-04-28 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005825536001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115594462041735168,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972720283648,"note":"Value kept but may cause issues"} 
[2026-04-28 14:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777366513000,"timestamp_ms":1777366513000,"timestamp_seconds":1777366513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34cb568"} 
[2026-04-28 14:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:26: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-04-28 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 14:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005825536001,"66":14254,"75":206,"83":41984,"24":22,"16":115594462041735168,"45":1832753972720283648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-28 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005825536001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:26:51] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-28 14:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115594462041735168,"km_value":115594462041735.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972720283648,"description":"Unknown IO ID 45"} 
[2026-04-28 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005825536001,"power":14254,"unknown_75":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1832753972720283648}} 
[2026-04-28 14:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":56483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:26:52] local.INFO: GPS data processed {"connection_id":56483,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:26:52] local.INFO: Acknowledgment sent {"connection_id":56483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:26:53] local.INFO: TCP Data received {"connection_id":56711,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:53] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:53] local.INFO: IMEI packet received {"connection_id":56711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":56711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:26:59] local.INFO: TCP Data received {"connection_id":56711,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:59] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:26:59] local.INFO: IMEI packet received {"connection_id":56711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":56711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:27:00] local.INFO: TCP Data received {"connection_id":56711,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:00] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:00] local.INFO: Packet analysis {"connection_id":56711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:27:00] local.INFO: Extracted packet for processing {"connection_id":56711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:27:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:27:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":56711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:27:00] local.INFO: GPS data processed {"connection_id":56711,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:27:00] local.INFO: Acknowledgment sent {"connection_id":56711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:27:09] local.INFO: TCP Data received {"connection_id":56484,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:09] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:09] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:27:10] local.INFO: TCP Data received {"connection_id":56484,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:10] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:10] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:27:11] local.INFO: TCP Data received {"connection_id":56484,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:11] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:11] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:27:12] local.INFO: TCP Data received {"connection_id":56484,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:12] local.INFO: Processing buffer {"connection_id":56484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:27:12] local.INFO: IMEI packet received {"connection_id":56484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":56484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:27:32] local.INFO: TCP Data received {"connection_id":56711,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:32] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:27:32] local.INFO: Packet analysis {"connection_id":56711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:27:32] local.INFO: Extracted packet for processing {"connection_id":56711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:27:32] 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-04-28 14:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:27:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":56711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:27:32] local.INFO: GPS data processed {"connection_id":56711,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:27:32] local.INFO: Acknowledgment sent {"connection_id":56711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:27:59] local.INFO: TCP Data received {"connection_id":57387,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:27:59] local.INFO: Processing buffer {"connection_id":57387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:27:59] local.INFO: IMEI packet received {"connection_id":57387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":57387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:28:04] local.INFO: TCP Data received {"connection_id":57387,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:04] local.INFO: Processing buffer {"connection_id":57387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:04] local.INFO: IMEI packet received {"connection_id":57387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":57387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:28:05] local.INFO: TCP Data received {"connection_id":57387,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:05] local.INFO: Processing buffer {"connection_id":57387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:05] local.INFO: Packet analysis {"connection_id":57387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:28:05] local.INFO: Extracted packet for processing {"connection_id":57387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:28:05] 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-04-28 14:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:28:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":57387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:28:05] local.INFO: GPS data processed {"connection_id":57387,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:28:05] local.INFO: Acknowledgment sent {"connection_id":57387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:28:09] local.INFO: TCP Data received {"connection_id":57387,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:09] local.INFO: Processing buffer {"connection_id":57387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:28:09] local.INFO: Packet analysis {"connection_id":57387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:28:09] local.INFO: Extracted packet for processing {"connection_id":57387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:28:09] 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-04-28 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:28:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:28:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":57387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:28:09] local.INFO: GPS data processed {"connection_id":57387,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:28:09] local.INFO: Acknowledgment sent {"connection_id":57387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:28:53] local.INFO: TCP Data received {"connection_id":57388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:53] local.INFO: Processing buffer {"connection_id":57388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:53] local.INFO: IMEI packet received {"connection_id":57388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":57388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:28:59] local.INFO: TCP Data received {"connection_id":57388,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:59] local.INFO: Processing buffer {"connection_id":57388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:28:59] local.INFO: IMEI packet received {"connection_id":57388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":57388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:29:00] local.INFO: TCP Data received {"connection_id":57388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:00] local.INFO: Processing buffer {"connection_id":57388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34b1b40012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:00] local.INFO: Packet analysis {"connection_id":57388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:29:00] local.INFO: Extracted packet for processing {"connection_id":57388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34b"} 
[2026-04-28 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005723392001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366408000,"timestamp_ms":1777366408000,"timestamp_seconds":1777366408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34b1b40"} 
[2026-04-28 14:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005723392001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005723392001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:29:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:29:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005723392001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":57388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:29:00] local.INFO: GPS data processed {"connection_id":57388,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:29:00] local.INFO: Acknowledgment sent {"connection_id":57388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:29:31] local.INFO: TCP Data received {"connection_id":57388,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:31] local.INFO: Processing buffer {"connection_id":57388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:29:31] local.INFO: Packet analysis {"connection_id":57388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:29:31] local.INFO: Extracted packet for processing {"connection_id":57388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:29:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:29:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":57388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:29:31] local.INFO: GPS data processed {"connection_id":57388,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:29:31] local.INFO: Acknowledgment sent {"connection_id":57388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:29:59] local.INFO: TCP Data received {"connection_id":56671,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:29:59] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:29:59] local.INFO: IMEI packet received {"connection_id":56671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:30:04] local.INFO: TCP Data received {"connection_id":56671,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:04] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:04] local.INFO: IMEI packet received {"connection_id":56671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":56671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:30:05] local.INFO: TCP Data received {"connection_id":56671,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:05] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:05] local.INFO: Packet analysis {"connection_id":56671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:30:05] local.INFO: Extracted packet for processing {"connection_id":56671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:30:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":56671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:30:05] local.INFO: GPS data processed {"connection_id":56671,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:30:05] local.INFO: Acknowledgment sent {"connection_id":56671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:30:09] local.INFO: TCP Data received {"connection_id":56671,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:09] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:30:09] local.INFO: Packet analysis {"connection_id":56671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:30:09] local.INFO: Extracted packet for processing {"connection_id":56671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":56671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:30:09] local.INFO: GPS data processed {"connection_id":56671,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:30:09] local.INFO: Acknowledgment sent {"connection_id":56671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:30:54] local.INFO: TCP Data received {"connection_id":57389,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:54] local.INFO: Processing buffer {"connection_id":57389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:54] local.INFO: IMEI packet received {"connection_id":57389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":57389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:30:54] local.INFO: TCP Data received {"connection_id":56672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:30:54] local.INFO: Processing buffer {"connection_id":56672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:30:54] local.INFO: IMEI packet received {"connection_id":56672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:30:59] local.INFO: TCP Data received {"connection_id":57389,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:59] local.INFO: Processing buffer {"connection_id":57389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:30:59] local.INFO: IMEI packet received {"connection_id":57389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":57389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:31:00] local.INFO: TCP Data received {"connection_id":57389,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:00] local.INFO: Processing buffer {"connection_id":57389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:00] local.INFO: Packet analysis {"connection_id":57389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:31:00] local.INFO: Extracted packet for processing {"connection_id":57389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:31:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:31:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":57389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:31:00] local.INFO: GPS data processed {"connection_id":57389,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:31:00] local.INFO: Acknowledgment sent {"connection_id":57389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:31:31] local.INFO: TCP Data received {"connection_id":57389,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:31] local.INFO: Processing buffer {"connection_id":57389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:31:31] local.INFO: Packet analysis {"connection_id":57389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:31:31] local.INFO: Extracted packet for processing {"connection_id":57389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:31:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:31:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":57389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:31:32] local.INFO: GPS data processed {"connection_id":57389,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:31:32] local.INFO: Acknowledgment sent {"connection_id":57389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:31:39] local.INFO: TCP Data received {"connection_id":56487,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:31:39] local.INFO: Processing buffer {"connection_id":56487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:31:39] local.INFO: IMEI packet received {"connection_id":56487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":56487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:31:53] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:53] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:53] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:31:59] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:59] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:31:59] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:32:00] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:00] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:00] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:32:00] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:32:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:32:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:32:00] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:32:00] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:32:14] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:32:14] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:32:14] local.INFO: IMEI packet received {"connection_id":56674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":56674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:32:15] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3521468012d19fd80071fbbd80038007525..."} 
[2026-04-28 14:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3521468012d19fd80071fbbd80038007525..."} 
[2026-04-28 14:32:15] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3521468012d19fd80071fbbd80038007525..."} 
[2026-04-28 14:32:15] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:32:15] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756678016,"raw_latitude":119520216,"longitude_deg":75.6678016,"latitude_deg":11.9520216,"altitude":56,"angle":117,"satellites":37,"speed":18,"hex_longitude":"2d19fd80","hex_latitude":"071fbbd8","is_valid_coordinates":true} 
[2026-04-28 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005917184001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115600127103598592,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575676499968,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366865000,"timestamp_ms":1777366865000,"timestamp_seconds":1777366865,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3521468"} 
[2026-04-28 14:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:32: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-04-28 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 14:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005917184001,"66":14428,"106":206,"83":41984,"24":18,"16":115600127103598592,"45":1872371575676499968},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005917184001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:32:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115600127103598592,"km_value":115600127103598.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575676499968,"description":"Unknown IO ID 45"} 
[2026-04-28 14:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005917184001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1872371575676499968}} 
[2026-04-28 14:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:32:15] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:32:15] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:32:32] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:32] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:32:32] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:32:32] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:32:32] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:32:32] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:32:46] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3521850012d19fe40071fba880039009025..."} 
[2026-04-28 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3521850012d19fe40071fba880039009025..."} 
[2026-04-28 14:32:46] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3521850012d19fe40071fba880039009025..."} 
[2026-04-28 14:32:46] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:32:46] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756678208,"raw_latitude":119519880,"longitude_deg":75.6678208,"latitude_deg":11.951988,"altitude":57,"angle":144,"satellites":37,"speed":15,"hex_longitude":"2d19fe40","hex_latitude":"071fba88","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005917440001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115600148578435072,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872793788141524992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366866000,"timestamp_ms":1777366866000,"timestamp_seconds":1777366866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3521850"} 
[2026-04-28 14:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:32: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-04-28 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 14:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005917440001,"66":13928,"106":206,"83":41984,"24":15,"16":115600148578435072,"45":1872793788141524992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005917440001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:32:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115600148578435072,"km_value":115600148578435.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872793788141524992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005917440001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1872793788141524992}} 
[2026-04-28 14:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:32:46] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:32:46] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:32:53] local.INFO: TCP Data received {"connection_id":56675,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:53] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:53] local.INFO: IMEI packet received {"connection_id":56675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:32:59] local.INFO: TCP Data received {"connection_id":56675,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:59] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:32:59] local.INFO: IMEI packet received {"connection_id":56675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:33:00] local.INFO: TCP Data received {"connection_id":56675,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:00] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:00] local.INFO: Packet analysis {"connection_id":56675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:33:00] local.INFO: Extracted packet for processing {"connection_id":56675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:33:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":56675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:33:00] local.INFO: GPS data processed {"connection_id":56675,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:33:00] local.INFO: Acknowledgment sent {"connection_id":56675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:33:09] local.INFO: TCP Data received {"connection_id":57390,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:09] local.INFO: Processing buffer {"connection_id":57390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:09] local.INFO: IMEI packet received {"connection_id":57390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":57390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:33:14] local.INFO: TCP Data received {"connection_id":57390,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:14] local.INFO: Processing buffer {"connection_id":57390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:33:14] local.INFO: IMEI packet received {"connection_id":57390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":57390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:33:15] local.INFO: TCP Data received {"connection_id":57390,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3521c38012d19fe40071fb8e8003900a925..."} 
[2026-04-28 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3521c38012d19fe40071fb8e8003900a925..."} 
[2026-04-28 14:33:15] local.INFO: Processing buffer {"connection_id":57390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3521c38012d19fe40071fb8e8003900a925..."} 
[2026-04-28 14:33:15] local.INFO: Packet analysis {"connection_id":57390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:33:15] local.INFO: Extracted packet for processing {"connection_id":57390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd352"} 
[2026-04-28 14:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756678208,"raw_latitude":119519464,"longitude_deg":75.6678208,"latitude_deg":11.9519464,"altitude":57,"angle":169,"satellites":37,"speed":15,"hex_longitude":"2d19fe40","hex_latitude":"071fb8e8","is_valid_coordinates":true} 
[2026-04-28 14:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005917696001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115600170053271552,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873004894373971968,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366867000,"timestamp_ms":1777366867000,"timestamp_seconds":1777366867,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3521c38"} 
[2026-04-28 14:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:33: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-04-28 14:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 14:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005917696001,"66":13928,"106":206,"83":41984,"24":15,"16":115600170053271552,"45":1873004894373971968},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005917696001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:33:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115600170053271552,"km_value":115600170053271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873004894373971968,"description":"Unknown IO ID 45"} 
[2026-04-28 14:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005917696001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1873004894373971968}} 
[2026-04-28 14:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":57390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:33:15] local.INFO: GPS data processed {"connection_id":57390,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:33:15] local.INFO: Acknowledgment sent {"connection_id":57390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:33:32] local.INFO: TCP Data received {"connection_id":56675,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:32] local.INFO: Processing buffer {"connection_id":56675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:33:32] local.INFO: Packet analysis {"connection_id":56675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:33:32] local.INFO: Extracted packet for processing {"connection_id":56675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:33:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":56675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:33:32] local.INFO: GPS data processed {"connection_id":56675,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:33:32] local.INFO: Acknowledgment sent {"connection_id":56675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:33:46] local.INFO: TCP Data received {"connection_id":57390,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd353d1b8012d19f940071f7668003d012522..."} 
[2026-04-28 14:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd353d1b8012d19f940071f7668003d012522..."} 
[2026-04-28 14:33:46] local.INFO: Processing buffer {"connection_id":57390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd353d1b8012d19f940071f7668003d012522..."} 
[2026-04-28 14:33:46] local.INFO: Packet analysis {"connection_id":57390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:33:46] local.INFO: Extracted packet for processing {"connection_id":57390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756676928,"raw_latitude":119502440,"longitude_deg":75.6676928,"latitude_deg":11.950244,"altitude":61,"angle":293,"satellites":34,"speed":4,"hex_longitude":"2d19f940","hex_latitude":"071f7668","is_valid_coordinates":true} 
[2026-04-28 14:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005946112001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115601041931632640,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871878994462638080,"note":"Value kept but may cause issues"} 
[2026-04-28 14:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777366979000,"timestamp_ms":1777366979000,"timestamp_seconds":1777366979,"priority":1,"record_length":96,"hex_timestamp":"0000019dd353d1b8"} 
[2026-04-28 14:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:33: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-04-28 14:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 14:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005946112001,"66":14396,"106":206,"83":41984,"24":4,"16":115601041931632640,"45":1871878994462638080},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005946112001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:33:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115601041931632640,"km_value":115601041931632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871878994462638080,"description":"Unknown IO ID 45"} 
[2026-04-28 14:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005946112001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1871878994462638080}} 
[2026-04-28 14:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":57390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:33:46] local.INFO: GPS data processed {"connection_id":57390,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:33:46] local.INFO: Acknowledgment sent {"connection_id":57390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:33:59] local.INFO: TCP Data received {"connection_id":57391,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:33:59] local.INFO: Processing buffer {"connection_id":57391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:33:59] local.INFO: IMEI packet received {"connection_id":57391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":57391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:34:04] local.INFO: TCP Data received {"connection_id":57391,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:04] local.INFO: Processing buffer {"connection_id":57391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:04] local.INFO: IMEI packet received {"connection_id":57391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":57391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:34:05] local.INFO: TCP Data received {"connection_id":57391,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:05] local.INFO: Processing buffer {"connection_id":57391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:05] local.INFO: Packet analysis {"connection_id":57391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:34:05] local.INFO: Extracted packet for processing {"connection_id":57391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:34:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":57391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:34:05] local.INFO: GPS data processed {"connection_id":57391,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:34:05] local.INFO: Acknowledgment sent {"connection_id":57391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:34:09] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:09] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:09] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:34:09] local.INFO: TCP Data received {"connection_id":57391,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:09] local.INFO: Processing buffer {"connection_id":57391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd34fb308012d7fa44005afde680009011229..."} 
[2026-04-28 14:34:09] local.INFO: Packet analysis {"connection_id":57391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:34:09] local.INFO: Extracted packet for processing {"connection_id":57391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd34f"} 
[2026-04-28 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005800448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777366709000,"timestamp_ms":1777366709000,"timestamp_seconds":1777366709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd34fb308"} 
[2026-04-28 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005800448001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005800448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005800448001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":57391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:34:09] local.INFO: GPS data processed {"connection_id":57391,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:34:09] local.INFO: Acknowledgment sent {"connection_id":57391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:34:10] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:10] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:10] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:34:14] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:14] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:34:14] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:34:15] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd353d5a0012d19f900071f7678003d011222..."} 
[2026-04-28 14:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd353d5a0012d19f900071f7678003d011222..."} 
[2026-04-28 14:34:15] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd353d5a0012d19f900071f7678003d011222..."} 
[2026-04-28 14:34:15] local.INFO: Packet analysis {"connection_id":56716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:34:15] local.INFO: Extracted packet for processing {"connection_id":56716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756676864,"raw_latitude":119502456,"longitude_deg":75.6676864,"latitude_deg":11.9502456,"altitude":61,"angle":274,"satellites":34,"speed":5,"hex_longitude":"2d19f900","hex_latitude":"071f7678","is_valid_coordinates":true} 
[2026-04-28 14:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005946624001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115601041931632640,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871597519485954048,"note":"Value kept but may cause issues"} 
[2026-04-28 14:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777366980000,"timestamp_ms":1777366980000,"timestamp_seconds":1777366980,"priority":1,"record_length":96,"hex_timestamp":"0000019dd353d5a0"} 
[2026-04-28 14:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:34: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-04-28 14:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 14:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005946624001,"66":14396,"106":206,"83":41984,"24":5,"16":115601041931632640,"45":1871597519485954048},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005946624001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:34:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115601041931632640,"km_value":115601041931632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871597519485954048,"description":"Unknown IO ID 45"} 
[2026-04-28 14:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005946624001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1871597519485954048}} 
[2026-04-28 14:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":56716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:34:15] local.INFO: GPS data processed {"connection_id":56716,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:34:15] local.INFO: Acknowledgment sent {"connection_id":56716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:34:53] local.INFO: TCP Data received {"connection_id":56717,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:53] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:53] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:34:59] local.INFO: TCP Data received {"connection_id":56717,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:59] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:34:59] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:35:00] local.INFO: TCP Data received {"connection_id":56717,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:00] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:00] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:35:00] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:35:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:35:00] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:35:00] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:35:04] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd353f0f8012d19f8c0071f7700003d000f22..."} 
[2026-04-28 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd353f0f8012d19f8c0071f7700003d000f22..."} 
[2026-04-28 14:35:04] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd353f0f8012d19f8c0071f7700003d000f22..."} 
[2026-04-28 14:35:04] local.INFO: Packet analysis {"connection_id":56716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:35:04] local.INFO: Extracted packet for processing {"connection_id":56716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd353"} 
[2026-04-28 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756676800,"raw_latitude":119502592,"longitude_deg":75.66768,"latitude_deg":11.9502592,"altitude":61,"angle":15,"satellites":34,"speed":2,"hex_longitude":"2d19f8c0","hex_latitude":"071f7700","is_valid_coordinates":true} 
[2026-04-28 14:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005946880001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115601063406469120,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871527150741780480,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777366987000,"timestamp_ms":1777366987000,"timestamp_seconds":1777366987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd353f0f8"} 
[2026-04-28 14:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 14:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:35: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-04-28 14:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005946880001,"66":14428,"106":206,"83":41984,"24":2,"16":115601063406469120,"45":1871527150741780480},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005946880001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115601063406469120,"km_value":115601063406469.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871527150741780480,"description":"Unknown IO ID 45"} 
[2026-04-28 14:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005946880001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1871527150741780480}} 
[2026-04-28 14:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":56716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:35:04] local.INFO: GPS data processed {"connection_id":56716,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:35:04] local.INFO: Acknowledgment sent {"connection_id":56716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:35:10] local.INFO: TCP Data received {"connection_id":56718,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:10] local.INFO: Processing buffer {"connection_id":56718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:10] local.INFO: IMEI packet received {"connection_id":56718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":56718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:35:12] local.INFO: TCP Data received {"connection_id":56718,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:12] local.INFO: Processing buffer {"connection_id":56718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:12] local.INFO: IMEI packet received {"connection_id":56718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":56718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:35:13] local.INFO: TCP Data received {"connection_id":56718,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:13] local.INFO: Processing buffer {"connection_id":56718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:13] local.INFO: IMEI packet received {"connection_id":56718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":56718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:35:14] local.INFO: TCP Data received {"connection_id":56718,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:14] local.INFO: Processing buffer {"connection_id":56718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:35:14] local.INFO: IMEI packet received {"connection_id":56718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":56718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:35:32] local.INFO: TCP Data received {"connection_id":56717,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:32] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:35:32] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:35:32] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:35:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:35:32] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:35:32] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:35:59] local.INFO: TCP Data received {"connection_id":57392,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:35:59] local.INFO: Processing buffer {"connection_id":57392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:35:59] local.INFO: IMEI packet received {"connection_id":57392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":57392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:36:04] local.INFO: TCP Data received {"connection_id":57392,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:04] local.INFO: Processing buffer {"connection_id":57392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:04] local.INFO: IMEI packet received {"connection_id":57392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":57392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:36:06] local.INFO: TCP Data received {"connection_id":57392,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:06] local.INFO: Processing buffer {"connection_id":57392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:06] local.INFO: Packet analysis {"connection_id":57392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:36:06] local.INFO: Extracted packet for processing {"connection_id":57392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:36:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:36:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":57392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:36:06] local.INFO: GPS data processed {"connection_id":57392,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:36:06] local.INFO: Acknowledgment sent {"connection_id":57392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:36:08] local.INFO: TCP Data received {"connection_id":57392,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:08] local.INFO: Processing buffer {"connection_id":57392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:36:08] local.INFO: Packet analysis {"connection_id":57392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:36:08] local.INFO: Extracted packet for processing {"connection_id":57392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:36:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:36:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":57392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:36:08] local.INFO: GPS data processed {"connection_id":57392,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:36:08] local.INFO: Acknowledgment sent {"connection_id":57392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:36:54] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:54] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:54] local.INFO: IMEI packet received {"connection_id":56677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":56677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:36:54] local.INFO: TCP Data received {"connection_id":56676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:36:54] local.INFO: Processing buffer {"connection_id":56676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:36:54] local.INFO: IMEI packet received {"connection_id":56676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":56676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:36:59] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:59] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:36:59] local.INFO: IMEI packet received {"connection_id":56677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":56677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:37:00] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:00] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:00] local.INFO: Packet analysis {"connection_id":56677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:37:00] local.INFO: Extracted packet for processing {"connection_id":56677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:37:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:37:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":56677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:37:00] local.INFO: GPS data processed {"connection_id":56677,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:37:00] local.INFO: Acknowledgment sent {"connection_id":56677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:37:32] local.INFO: TCP Data received {"connection_id":56677,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:32] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:37:32] local.INFO: Packet analysis {"connection_id":56677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:37:32] local.INFO: Extracted packet for processing {"connection_id":56677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:37:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":56677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:37:32] local.INFO: GPS data processed {"connection_id":56677,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:37:32] local.INFO: Acknowledgment sent {"connection_id":56677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:37:34] local.INFO: TCP Data received {"connection_id":56678,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:37:34] local.INFO: Processing buffer {"connection_id":56678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:37:34] local.INFO: IMEI packet received {"connection_id":56678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":56678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:37:53] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:53] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:53] local.INFO: IMEI packet received {"connection_id":56720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:37:59] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:59] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:37:59] local.INFO: IMEI packet received {"connection_id":56720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:38:00] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:00] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:00] local.INFO: Packet analysis {"connection_id":56720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:00] local.INFO: Extracted packet for processing {"connection_id":56720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:38:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:38:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:38:00] local.INFO: GPS data processed {"connection_id":56720,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:38:00] local.INFO: Acknowledgment sent {"connection_id":56720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:38:32] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:32] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:32] local.INFO: Packet analysis {"connection_id":56720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:32] local.INFO: Extracted packet for processing {"connection_id":56720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 14:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":56720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:38:32] local.INFO: GPS data processed {"connection_id":56720,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:38:32] local.INFO: Acknowledgment sent {"connection_id":56720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:38:53] local.INFO: TCP Data received {"connection_id":56494,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:53] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:53] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:38:58] local.INFO: TCP Data received {"connection_id":56494,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:58] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:38:58] local.INFO: IMEI packet received {"connection_id":56494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":56494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:38:59] local.INFO: TCP Data received {"connection_id":56494,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:59] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3544ad0012d7fa44005afde680009011229..."} 
[2026-04-28 14:38:59] local.INFO: Packet analysis {"connection_id":56494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:59] local.INFO: Extracted packet for processing {"connection_id":56494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd354"} 
[2026-04-28 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005877504001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777367010000,"timestamp_ms":1777367010000,"timestamp_seconds":1777367010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3544ad0"} 
[2026-04-28 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-04-28 14:38: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-04-28 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005877504001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005877504001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:38:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:38:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005877504001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":56494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:38:59] local.INFO: GPS data processed {"connection_id":56494,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:38:59] local.INFO: Acknowledgment sent {"connection_id":56494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:39:30] local.INFO: TCP Data received {"connection_id":56494,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:39:30] local.INFO: Processing buffer {"connection_id":56494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:39:30] local.INFO: Packet analysis {"connection_id":56494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:39:30] local.INFO: Extracted packet for processing {"connection_id":56494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:39:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:39:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":56494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:39:30] local.INFO: GPS data processed {"connection_id":56494,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:39:30] local.INFO: Acknowledgment sent {"connection_id":56494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:39:53] local.INFO: TCP Data received {"connection_id":57394,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:53] local.INFO: Processing buffer {"connection_id":57394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:53] local.INFO: IMEI packet received {"connection_id":57394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":57394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:39:59] local.INFO: TCP Data received {"connection_id":57394,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:59] local.INFO: Processing buffer {"connection_id":57394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:39:59] local.INFO: IMEI packet received {"connection_id":57394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":57394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:40:00] local.INFO: TCP Data received {"connection_id":57394,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:00] local.INFO: Processing buffer {"connection_id":57394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:00] local.INFO: Packet analysis {"connection_id":57394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:40:00] local.INFO: Extracted packet for processing {"connection_id":57394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:40:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":57394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:40:00] local.INFO: GPS data processed {"connection_id":57394,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:40:00] local.INFO: Acknowledgment sent {"connection_id":57394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:40:20] local.INFO: TCP Data received {"connection_id":57395,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:40:20] local.INFO: Processing buffer {"connection_id":57395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:40:20] local.INFO: IMEI packet received {"connection_id":57395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":57395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:40:21] local.INFO: TCP Data received {"connection_id":57395,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3577b38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3577b38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:21] local.INFO: Processing buffer {"connection_id":57395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3577b38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:21] local.INFO: Packet analysis {"connection_id":57395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd357"} 
[2026-04-28 14:40:21] local.INFO: Extracted packet for processing {"connection_id":57395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd357"} 
[2026-04-28 14:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006002688001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:21] 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-04-28 14:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777367219000,"timestamp_ms":1777367219000,"timestamp_seconds":1777367219,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3577b38"} 
[2026-04-28 14:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 14:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006002688001,"66":12917,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006002688001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:40:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006002688001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":57395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:40:21] local.INFO: GPS data processed {"connection_id":57395,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:40:21] local.INFO: Acknowledgment sent {"connection_id":57395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:40:32] local.INFO: TCP Data received {"connection_id":57394,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:32] local.INFO: Processing buffer {"connection_id":57394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:40:32] local.INFO: Packet analysis {"connection_id":57394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:40:32] local.INFO: Extracted packet for processing {"connection_id":57394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:40:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":57394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:40:32] local.INFO: GPS data processed {"connection_id":57394,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:40:32] local.INFO: Acknowledgment sent {"connection_id":57394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:40:52] local.INFO: TCP Data received {"connection_id":57395,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd357cd40012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd357cd40012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:52] local.INFO: Processing buffer {"connection_id":57395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd357cd40012d193d40071ffa180038010f24..."} 
[2026-04-28 14:40:52] local.INFO: Packet analysis {"connection_id":57395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd357"} 
[2026-04-28 14:40:52] local.INFO: Extracted packet for processing {"connection_id":57395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd357"} 
[2026-04-28 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006008064001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777367240000,"timestamp_ms":1777367240000,"timestamp_seconds":1777367240,"priority":1,"record_length":96,"hex_timestamp":"0000019dd357cd40"} 
[2026-04-28 14:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 14:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006008064001,"66":12841,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006008064001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:40:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006008064001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":57395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:40:52] local.INFO: GPS data processed {"connection_id":57395,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:40:52] local.INFO: Acknowledgment sent {"connection_id":57395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:40:53] local.INFO: TCP Data received {"connection_id":57396,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:53] local.INFO: Processing buffer {"connection_id":57396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:53] local.INFO: IMEI packet received {"connection_id":57396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":57396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:40:59] local.INFO: TCP Data received {"connection_id":57396,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:59] local.INFO: Processing buffer {"connection_id":57396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:40:59] local.INFO: IMEI packet received {"connection_id":57396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":57396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:41:00] local.INFO: TCP Data received {"connection_id":57396,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:00] local.INFO: Processing buffer {"connection_id":57396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:00] local.INFO: Packet analysis {"connection_id":57396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:00] local.INFO: Extracted packet for processing {"connection_id":57396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:41:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":57396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:41:00] local.INFO: GPS data processed {"connection_id":57396,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:41:00] local.INFO: Acknowledgment sent {"connection_id":57396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:41:09] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:09] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:09] local.INFO: IMEI packet received {"connection_id":56681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":56681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:41:14] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:14] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:41:14] local.INFO: IMEI packet received {"connection_id":56681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":56681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:41:15] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3581f48012d193d40071ffa180038010f20..."} 
[2026-04-28 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3581f48012d193d40071ffa180038010f20..."} 
[2026-04-28 14:41:15] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3581f48012d193d40071ffa180038010f20..."} 
[2026-04-28 14:41:15] local.INFO: Packet analysis {"connection_id":56681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:15] local.INFO: Extracted packet for processing {"connection_id":56681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006013440001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367261000,"timestamp_ms":1777367261000,"timestamp_seconds":1777367261,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3581f48"} 
[2026-04-28 14:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 14:41:15] 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-04-28 14:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006013440001,"66":12841,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006013440001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:41:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006013440001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":56681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:41:15] local.INFO: GPS data processed {"connection_id":56681,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:41:15] local.INFO: Acknowledgment sent {"connection_id":56681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:41:31] local.INFO: TCP Data received {"connection_id":57396,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:32] local.INFO: Processing buffer {"connection_id":57396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:41:32] local.INFO: Packet analysis {"connection_id":57396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:32] local.INFO: Extracted packet for processing {"connection_id":57396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":57396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:41:32] local.INFO: GPS data processed {"connection_id":57396,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:41:32] local.INFO: Acknowledgment sent {"connection_id":57396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:41:46] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3587150012d193d40071ffa180038010f21..."} 
[2026-04-28 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3587150012d193d40071ffa180038010f21..."} 
[2026-04-28 14:41:46] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3587150012d193d40071ffa180038010f21..."} 
[2026-04-28 14:41:46] local.INFO: Packet analysis {"connection_id":56681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:46] local.INFO: Extracted packet for processing {"connection_id":56681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006018816001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367282000,"timestamp_ms":1777367282000,"timestamp_seconds":1777367282,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3587150"} 
[2026-04-28 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-04-28 14:41: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-04-28 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":41,"data_length":795,"current_offset":136} 
[2026-04-28 14:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006018816001,"66":12809,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006018816001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:41:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006018816001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":56681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:41:46] local.INFO: GPS data processed {"connection_id":56681,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:41:46] local.INFO: Acknowledgment sent {"connection_id":56681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:41:59] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:41:59] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:41:59] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:42:04] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:04] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:04] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:42:05] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:05] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:05] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:05] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:42:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:42:05] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:42:05] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:42:09] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:09] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:42:09] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:09] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:42:09] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:42:09] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:42:10] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:10] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:10] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:42:14] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:14] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:14] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:42:19] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:19] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:42:19] local.INFO: IMEI packet received {"connection_id":56496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":56496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:42:20] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358c358012d193d40071ffa180038010f21..."} 
[2026-04-28 14:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358c358012d193d40071ffa180038010f21..."} 
[2026-04-28 14:42:20] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358c358012d193d40071ffa180038010f21..."} 
[2026-04-28 14:42:20] local.INFO: Packet analysis {"connection_id":56496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:20] local.INFO: Extracted packet for processing {"connection_id":56496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006024192001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777367303000,"timestamp_ms":1777367303000,"timestamp_seconds":1777367303,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358c358"} 
[2026-04-28 14:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:42: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-04-28 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":864691128622908416,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3545662752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4195876920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6232225425332456128,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111091696045,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056140288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304338878280048166,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,182,31,45,64,250,56,32,10,66,205,36,123,1,240,117,227,211,4,113,215,61,33,239,50,2,154,7,57,17,164,11],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 14:42:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035523375509012480,"timestamp_seconds":4035523375509012.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006024192001,"66":12798,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006024192001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:42:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006024192001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":56496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:42:20] local.INFO: GPS data processed {"connection_id":56496,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:42:20] local.INFO: Acknowledgment sent {"connection_id":56496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:42:24] local.INFO: TCP Data received {"connection_id":56496,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3591560012d193d40071ffa180038010f20..."} 
[2026-04-28 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3591560012d193d40071ffa180038010f20..."} 
[2026-04-28 14:42:24] local.INFO: Processing buffer {"connection_id":56496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3591560012d193d40071ffa180038010f20..."} 
[2026-04-28 14:42:24] local.INFO: Packet analysis {"connection_id":56496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:42:24] local.INFO: Extracted packet for processing {"connection_id":56496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006029568001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777367324000,"timestamp_ms":1777367324000,"timestamp_seconds":1777367324,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3591560"} 
[2026-04-28 14:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 14:42:24] 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-04-28 14: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-04-28 14:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006029568001,"66":12809,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006029568001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:42:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006029568001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":56496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:42:24] local.INFO: GPS data processed {"connection_id":56496,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:42:24] local.INFO: Acknowledgment sent {"connection_id":56496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:42:54] local.INFO: TCP Data received {"connection_id":56683,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:54] local.INFO: Processing buffer {"connection_id":56683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:54] local.INFO: IMEI packet received {"connection_id":56683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":56683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:42:54] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:42:54] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:42:54] local.INFO: IMEI packet received {"connection_id":56682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":56682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:42:59] local.INFO: TCP Data received {"connection_id":56683,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:59] local.INFO: Processing buffer {"connection_id":56683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:42:59] local.INFO: IMEI packet received {"connection_id":56683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:43:00] local.INFO: TCP Data received {"connection_id":56683,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:00] local.INFO: Processing buffer {"connection_id":56683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:00] local.INFO: Packet analysis {"connection_id":56683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:43:00] local.INFO: Extracted packet for processing {"connection_id":56683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:43:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":56683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:43:00] local.INFO: GPS data processed {"connection_id":56683,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:43:00] local.INFO: Acknowledgment sent {"connection_id":56683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:43:09] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:09] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:09] local.INFO: IMEI packet received {"connection_id":56723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":56723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:43:13] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:13] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:43:13] local.INFO: IMEI packet received {"connection_id":56723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":56723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:43:14] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3596768012d193d40071ffa180038010f1e..."} 
[2026-04-28 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3596768012d193d40071ffa180038010f1e..."} 
[2026-04-28 14:43:14] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3596768012d193d40071ffa180038010f1e..."} 
[2026-04-28 14:43:14] local.INFO: Packet analysis {"connection_id":56723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:43:14] local.INFO: Extracted packet for processing {"connection_id":56723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":30,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006034944001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] 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-04-28 14:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777367345000,"timestamp_ms":1777367345000,"timestamp_seconds":1777367345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3596768"} 
[2026-04-28 14:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3545704752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4195876920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6257514192771300672,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359366233683,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056140288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304180548572090145,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:14] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,106,83,24,241,157,16,182,195,45,64,250,56,33,10,66,113,31,1,240,41,227,211,4,205,123,61,36,239,50,2,154,7,164],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 14:43:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035523371214045184,"timestamp_seconds":4035523371214045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006034944001,"66":12809,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006034944001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:43:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006034944001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":56723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:43:14] local.INFO: GPS data processed {"connection_id":56723,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:43:14] local.INFO: Acknowledgment sent {"connection_id":56723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:43:31] local.INFO: TCP Data received {"connection_id":56683,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:31] local.INFO: Processing buffer {"connection_id":56683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:43:31] local.INFO: Packet analysis {"connection_id":56683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:43:31] local.INFO: Extracted packet for processing {"connection_id":56683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:43:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":56683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:43:31] local.INFO: GPS data processed {"connection_id":56683,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:43:31] local.INFO: Acknowledgment sent {"connection_id":56683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:43:34] local.INFO: TCP Data received {"connection_id":56684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:43:34] local.INFO: Processing buffer {"connection_id":56684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:43:34] local.INFO: IMEI packet received {"connection_id":56684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":56684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:43:45] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd359b970012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd359b970012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:43:45] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd359b970012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:43:45] local.INFO: Packet analysis {"connection_id":56723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:43:45] local.INFO: Extracted packet for processing {"connection_id":56723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd359"} 
[2026-04-28 14:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":31,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006040320001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] 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-04-28 14:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777367366000,"timestamp_ms":1777367366000,"timestamp_seconds":1777367366,"priority":1,"record_length":96,"hex_timestamp":"0000019dd359b970"} 
[2026-04-28 14:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:43: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-04-28 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3545725752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6280603936954596672,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4195876920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1073818905,"corrected_to":0} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359366233683,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056140288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304180548572090146,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 14:43:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,182,21,45,64,250,56,32,10,66,195,33,113,1,240,9,227,211,31,4,205,61,36,239,50,2,154,7,164,41],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1073818905,"validated":0}]} 
[2026-04-28 14:43:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035523362624110592,"timestamp_seconds":4035523362624110.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006040320001,"66":12776,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006040320001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:43:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006040320001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":56723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:43:45] local.INFO: GPS data processed {"connection_id":56723,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:43:45] local.INFO: Acknowledgment sent {"connection_id":56723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:43:53] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:53] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:53] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:43:59] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:59] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:43:59] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:44:00] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:44:00] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd358e298012d7fa44005afde680009011229..."} 
[2026-04-28 14:44:00] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:44:00] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd358"} 
[2026-04-28 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455005954560001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367311000,"timestamp_ms":1777367311000,"timestamp_seconds":1777367311,"priority":1,"record_length":96,"hex_timestamp":"0000019dd358e298"} 
[2026-04-28 14:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455005954560001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455005954560001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:44:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455005954560001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:44:00] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:44:00] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:44:09] local.INFO: TCP Data received {"connection_id":56497,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:09] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:09] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:44:14] local.INFO: TCP Data received {"connection_id":56497,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:14] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:44:14] local.INFO: IMEI packet received {"connection_id":56497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:44:15] local.INFO: TCP Data received {"connection_id":56497,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35a0b78012d193d40071ffa180038010f20..."} 
[2026-04-28 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35a0b78012d193d40071ffa180038010f20..."} 
[2026-04-28 14:44:15] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35a0b78012d193d40071ffa180038010f20..."} 
[2026-04-28 14:44:15] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:44:15] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006045696001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367387000,"timestamp_ms":1777367387000,"timestamp_seconds":1777367387,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35a0b78"} 
[2026-04-28 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 14:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006045696001,"66":12765,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006045696001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:44:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006045696001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:44:15] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:44:15] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:44:31] local.INFO: TCP Data received {"connection_id":56685,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:44:31] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:44:31] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:44:31] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:44:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:44:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:44:31] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:44:31] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:44:46] local.INFO: TCP Data received {"connection_id":56497,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35a5d80012d193d40071ffa180038010f23..."} 
[2026-04-28 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35a5d80012d193d40071ffa180038010f23..."} 
[2026-04-28 14:44:46] local.INFO: Processing buffer {"connection_id":56497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35a5d80012d193d40071ffa180038010f23..."} 
[2026-04-28 14:44:46] local.INFO: Packet analysis {"connection_id":56497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:44:46] local.INFO: Extracted packet for processing {"connection_id":56497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":35,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006051072001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367408000,"timestamp_ms":1777367408000,"timestamp_seconds":1777367408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35a5d80"} 
[2026-04-28 14:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:44: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-04-28 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 14:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006051072001,"66":12765,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006051072001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:44:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006051072001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":56497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:44:46] local.INFO: GPS data processed {"connection_id":56497,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:44:46] local.INFO: Acknowledgment sent {"connection_id":56497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:44:54] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:54] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:54] local.INFO: IMEI packet received {"connection_id":56498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":56498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:44:59] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:59] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:44:59] local.INFO: IMEI packet received {"connection_id":56498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:45:00] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:00] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:00] local.INFO: Packet analysis {"connection_id":56498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:45:00] local.INFO: Extracted packet for processing {"connection_id":56498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:45: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-04-28 14:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":56498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:45:00] local.INFO: GPS data processed {"connection_id":56498,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:45:00] local.INFO: Acknowledgment sent {"connection_id":56498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:45:09] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:09] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:09] local.INFO: IMEI packet received {"connection_id":56686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":56686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:45:14] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:14] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:45:14] local.INFO: IMEI packet received {"connection_id":56686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":56686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:45:15] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35aaf88012d193d40071ffa180038010f23..."} 
[2026-04-28 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35aaf88012d193d40071ffa180038010f23..."} 
[2026-04-28 14:45:15] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35aaf88012d193d40071ffa180038010f23..."} 
[2026-04-28 14:45:15] local.INFO: Packet analysis {"connection_id":56686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:45:15] local.INFO: Extracted packet for processing {"connection_id":56686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35a"} 
[2026-04-28 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":35,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006056448001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367429000,"timestamp_ms":1777367429000,"timestamp_seconds":1777367429,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35aaf88"} 
[2026-04-28 14:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:45: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-04-28 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 14:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006056448001,"66":12765,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006056448001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:45:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006056448001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":56686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:45:15] local.INFO: GPS data processed {"connection_id":56686,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:45:15] local.INFO: Acknowledgment sent {"connection_id":56686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:45:32] local.INFO: TCP Data received {"connection_id":56498,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:32] local.INFO: Processing buffer {"connection_id":56498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:45:32] local.INFO: Packet analysis {"connection_id":56498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:45:32] local.INFO: Extracted packet for processing {"connection_id":56498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:45:32] local.INFO: GPS data processed {"connection_id":56498,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:45:32] local.INFO: Acknowledgment sent {"connection_id":56498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:45:46] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35e35e0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35e35e0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:45:46] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35e35e0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:45:46] local.INFO: Packet analysis {"connection_id":56686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:45:46] local.INFO: Extracted packet for processing {"connection_id":56686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006115584001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367660000,"timestamp_ms":1777367660000,"timestamp_seconds":1777367660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35e35e0"} 
[2026-04-28 14:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:45: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-04-28 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 14:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006115584001,"66":12558,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006115584001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006115584001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":56686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:45:46] local.INFO: GPS data processed {"connection_id":56686,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:45:46] local.INFO: Acknowledgment sent {"connection_id":56686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:45:53] local.INFO: TCP Data received {"connection_id":57398,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:53] local.INFO: Processing buffer {"connection_id":57398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:53] local.INFO: IMEI packet received {"connection_id":57398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":57398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:45:59] local.INFO: TCP Data received {"connection_id":57398,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:59] local.INFO: Processing buffer {"connection_id":57398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:45:59] local.INFO: IMEI packet received {"connection_id":57398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":57398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:46:00] local.INFO: TCP Data received {"connection_id":57398,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:00] local.INFO: Processing buffer {"connection_id":57398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:00] local.INFO: Packet analysis {"connection_id":57398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:46:00] local.INFO: Extracted packet for processing {"connection_id":57398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:46:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:46:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":57398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:46:00] local.INFO: GPS data processed {"connection_id":57398,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:46:00] local.INFO: Acknowledgment sent {"connection_id":57398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:46:09] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:09] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:09] local.INFO: IMEI packet received {"connection_id":56725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":56725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:46:14] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:14] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:46:14] local.INFO: IMEI packet received {"connection_id":56725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":56725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:46:15] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35e87e8012d193d40071ffa180038010f23..."} 
[2026-04-28 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35e87e8012d193d40071ffa180038010f23..."} 
[2026-04-28 14:46:15] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35e87e8012d193d40071ffa180038010f23..."} 
[2026-04-28 14:46:15] local.INFO: Packet analysis {"connection_id":56725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:46:15] local.INFO: Extracted packet for processing {"connection_id":56725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":35,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006120960001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367681000,"timestamp_ms":1777367681000,"timestamp_seconds":1777367681,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35e87e8"} 
[2026-04-28 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:46: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-04-28 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3546040752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249695951331260952,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4195876920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056140288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,182,227,45,64,250,56,35,10,66,145,36,63,1,240,69,211,31,4,113,205,155,61,33,239,49,2,154,7,86,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 14:46:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035523379803979776,"timestamp_seconds":4035523379803980.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006120960001,"66":12580,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006120960001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:46:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006120960001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":56725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:46:15] local.INFO: GPS data processed {"connection_id":56725,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:46:15] local.INFO: Acknowledgment sent {"connection_id":56725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:46:32] local.INFO: TCP Data received {"connection_id":57398,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:32] local.INFO: Processing buffer {"connection_id":57398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:46:32] local.INFO: Packet analysis {"connection_id":57398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:46:32] local.INFO: Extracted packet for processing {"connection_id":57398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":57398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:46:32] local.INFO: GPS data processed {"connection_id":57398,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:46:32] local.INFO: Acknowledgment sent {"connection_id":57398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:46:46] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35ed9f0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35ed9f0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:46:46] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35ed9f0012d193d40071ffa180038010f22..."} 
[2026-04-28 14:46:46] local.INFO: Packet analysis {"connection_id":56725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:46:46] local.INFO: Extracted packet for processing {"connection_id":56725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35e"} 
[2026-04-28 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006126336001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367702000,"timestamp_ms":1777367702000,"timestamp_seconds":1777367702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35ed9f0"} 
[2026-04-28 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-04-28 14:46: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-04-28 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-28 14:46:46] 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-04-28 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-04-28 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-04-28 14:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006126336001,"66":12591,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006126336001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:46:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006126336001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":56725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:46:46] local.INFO: GPS data processed {"connection_id":56725,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:46:46] local.INFO: Acknowledgment sent {"connection_id":56725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:46:53] local.INFO: TCP Data received {"connection_id":56688,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:53] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:53] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:46:59] local.INFO: TCP Data received {"connection_id":56688,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:59] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:46:59] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:47:00] local.INFO: TCP Data received {"connection_id":56688,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:00] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:00] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:47:00] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 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-04-28 14:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:47:00] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:47:00] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:47:09] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:09] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:09] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:47:14] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:14] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:47:14] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:47:15] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35f2bf8012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35f2bf8012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:15] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35f2bf8012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:15] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:47:15] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006131712001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367723000,"timestamp_ms":1777367723000,"timestamp_seconds":1777367723,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35f2bf8"} 
[2026-04-28 14:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:47: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-04-28 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 14:47:15] 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-04-28 14:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006131712001,"66":12591,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006131712001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:47:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006131712001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:47:15] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:47:15] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:47:32] local.INFO: TCP Data received {"connection_id":56688,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:32] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:47:32] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:47:32] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:47:32] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:47:32] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:47:46] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35f7e00012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35f7e00012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:46] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35f7e00012d193d40071ffa180038010f21..."} 
[2026-04-28 14:47:46] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:47:46] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006137088001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367744000,"timestamp_ms":1777367744000,"timestamp_seconds":1777367744,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35f7e00"} 
[2026-04-28 14:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:47: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-04-28 14:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 14:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006137088001,"66":12558,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006137088001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:47:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006137088001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:47:46] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:47:46] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:47:59] local.INFO: TCP Data received {"connection_id":57399,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:47:59] local.INFO: Processing buffer {"connection_id":57399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:47:59] local.INFO: IMEI packet received {"connection_id":57399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":57399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:48:04] local.INFO: TCP Data received {"connection_id":57399,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:04] local.INFO: Processing buffer {"connection_id":57399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:04] local.INFO: IMEI packet received {"connection_id":57399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":57399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:48:05] local.INFO: TCP Data received {"connection_id":57399,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:05] local.INFO: Processing buffer {"connection_id":57399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:05] local.INFO: Packet analysis {"connection_id":57399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:48:05] local.INFO: Extracted packet for processing {"connection_id":57399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:48:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:48:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":57399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:48:05] local.INFO: GPS data processed {"connection_id":57399,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:48:05] local.INFO: Acknowledgment sent {"connection_id":57399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:48:10] local.INFO: TCP Data received {"connection_id":57399,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:10] local.INFO: Processing buffer {"connection_id":57399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:48:10] local.INFO: Packet analysis {"connection_id":57399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:48:10] local.INFO: Extracted packet for processing {"connection_id":57399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:48:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:48:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":57399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:48:10] local.INFO: GPS data processed {"connection_id":57399,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:48:10] local.INFO: Acknowledgment sent {"connection_id":57399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:48:14] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:14] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:14] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:48:19] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:19] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:48:19] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:48:20] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35fd008012d193d40071ffa180038010f21..."} 
[2026-04-28 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35fd008012d193d40071ffa180038010f21..."} 
[2026-04-28 14:48:20] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35fd008012d193d40071ffa180038010f21..."} 
[2026-04-28 14:48:20] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:48:20] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35f"} 
[2026-04-28 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006142464001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777367765000,"timestamp_ms":1777367765000,"timestamp_seconds":1777367765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35fd008"} 
[2026-04-28 14:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:48: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-04-28 14:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3546124752,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249695951331260952,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4195876920,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056140288,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,182,43,45,64,250,56,33,10,66,217,34,135,1,240,36,227,211,31,4,113,205,61,35,239,49,2,154,7,86,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 14:48:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035523375509012480,"timestamp_seconds":4035523375509012.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 14:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006142464001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006142464001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:48:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006142464001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:48:20] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:48:20] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:48:24] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3602210012d193d40071ffa180038010f24..."} 
[2026-04-28 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3602210012d193d40071ffa180038010f24..."} 
[2026-04-28 14:48:24] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3602210012d193d40071ffa180038010f24..."} 
[2026-04-28 14:48:24] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:48:24] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006147840001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777367786000,"timestamp_ms":1777367786000,"timestamp_seconds":1777367786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3602210"} 
[2026-04-28 14:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006147840001,"66":12537,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006147840001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:48:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006147840001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:48:24] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:48:24] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:48:54] local.INFO: TCP Data received {"connection_id":57400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:54] local.INFO: Processing buffer {"connection_id":57400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:54] local.INFO: IMEI packet received {"connection_id":57400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":57400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:48:59] local.INFO: TCP Data received {"connection_id":57400,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:59] local.INFO: Processing buffer {"connection_id":57400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:48:59] local.INFO: IMEI packet received {"connection_id":57400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":57400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:48:59] local.INFO: TCP Data received {"connection_id":56728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:48:59] local.INFO: Processing buffer {"connection_id":56728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:48:59] local.INFO: IMEI packet received {"connection_id":56728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:49:00] local.INFO: TCP Data received {"connection_id":57400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:00] local.INFO: Processing buffer {"connection_id":57400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd35d7a60012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:00] local.INFO: Packet analysis {"connection_id":57400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:49:00] local.INFO: Extracted packet for processing {"connection_id":57400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd35d"} 
[2026-04-28 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006031616001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367612000,"timestamp_ms":1777367612000,"timestamp_seconds":1777367612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd35d7a60"} 
[2026-04-28 14:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14: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-04-28 14:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006031616001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006031616001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:49:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006031616001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":57400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:49:00] local.INFO: GPS data processed {"connection_id":57400,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:49:00] local.INFO: Acknowledgment sent {"connection_id":57400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:49:09] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:09] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:09] local.INFO: IMEI packet received {"connection_id":56500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":56500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:49:10] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:10] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:10] local.INFO: IMEI packet received {"connection_id":56500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":56500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:49:14] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:14] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:49:14] local.INFO: IMEI packet received {"connection_id":56500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":56500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:49:15] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3607418012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3607418012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:15] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3607418012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:15] local.INFO: Packet analysis {"connection_id":56500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:49:15] local.INFO: Extracted packet for processing {"connection_id":56500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006153216001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367807000,"timestamp_ms":1777367807000,"timestamp_seconds":1777367807,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3607418"} 
[2026-04-28 14:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:49: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-04-28 14:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 14:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006153216001,"66":12537,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006153216001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:49:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006153216001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":56500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:49:15] local.INFO: GPS data processed {"connection_id":56500,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:49:15] local.INFO: Acknowledgment sent {"connection_id":56500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:49:19] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd360c620012d193d40071ffa180038010f20..."} 
[2026-04-28 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd360c620012d193d40071ffa180038010f20..."} 
[2026-04-28 14:49:19] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd360c620012d193d40071ffa180038010f20..."} 
[2026-04-28 14:49:19] local.INFO: Packet analysis {"connection_id":56500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:49:19] local.INFO: Extracted packet for processing {"connection_id":56500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd360"} 
[2026-04-28 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006158592001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777367828000,"timestamp_ms":1777367828000,"timestamp_seconds":1777367828,"priority":1,"record_length":96,"hex_timestamp":"0000019dd360c620"} 
[2026-04-28 14:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:49: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-04-28 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 14:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006158592001,"66":12515,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006158592001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:49:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006158592001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":56500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:49:19] local.INFO: GPS data processed {"connection_id":56500,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:49:19] local.INFO: Acknowledgment sent {"connection_id":56500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:49:31] local.INFO: TCP Data received {"connection_id":57400,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:31] local.INFO: Processing buffer {"connection_id":57400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:49:31] local.INFO: Packet analysis {"connection_id":57400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:49:31] local.INFO: Extracted packet for processing {"connection_id":57400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:49:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:49:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":57400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:49:31] local.INFO: GPS data processed {"connection_id":57400,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:49:31] local.INFO: Acknowledgment sent {"connection_id":57400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:49:34] local.INFO: TCP Data received {"connection_id":56689,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:49:34] local.INFO: Processing buffer {"connection_id":56689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:49:34] local.INFO: IMEI packet received {"connection_id":56689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":56689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:49:50] local.INFO: TCP Data received {"connection_id":56500,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3611828012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3611828012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:50] local.INFO: Processing buffer {"connection_id":56500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3611828012d193d40071ffa180038010f21..."} 
[2026-04-28 14:49:50] local.INFO: Packet analysis {"connection_id":56500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:49:50] local.INFO: Extracted packet for processing {"connection_id":56500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006163968001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:49:50] 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-04-28 14:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777367849000,"timestamp_ms":1777367849000,"timestamp_seconds":1777367849,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3611828"} 
[2026-04-28 14:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:49: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-04-28 14: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 14:49:50] 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-04-28 14: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-04-28 14:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006163968001,"66":12526,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006163968001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:49:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006163968001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":56500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:49:51] local.INFO: GPS data processed {"connection_id":56500,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:49:51] local.INFO: Acknowledgment sent {"connection_id":56500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:49:53] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:53] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:53] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:49:59] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:59] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:49:59] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:50:00] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:00] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:00] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:50:00] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 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-04-28 14:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:50:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:50:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:50:00] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:50:00] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:50:09] local.INFO: TCP Data received {"connection_id":57401,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:09] local.INFO: Processing buffer {"connection_id":57401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:09] local.INFO: IMEI packet received {"connection_id":57401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":57401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:50:13] local.INFO: TCP Data received {"connection_id":57401,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:13] local.INFO: Processing buffer {"connection_id":57401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:50:13] local.INFO: IMEI packet received {"connection_id":57401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":57401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:50:14] local.INFO: TCP Data received {"connection_id":57401,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3616a30012d193d40071ffa180038010f21..."} 
[2026-04-28 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3616a30012d193d40071ffa180038010f21..."} 
[2026-04-28 14:50:14] local.INFO: Processing buffer {"connection_id":57401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3616a30012d193d40071ffa180038010f21..."} 
[2026-04-28 14:50:14] local.INFO: Packet analysis {"connection_id":57401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:50:14] local.INFO: Extracted packet for processing {"connection_id":57401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006169344001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:14] 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-04-28 14:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777367870000,"timestamp_ms":1777367870000,"timestamp_seconds":1777367870,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3616a30"} 
[2026-04-28 14:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:50:14] 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-04-28 14:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006169344001,"66":12515,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006169344001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:50:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006169344001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":57401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:50:14] local.INFO: GPS data processed {"connection_id":57401,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:50:14] local.INFO: Acknowledgment sent {"connection_id":57401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:50:32] local.INFO: TCP Data received {"connection_id":56690,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:32] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:50:32] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:50:32] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:50:32] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:50:32] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:50:44] local.INFO: TCP Data received {"connection_id":57401,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd361bc38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd361bc38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:50:44] local.INFO: Processing buffer {"connection_id":57401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd361bc38012d193d40071ffa180038010f24..."} 
[2026-04-28 14:50:44] local.INFO: Packet analysis {"connection_id":57401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:50:44] local.INFO: Extracted packet for processing {"connection_id":57401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd361"} 
[2026-04-28 14:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006174720001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777367891000,"timestamp_ms":1777367891000,"timestamp_seconds":1777367891,"priority":1,"record_length":96,"hex_timestamp":"0000019dd361bc38"} 
[2026-04-28 14:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:50: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-04-28 14:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 14:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006174720001,"66":12526,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006174720001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:50:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006174720001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":57401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:50:45] local.INFO: GPS data processed {"connection_id":57401,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:50:45] local.INFO: Acknowledgment sent {"connection_id":57401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:50:54] local.INFO: TCP Data received {"connection_id":56501,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:54] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:54] local.INFO: IMEI packet received {"connection_id":56501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":56501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:50:59] local.INFO: TCP Data received {"connection_id":56501,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:59] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:50:59] local.INFO: IMEI packet received {"connection_id":56501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":56501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:51:00] local.INFO: TCP Data received {"connection_id":56501,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:00] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:00] local.INFO: Packet analysis {"connection_id":56501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:00] local.INFO: Extracted packet for processing {"connection_id":56501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:51:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":56501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:51:00] local.INFO: GPS data processed {"connection_id":56501,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:51:00] local.INFO: Acknowledgment sent {"connection_id":56501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:51:04] local.INFO: TCP Data received {"connection_id":56501,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:04] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:04] local.INFO: Packet analysis {"connection_id":56501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:04] local.INFO: Extracted packet for processing {"connection_id":56501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":56501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:51:04] local.INFO: GPS data processed {"connection_id":56501,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:51:04] local.INFO: Acknowledgment sent {"connection_id":56501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:51:09] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:09] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:09] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:51:14] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:14] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:51:14] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:51:15] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3620e40012d193d40071ffa180038010f22..."} 
[2026-04-28 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3620e40012d193d40071ffa180038010f22..."} 
[2026-04-28 14:51:15] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3620e40012d193d40071ffa180038010f22..."} 
[2026-04-28 14:51:15] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:15] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006180096001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367912000,"timestamp_ms":1777367912000,"timestamp_seconds":1777367912,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3620e40"} 
[2026-04-28 14:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:51: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-04-28 14:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 14:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006180096001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006180096001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:51:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006180096001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:51:15] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:51:15] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:51:36] local.INFO: TCP Data received {"connection_id":56501,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:36] local.INFO: Processing buffer {"connection_id":56501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:51:36] local.INFO: Packet analysis {"connection_id":56501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:36] local.INFO: Extracted packet for processing {"connection_id":56501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:51:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:51:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":56501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:51:36] local.INFO: GPS data processed {"connection_id":56501,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:51:36] local.INFO: Acknowledgment sent {"connection_id":56501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:51:46] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3626048012d193d40071ffa180038010f21..."} 
[2026-04-28 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3626048012d193d40071ffa180038010f21..."} 
[2026-04-28 14:51:46] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3626048012d193d40071ffa180038010f21..."} 
[2026-04-28 14:51:46] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:46] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185472001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777367933000,"timestamp_ms":1777367933000,"timestamp_seconds":1777367933,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3626048"} 
[2026-04-28 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-04-28 14:51: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-04-28 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185472001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185472001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:51:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185472001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:51:46] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:51:46] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:51:53] local.INFO: TCP Data received {"connection_id":56503,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:53] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:53] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:51:59] local.INFO: TCP Data received {"connection_id":56503,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:59] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:51:59] local.INFO: IMEI packet received {"connection_id":56503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:52:00] local.INFO: TCP Data received {"connection_id":56503,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:00] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:00] local.INFO: Packet analysis {"connection_id":56503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:00] local.INFO: Extracted packet for processing {"connection_id":56503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:52:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:52:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":56503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:52:00] local.INFO: GPS data processed {"connection_id":56503,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:52:00] local.INFO: Acknowledgment sent {"connection_id":56503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:52:09] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:09] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:09] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:52:14] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:14] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:52:14] local.INFO: IMEI packet received {"connection_id":56504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":56504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:52:15] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd362b250012d193d40071ffa180038010f20..."} 
[2026-04-28 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd362b250012d193d40071ffa180038010f20..."} 
[2026-04-28 14:52:15] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd362b250012d193d40071ffa180038010f20..."} 
[2026-04-28 14:52:15] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:15] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006190848001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367954000,"timestamp_ms":1777367954000,"timestamp_seconds":1777367954,"priority":1,"record_length":96,"hex_timestamp":"0000019dd362b250"} 
[2026-04-28 14:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:52: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-04-28 14:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006190848001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006190848001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:52:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006190848001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:52:15] local.INFO: GPS data processed {"connection_id":56504,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:52:15] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:52:32] local.INFO: TCP Data received {"connection_id":56503,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:32] local.INFO: Processing buffer {"connection_id":56503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:52:32] local.INFO: Packet analysis {"connection_id":56503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:32] local.INFO: Extracted packet for processing {"connection_id":56503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":56503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:52:33] local.INFO: GPS data processed {"connection_id":56503,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:52:33] local.INFO: Acknowledgment sent {"connection_id":56503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:52:46] local.INFO: TCP Data received {"connection_id":56504,"ip":"42.106.6.152","data_length":93,"data_hex":"00000000000000518e010000019dd3630458012d193d40071ffa180038010f22..."} 
[2026-04-28 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56504,"packet_length":93,"packet_hex":"00000000000000518e010000019dd3630458012d193d40071ffa180038010f22..."} 
[2026-04-28 14:52:46] local.INFO: Processing buffer {"connection_id":56504,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd3630458012d193d40071ffa180038010f22..."} 
[2026-04-28 14:52:46] local.INFO: Packet analysis {"connection_id":56504,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd363"} 
[2026-04-28 14:52:46] local.INFO: Extracted packet for processing {"connection_id":56504,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd363"} 
[2026-04-28 14:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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":93,"current_offset":40} 
[2026-04-28 14:52: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-04-28 14:52: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-04-28 14:52:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:52:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 14:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56504,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 14:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 14:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56504,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-28 14:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 14:52:46] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 14:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":56504,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 14:52:46] local.ERROR: GPS data processing failed {"connection_id":56504,"error":"No valid data to process"} 
[2026-04-28 14:52:46] local.INFO: Acknowledgment sent {"connection_id":56504,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 14:52:53] local.INFO: TCP Data received {"connection_id":56730,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:53] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:53] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:52:59] local.INFO: TCP Data received {"connection_id":56730,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:59] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:52:59] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:53:00] local.INFO: TCP Data received {"connection_id":56730,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:00] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:00] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:53:00] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:53:00] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:53:00] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:53:09] local.INFO: TCP Data received {"connection_id":57403,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:09] local.INFO: Processing buffer {"connection_id":57403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:09] local.INFO: IMEI packet received {"connection_id":57403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":57403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:53:14] local.INFO: TCP Data received {"connection_id":57403,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:14] local.INFO: Processing buffer {"connection_id":57403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:53:14] local.INFO: IMEI packet received {"connection_id":57403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":57403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:53:15] local.INFO: TCP Data received {"connection_id":57403,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3635660012d193d40071ffa180038010f21..."} 
[2026-04-28 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3635660012d193d40071ffa180038010f21..."} 
[2026-04-28 14:53:15] local.INFO: Processing buffer {"connection_id":57403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3635660012d193d40071ffa180038010f21..."} 
[2026-04-28 14:53:15] local.INFO: Packet analysis {"connection_id":57403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:53:15] local.INFO: Extracted packet for processing {"connection_id":57403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006201600001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777367996000,"timestamp_ms":1777367996000,"timestamp_seconds":1777367996,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3635660"} 
[2026-04-28 14:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:53: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-04-28 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006201600001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006201600001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:53:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006201600001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":57403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:53:15] local.INFO: GPS data processed {"connection_id":57403,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:53:15] local.INFO: Acknowledgment sent {"connection_id":57403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:53:33] local.INFO: TCP Data received {"connection_id":56730,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:33] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:53:33] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:53:33] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:53:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:53:33] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:53:33] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:53:46] local.INFO: TCP Data received {"connection_id":57403,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd363a868012d193d40071ffa180038010f22..."} 
[2026-04-28 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd363a868012d193d40071ffa180038010f22..."} 
[2026-04-28 14:53:46] local.INFO: Processing buffer {"connection_id":57403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd363a868012d193d40071ffa180038010f22..."} 
[2026-04-28 14:53:46] local.INFO: Packet analysis {"connection_id":57403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:53:46] local.INFO: Extracted packet for processing {"connection_id":57403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006206976001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368017000,"timestamp_ms":1777368017000,"timestamp_seconds":1777368017,"priority":1,"record_length":96,"hex_timestamp":"0000019dd363a868"} 
[2026-04-28 14:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:53: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-04-28 14:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006206976001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006206976001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:53:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006206976001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":57403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:53:46] local.INFO: GPS data processed {"connection_id":57403,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:53:46] local.INFO: Acknowledgment sent {"connection_id":57403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:53:59] local.INFO: TCP Data received {"connection_id":56693,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:53:59] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:53:59] local.INFO: IMEI packet received {"connection_id":56693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:54:04] local.INFO: TCP Data received {"connection_id":56693,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:04] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:04] local.INFO: IMEI packet received {"connection_id":56693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":56693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:54:05] local.INFO: TCP Data received {"connection_id":56693,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:05] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:05] local.INFO: Packet analysis {"connection_id":56693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:54:05] local.INFO: Extracted packet for processing {"connection_id":56693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":56693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:54:05] local.INFO: GPS data processed {"connection_id":56693,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:54:05] local.INFO: Acknowledgment sent {"connection_id":56693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:54:09] local.INFO: TCP Data received {"connection_id":56693,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:09] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3621228012d7fa44005afde680009011228..."} 
[2026-04-28 14:54:09] local.INFO: Packet analysis {"connection_id":56693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:54:09] local.INFO: Extracted packet for processing {"connection_id":56693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd362"} 
[2026-04-28 14:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:54: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-04-28 14:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777367913000,"timestamp_ms":1777367913000,"timestamp_seconds":1777367913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3621228"} 
[2026-04-28 14:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 14:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:54: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-04-28 14:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006108672001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006108672001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":56693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:54:09] local.INFO: GPS data processed {"connection_id":56693,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:54:09] local.INFO: Acknowledgment sent {"connection_id":56693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:54:14] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:14] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:14] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:54:19] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:19] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:54:19] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:54:20] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd363fa70012d193d40071ffa180038010f24..."} 
[2026-04-28 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd363fa70012d193d40071ffa180038010f24..."} 
[2026-04-28 14:54:20] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd363fa70012d193d40071ffa180038010f24..."} 
[2026-04-28 14:54:20] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:54:20] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd363"} 
[2026-04-28 14:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006212352001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777368038000,"timestamp_ms":1777368038000,"timestamp_seconds":1777368038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd363fa70"} 
[2026-04-28 14:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:54: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-04-28 14:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:54:20] 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-04-28 14:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006212352001,"66":12504,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006212352001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:54:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006212352001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:54:20] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:54:20] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:54:24] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3644c78012d193d40071ffa180038010f22..."} 
[2026-04-28 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3644c78012d193d40071ffa180038010f22..."} 
[2026-04-28 14:54:24] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3644c78012d193d40071ffa180038010f22..."} 
[2026-04-28 14:54:24] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:54:24] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006217728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777368059000,"timestamp_ms":1777368059000,"timestamp_seconds":1777368059,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3644c78"} 
[2026-04-28 14:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 14:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006217728001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006217728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:54:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006217728001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:54:24] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:54:24] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:54:53] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:53] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:53] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:54:59] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:59] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:54:59] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:54:59] local.INFO: TCP Data received {"connection_id":57404,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:54:59] local.INFO: Processing buffer {"connection_id":57404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:54:59] local.INFO: IMEI packet received {"connection_id":57404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":57404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:55:00] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:00] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:00] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:55:00] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:55: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-04-28 14:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:55:00] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:55:00] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:55:07] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:07] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:07] local.INFO: IMEI packet received {"connection_id":56505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":56505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:55:09] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:09] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:09] local.INFO: IMEI packet received {"connection_id":56505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":56505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:55:14] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:14] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:55:14] local.INFO: IMEI packet received {"connection_id":56505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":56505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:55:15] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3649e80012d193d40071ffa180038010f21..."} 
[2026-04-28 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3649e80012d193d40071ffa180038010f21..."} 
[2026-04-28 14:55:15] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3649e80012d193d40071ffa180038010f21..."} 
[2026-04-28 14:55:15] local.INFO: Packet analysis {"connection_id":56505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:55:15] local.INFO: Extracted packet for processing {"connection_id":56505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006223104001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777368080000,"timestamp_ms":1777368080000,"timestamp_seconds":1777368080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3649e80"} 
[2026-04-28 14:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:55: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-04-28 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006223104001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006223104001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:55:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006223104001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":56505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:55:15] local.INFO: GPS data processed {"connection_id":56505,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:55:15] local.INFO: Acknowledgment sent {"connection_id":56505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:55:31] local.INFO: TCP Data received {"connection_id":56694,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:31] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:55:31] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:55:31] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:55:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:55:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:55:31] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:55:31] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:55:39] local.INFO: TCP Data received {"connection_id":56506,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:55:39] local.INFO: Processing buffer {"connection_id":56506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 14:55:39] local.INFO: IMEI packet received {"connection_id":56506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 14:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":56506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:55:46] local.INFO: TCP Data received {"connection_id":56505,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd364f088012d193d40071ffa180038010f20..."} 
[2026-04-28 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd364f088012d193d40071ffa180038010f20..."} 
[2026-04-28 14:55:46] local.INFO: Processing buffer {"connection_id":56505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd364f088012d193d40071ffa180038010f20..."} 
[2026-04-28 14:55:46] local.INFO: Packet analysis {"connection_id":56505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:55:46] local.INFO: Extracted packet for processing {"connection_id":56505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd364"} 
[2026-04-28 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006228480001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368101000,"timestamp_ms":1777368101000,"timestamp_seconds":1777368101,"priority":1,"record_length":96,"hex_timestamp":"0000019dd364f088"} 
[2026-04-28 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-04-28 14:55: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-04-28 14:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006228480001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006228480001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:55:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006228480001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":56505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:55:46] local.INFO: GPS data processed {"connection_id":56505,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:55:46] local.INFO: Acknowledgment sent {"connection_id":56505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:55:53] local.INFO: TCP Data received {"connection_id":57405,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:53] local.INFO: Processing buffer {"connection_id":57405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:53] local.INFO: IMEI packet received {"connection_id":57405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":57405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:55:59] local.INFO: TCP Data received {"connection_id":57405,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:59] local.INFO: Processing buffer {"connection_id":57405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:55:59] local.INFO: IMEI packet received {"connection_id":57405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":57405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:56:01] local.INFO: TCP Data received {"connection_id":57405,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:01] local.INFO: Processing buffer {"connection_id":57405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:01] local.INFO: Packet analysis {"connection_id":57405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:56:01] local.INFO: Extracted packet for processing {"connection_id":57405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:56: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-04-28 14:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:56:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:56:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":57405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:56:01] local.INFO: GPS data processed {"connection_id":57405,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:56:01] local.INFO: Acknowledgment sent {"connection_id":57405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:56:09] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:09] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:09] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:56:10] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:10] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:10] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:56:14] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:14] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:56:14] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:56:15] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3654290012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3654290012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:56:15] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3654290012d193d40071ffa180038010f1f..."} 
[2026-04-28 14:56:15] local.INFO: Packet analysis {"connection_id":56732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:56:15] local.INFO: Extracted packet for processing {"connection_id":56732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":31,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006233856001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777368122000,"timestamp_ms":1777368122000,"timestamp_seconds":1777368122,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3654290"} 
[2026-04-28 14:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006233856001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006233856001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:56:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006233856001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":56732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:56:15] local.INFO: GPS data processed {"connection_id":56732,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:56:15] local.INFO: Acknowledgment sent {"connection_id":56732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:56:33] local.INFO: TCP Data received {"connection_id":57405,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:33] local.INFO: Processing buffer {"connection_id":57405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:56:33] local.INFO: Packet analysis {"connection_id":57405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:56:33] local.INFO: Extracted packet for processing {"connection_id":57405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":57405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:56:33] local.INFO: GPS data processed {"connection_id":57405,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:56:33] local.INFO: Acknowledgment sent {"connection_id":57405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:56:46] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3659498012d193d40071ffa180038010f20..."} 
[2026-04-28 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3659498012d193d40071ffa180038010f20..."} 
[2026-04-28 14:56:46] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3659498012d193d40071ffa180038010f20..."} 
[2026-04-28 14:56:46] local.INFO: Packet analysis {"connection_id":56732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:56:46] local.INFO: Extracted packet for processing {"connection_id":56732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006239232001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368143000,"timestamp_ms":1777368143000,"timestamp_seconds":1777368143,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3659498"} 
[2026-04-28 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-04-28 14:56: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-04-28 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006239232001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006239232001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006239232001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":56732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:56:46] local.INFO: GPS data processed {"connection_id":56732,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:56:46] local.INFO: Acknowledgment sent {"connection_id":56732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:56:59] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:56:59] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:56:59] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:57:04] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:04] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:04] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:57:05] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:05] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:05] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:05] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:57:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:57:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:57:05] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:57:05] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:57:08] local.INFO: TCP Data received {"connection_id":56695,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:08] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:57:08] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:08] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:57: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-04-28 14:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:57:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:57:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:57:08] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:57:08] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:57:09] local.INFO: TCP Data received {"connection_id":56696,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:09] local.INFO: Processing buffer {"connection_id":56696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:09] local.INFO: IMEI packet received {"connection_id":56696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":56696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:57:13] local.INFO: TCP Data received {"connection_id":56696,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:13] local.INFO: Processing buffer {"connection_id":56696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:57:13] local.INFO: IMEI packet received {"connection_id":56696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":56696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:57:14] local.INFO: TCP Data received {"connection_id":56696,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd365e6a0012d193d40071ffa180038010f21..."} 
[2026-04-28 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd365e6a0012d193d40071ffa180038010f21..."} 
[2026-04-28 14:57:14] local.INFO: Processing buffer {"connection_id":56696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd365e6a0012d193d40071ffa180038010f21..."} 
[2026-04-28 14:57:14] local.INFO: Packet analysis {"connection_id":56696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:57:14] local.INFO: Extracted packet for processing {"connection_id":56696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd365"} 
[2026-04-28 14:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":33,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006244608001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:14] 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-04-28 14:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368164000,"timestamp_ms":1777368164000,"timestamp_seconds":1777368164,"priority":1,"record_length":96,"hex_timestamp":"0000019dd365e6a0"} 
[2026-04-28 14:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 14:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006244608001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006244608001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:57:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006244608001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":56696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:57:14] local.INFO: GPS data processed {"connection_id":56696,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:57:14] local.INFO: Acknowledgment sent {"connection_id":56696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:57:45] local.INFO: TCP Data received {"connection_id":56696,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36638a8012d193d40071ffa180038010f24..."} 
[2026-04-28 14:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36638a8012d193d40071ffa180038010f24..."} 
[2026-04-28 14:57:45] local.INFO: Processing buffer {"connection_id":56696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36638a8012d193d40071ffa180038010f24..."} 
[2026-04-28 14:57:45] local.INFO: Packet analysis {"connection_id":56696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:45] local.INFO: Extracted packet for processing {"connection_id":56696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006249984001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:57:45] 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-04-28 14:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777368185000,"timestamp_ms":1777368185000,"timestamp_seconds":1777368185,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36638a8"} 
[2026-04-28 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-04-28 14:57: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-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:57:45] 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-04-28 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-04-28 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-04-28 14:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006249984001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006249984001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006249984001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":56696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:57:45] local.INFO: GPS data processed {"connection_id":56696,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:57:45] local.INFO: Acknowledgment sent {"connection_id":56696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:57:54] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:54] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:54] local.INFO: IMEI packet received {"connection_id":56508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:57:59] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:59] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:57:59] local.INFO: IMEI packet received {"connection_id":56508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:58:01] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:01] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:01] local.INFO: Packet analysis {"connection_id":56508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:01] local.INFO: Extracted packet for processing {"connection_id":56508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:58: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-04-28 14: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-04-28 14:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":56508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:58:01] local.INFO: GPS data processed {"connection_id":56508,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:58:01] local.INFO: Acknowledgment sent {"connection_id":56508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:58:09] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:09] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:09] local.INFO: IMEI packet received {"connection_id":56733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":56733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:58:14] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:14] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:58:14] local.INFO: IMEI packet received {"connection_id":56733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":56733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:58:15] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3668ab0012d193d40071ffa180038010f24..."} 
[2026-04-28 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3668ab0012d193d40071ffa180038010f24..."} 
[2026-04-28 14:58:15] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3668ab0012d193d40071ffa180038010f24..."} 
[2026-04-28 14:58:15] local.INFO: Packet analysis {"connection_id":56733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:15] local.INFO: Extracted packet for processing {"connection_id":56733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006255360001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777368206000,"timestamp_ms":1777368206000,"timestamp_seconds":1777368206,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3668ab0"} 
[2026-04-28 14:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 14:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006255360001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006255360001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:58:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006255360001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":56733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:58:15] local.INFO: GPS data processed {"connection_id":56733,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:58:15] local.INFO: Acknowledgment sent {"connection_id":56733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:58:33] local.INFO: TCP Data received {"connection_id":56508,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:33] local.INFO: Processing buffer {"connection_id":56508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:58:33] local.INFO: Packet analysis {"connection_id":56508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:33] local.INFO: Extracted packet for processing {"connection_id":56508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14: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-04-28 14:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:58:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:58:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":56508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:58:33] local.INFO: GPS data processed {"connection_id":56508,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:58:33] local.INFO: Acknowledgment sent {"connection_id":56508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:58:46] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36a1108012d193d40071ffa180038010f20..."} 
[2026-04-28 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36a1108012d193d40071ffa180038010f20..."} 
[2026-04-28 14:58:46] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36a1108012d193d40071ffa180038010f20..."} 
[2026-04-28 14:58:46] local.INFO: Packet analysis {"connection_id":56733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:58:46] local.INFO: Extracted packet for processing {"connection_id":56733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 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-04-28 14:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006314496001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368437000,"timestamp_ms":1777368437000,"timestamp_seconds":1777368437,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36a1108"} 
[2026-04-28 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-04-28 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 14:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 14:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006314496001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006314496001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:58:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006314496001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":56733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:58:46] local.INFO: GPS data processed {"connection_id":56733,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:58:46] local.INFO: Acknowledgment sent {"connection_id":56733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:58:53] local.INFO: TCP Data received {"connection_id":57407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:53] local.INFO: Processing buffer {"connection_id":57407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:53] local.INFO: IMEI packet received {"connection_id":57407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":57407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:58:59] local.INFO: TCP Data received {"connection_id":57407,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:59] local.INFO: Processing buffer {"connection_id":57407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:58:59] local.INFO: IMEI packet received {"connection_id":57407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":57407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:59:00] local.INFO: TCP Data received {"connection_id":57407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:00] local.INFO: Processing buffer {"connection_id":57407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd366a9f0012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:00] local.INFO: Packet analysis {"connection_id":57407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:59:00] local.INFO: Extracted packet for processing {"connection_id":57407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd366"} 
[2026-04-28 14:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14: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-04-28 14:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006185728001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368214000,"timestamp_ms":1777368214000,"timestamp_seconds":1777368214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd366a9f0"} 
[2026-04-28 14:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:59: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-04-28 14: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-04-28 14:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006185728001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006185728001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006185728001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":57407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:59:00] local.INFO: GPS data processed {"connection_id":57407,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:59:00] local.INFO: Acknowledgment sent {"connection_id":57407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:59:09] local.INFO: TCP Data received {"connection_id":56698,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:09] local.INFO: Processing buffer {"connection_id":56698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:09] local.INFO: IMEI packet received {"connection_id":56698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":56698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 14:59:14] local.INFO: TCP Data received {"connection_id":56698,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:14] local.INFO: Processing buffer {"connection_id":56698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 14:59:14] local.INFO: IMEI packet received {"connection_id":56698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 14:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":56698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 14:59:15] local.INFO: TCP Data received {"connection_id":56698,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36a6310012d193d40071ffa180038010f22..."} 
[2026-04-28 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36a6310012d193d40071ffa180038010f22..."} 
[2026-04-28 14:59:15] local.INFO: Processing buffer {"connection_id":56698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36a6310012d193d40071ffa180038010f22..."} 
[2026-04-28 14:59:15] local.INFO: Packet analysis {"connection_id":56698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:59:15] local.INFO: Extracted packet for processing {"connection_id":56698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006319872001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777368458000,"timestamp_ms":1777368458000,"timestamp_seconds":1777368458,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36a6310"} 
[2026-04-28 14:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 14:59:15] 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-04-28 14:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006319872001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006319872001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:59:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006319872001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":56698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:59:15] local.INFO: GPS data processed {"connection_id":56698,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:59:15] local.INFO: Acknowledgment sent {"connection_id":56698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:59:32] local.INFO: TCP Data received {"connection_id":57407,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:32] local.INFO: Processing buffer {"connection_id":57407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 14:59:32] local.INFO: Packet analysis {"connection_id":57407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 14:59:32] local.INFO: Extracted packet for processing {"connection_id":57407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 14:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 14:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 14:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 14:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 14:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 14:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 14:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 14:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 14:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 14:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 14:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 14:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 14:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 14:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 14:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":57407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:59:32] local.INFO: GPS data processed {"connection_id":57407,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:59:32] local.INFO: Acknowledgment sent {"connection_id":57407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:59:46] local.INFO: TCP Data received {"connection_id":56698,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36ab518012d193d40071ffa180038010f23..."} 
[2026-04-28 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36ab518012d193d40071ffa180038010f23..."} 
[2026-04-28 14:59:46] local.INFO: Processing buffer {"connection_id":56698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36ab518012d193d40071ffa180038010f23..."} 
[2026-04-28 14:59:46] local.INFO: Packet analysis {"connection_id":56698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:59:46] local.INFO: Extracted packet for processing {"connection_id":56698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36a"} 
[2026-04-28 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":35,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 14:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 14:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006325248001,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 14:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 14:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368479000,"timestamp_ms":1777368479000,"timestamp_seconds":1777368479,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36ab518"} 
[2026-04-28 14:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 14:59: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-04-28 14:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 14:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 14:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 14:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 14:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 14:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 14:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 14:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 14:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 14:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 14:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006325248001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 14:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 14:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 14:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006325248001,"description":"Unknown IO ID 0"} 
[2026-04-28 14:59:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 14:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 14:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 14:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 14:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006325248001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 14:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":56698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 14:59:46] local.INFO: GPS data processed {"connection_id":56698,"processed":1,"errors":0,"total":1} 
[2026-04-28 14:59:46] local.INFO: Acknowledgment sent {"connection_id":56698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 14:59:59] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:59:59] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 14:59:59] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:00:04] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:04] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:04] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:00:05] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:05] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:05] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:05] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:00:05] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:00:05] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:00:09] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:09] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:00:09] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:09] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:00:09] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:00:09] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:00:14] local.INFO: TCP Data received {"connection_id":56699,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:14] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:14] local.INFO: IMEI packet received {"connection_id":56699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":56699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:00:19] local.INFO: TCP Data received {"connection_id":56699,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:19] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:00:19] local.INFO: IMEI packet received {"connection_id":56699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":56699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:00:20] local.INFO: TCP Data received {"connection_id":56699,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b0720012d193d40071ffa180038010f22..."} 
[2026-04-28 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b0720012d193d40071ffa180038010f22..."} 
[2026-04-28 15:00:20] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b0720012d193d40071ffa180038010f22..."} 
[2026-04-28 15:00:20] local.INFO: Packet analysis {"connection_id":56699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:20] local.INFO: Extracted packet for processing {"connection_id":56699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":34,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006330624001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777368500000,"timestamp_ms":1777368500000,"timestamp_seconds":1777368500,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b0720"} 
[2026-04-28 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 15:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006330624001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006330624001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:00:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006330624001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":56699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:00:20] local.INFO: GPS data processed {"connection_id":56699,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:00:20] local.INFO: Acknowledgment sent {"connection_id":56699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:00:22] local.INFO: TCP Data received {"connection_id":56699,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b5928012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b5928012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:00:22] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b5928012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:00:22] local.INFO: Packet analysis {"connection_id":56699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:22] local.INFO: Extracted packet for processing {"connection_id":56699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":30,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006336000001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777368521000,"timestamp_ms":1777368521000,"timestamp_seconds":1777368521,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b5928"} 
[2026-04-28 15:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:00: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-04-28 15:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 15:00:22] 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-04-28 15: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-04-28 15:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006336000001,"66":12406,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006336000001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:00:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 15:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006336000001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 15:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":56699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:00:22] local.INFO: GPS data processed {"connection_id":56699,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:00:22] local.INFO: Acknowledgment sent {"connection_id":56699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:00:53] local.INFO: TCP Data received {"connection_id":56699,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36bab30012d193d40071ffa180038010f1f..."} 
[2026-04-28 15:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36bab30012d193d40071ffa180038010f1f..."} 
[2026-04-28 15:00:53] local.INFO: Processing buffer {"connection_id":56699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36bab30012d193d40071ffa180038010f1f..."} 
[2026-04-28 15:00:53] local.INFO: Packet analysis {"connection_id":56699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:53] local.INFO: Extracted packet for processing {"connection_id":56699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":31,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 15:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006341376001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 15:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777368542000,"timestamp_ms":1777368542000,"timestamp_seconds":1777368542,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36bab30"} 
[2026-04-28 15:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:00:53] 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-04-28 15:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006341376001,"66":12428,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006341376001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:00:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 15:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006341376001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 15:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":56699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:00:53] local.INFO: GPS data processed {"connection_id":56699,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:00:53] local.INFO: Acknowledgment sent {"connection_id":56699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:00:54] local.INFO: TCP Data received {"connection_id":57408,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:54] local.INFO: Processing buffer {"connection_id":57408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:54] local.INFO: IMEI packet received {"connection_id":57408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":57408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:00:59] local.INFO: TCP Data received {"connection_id":57408,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:59] local.INFO: Processing buffer {"connection_id":57408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:00:59] local.INFO: IMEI packet received {"connection_id":57408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":57408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:00:59] local.INFO: TCP Data received {"connection_id":56735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:00:59] local.INFO: Processing buffer {"connection_id":56735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:00:59] local.INFO: IMEI packet received {"connection_id":56735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:01:00] local.INFO: TCP Data received {"connection_id":57408,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:00] local.INFO: Processing buffer {"connection_id":57408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:00] local.INFO: Packet analysis {"connection_id":57408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:00] local.INFO: Extracted packet for processing {"connection_id":57408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:01: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-04-28 15:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:01:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:01:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":57408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:01:00] local.INFO: GPS data processed {"connection_id":57408,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:01:00] local.INFO: Acknowledgment sent {"connection_id":57408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:01:09] local.INFO: TCP Data received {"connection_id":56736,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:09] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:09] local.INFO: IMEI packet received {"connection_id":56736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":56736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:01:10] local.INFO: TCP Data received {"connection_id":56736,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:10] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:01:10] local.INFO: IMEI packet received {"connection_id":56736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":56736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:01:10] local.INFO: TCP Data received {"connection_id":56736,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36bfd38012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36bfd38012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:01:10] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36bfd38012d193d40071ffa180038010f1e..."} 
[2026-04-28 15:01:10] local.INFO: Packet analysis {"connection_id":56736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:10] local.INFO: Extracted packet for processing {"connection_id":56736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536152,"longitude_deg":75.66288,"latitude_deg":11.9536152,"altitude":56,"angle":271,"satellites":30,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-04-28 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006346752001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605027661283328,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872980992,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777368563000,"timestamp_ms":1777368563000,"timestamp_seconds":1777368563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36bfd38"} 
[2026-04-28 15:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 15:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006346752001,"66":12461,"106":206,"83":41984,"24":0,"16":115605027661283328,"45":1818680223872980992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006346752001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605027661283328,"km_value":115605027661283.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872980992,"description":"Unknown IO ID 45"} 
[2026-04-28 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006346752001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872980992}} 
[2026-04-28 15:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":56736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:01:11] local.INFO: GPS data processed {"connection_id":56736,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:01:11] local.INFO: Acknowledgment sent {"connection_id":56736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:01:31] local.INFO: TCP Data received {"connection_id":57408,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:31] local.INFO: Processing buffer {"connection_id":57408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:01:31] local.INFO: Packet analysis {"connection_id":57408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:31] local.INFO: Extracted packet for processing {"connection_id":57408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:01:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:01:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":57408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:01:31] local.INFO: GPS data processed {"connection_id":57408,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:01:31] local.INFO: Acknowledgment sent {"connection_id":57408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:01:34] local.INFO: TCP Data received {"connection_id":56510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:01:34] local.INFO: Processing buffer {"connection_id":56510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:01:34] local.INFO: IMEI packet received {"connection_id":56510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":56510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:01:42] local.INFO: TCP Data received {"connection_id":56736,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d35b8012d194200071ffc280031004421..."} 
[2026-04-28 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d35b8012d194200071ffc280031004421..."} 
[2026-04-28 15:01:42] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d35b8012d194200071ffc280031004421..."} 
[2026-04-28 15:01:42] local.INFO: Packet analysis {"connection_id":56736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:01:42] local.INFO: Extracted packet for processing {"connection_id":56736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119536680,"longitude_deg":75.6630016,"latitude_deg":11.953668,"altitude":49,"angle":68,"satellites":33,"speed":6,"hex_longitude":"2d194200","hex_latitude":"071ffc28","is_valid_coordinates":true} 
[2026-04-28 15:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006372096001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605109265661952,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291562496,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777368643000,"timestamp_ms":1777368643000,"timestamp_seconds":1777368643,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d35b8"} 
[2026-04-28 15:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":15763763118473216,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3547140752,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505363620429824,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":7857303611185380992,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-2305617152285028781,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3056795648,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304629149181954589,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195133952,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751718847815674,"note":"Value kept but may cause issues"} 
[2026-04-28 15:01:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,182,42,45,128,251,48,33,10,66,34,64,250,31,30,1,240,224,227,211,4,113,205,3,22,176,239,54,2,154,7,49,5,164,69,80],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-28 15:01:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530864035329474560,"timestamp_seconds":3530864035329474.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 15:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":56736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":56736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":56736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006372096001,"66":12798,"106":206,"83":41984,"24":6,"16":115605109265661952,"45":1819665386291562496},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006372096001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:01:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605109265661952,"km_value":115605109265661.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291562496,"description":"Unknown IO ID 45"} 
[2026-04-28 15:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006372096001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1819665386291562496}} 
[2026-04-28 15:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":56736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:01:42] local.INFO: GPS data processed {"connection_id":56736,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:01:42] local.INFO: Acknowledgment sent {"connection_id":56736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:01:53] local.INFO: TCP Data received {"connection_id":56700,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:53] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:53] local.INFO: IMEI packet received {"connection_id":56700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":56700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:01:59] local.INFO: TCP Data received {"connection_id":56700,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:59] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:01:59] local.INFO: IMEI packet received {"connection_id":56700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":56700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:02:00] local.INFO: TCP Data received {"connection_id":56700,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:00] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:00] local.INFO: Packet analysis {"connection_id":56700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:02:00] local.INFO: Extracted packet for processing {"connection_id":56700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:02: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-04-28 15:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":56700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:02:00] local.INFO: GPS data processed {"connection_id":56700,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:02:00] local.INFO: Acknowledgment sent {"connection_id":56700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:02:09] local.INFO: TCP Data received {"connection_id":57409,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:09] local.INFO: Processing buffer {"connection_id":57409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:09] local.INFO: IMEI packet received {"connection_id":57409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":57409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:02:14] local.INFO: TCP Data received {"connection_id":57409,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:14] local.INFO: Processing buffer {"connection_id":57409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:02:14] local.INFO: IMEI packet received {"connection_id":57409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":57409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:02:14] local.INFO: TCP Data received {"connection_id":57409,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d39a0012d194300071ffc280031005b21..."} 
[2026-04-28 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d39a0012d194300071ffc280031005b21..."} 
[2026-04-28 15:02:14] local.INFO: Processing buffer {"connection_id":57409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d39a0012d194300071ffc280031005b21..."} 
[2026-04-28 15:02:14] local.INFO: Packet analysis {"connection_id":57409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:02:14] local.INFO: Extracted packet for processing {"connection_id":57409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756630272,"raw_latitude":119536680,"longitude_deg":75.6630272,"latitude_deg":11.953668,"altitude":49,"angle":91,"satellites":33,"speed":9,"hex_longitude":"2d194300","hex_latitude":"071ffc28","is_valid_coordinates":true} 
[2026-04-28 15:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006372608001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605122150563840,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820017230012491776,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:14] 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-04-28 15:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368644000,"timestamp_ms":1777368644000,"timestamp_seconds":1777368644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d39a0"} 
[2026-04-28 15:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 15:02:14] 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-04-28 15:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006372608001,"66":12689,"106":206,"83":41984,"24":9,"16":115605122150563840,"45":1820017230012491776},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006372608001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:02:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605122150563840,"km_value":115605122150563.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820017230012491776,"description":"Unknown IO ID 45"} 
[2026-04-28 15:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006372608001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1820017230012491776}} 
[2026-04-28 15:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":57409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:02:15] local.INFO: GPS data processed {"connection_id":57409,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:02:15] local.INFO: Acknowledgment sent {"connection_id":57409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:02:32] local.INFO: TCP Data received {"connection_id":56700,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:32] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:02:32] local.INFO: Packet analysis {"connection_id":56700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:02:32] local.INFO: Extracted packet for processing {"connection_id":56700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":56700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:02:32] local.INFO: GPS data processed {"connection_id":56700,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:02:32] local.INFO: Acknowledgment sent {"connection_id":56700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:02:46] local.INFO: TCP Data received {"connection_id":57409,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d58e0012d194a40071ffbb80032006822..."} 
[2026-04-28 15:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d58e0012d194a40071ffbb80032006822..."} 
[2026-04-28 15:02:46] local.INFO: Processing buffer {"connection_id":57409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d58e0012d194a40071ffbb80032006822..."} 
[2026-04-28 15:02:46] local.INFO: Packet analysis {"connection_id":57409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:02:46] local.INFO: Extracted packet for processing {"connection_id":57409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119536568,"longitude_deg":75.6632128,"latitude_deg":11.9536568,"altitude":50,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d194a40","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006372864001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605212344877056,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820298704989202432,"note":"Value kept but may cause issues"} 
[2026-04-28 15:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777368652000,"timestamp_ms":1777368652000,"timestamp_seconds":1777368652,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d58e0"} 
[2026-04-28 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-04-28 15:02: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-04-28 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 15:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006372864001,"66":12602,"106":206,"83":41984,"24":0,"16":115605212344877056,"45":1820298704989202432},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006372864001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:02:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605212344877056,"km_value":115605212344877.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820298704989202432,"description":"Unknown IO ID 45"} 
[2026-04-28 15:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006372864001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1820298704989202432}} 
[2026-04-28 15:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":57409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:02:46] local.INFO: GPS data processed {"connection_id":57409,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:02:46] local.INFO: Acknowledgment sent {"connection_id":57409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:02:53] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:53] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:53] local.INFO: IMEI packet received {"connection_id":56511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":56511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:02:59] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:59] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:02:59] local.INFO: IMEI packet received {"connection_id":56511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":56511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:03:00] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:00] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:00] local.INFO: Packet analysis {"connection_id":56511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:03:00] local.INFO: Extracted packet for processing {"connection_id":56511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:03: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-04-28 15:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:03:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:03:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":56511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:03:00] local.INFO: GPS data processed {"connection_id":56511,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:03:00] local.INFO: Acknowledgment sent {"connection_id":56511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:03:09] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:09] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:09] local.INFO: IMEI packet received {"connection_id":56701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":56701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:03:14] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:14] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:03:14] local.INFO: IMEI packet received {"connection_id":56701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":56701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:03:14] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d8ba8012d194c80071ffaf00032007520..."} 
[2026-04-28 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d8ba8012d194c80071ffaf00032007520..."} 
[2026-04-28 15:03:14] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d8ba8012d194c80071ffaf00032007520..."} 
[2026-04-28 15:03:14] local.INFO: Packet analysis {"connection_id":56701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:03:14] local.INFO: Extracted packet for processing {"connection_id":56701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756632704,"raw_latitude":119536368,"longitude_deg":75.6632704,"latitude_deg":11.9536368,"altitude":50,"angle":117,"satellites":32,"speed":8,"hex_longitude":"2d194c80","hex_latitude":"071ffaf0","is_valid_coordinates":true} 
[2026-04-28 15:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006374912001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605238114680832,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398570326016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:14] 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-04-28 15:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368665000,"timestamp_ms":1777368665000,"timestamp_seconds":1777368665,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d8ba8"} 
[2026-04-28 15:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 15:03:14] 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-04-28 15:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006374912001,"66":12722,"106":206,"83":41984,"24":8,"16":115605238114680832,"45":1822339398570326016},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006374912001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:03:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605238114680832,"km_value":115605238114680.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398570326016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006374912001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1822339398570326016}} 
[2026-04-28 15:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":56701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:03:14] local.INFO: GPS data processed {"connection_id":56701,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:03:14] local.INFO: Acknowledgment sent {"connection_id":56701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:03:32] local.INFO: TCP Data received {"connection_id":56511,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:32] local.INFO: Processing buffer {"connection_id":56511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:03:32] local.INFO: Packet analysis {"connection_id":56511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:03:32] local.INFO: Extracted packet for processing {"connection_id":56511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:03:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":56511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:03:32] local.INFO: GPS data processed {"connection_id":56511,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:03:32] local.INFO: Acknowledgment sent {"connection_id":56511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:03:45] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d9760012d194e80071ff9980032008620..."} 
[2026-04-28 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d9760012d194e80071ff9980032008620..."} 
[2026-04-28 15:03:45] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d9760012d194e80071ff9980032008620..."} 
[2026-04-28 15:03:45] local.INFO: Packet analysis {"connection_id":56701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:03:45] local.INFO: Extracted packet for processing {"connection_id":56701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119536024,"longitude_deg":75.6633216,"latitude_deg":11.9536024,"altitude":50,"angle":134,"satellites":32,"speed":8,"hex_longitude":"2d194e80","hex_latitude":"071ff998","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006378240001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605268179451904,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822972717267873792,"note":"Value kept but may cause issues"} 
[2026-04-28 15:03:45] 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-04-28 15:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777368668000,"timestamp_ms":1777368668000,"timestamp_seconds":1777368668,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d9760"} 
[2026-04-28 15:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:03: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-04-28 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 15:03:45] 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-04-28 15: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-04-28 15:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006378240001,"66":12776,"106":206,"83":41984,"24":8,"16":115605268179451904,"45":1822972717267873792},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006378240001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:03:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605268179451904,"km_value":115605268179451.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822972717267873792,"description":"Unknown IO ID 45"} 
[2026-04-28 15:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006378240001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1822972717267873792}} 
[2026-04-28 15:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":56701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:03:45] local.INFO: GPS data processed {"connection_id":56701,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:03:45] local.INFO: Acknowledgment sent {"connection_id":56701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:03:59] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:03:59] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:03:59] local.INFO: IMEI packet received {"connection_id":56512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":56512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:04:04] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:04] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:04] local.INFO: IMEI packet received {"connection_id":56512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":56512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:04:06] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:06] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:06] local.INFO: Packet analysis {"connection_id":56512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:06] local.INFO: Extracted packet for processing {"connection_id":56512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:04: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-04-28 15:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:04:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:04:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":56512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:04:06] local.INFO: GPS data processed {"connection_id":56512,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:04:06] local.INFO: Acknowledgment sent {"connection_id":56512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:04:08] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:08] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:08] local.INFO: Packet analysis {"connection_id":56512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:08] local.INFO: Extracted packet for processing {"connection_id":56512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:04: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-04-28 15:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:04:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:04:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":56512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:04:08] local.INFO: GPS data processed {"connection_id":56512,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:04:08] local.INFO: Acknowledgment sent {"connection_id":56512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:04:09] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:09] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:09] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:04:14] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:14] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:04:14] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:04:14] local.INFO: TCP Data received {"connection_id":56512,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:14] local.INFO: Processing buffer {"connection_id":56512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36b41b8012d7fa44005afde680009011227..."} 
[2026-04-28 15:04:14] local.INFO: Packet analysis {"connection_id":56512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:14] local.INFO: Extracted packet for processing {"connection_id":56512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36b"} 
[2026-04-28 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006262784001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368515000,"timestamp_ms":1777368515000,"timestamp_seconds":1777368515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36b41b8"} 
[2026-04-28 15:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006262784001,"66":25549,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006262784001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:04:14] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:04:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006262784001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":56512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:04:14] local.INFO: GPS data processed {"connection_id":56512,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:04:14] local.INFO: Acknowledgment sent {"connection_id":56512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:04:16] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36d9b48012d194ec0071ff8c8003200a020..."} 
[2026-04-28 15:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36d9b48012d194ec0071ff8c8003200a020..."} 
[2026-04-28 15:04:16] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36d9b48012d194ec0071ff8c8003200a020..."} 
[2026-04-28 15:04:16] local.INFO: Packet analysis {"connection_id":56702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:04:16] local.INFO: Extracted packet for processing {"connection_id":56702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119535816,"longitude_deg":75.663328,"latitude_deg":11.9535816,"altitude":50,"angle":160,"satellites":32,"speed":9,"hex_longitude":"2d194ec0","hex_latitude":"071ff8c8","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006379008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605281064353792,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221207040,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777368669000,"timestamp_ms":1777368669000,"timestamp_seconds":1777368669,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36d9b48"} 
[2026-04-28 15:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:04: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-04-28 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 15:04:16] 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-04-28 15: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-04-28 15:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006379008001,"66":12776,"106":206,"83":41984,"24":9,"16":115605281064353792,"45":1823535667221207040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006379008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:04:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605281064353792,"km_value":115605281064353.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221207040,"description":"Unknown IO ID 45"} 
[2026-04-28 15:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006379008001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823535667221207040}} 
[2026-04-28 15:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":56702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:04:16] local.INFO: GPS data processed {"connection_id":56702,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:04:16] local.INFO: Acknowledgment sent {"connection_id":56702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:04:47] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36da700012d195100071ff4e80032008d22..."} 
[2026-04-28 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36da700012d195100071ff4e80032008d22..."} 
[2026-04-28 15:04:47] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36da700012d195100071ff4e80032008d22..."} 
[2026-04-28 15:04:47] local.INFO: Packet analysis {"connection_id":56702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:04:47] local.INFO: Extracted packet for processing {"connection_id":56702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119534824,"longitude_deg":75.6633856,"latitude_deg":11.9534824,"altitude":50,"angle":141,"satellites":34,"speed":17,"hex_longitude":"2d195100","hex_latitude":"071ff4e8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006379264001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605336898928640,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965331456,"note":"Value kept but may cause issues"} 
[2026-04-28 15:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777368672000,"timestamp_ms":1777368672000,"timestamp_seconds":1777368672,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36da700"} 
[2026-04-28 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-04-28 15: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-04-28 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 15:04: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-04-28 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-04-28 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-04-28 15:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006379264001,"66":12776,"106":206,"83":41984,"24":17,"16":115605336898928640,"45":1823606035965331456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006379264001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:04:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605336898928640,"km_value":115605336898928.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965331456,"description":"Unknown IO ID 45"} 
[2026-04-28 15:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006379264001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1823606035965331456}} 
[2026-04-28 15:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":56702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:04:47] local.INFO: GPS data processed {"connection_id":56702,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:04:47] local.INFO: Acknowledgment sent {"connection_id":56702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:04:53] local.INFO: TCP Data received {"connection_id":56738,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:53] local.INFO: Processing buffer {"connection_id":56738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:53] local.INFO: IMEI packet received {"connection_id":56738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":56738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:04:59] local.INFO: TCP Data received {"connection_id":56738,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:59] local.INFO: Processing buffer {"connection_id":56738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:04:59] local.INFO: IMEI packet received {"connection_id":56738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":56738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:05:00] local.INFO: TCP Data received {"connection_id":56738,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:00] local.INFO: Processing buffer {"connection_id":56738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:00] local.INFO: Packet analysis {"connection_id":56738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:05:00] local.INFO: Extracted packet for processing {"connection_id":56738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:05:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:05:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":56738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:05:00] local.INFO: GPS data processed {"connection_id":56738,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:05:00] local.INFO: Acknowledgment sent {"connection_id":56738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:05:09] local.INFO: TCP Data received {"connection_id":57411,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:09] local.INFO: Processing buffer {"connection_id":57411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:09] local.INFO: IMEI packet received {"connection_id":57411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":57411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:05:14] local.INFO: TCP Data received {"connection_id":57411,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:14] local.INFO: Processing buffer {"connection_id":57411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:05:14] local.INFO: IMEI packet received {"connection_id":57411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":57411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:05:14] local.INFO: TCP Data received {"connection_id":57411,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36daae8012d195280071ff3c00032007d22..."} 
[2026-04-28 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36daae8012d195280071ff3c00032007d22..."} 
[2026-04-28 15:05:14] local.INFO: Processing buffer {"connection_id":57411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36daae8012d195280071ff3c00032007d22..."} 
[2026-04-28 15:05:14] local.INFO: Packet analysis {"connection_id":57411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:05:14] local.INFO: Extracted packet for processing {"connection_id":57411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119534528,"longitude_deg":75.663424,"latitude_deg":11.9534528,"altitude":50,"angle":125,"satellites":34,"speed":17,"hex_longitude":"2d195280","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-04-28 15:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006380032001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605358373765120,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662676480,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:14] 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-04-28 15:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368673000,"timestamp_ms":1777368673000,"timestamp_seconds":1777368673,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36daae8"} 
[2026-04-28 15:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 15:05:14] 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-04-28 15:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006380032001,"66":12776,"106":206,"83":41984,"24":17,"16":115605358373765120,"45":1824239354662676480},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006380032001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:05:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605358373765120,"km_value":115605358373765.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662676480,"description":"Unknown IO ID 45"} 
[2026-04-28 15:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006380032001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1824239354662676480}} 
[2026-04-28 15:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":57411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:05:14] local.INFO: GPS data processed {"connection_id":57411,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:05:14] local.INFO: Acknowledgment sent {"connection_id":57411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:05:19] local.INFO: TCP Data received {"connection_id":57412,"ip":"192.253.248.180","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57412,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 15:05:19] local.INFO: Processing buffer {"connection_id":57412,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-04-28 15:05:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":57412,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-04-28 15:05:32] local.INFO: TCP Data received {"connection_id":56738,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:32] local.INFO: Processing buffer {"connection_id":56738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:05:32] local.INFO: Packet analysis {"connection_id":56738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:05:32] local.INFO: Extracted packet for processing {"connection_id":56738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:05:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:05:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":56738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:05:32] local.INFO: GPS data processed {"connection_id":56738,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:05:32] local.INFO: Acknowledgment sent {"connection_id":56738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:05:45] local.INFO: TCP Data received {"connection_id":57411,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36db2b8012d1955c0071ff2280033006e21..."} 
[2026-04-28 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36db2b8012d1955c0071ff2280033006e21..."} 
[2026-04-28 15:05:45] local.INFO: Processing buffer {"connection_id":57411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36db2b8012d1955c0071ff2280033006e21..."} 
[2026-04-28 15:05:45] local.INFO: Packet analysis {"connection_id":57411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:05:45] local.INFO: Extracted packet for processing {"connection_id":57411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36d"} 
[2026-04-28 15:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756635072,"raw_latitude":119534120,"longitude_deg":75.6635072,"latitude_deg":11.953412,"altitude":51,"angle":110,"satellites":33,"speed":18,"hex_longitude":"2d1955c0","hex_latitude":"071ff228","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006380288001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605401323438080,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567127666688,"note":"Value kept but may cause issues"} 
[2026-04-28 15:05:45] 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-04-28 15:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777368675000,"timestamp_ms":1777368675000,"timestamp_seconds":1777368675,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36db2b8"} 
[2026-04-28 15:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:05: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-04-28 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 15:05:45] 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-04-28 15: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-04-28 15:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006380288001,"66":12613,"106":206,"83":41984,"24":18,"16":115605401323438080,"45":1824661567127666688},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006380288001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:05:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605401323438080,"km_value":115605401323438.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567127666688,"description":"Unknown IO ID 45"} 
[2026-04-28 15:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006380288001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1824661567127666688}} 
[2026-04-28 15:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":57411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:05:45] local.INFO: GPS data processed {"connection_id":57411,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:05:45] local.INFO: Acknowledgment sent {"connection_id":57411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:05:53] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:53] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:53] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:05:59] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:59] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:05:59] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:06:00] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:00] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:00] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:06:00] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:06:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:06:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:06:00] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:06:00] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:06:14] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:14] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:14] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:06:19] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:19] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:06:19] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:06:20] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36e04c0012d196440071fed380035006822..."} 
[2026-04-28 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36e04c0012d196440071fed380035006822..."} 
[2026-04-28 15:06:20] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36e04c0012d196440071fed380035006822..."} 
[2026-04-28 15:06:20] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36e"} 
[2026-04-28 15:06:20] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36e"} 
[2026-04-28 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006380800001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825576360801871872,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777368696000,"timestamp_ms":1777368696000,"timestamp_seconds":1777368696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36e04c0"} 
[2026-04-28 15:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 15:06:20] 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-04-28 15: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-04-28 15:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006380800001,"66":12722,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1825576360801871872},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006380800001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:06:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825576360801871872,"description":"Unknown IO ID 45"} 
[2026-04-28 15:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006380800001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825576360801871872}} 
[2026-04-28 15:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:06:20] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:06:20] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:06:32] local.INFO: TCP Data received {"connection_id":56703,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:32] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:06:32] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:06:32] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 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-04-28 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:06:32] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:06:32] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:06:51] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3718b18012d196440071fed380035006823..."} 
[2026-04-28 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3718b18012d196440071fed380035006823..."} 
[2026-04-28 15:06:51] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3718b18012d196440071fed380035006823..."} 
[2026-04-28 15:06:51] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd371"} 
[2026-04-28 15:06:51] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd371"} 
[2026-04-28 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006439936001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777368927000,"timestamp_ms":1777368927000,"timestamp_seconds":1777368927,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3718b18"} 
[2026-04-28 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-04-28 15:06: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-04-28 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3547286752,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249738832284740920,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3979870261,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3064791040,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 15:06:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,182,231,45,64,237,53,34,10,66,149,1,240,123,227,211,31,4,113,205,158,100,56,33,239,49,2,154,7,87,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 15:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819166983543324672,"timestamp_seconds":3819166983543324.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006439936001,"66":12558,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006439936001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:06:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006439936001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:06:51] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:06:51] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:06:59] local.INFO: TCP Data received {"connection_id":57413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:06:59] local.INFO: Processing buffer {"connection_id":57413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:06:59] local.INFO: IMEI packet received {"connection_id":57413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":57413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:07:04] local.INFO: TCP Data received {"connection_id":57413,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:04] local.INFO: Processing buffer {"connection_id":57413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:04] local.INFO: IMEI packet received {"connection_id":57413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":57413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:07:04] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:04] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:04] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:07:05] local.INFO: TCP Data received {"connection_id":57413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:05] local.INFO: Processing buffer {"connection_id":57413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:05] local.INFO: Packet analysis {"connection_id":57413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:07:05] local.INFO: Extracted packet for processing {"connection_id":57413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":57413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:07:05] local.INFO: GPS data processed {"connection_id":57413,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:07:05] local.INFO: Acknowledgment sent {"connection_id":57413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:07:08] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:08] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:08] local.INFO: IMEI packet received {"connection_id":56740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":56740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:07:08] local.INFO: TCP Data received {"connection_id":57413,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:08] local.INFO: Processing buffer {"connection_id":57413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:07:08] local.INFO: Packet analysis {"connection_id":57413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:07:08] local.INFO: Extracted packet for processing {"connection_id":57413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:07:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:07:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":57413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:07:08] local.INFO: GPS data processed {"connection_id":57413,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:07:08] local.INFO: Acknowledgment sent {"connection_id":57413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:07:09] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:09] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:09] local.INFO: IMEI packet received {"connection_id":56740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":56740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:07:14] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:14] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:07:14] local.INFO: IMEI packet received {"connection_id":56740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":56740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:07:17] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd371dd20012d196440071fed380035006826..."} 
[2026-04-28 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd371dd20012d196440071fed380035006826..."} 
[2026-04-28 15:07:17] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd371dd20012d196440071fed380035006826..."} 
[2026-04-28 15:07:17] local.INFO: Packet analysis {"connection_id":56740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd371"} 
[2026-04-28 15:07:17] local.INFO: Extracted packet for processing {"connection_id":56740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd371"} 
[2026-04-28 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006445312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777368948000,"timestamp_ms":1777368948000,"timestamp_seconds":1777368948,"priority":1,"record_length":96,"hex_timestamp":"0000019dd371dd20"} 
[2026-04-28 15:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:07: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-04-28 15:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3547307752,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249738832284740920,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3979870261,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3064791040,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,182,57,45,64,237,53,35,10,66,231,34,149,1,240,4,227,211,31,113,205,100,56,239,49,2,154,7,87,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 15:07:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819166983543324672,"timestamp_seconds":3819166983543324.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 15:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006445312001,"66":12548,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006445312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006445312001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":56740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:07:17] local.INFO: GPS data processed {"connection_id":56740,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:07:17] local.INFO: Acknowledgment sent {"connection_id":56740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:07:34] local.INFO: TCP Data received {"connection_id":56741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:34] local.INFO: Processing buffer {"connection_id":56741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:07:34] local.INFO: IMEI packet received {"connection_id":56741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":56741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:07:48] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3722f28012d196440071fed380035006824..."} 
[2026-04-28 15:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3722f28012d196440071fed380035006824..."} 
[2026-04-28 15:07:48] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3722f28012d196440071fed380035006824..."} 
[2026-04-28 15:07:48] local.INFO: Packet analysis {"connection_id":56740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:07:48] local.INFO: Extracted packet for processing {"connection_id":56740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006450688001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777368969000,"timestamp_ms":1777368969000,"timestamp_seconds":1777368969,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3722f28"} 
[2026-04-28 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-04-28 15:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3547328752,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3979870261,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 15:07:48] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3064791040,"note":"Value kept but may cause issues"} 
[2026-04-28 15:07:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,182,139,45,64,237,53,35,10,66,57,231,1,240,47,227,211,31,4,113,205,100,56,36,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 15:07:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819166996428226560,"timestamp_seconds":3819166996428226.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 15:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006450688001,"66":12558,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006450688001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:07:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006450688001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":56740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:07:48] local.INFO: GPS data processed {"connection_id":56740,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:07:48] local.INFO: Acknowledgment sent {"connection_id":56740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:07:53] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:53] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:53] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:07:59] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:59] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:07:59] local.INFO: IMEI packet received {"connection_id":56515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:08:00] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:00] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:00] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:08:00] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:08:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:08:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:08:00] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:08:00] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:08:09] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:09] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:09] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:08:11] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:11] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:11] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:08:14] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:14] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:08:14] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:08:14] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3728130012d196440071fed380035006824..."} 
[2026-04-28 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3728130012d196440071fed380035006824..."} 
[2026-04-28 15:08:14] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3728130012d196440071fed380035006824..."} 
[2026-04-28 15:08:14] local.INFO: Packet analysis {"connection_id":56742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:08:14] local.INFO: Extracted packet for processing {"connection_id":56742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006456064001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] 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-04-28 15:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777368990000,"timestamp_ms":1777368990000,"timestamp_seconds":1777368990,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3728130"} 
[2026-04-28 15:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3547349752,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249738832284740920,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3979870261,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3064791040,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,182,221,45,64,237,53,38,10,66,139,35,57,1,240,14,227,211,31,4,113,205,149,100,56,34,239,49,2,154,7,87,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 15:08:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819166987838291968,"timestamp_seconds":3819166987838292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 15:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006456064001,"66":12504,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006456064001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:08:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006456064001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":56742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:08:14] local.INFO: GPS data processed {"connection_id":56742,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:08:14] local.INFO: Acknowledgment sent {"connection_id":56742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:08:31] local.INFO: TCP Data received {"connection_id":56515,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:31] local.INFO: Processing buffer {"connection_id":56515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:08:31] local.INFO: Packet analysis {"connection_id":56515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:08:31] local.INFO: Extracted packet for processing {"connection_id":56515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:08:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:08:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":56515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:08:31] local.INFO: GPS data processed {"connection_id":56515,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:08:31] local.INFO: Acknowledgment sent {"connection_id":56515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:08:45] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd372d338012d196440071fed380035006824..."} 
[2026-04-28 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd372d338012d196440071fed380035006824..."} 
[2026-04-28 15:08:45] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd372d338012d196440071fed380035006824..."} 
[2026-04-28 15:08:45] local.INFO: Packet analysis {"connection_id":56742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:08:45] local.INFO: Extracted packet for processing {"connection_id":56742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd372"} 
[2026-04-28 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006461440001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:08:45] 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-04-28 15:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777369011000,"timestamp_ms":1777369011000,"timestamp_seconds":1777369011,"priority":1,"record_length":96,"hex_timestamp":"0000019dd372d338"} 
[2026-04-28 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-04-28 15:08: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 15:08:45] 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-04-28 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-04-28 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-04-28 15:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006461440001,"66":12537,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006461440001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:08:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006461440001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":56742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:08:45] local.INFO: GPS data processed {"connection_id":56742,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:08:45] local.INFO: Acknowledgment sent {"connection_id":56742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:08:53] local.INFO: TCP Data received {"connection_id":56744,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:53] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:53] local.INFO: IMEI packet received {"connection_id":56744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":56744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:08:59] local.INFO: TCP Data received {"connection_id":56744,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:59] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:08:59] local.INFO: IMEI packet received {"connection_id":56744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":56744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:09:02] local.INFO: TCP Data received {"connection_id":56744,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:09:02] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd36fd980012d7fa44005afde680009011227..."} 
[2026-04-28 15:09:02] local.INFO: Packet analysis {"connection_id":56744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:09:02] local.INFO: Extracted packet for processing {"connection_id":56744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd36f"} 
[2026-04-28 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006339840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777368816000,"timestamp_ms":1777368816000,"timestamp_seconds":1777368816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd36fd980"} 
[2026-04-28 15:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 15:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006339840001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006339840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:09:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:09:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006339840001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":56744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:09:02] local.INFO: GPS data processed {"connection_id":56744,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:09:02] local.INFO: Acknowledgment sent {"connection_id":56744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:09:09] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:09] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:09] local.INFO: IMEI packet received {"connection_id":56705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":56705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:09:14] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:14] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:09:14] local.INFO: IMEI packet received {"connection_id":56705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":56705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:09:15] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3732540012d196440071fed380035006825..."} 
[2026-04-28 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3732540012d196440071fed380035006825..."} 
[2026-04-28 15:09:15] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3732540012d196440071fed380035006825..."} 
[2026-04-28 15:09:15] local.INFO: Packet analysis {"connection_id":56705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:09:15] local.INFO: Extracted packet for processing {"connection_id":56705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006466816001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777369032000,"timestamp_ms":1777369032000,"timestamp_seconds":1777369032,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3732540"} 
[2026-04-28 15:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 15:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006466816001,"66":12504,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006466816001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:09:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006466816001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":56705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:09:15] local.INFO: GPS data processed {"connection_id":56705,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:09:15] local.INFO: Acknowledgment sent {"connection_id":56705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:09:34] local.INFO: TCP Data received {"connection_id":56744,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:09:34] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:09:34] local.INFO: Packet analysis {"connection_id":56744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:09:34] local.INFO: Extracted packet for processing {"connection_id":56744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 15:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:09:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:09:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":56744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:09:34] local.INFO: GPS data processed {"connection_id":56744,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:09:34] local.INFO: Acknowledgment sent {"connection_id":56744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:09:46] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3737748012d196440071fed380035006823..."} 
[2026-04-28 15:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3737748012d196440071fed380035006823..."} 
[2026-04-28 15:09:46] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3737748012d196440071fed380035006823..."} 
[2026-04-28 15:09:46] local.INFO: Packet analysis {"connection_id":56705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:09:46] local.INFO: Extracted packet for processing {"connection_id":56705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006472192001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369053000,"timestamp_ms":1777369053000,"timestamp_seconds":1777369053,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3737748"} 
[2026-04-28 15:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:09: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-04-28 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 15:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006472192001,"66":12526,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006472192001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006472192001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":56705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:09:46] local.INFO: GPS data processed {"connection_id":56705,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:09:46] local.INFO: Acknowledgment sent {"connection_id":56705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:09:53] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:53] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:53] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:09:59] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:59] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:09:59] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:10:00] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:00] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:00] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:00] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 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-04-28 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:10:00] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:10:00] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:10:09] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:09] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:09] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:10:14] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:14] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:10:14] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:10:15] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd373c950012d196440071fed380035006824..."} 
[2026-04-28 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd373c950012d196440071fed380035006824..."} 
[2026-04-28 15:10:15] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd373c950012d196440071fed380035006824..."} 
[2026-04-28 15:10:15] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:10:15] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd373"} 
[2026-04-28 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006477568001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777369074000,"timestamp_ms":1777369074000,"timestamp_seconds":1777369074,"priority":1,"record_length":96,"hex_timestamp":"0000019dd373c950"} 
[2026-04-28 15:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 15:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006477568001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006477568001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:10:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006477568001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:10:15] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:10:15] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:10:32] local.INFO: TCP Data received {"connection_id":56706,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:32] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:10:32] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:32] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 15:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:10:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:10:32] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:10:32] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:10:46] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3741b58012d196440071fed380035006822..."} 
[2026-04-28 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3741b58012d196440071fed380035006822..."} 
[2026-04-28 15:10:46] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3741b58012d196440071fed380035006822..."} 
[2026-04-28 15:10:46] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:46] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006482944001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369095000,"timestamp_ms":1777369095000,"timestamp_seconds":1777369095,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3741b58"} 
[2026-04-28 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-04-28 15:10: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-04-28 15:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006482944001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006482944001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:10:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006482944001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:10:46] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:10:46] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:10:53] local.INFO: TCP Data received {"connection_id":56708,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:53] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:53] local.INFO: IMEI packet received {"connection_id":56708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:10:59] local.INFO: TCP Data received {"connection_id":56708,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:59] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:10:59] local.INFO: IMEI packet received {"connection_id":56708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:11:00] local.INFO: TCP Data received {"connection_id":56708,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:00] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:00] local.INFO: Packet analysis {"connection_id":56708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:00] local.INFO: Extracted packet for processing {"connection_id":56708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 15:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:11:00] local.INFO: GPS data processed {"connection_id":56708,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:11:00] local.INFO: Acknowledgment sent {"connection_id":56708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:11:14] local.INFO: TCP Data received {"connection_id":57415,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:14] local.INFO: Processing buffer {"connection_id":57415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:14] local.INFO: IMEI packet received {"connection_id":57415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":57415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:11:19] local.INFO: TCP Data received {"connection_id":57415,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:19] local.INFO: Processing buffer {"connection_id":57415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:11:19] local.INFO: IMEI packet received {"connection_id":57415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":57415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:11:20] local.INFO: TCP Data received {"connection_id":57415,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3746d60012d196440071fed380035006824..."} 
[2026-04-28 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3746d60012d196440071fed380035006824..."} 
[2026-04-28 15:11:20] local.INFO: Processing buffer {"connection_id":57415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3746d60012d196440071fed380035006824..."} 
[2026-04-28 15:11:20] local.INFO: Packet analysis {"connection_id":57415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:20] local.INFO: Extracted packet for processing {"connection_id":57415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006488320001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777369116000,"timestamp_ms":1777369116000,"timestamp_seconds":1777369116,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3746d60"} 
[2026-04-28 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:11: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-04-28 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006488320001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006488320001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006488320001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":57415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:11:20] local.INFO: GPS data processed {"connection_id":57415,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:11:20] local.INFO: Acknowledgment sent {"connection_id":57415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:11:20] local.INFO: TCP Data received {"connection_id":57415,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd374bf68012d196440071fed380035006821..."} 
[2026-04-28 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd374bf68012d196440071fed380035006821..."} 
[2026-04-28 15:11:20] local.INFO: Processing buffer {"connection_id":57415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd374bf68012d196440071fed380035006821..."} 
[2026-04-28 15:11:20] local.INFO: Packet analysis {"connection_id":57415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:20] local.INFO: Extracted packet for processing {"connection_id":57415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493696001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777369137000,"timestamp_ms":1777369137000,"timestamp_seconds":1777369137,"priority":1,"record_length":96,"hex_timestamp":"0000019dd374bf68"} 
[2026-04-28 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:11: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-04-28 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493696001,"66":12504,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493696001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493696001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":57415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:11:20] local.INFO: GPS data processed {"connection_id":57415,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:11:20] local.INFO: Acknowledgment sent {"connection_id":57415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:11:31] local.INFO: TCP Data received {"connection_id":56708,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:31] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:11:31] local.INFO: Packet analysis {"connection_id":56708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:31] local.INFO: Extracted packet for processing {"connection_id":56708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 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-04-28 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:11:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:11:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":56708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:11:31] local.INFO: GPS data processed {"connection_id":56708,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:11:31] local.INFO: Acknowledgment sent {"connection_id":56708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:11:51] local.INFO: TCP Data received {"connection_id":57415,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3751170012d196440071fed380035006823..."} 
[2026-04-28 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3751170012d196440071fed380035006823..."} 
[2026-04-28 15:11:51] local.INFO: Processing buffer {"connection_id":57415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3751170012d196440071fed380035006823..."} 
[2026-04-28 15:11:51] local.INFO: Packet analysis {"connection_id":57415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:11:51] local.INFO: Extracted packet for processing {"connection_id":57415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006499072001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777369158000,"timestamp_ms":1777369158000,"timestamp_seconds":1777369158,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3751170"} 
[2026-04-28 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-04-28 15:11: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 15:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006499072001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006499072001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:11:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006499072001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":57415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:11:51] local.INFO: GPS data processed {"connection_id":57415,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:11:51] local.INFO: Acknowledgment sent {"connection_id":57415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:11:59] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:11:59] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:11:59] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:12:04] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:04] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:04] local.INFO: IMEI packet received {"connection_id":56517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":56517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:12:05] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:05] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:05] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:05] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 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-04-28 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:05] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:05] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:12:09] local.INFO: TCP Data received {"connection_id":57417,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:09] local.INFO: Processing buffer {"connection_id":57417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:09] local.INFO: IMEI packet received {"connection_id":57417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":57417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:12:09] local.INFO: TCP Data received {"connection_id":56517,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:09] local.INFO: Processing buffer {"connection_id":56517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:09] local.INFO: Packet analysis {"connection_id":56517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:09] local.INFO: Extracted packet for processing {"connection_id":56517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:12: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-04-28 15:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 15:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:12: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-04-28 15:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:12:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":56517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:09] local.INFO: GPS data processed {"connection_id":56517,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:09] local.INFO: Acknowledgment sent {"connection_id":56517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:12:14] local.INFO: TCP Data received {"connection_id":57417,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:14] local.INFO: Processing buffer {"connection_id":57417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:12:14] local.INFO: IMEI packet received {"connection_id":57417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":57417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:12:14] local.INFO: TCP Data received {"connection_id":57417,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3756378012d196440071fed380035006822..."} 
[2026-04-28 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3756378012d196440071fed380035006822..."} 
[2026-04-28 15:12:14] local.INFO: Processing buffer {"connection_id":57417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3756378012d196440071fed380035006822..."} 
[2026-04-28 15:12:14] local.INFO: Packet analysis {"connection_id":57417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:12:14] local.INFO: Extracted packet for processing {"connection_id":57417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006504448001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:14] 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-04-28 15:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369179000,"timestamp_ms":1777369179000,"timestamp_seconds":1777369179,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3756378"} 
[2026-04-28 15:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006504448001,"66":11471,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006504448001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006504448001,"power":11471,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":57417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:14] local.INFO: GPS data processed {"connection_id":57417,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:14] local.INFO: Acknowledgment sent {"connection_id":57417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:12:19] local.INFO: TCP Data received {"connection_id":57417,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd375b580012d196440071fed380035006826..."} 
[2026-04-28 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd375b580012d196440071fed380035006826..."} 
[2026-04-28 15:12:19] local.INFO: Processing buffer {"connection_id":57417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd375b580012d196440071fed380035006826..."} 
[2026-04-28 15:12:19] local.INFO: Packet analysis {"connection_id":57417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:12:19] local.INFO: Extracted packet for processing {"connection_id":57417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd375"} 
[2026-04-28 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006509824001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777369200000,"timestamp_ms":1777369200000,"timestamp_seconds":1777369200,"priority":1,"record_length":96,"hex_timestamp":"0000019dd375b580"} 
[2026-04-28 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-04-28 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 15:12: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-04-28 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-04-28 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-04-28 15:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006509824001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006509824001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006509824001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":57417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:19] local.INFO: GPS data processed {"connection_id":57417,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:19] local.INFO: Acknowledgment sent {"connection_id":57417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:12:50] local.INFO: TCP Data received {"connection_id":57417,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3760788012d196440071fed380035006826..."} 
[2026-04-28 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3760788012d196440071fed380035006826..."} 
[2026-04-28 15:12:50] local.INFO: Processing buffer {"connection_id":57417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3760788012d196440071fed380035006826..."} 
[2026-04-28 15:12:50] local.INFO: Packet analysis {"connection_id":57417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:12:50] local.INFO: Extracted packet for processing {"connection_id":57417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006515200001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:50] 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-04-28 15:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777369221000,"timestamp_ms":1777369221000,"timestamp_seconds":1777369221,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3760788"} 
[2026-04-28 15:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006515200001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006515200001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006515200001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":57417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:50] local.INFO: GPS data processed {"connection_id":57417,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:50] local.INFO: Acknowledgment sent {"connection_id":57417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:12:54] local.INFO: TCP Data received {"connection_id":56745,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:54] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:54] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:12:54] local.INFO: TCP Data received {"connection_id":56518,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:12:54] local.INFO: Processing buffer {"connection_id":56518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:12:54] local.INFO: IMEI packet received {"connection_id":56518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:12:58] local.INFO: TCP Data received {"connection_id":56745,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:58] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:12:58] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:12:59] local.INFO: TCP Data received {"connection_id":56745,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:59] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:12:59] local.INFO: Packet analysis {"connection_id":56745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:59] local.INFO: Extracted packet for processing {"connection_id":56745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 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-04-28 15:12: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-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:12:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:12:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":56745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:12:59] local.INFO: GPS data processed {"connection_id":56745,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:12:59] local.INFO: Acknowledgment sent {"connection_id":56745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:13:09] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:09] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:09] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:13:14] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:14] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:13:14] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:13:14] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3765990012d196440071fed380035006823..."} 
[2026-04-28 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3765990012d196440071fed380035006823..."} 
[2026-04-28 15:13:14] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3765990012d196440071fed380035006823..."} 
[2026-04-28 15:13:14] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:13:14] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006520576001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:14] 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-04-28 15:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369242000,"timestamp_ms":1777369242000,"timestamp_seconds":1777369242,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3765990"} 
[2026-04-28 15:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006520576001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006520576001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:13:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006520576001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:13:14] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:13:14] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:13:31] local.INFO: TCP Data received {"connection_id":56745,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:13:31] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:13:31] local.INFO: Packet analysis {"connection_id":56745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:13:31] local.INFO: Extracted packet for processing {"connection_id":56745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 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-04-28 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:13:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:13:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":56745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:13:31] local.INFO: GPS data processed {"connection_id":56745,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:13:31] local.INFO: Acknowledgment sent {"connection_id":56745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:13:34] local.INFO: TCP Data received {"connection_id":56519,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:13:34] local.INFO: Processing buffer {"connection_id":56519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:13:34] local.INFO: IMEI packet received {"connection_id":56519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":56519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:13:45] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd376ab98012d196440071fed380035006824..."} 
[2026-04-28 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd376ab98012d196440071fed380035006824..."} 
[2026-04-28 15:13:45] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd376ab98012d196440071fed380035006824..."} 
[2026-04-28 15:13:45] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:13:45] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006525952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:13:45] 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-04-28 15:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777369263000,"timestamp_ms":1777369263000,"timestamp_seconds":1777369263,"priority":1,"record_length":96,"hex_timestamp":"0000019dd376ab98"} 
[2026-04-28 15:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:13: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-04-28 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:13:45] 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-04-28 15: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-04-28 15:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006525952001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006525952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:13:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006525952001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:13:46] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:13:46] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:13:53] local.INFO: TCP Data received {"connection_id":56520,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:53] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:53] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:13:59] local.INFO: TCP Data received {"connection_id":56520,"ip":"117.224.181.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:59] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:13:59] local.INFO: IMEI packet received {"connection_id":56520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:14:00] local.INFO: TCP Data received {"connection_id":56520,"ip":"117.224.181.5","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:14:00] local.INFO: Processing buffer {"connection_id":56520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3747148012d7fa44005afde680009011226..."} 
[2026-04-28 15:14:00] local.INFO: Packet analysis {"connection_id":56520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:14:00] local.INFO: Extracted packet for processing {"connection_id":56520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd374"} 
[2026-04-28 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006416896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777369117000,"timestamp_ms":1777369117000,"timestamp_seconds":1777369117,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3747148"} 
[2026-04-28 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 15:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.181.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006416896001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.181.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006416896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006416896001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":56520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:14:00] local.INFO: GPS data processed {"connection_id":56520,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:14:00] local.INFO: Acknowledgment sent {"connection_id":56520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:14:08] local.INFO: TCP Data received {"connection_id":57418,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: Processing buffer {"connection_id":57418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: IMEI packet received {"connection_id":57418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":57418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:14:08] local.INFO: TCP Data received {"connection_id":57418,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: Processing buffer {"connection_id":57418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:08] local.INFO: IMEI packet received {"connection_id":57418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":57418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:14:14] local.INFO: TCP Data received {"connection_id":57418,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:14] local.INFO: Processing buffer {"connection_id":57418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:14:14] local.INFO: IMEI packet received {"connection_id":57418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":57418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:14:15] local.INFO: TCP Data received {"connection_id":57418,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd376fda0012d196440071fed380035006822..."} 
[2026-04-28 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd376fda0012d196440071fed380035006822..."} 
[2026-04-28 15:14:15] local.INFO: Processing buffer {"connection_id":57418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd376fda0012d196440071fed380035006822..."} 
[2026-04-28 15:14:15] local.INFO: Packet analysis {"connection_id":57418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:14:15] local.INFO: Extracted packet for processing {"connection_id":57418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd376"} 
[2026-04-28 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006531328001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777369284000,"timestamp_ms":1777369284000,"timestamp_seconds":1777369284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd376fda0"} 
[2026-04-28 15:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:14: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-04-28 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006531328001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006531328001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:14:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006531328001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":57418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:14:15] local.INFO: GPS data processed {"connection_id":57418,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:14:15] local.INFO: Acknowledgment sent {"connection_id":57418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:14:46] local.INFO: TCP Data received {"connection_id":57418,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3774fa8012d196440071fed380035006824..."} 
[2026-04-28 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3774fa8012d196440071fed380035006824..."} 
[2026-04-28 15:14:46] local.INFO: Processing buffer {"connection_id":57418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3774fa8012d196440071fed380035006824..."} 
[2026-04-28 15:14:46] local.INFO: Packet analysis {"connection_id":57418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:14:46] local.INFO: Extracted packet for processing {"connection_id":57418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006536704001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369305000,"timestamp_ms":1777369305000,"timestamp_seconds":1777369305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3774fa8"} 
[2026-04-28 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:14: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-04-28 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006536704001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006536704001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006536704001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":57418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:14:46] local.INFO: GPS data processed {"connection_id":57418,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:14:46] local.INFO: Acknowledgment sent {"connection_id":57418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:15:09] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:09] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:09] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:15:11] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:11] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:11] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:15:14] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:14] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:15:14] local.INFO: IMEI packet received {"connection_id":56521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":56521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:15:15] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd377a1b0012d196440071fed380035006827..."} 
[2026-04-28 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd377a1b0012d196440071fed380035006827..."} 
[2026-04-28 15:15:15] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd377a1b0012d196440071fed380035006827..."} 
[2026-04-28 15:15:15] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:15:15] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006542080001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777369326000,"timestamp_ms":1777369326000,"timestamp_seconds":1777369326,"priority":1,"record_length":96,"hex_timestamp":"0000019dd377a1b0"} 
[2026-04-28 15:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006542080001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006542080001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:15:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006542080001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:15:15] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:15:15] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:15:46] local.INFO: TCP Data received {"connection_id":56521,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd377f3b8012d196440071fed380035006823..."} 
[2026-04-28 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd377f3b8012d196440071fed380035006823..."} 
[2026-04-28 15:15:46] local.INFO: Processing buffer {"connection_id":56521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd377f3b8012d196440071fed380035006823..."} 
[2026-04-28 15:15:46] local.INFO: Packet analysis {"connection_id":56521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:15:46] local.INFO: Extracted packet for processing {"connection_id":56521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd377"} 
[2026-04-28 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006547456001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369347000,"timestamp_ms":1777369347000,"timestamp_seconds":1777369347,"priority":1,"record_length":96,"hex_timestamp":"0000019dd377f3b8"} 
[2026-04-28 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-04-28 15:15: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-04-28 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006547456001,"66":12439,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006547456001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:15:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006547456001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":56521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:15:46] local.INFO: GPS data processed {"connection_id":56521,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:15:46] local.INFO: Acknowledgment sent {"connection_id":56521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:16:08] local.INFO: TCP Data received {"connection_id":57419,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:09] local.INFO: Processing buffer {"connection_id":57419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:09] local.INFO: IMEI packet received {"connection_id":57419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:16:14] local.INFO: TCP Data received {"connection_id":57419,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:14] local.INFO: Processing buffer {"connection_id":57419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:16:14] local.INFO: IMEI packet received {"connection_id":57419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":57419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:16:15] local.INFO: TCP Data received {"connection_id":57419,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37845c0012d196440071fed380035006825..."} 
[2026-04-28 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37845c0012d196440071fed380035006825..."} 
[2026-04-28 15:16:15] local.INFO: Processing buffer {"connection_id":57419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37845c0012d196440071fed380035006825..."} 
[2026-04-28 15:16:15] local.INFO: Packet analysis {"connection_id":57419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:16:15] local.INFO: Extracted packet for processing {"connection_id":57419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006552832001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777369368000,"timestamp_ms":1777369368000,"timestamp_seconds":1777369368,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37845c0"} 
[2026-04-28 15:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:16: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-04-28 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:16:15] 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-04-28 15:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006552832001,"66":12439,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006552832001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:16:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006552832001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":57419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:16:15] local.INFO: GPS data processed {"connection_id":57419,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:16:15] local.INFO: Acknowledgment sent {"connection_id":57419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:16:46] local.INFO: TCP Data received {"connection_id":57419,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37897c8012d196440071fed380035006826..."} 
[2026-04-28 15:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37897c8012d196440071fed380035006826..."} 
[2026-04-28 15:16:46] local.INFO: Processing buffer {"connection_id":57419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37897c8012d196440071fed380035006826..."} 
[2026-04-28 15:16:46] local.INFO: Packet analysis {"connection_id":57419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:16:46] local.INFO: Extracted packet for processing {"connection_id":57419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006558208001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369389000,"timestamp_ms":1777369389000,"timestamp_seconds":1777369389,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37897c8"} 
[2026-04-28 15:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:16:46] 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-04-28 15: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-04-28 15:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006558208001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006558208001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:16:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006558208001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":57419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:16:46] local.INFO: GPS data processed {"connection_id":57419,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:16:46] local.INFO: Acknowledgment sent {"connection_id":57419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:17:08] local.INFO: TCP Data received {"connection_id":56522,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:08] local.INFO: Processing buffer {"connection_id":56522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:08] local.INFO: IMEI packet received {"connection_id":56522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":56522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:17:13] local.INFO: TCP Data received {"connection_id":56522,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:13] local.INFO: Processing buffer {"connection_id":56522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:17:13] local.INFO: IMEI packet received {"connection_id":56522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:17:17] local.INFO: TCP Data received {"connection_id":56522,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd378e9d0012d196440071fed380035006826..."} 
[2026-04-28 15:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd378e9d0012d196440071fed380035006826..."} 
[2026-04-28 15:17:17] local.INFO: Processing buffer {"connection_id":56522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd378e9d0012d196440071fed380035006826..."} 
[2026-04-28 15:17:17] local.INFO: Packet analysis {"connection_id":56522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:17:17] local.INFO: Extracted packet for processing {"connection_id":56522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd378"} 
[2026-04-28 15:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006563584001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777369410000,"timestamp_ms":1777369410000,"timestamp_seconds":1777369410,"priority":1,"record_length":96,"hex_timestamp":"0000019dd378e9d0"} 
[2026-04-28 15:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006563584001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006563584001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:17:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006563584001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":56522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:17:17] local.INFO: GPS data processed {"connection_id":56522,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:17:17] local.INFO: Acknowledgment sent {"connection_id":56522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:17:24] local.INFO: TCP Data received {"connection_id":57420,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:24] local.INFO: Processing buffer {"connection_id":57420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:24] local.INFO: IMEI packet received {"connection_id":57420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":57420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:17:29] local.INFO: TCP Data received {"connection_id":57420,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:29] local.INFO: Processing buffer {"connection_id":57420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:29] local.INFO: IMEI packet received {"connection_id":57420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":57420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:17:31] local.INFO: TCP Data received {"connection_id":57420,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:31] local.INFO: Processing buffer {"connection_id":57420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:31] local.INFO: Packet analysis {"connection_id":57420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:31] local.INFO: Extracted packet for processing {"connection_id":57420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 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-04-28 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:17:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:17:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":57420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:17:31] local.INFO: GPS data processed {"connection_id":57420,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:17:31] local.INFO: Acknowledgment sent {"connection_id":57420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:17:34] local.INFO: TCP Data received {"connection_id":57420,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:34] local.INFO: Processing buffer {"connection_id":57420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:17:34] local.INFO: Packet analysis {"connection_id":57420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:34] local.INFO: Extracted packet for processing {"connection_id":57420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:17:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:17:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":57420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:17:34] local.INFO: GPS data processed {"connection_id":57420,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:17:34] local.INFO: Acknowledgment sent {"connection_id":57420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:17:48] local.INFO: TCP Data received {"connection_id":56522,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3793bd8012d196440071fed380035006826..."} 
[2026-04-28 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3793bd8012d196440071fed380035006826..."} 
[2026-04-28 15:17:48] local.INFO: Processing buffer {"connection_id":56522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3793bd8012d196440071fed380035006826..."} 
[2026-04-28 15:17:48] local.INFO: Packet analysis {"connection_id":56522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:48] local.INFO: Extracted packet for processing {"connection_id":56522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006568960001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777369431000,"timestamp_ms":1777369431000,"timestamp_seconds":1777369431,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3793bd8"} 
[2026-04-28 15:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:17:48] 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-04-28 15: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-04-28 15:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006568960001,"66":12461,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006568960001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:17:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006568960001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":56522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:17:48] local.INFO: GPS data processed {"connection_id":56522,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:17:48] local.INFO: Acknowledgment sent {"connection_id":56522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:17:53] local.INFO: TCP Data received {"connection_id":56748,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:53] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:53] local.INFO: IMEI packet received {"connection_id":56748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":56748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:17:59] local.INFO: TCP Data received {"connection_id":56748,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:59] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:17:59] local.INFO: IMEI packet received {"connection_id":56748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:18:01] local.INFO: TCP Data received {"connection_id":56748,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:01] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:01] local.INFO: Packet analysis {"connection_id":56748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:01] local.INFO: Extracted packet for processing {"connection_id":56748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:18:01] 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-04-28 15:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:18:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":56748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:18:01] local.INFO: GPS data processed {"connection_id":56748,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:18:01] local.INFO: Acknowledgment sent {"connection_id":56748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:18:14] local.INFO: TCP Data received {"connection_id":56523,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:14] local.INFO: Processing buffer {"connection_id":56523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:14] local.INFO: IMEI packet received {"connection_id":56523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":56523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:18:19] local.INFO: TCP Data received {"connection_id":56523,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:19] local.INFO: Processing buffer {"connection_id":56523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:18:19] local.INFO: IMEI packet received {"connection_id":56523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":56523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:18:20] local.INFO: TCP Data received {"connection_id":56523,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3798de0012d196440071fed380035006826..."} 
[2026-04-28 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3798de0012d196440071fed380035006826..."} 
[2026-04-28 15:18:20] local.INFO: Processing buffer {"connection_id":56523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3798de0012d196440071fed380035006826..."} 
[2026-04-28 15:18:20] local.INFO: Packet analysis {"connection_id":56523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:20] local.INFO: Extracted packet for processing {"connection_id":56523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006574336001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777369452000,"timestamp_ms":1777369452000,"timestamp_seconds":1777369452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3798de0"} 
[2026-04-28 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:18: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-04-28 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006574336001,"66":12428,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006574336001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:18:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006574336001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":56523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:18:20] local.INFO: GPS data processed {"connection_id":56523,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:18:20] local.INFO: Acknowledgment sent {"connection_id":56523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:18:33] local.INFO: TCP Data received {"connection_id":56748,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:33] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:18:33] local.INFO: Packet analysis {"connection_id":56748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:33] local.INFO: Extracted packet for processing {"connection_id":56748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:18:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":56748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:18:33] local.INFO: GPS data processed {"connection_id":56748,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:18:33] local.INFO: Acknowledgment sent {"connection_id":56748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:18:51] local.INFO: TCP Data received {"connection_id":56523,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd379dfe8012d196440071fed380035006826..."} 
[2026-04-28 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd379dfe8012d196440071fed380035006826..."} 
[2026-04-28 15:18:51] local.INFO: Processing buffer {"connection_id":56523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd379dfe8012d196440071fed380035006826..."} 
[2026-04-28 15:18:51] local.INFO: Packet analysis {"connection_id":56523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:51] local.INFO: Extracted packet for processing {"connection_id":56523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006579712001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777369473000,"timestamp_ms":1777369473000,"timestamp_seconds":1777369473,"priority":1,"record_length":96,"hex_timestamp":"0000019dd379dfe8"} 
[2026-04-28 15:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 15:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006579712001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006579712001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:18:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006579712001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":56523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:18:51] local.INFO: GPS data processed {"connection_id":56523,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:18:51] local.INFO: Acknowledgment sent {"connection_id":56523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:18:53] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:53] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:53] local.INFO: IMEI packet received {"connection_id":56525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":56525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:18:59] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:59] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:18:59] local.INFO: IMEI packet received {"connection_id":56525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:18:59] local.INFO: TCP Data received {"connection_id":56524,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:18:59] local.INFO: Processing buffer {"connection_id":56524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:18:59] local.INFO: IMEI packet received {"connection_id":56524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:19:00] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:00] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:00] local.INFO: Packet analysis {"connection_id":56525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:19:00] local.INFO: Extracted packet for processing {"connection_id":56525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:19: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-04-28 15:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:19:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:19:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":56525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:19:00] local.INFO: GPS data processed {"connection_id":56525,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:19:00] local.INFO: Acknowledgment sent {"connection_id":56525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:19:09] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:09] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:09] local.INFO: IMEI packet received {"connection_id":56712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":56712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:19:13] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:13] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:19:13] local.INFO: IMEI packet received {"connection_id":56712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":56712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:19:14] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37a31f0012d196440071fed380035006823..."} 
[2026-04-28 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37a31f0012d196440071fed380035006823..."} 
[2026-04-28 15:19:14] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37a31f0012d196440071fed380035006823..."} 
[2026-04-28 15:19:14] local.INFO: Packet analysis {"connection_id":56712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:19:14] local.INFO: Extracted packet for processing {"connection_id":56712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006585088001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:14] 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-04-28 15:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369494000,"timestamp_ms":1777369494000,"timestamp_seconds":1777369494,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37a31f0"} 
[2026-04-28 15:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:19:14] 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-04-28 15:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006585088001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006585088001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006585088001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":56712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:19:14] local.INFO: GPS data processed {"connection_id":56712,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:19:14] local.INFO: Acknowledgment sent {"connection_id":56712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:19:32] local.INFO: TCP Data received {"connection_id":56525,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:32] local.INFO: Processing buffer {"connection_id":56525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:19:32] local.INFO: Packet analysis {"connection_id":56525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:19:32] local.INFO: Extracted packet for processing {"connection_id":56525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":56525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:19:32] local.INFO: GPS data processed {"connection_id":56525,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:19:32] local.INFO: Acknowledgment sent {"connection_id":56525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:19:39] local.INFO: TCP Data received {"connection_id":57421,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:19:39] local.INFO: Processing buffer {"connection_id":57421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:19:39] local.INFO: IMEI packet received {"connection_id":57421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":57421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:19:45] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37a83f8012d196440071fed380035006826..."} 
[2026-04-28 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37a83f8012d196440071fed380035006826..."} 
[2026-04-28 15:19:45] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37a83f8012d196440071fed380035006826..."} 
[2026-04-28 15:19:45] local.INFO: Packet analysis {"connection_id":56712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:19:45] local.INFO: Extracted packet for processing {"connection_id":56712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006590464001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:19:45] 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-04-28 15:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777369515000,"timestamp_ms":1777369515000,"timestamp_seconds":1777369515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37a83f8"} 
[2026-04-28 15:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:19: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-04-28 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:19:45] 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-04-28 15: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-04-28 15:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006590464001,"66":12135,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006590464001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006590464001,"power":12135,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":56712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:19:45] local.INFO: GPS data processed {"connection_id":56712,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:19:45] local.INFO: Acknowledgment sent {"connection_id":56712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:20:03] local.INFO: TCP Data received {"connection_id":57422,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:03] local.INFO: Processing buffer {"connection_id":57422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:03] local.INFO: IMEI packet received {"connection_id":57422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":57422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:20:09] local.INFO: TCP Data received {"connection_id":57422,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:09] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:09] local.INFO: Processing buffer {"connection_id":57422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:20:09] local.INFO: IMEI packet received {"connection_id":57422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":57422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:09] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:09] local.INFO: IMEI packet received {"connection_id":56749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":56749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:20:10] local.INFO: TCP Data received {"connection_id":57422,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:20:10] local.INFO: Processing buffer {"connection_id":57422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:20:10] local.INFO: Packet analysis {"connection_id":57422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:20:10] local.INFO: Extracted packet for processing {"connection_id":57422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:20:10] 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-04-28 15:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":57422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:20:10] local.INFO: GPS data processed {"connection_id":57422,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:20:10] local.INFO: Acknowledgment sent {"connection_id":57422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:20:13] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:13] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:20:13] local.INFO: IMEI packet received {"connection_id":56749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":56749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:20:16] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37ad600012d196440071fed380035006826..."} 
[2026-04-28 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37ad600012d196440071fed380035006826..."} 
[2026-04-28 15:20:16] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37ad600012d196440071fed380035006826..."} 
[2026-04-28 15:20:16] local.INFO: Packet analysis {"connection_id":56749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:20:16] local.INFO: Extracted packet for processing {"connection_id":56749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37a"} 
[2026-04-28 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006595840001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777369536000,"timestamp_ms":1777369536000,"timestamp_seconds":1777369536,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37ad600"} 
[2026-04-28 15:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:20: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-04-28 15:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-28 15:20: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-04-28 15:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006595840001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006595840001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:20:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006595840001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":56749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:20:16] local.INFO: GPS data processed {"connection_id":56749,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:20:16] local.INFO: Acknowledgment sent {"connection_id":56749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:20:47] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37e5c58012d196440071fed380035006825..."} 
[2026-04-28 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37e5c58012d196440071fed380035006825..."} 
[2026-04-28 15:20:47] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37e5c58012d196440071fed380035006825..."} 
[2026-04-28 15:20:47] local.INFO: Packet analysis {"connection_id":56749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37e"} 
[2026-04-28 15:20:47] local.INFO: Extracted packet for processing {"connection_id":56749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37e"} 
[2026-04-28 15:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006654976001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777369767000,"timestamp_ms":1777369767000,"timestamp_seconds":1777369767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37e5c58"} 
[2026-04-28 15:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:20: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-04-28 15:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:20: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-04-28 15:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006654976001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006654976001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:20:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006654976001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":56749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:20:47] local.INFO: GPS data processed {"connection_id":56749,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:20:47] local.INFO: Acknowledgment sent {"connection_id":56749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:04] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: IMEI packet received {"connection_id":56527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":56527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:21:04] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:04] local.INFO: IMEI packet received {"connection_id":56527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":56527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:21:05] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:05] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:05] local.INFO: Packet analysis {"connection_id":56527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:05] local.INFO: Extracted packet for processing {"connection_id":56527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:21:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":56527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:21:05] local.INFO: GPS data processed {"connection_id":56527,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:21:05] local.INFO: Acknowledgment sent {"connection_id":56527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:06] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:06] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:06] local.INFO: Packet analysis {"connection_id":56527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:06] local.INFO: Extracted packet for processing {"connection_id":56527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:21:06] 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-04-28 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:21:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:21:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":56527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:21:06] local.INFO: GPS data processed {"connection_id":56527,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:21:06] local.INFO: Acknowledgment sent {"connection_id":56527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:08] local.INFO: TCP Data received {"connection_id":57423,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: Processing buffer {"connection_id":57423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: IMEI packet received {"connection_id":57423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":57423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:21:08] local.INFO: TCP Data received {"connection_id":57423,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: Processing buffer {"connection_id":57423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:08] local.INFO: IMEI packet received {"connection_id":57423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":57423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:21:14] local.INFO: TCP Data received {"connection_id":57423,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:14] local.INFO: Processing buffer {"connection_id":57423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:21:14] local.INFO: IMEI packet received {"connection_id":57423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":57423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:21:14] local.INFO: TCP Data received {"connection_id":57423,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37eae60012d196440071fed380035006825..."} 
[2026-04-28 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37eae60012d196440071fed380035006825..."} 
[2026-04-28 15:21:14] local.INFO: Processing buffer {"connection_id":57423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37eae60012d196440071fed380035006825..."} 
[2026-04-28 15:21:14] local.INFO: Packet analysis {"connection_id":57423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37e"} 
[2026-04-28 15:21:14] local.INFO: Extracted packet for processing {"connection_id":57423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37e"} 
[2026-04-28 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006660352001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:14] 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-04-28 15:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369788000,"timestamp_ms":1777369788000,"timestamp_seconds":1777369788,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37eae60"} 
[2026-04-28 15:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:21:14] 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-04-28 15:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006660352001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006660352001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:21:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006660352001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":57423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:21:14] local.INFO: GPS data processed {"connection_id":57423,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:21:14] local.INFO: Acknowledgment sent {"connection_id":57423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:39] local.INFO: TCP Data received {"connection_id":56527,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:39] local.INFO: Processing buffer {"connection_id":56527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3790910012d7fa44005afde680009011225..."} 
[2026-04-28 15:21:39] local.INFO: Packet analysis {"connection_id":56527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:39] local.INFO: Extracted packet for processing {"connection_id":56527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd379"} 
[2026-04-28 15:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777369418000,"timestamp_ms":1777369418000,"timestamp_seconds":1777369418,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3790910"} 
[2026-04-28 15:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:21:39] 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-04-28 15:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006493952001,"66":25538,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:21:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:21:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006493952001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":56527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:21:39] local.INFO: GPS data processed {"connection_id":56527,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:21:39] local.INFO: Acknowledgment sent {"connection_id":56527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:45] local.INFO: TCP Data received {"connection_id":57423,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37f0068012d196440071fed380035006822..."} 
[2026-04-28 15:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37f0068012d196440071fed380035006822..."} 
[2026-04-28 15:21:46] local.INFO: Processing buffer {"connection_id":57423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37f0068012d196440071fed380035006822..."} 
[2026-04-28 15:21:46] local.INFO: Packet analysis {"connection_id":57423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:21:46] local.INFO: Extracted packet for processing {"connection_id":57423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006665728001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777369809000,"timestamp_ms":1777369809000,"timestamp_seconds":1777369809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37f0068"} 
[2026-04-28 15:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:21: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-04-28 15:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15: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-04-28 15:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006665728001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006665728001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:21:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006665728001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":57423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:21:46] local.INFO: GPS data processed {"connection_id":57423,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:21:46] local.INFO: Acknowledgment sent {"connection_id":57423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:21:54] local.INFO: TCP Data received {"connection_id":56713,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:54] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:54] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:21:58] local.INFO: TCP Data received {"connection_id":56713,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:58] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:21:58] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:22:04] local.INFO: TCP Data received {"connection_id":56713,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:04] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:04] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:22:05] local.INFO: TCP Data received {"connection_id":56713,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:05] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:05] local.INFO: Packet analysis {"connection_id":56713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:22:05] local.INFO: Extracted packet for processing {"connection_id":56713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":56713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:22:05] local.INFO: GPS data processed {"connection_id":56713,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:22:05] local.INFO: Acknowledgment sent {"connection_id":56713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:22:08] local.INFO: TCP Data received {"connection_id":56528,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:08] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:08] local.INFO: IMEI packet received {"connection_id":56528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":56528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:22:09] local.INFO: TCP Data received {"connection_id":56713,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:09] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:22:09] local.INFO: Packet analysis {"connection_id":56713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:22:09] local.INFO: Extracted packet for processing {"connection_id":56713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:22:09] 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-04-28 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:22:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:22:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":56713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:22:09] local.INFO: GPS data processed {"connection_id":56713,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:22:09] local.INFO: Acknowledgment sent {"connection_id":56713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:22:11] local.INFO: TCP Data received {"connection_id":56528,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:11] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:11] local.INFO: IMEI packet received {"connection_id":56528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":56528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:22:13] local.INFO: TCP Data received {"connection_id":56528,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:13] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:22:13] local.INFO: IMEI packet received {"connection_id":56528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":56528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:22:14] local.INFO: TCP Data received {"connection_id":56528,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37f5270012d196440071fed380035006823..."} 
[2026-04-28 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37f5270012d196440071fed380035006823..."} 
[2026-04-28 15:22:14] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37f5270012d196440071fed380035006823..."} 
[2026-04-28 15:22:14] local.INFO: Packet analysis {"connection_id":56528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:22:14] local.INFO: Extracted packet for processing {"connection_id":56528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006671104001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:14] 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-04-28 15:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369830000,"timestamp_ms":1777369830000,"timestamp_seconds":1777369830,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37f5270"} 
[2026-04-28 15:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:22:14] 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-04-28 15: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-04-28 15:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006671104001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006671104001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006671104001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":56528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:22:14] local.INFO: GPS data processed {"connection_id":56528,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:22:14] local.INFO: Acknowledgment sent {"connection_id":56528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:22:45] local.INFO: TCP Data received {"connection_id":56528,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37fa478012d196440071fed380035006821..."} 
[2026-04-28 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37fa478012d196440071fed380035006821..."} 
[2026-04-28 15:22:45] local.INFO: Processing buffer {"connection_id":56528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37fa478012d196440071fed380035006821..."} 
[2026-04-28 15:22:45] local.INFO: Packet analysis {"connection_id":56528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:22:45] local.INFO: Extracted packet for processing {"connection_id":56528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006676480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:22:45] 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-04-28 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777369851000,"timestamp_ms":1777369851000,"timestamp_seconds":1777369851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37fa478"} 
[2026-04-28 15:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:22: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-04-28 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006676480001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006676480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:22:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006676480001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":56528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:22:45] local.INFO: GPS data processed {"connection_id":56528,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:22:45] local.INFO: Acknowledgment sent {"connection_id":56528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:22:53] local.INFO: TCP Data received {"connection_id":57425,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:53] local.INFO: Processing buffer {"connection_id":57425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:53] local.INFO: IMEI packet received {"connection_id":57425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":57425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:22:59] local.INFO: TCP Data received {"connection_id":57425,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:59] local.INFO: Processing buffer {"connection_id":57425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:22:59] local.INFO: IMEI packet received {"connection_id":57425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":57425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:23:01] local.INFO: TCP Data received {"connection_id":57425,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:01] local.INFO: Processing buffer {"connection_id":57425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:01] local.INFO: Packet analysis {"connection_id":57425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:01] local.INFO: Extracted packet for processing {"connection_id":57425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:23:01] 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-04-28 15:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:23:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":57425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:23:01] local.INFO: GPS data processed {"connection_id":57425,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:23:01] local.INFO: Acknowledgment sent {"connection_id":57425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:23:17] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:23:17] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:17] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:23:18] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:18] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:23:18] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:23:19] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd37ff680012d196440071fed380035006823..."} 
[2026-04-28 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd37ff680012d196440071fed380035006823..."} 
[2026-04-28 15:23:19] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd37ff680012d196440071fed380035006823..."} 
[2026-04-28 15:23:19] local.INFO: Packet analysis {"connection_id":56714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:23:19] local.INFO: Extracted packet for processing {"connection_id":56714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd37f"} 
[2026-04-28 15:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006681856001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777369872000,"timestamp_ms":1777369872000,"timestamp_seconds":1777369872,"priority":1,"record_length":96,"hex_timestamp":"0000019dd37ff680"} 
[2026-04-28 15:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:23: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-04-28 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:23:19] 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-04-28 15: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-04-28 15:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006681856001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006681856001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:23:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006681856001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":56714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:23:19] local.INFO: GPS data processed {"connection_id":56714,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:23:19] local.INFO: Acknowledgment sent {"connection_id":56714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:23:24] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3804888012d196440071fed380035006825..."} 
[2026-04-28 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3804888012d196440071fed380035006825..."} 
[2026-04-28 15:23:24] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3804888012d196440071fed380035006825..."} 
[2026-04-28 15:23:24] local.INFO: Packet analysis {"connection_id":56714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:24] local.INFO: Extracted packet for processing {"connection_id":56714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006687232001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777369893000,"timestamp_ms":1777369893000,"timestamp_seconds":1777369893,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3804888"} 
[2026-04-28 15:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:23: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-04-28 15:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006687232001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006687232001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:23:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006687232001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":56714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:23:24] local.INFO: GPS data processed {"connection_id":56714,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:23:24] local.INFO: Acknowledgment sent {"connection_id":56714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:23:33] local.INFO: TCP Data received {"connection_id":57425,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:33] local.INFO: Processing buffer {"connection_id":57425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:23:33] local.INFO: Packet analysis {"connection_id":57425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:33] local.INFO: Extracted packet for processing {"connection_id":57425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":57425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:23:33] local.INFO: GPS data processed {"connection_id":57425,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:23:33] local.INFO: Acknowledgment sent {"connection_id":57425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:23:53] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:53] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:53] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:23:59] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:59] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:23:59] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:24:01] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:01] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:01] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:01] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:24:01] 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-04-28 15:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:24:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:24:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:24:01] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:24:01] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:24:09] local.INFO: TCP Data received {"connection_id":56529,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:09] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:09] local.INFO: IMEI packet received {"connection_id":56529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":56529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:24:13] local.INFO: TCP Data received {"connection_id":56529,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:13] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:24:13] local.INFO: IMEI packet received {"connection_id":56529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":56529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:24:14] local.INFO: TCP Data received {"connection_id":56529,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3809a90012d196440071fed380035006823..."} 
[2026-04-28 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3809a90012d196440071fed380035006823..."} 
[2026-04-28 15:24:14] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3809a90012d196440071fed380035006823..."} 
[2026-04-28 15:24:14] local.INFO: Packet analysis {"connection_id":56529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:14] local.INFO: Extracted packet for processing {"connection_id":56529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006692608001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:14] 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-04-28 15:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369914000,"timestamp_ms":1777369914000,"timestamp_seconds":1777369914,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3809a90"} 
[2026-04-28 15:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:24:14] 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-04-28 15:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006692608001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006692608001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006692608001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":56529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:24:14] local.INFO: GPS data processed {"connection_id":56529,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:24:14] local.INFO: Acknowledgment sent {"connection_id":56529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:24:33] local.INFO: TCP Data received {"connection_id":56715,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:33] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:24:33] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:33] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:24:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:24:33] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:24:33] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:24:45] local.INFO: TCP Data received {"connection_id":56529,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd380ec98012d196440071fed380035006822..."} 
[2026-04-28 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd380ec98012d196440071fed380035006822..."} 
[2026-04-28 15:24:45] local.INFO: Processing buffer {"connection_id":56529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd380ec98012d196440071fed380035006822..."} 
[2026-04-28 15:24:45] local.INFO: Packet analysis {"connection_id":56529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:45] local.INFO: Extracted packet for processing {"connection_id":56529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006697984001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:24:45] 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-04-28 15:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777369935000,"timestamp_ms":1777369935000,"timestamp_seconds":1777369935,"priority":1,"record_length":96,"hex_timestamp":"0000019dd380ec98"} 
[2026-04-28 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-04-28 15:24: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-04-28 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:24: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-04-28 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-04-28 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-04-28 15:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006697984001,"66":12363,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006697984001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:24:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006697984001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":56529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:24:45] local.INFO: GPS data processed {"connection_id":56529,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:24:45] local.INFO: Acknowledgment sent {"connection_id":56529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:24:59] local.INFO: TCP Data received {"connection_id":56716,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:24:59] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:24:59] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:25:04] local.INFO: TCP Data received {"connection_id":56716,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:04] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:04] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:25:05] local.INFO: TCP Data received {"connection_id":56716,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:05] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:05] local.INFO: Packet analysis {"connection_id":56716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:25:05] local.INFO: Extracted packet for processing {"connection_id":56716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:25:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":56716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:25:05] local.INFO: GPS data processed {"connection_id":56716,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:25:05] local.INFO: Acknowledgment sent {"connection_id":56716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:25:09] local.INFO: TCP Data received {"connection_id":56716,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:09] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:25:09] local.INFO: Packet analysis {"connection_id":56716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:25:09] local.INFO: Extracted packet for processing {"connection_id":56716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:25:09] 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-04-28 15:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:25:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:25:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":56716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:25:09] local.INFO: GPS data processed {"connection_id":56716,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:25:09] local.INFO: Acknowledgment sent {"connection_id":56716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:25:09] local.INFO: TCP Data received {"connection_id":57427,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:09] local.INFO: Processing buffer {"connection_id":57427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:09] local.INFO: IMEI packet received {"connection_id":57427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":57427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:25:09] local.INFO: TCP Data received {"connection_id":57426,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:09] local.INFO: Processing buffer {"connection_id":57426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:09] local.INFO: IMEI packet received {"connection_id":57426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":57426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:25:15] local.INFO: TCP Data received {"connection_id":57427,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:15] local.INFO: Processing buffer {"connection_id":57427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:25:15] local.INFO: IMEI packet received {"connection_id":57427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":57427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:25:16] local.INFO: TCP Data received {"connection_id":57427,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3813ea0012d196440071fed380035006821..."} 
[2026-04-28 15:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3813ea0012d196440071fed380035006821..."} 
[2026-04-28 15:25:16] local.INFO: Processing buffer {"connection_id":57427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3813ea0012d196440071fed380035006821..."} 
[2026-04-28 15:25:16] local.INFO: Packet analysis {"connection_id":57427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:25:16] local.INFO: Extracted packet for processing {"connection_id":57427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006703360001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777369956000,"timestamp_ms":1777369956000,"timestamp_seconds":1777369956,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3813ea0"} 
[2026-04-28 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-04-28 15:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006703360001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006703360001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:25:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006703360001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":57427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:25:16] local.INFO: GPS data processed {"connection_id":57427,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:25:16] local.INFO: Acknowledgment sent {"connection_id":57427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:25:39] local.INFO: TCP Data received {"connection_id":56752,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:39] local.INFO: Processing buffer {"connection_id":56752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:25:39] local.INFO: IMEI packet received {"connection_id":56752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":56752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:25:47] local.INFO: TCP Data received {"connection_id":57427,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38190a8012d196440071fed380035006822..."} 
[2026-04-28 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38190a8012d196440071fed380035006822..."} 
[2026-04-28 15:25:47] local.INFO: Processing buffer {"connection_id":57427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38190a8012d196440071fed380035006822..."} 
[2026-04-28 15:25:47] local.INFO: Packet analysis {"connection_id":57427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:25:47] local.INFO: Extracted packet for processing {"connection_id":57427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006708736001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777369977000,"timestamp_ms":1777369977000,"timestamp_seconds":1777369977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38190a8"} 
[2026-04-28 15:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:25: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-04-28 15:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:25: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-04-28 15:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006708736001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006708736001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006708736001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":57427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:25:47] local.INFO: GPS data processed {"connection_id":57427,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:25:47] local.INFO: Acknowledgment sent {"connection_id":57427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:25:53] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:53] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:53] local.INFO: IMEI packet received {"connection_id":56530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:25:59] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:59] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:25:59] local.INFO: IMEI packet received {"connection_id":56530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:26:00] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:00] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:00] local.INFO: Packet analysis {"connection_id":56530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:26:00] local.INFO: Extracted packet for processing {"connection_id":56530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 15:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:26: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-04-28 15: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-04-28 15:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:26:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:26:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:26:00] local.INFO: GPS data processed {"connection_id":56530,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:26:00] local.INFO: Acknowledgment sent {"connection_id":56530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:26:08] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:08] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:08] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:26:13] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:13] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:26:13] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:26:14] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd381e2b0012d196440071fed380035006821..."} 
[2026-04-28 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd381e2b0012d196440071fed380035006821..."} 
[2026-04-28 15:26:14] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd381e2b0012d196440071fed380035006821..."} 
[2026-04-28 15:26:14] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:26:14] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd381"} 
[2026-04-28 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006714112001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:14] 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-04-28 15:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777369998000,"timestamp_ms":1777369998000,"timestamp_seconds":1777369998,"priority":1,"record_length":96,"hex_timestamp":"0000019dd381e2b0"} 
[2026-04-28 15:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:26:14] 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-04-28 15:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006714112001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006714112001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:26:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006714112001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:26:14] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:26:14] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:26:31] local.INFO: TCP Data received {"connection_id":56530,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:31] local.INFO: Processing buffer {"connection_id":56530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3800620012d7fa44005afde680009011228..."} 
[2026-04-28 15:26:31] local.INFO: Packet analysis {"connection_id":56530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:26:31] local.INFO: Extracted packet for processing {"connection_id":56530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd380"} 
[2026-04-28 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006571008001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777369876000,"timestamp_ms":1777369876000,"timestamp_seconds":1777369876,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3800620"} 
[2026-04-28 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-04-28 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 15:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006571008001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006571008001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:26:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:26:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006571008001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":56530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:26:31] local.INFO: GPS data processed {"connection_id":56530,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:26:31] local.INFO: Acknowledgment sent {"connection_id":56530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:26:45] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38234b8012d196440071fed380035006825..."} 
[2026-04-28 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38234b8012d196440071fed380035006825..."} 
[2026-04-28 15:26:45] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38234b8012d196440071fed380035006825..."} 
[2026-04-28 15:26:45] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:26:45] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006719488001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:26:45] 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-04-28 15:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370019000,"timestamp_ms":1777370019000,"timestamp_seconds":1777370019,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38234b8"} 
[2026-04-28 15:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006719488001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006719488001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:26:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006719488001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:26:45] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:26:45] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:26:53] local.INFO: TCP Data received {"connection_id":57428,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:53] local.INFO: Processing buffer {"connection_id":57428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:53] local.INFO: IMEI packet received {"connection_id":57428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":57428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:26:55] local.INFO: TCP Data received {"connection_id":57428,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:55] local.INFO: Processing buffer {"connection_id":57428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:55] local.INFO: IMEI packet received {"connection_id":57428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":57428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:26:59] local.INFO: TCP Data received {"connection_id":57428,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:59] local.INFO: Processing buffer {"connection_id":57428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:26:59] local.INFO: IMEI packet received {"connection_id":57428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":57428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:27:01] local.INFO: TCP Data received {"connection_id":57428,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:01] local.INFO: Processing buffer {"connection_id":57428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:01] local.INFO: Packet analysis {"connection_id":57428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:27:01] local.INFO: Extracted packet for processing {"connection_id":57428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:27: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-04-28 15:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:27:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":57428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:27:01] local.INFO: GPS data processed {"connection_id":57428,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:27:01] local.INFO: Acknowledgment sent {"connection_id":57428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:27:08] local.INFO: TCP Data received {"connection_id":56531,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:08] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:08] local.INFO: IMEI packet received {"connection_id":56531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":56531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:27:13] local.INFO: TCP Data received {"connection_id":56531,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:13] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:27:13] local.INFO: IMEI packet received {"connection_id":56531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":56531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:27:15] local.INFO: TCP Data received {"connection_id":56531,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38286c0012d196440071fed380035006826..."} 
[2026-04-28 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38286c0012d196440071fed380035006826..."} 
[2026-04-28 15:27:15] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38286c0012d196440071fed380035006826..."} 
[2026-04-28 15:27:15] local.INFO: Packet analysis {"connection_id":56531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:27:15] local.INFO: Extracted packet for processing {"connection_id":56531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006724864001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777370040000,"timestamp_ms":1777370040000,"timestamp_seconds":1777370040,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38286c0"} 
[2026-04-28 15:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006724864001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006724864001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:27:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006724864001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":56531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:27:15] local.INFO: GPS data processed {"connection_id":56531,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:27:15] local.INFO: Acknowledgment sent {"connection_id":56531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:27:33] local.INFO: TCP Data received {"connection_id":57428,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:33] local.INFO: Processing buffer {"connection_id":57428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:27:33] local.INFO: Packet analysis {"connection_id":57428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:27:33] local.INFO: Extracted packet for processing {"connection_id":57428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":57428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:27:33] local.INFO: GPS data processed {"connection_id":57428,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:27:33] local.INFO: Acknowledgment sent {"connection_id":57428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:27:46] local.INFO: TCP Data received {"connection_id":56531,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd382d8c8012d196440071fed380035006825..."} 
[2026-04-28 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd382d8c8012d196440071fed380035006825..."} 
[2026-04-28 15:27:46] local.INFO: Processing buffer {"connection_id":56531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd382d8c8012d196440071fed380035006825..."} 
[2026-04-28 15:27:46] local.INFO: Packet analysis {"connection_id":56531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:27:46] local.INFO: Extracted packet for processing {"connection_id":56531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd382"} 
[2026-04-28 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006730240001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777370061000,"timestamp_ms":1777370061000,"timestamp_seconds":1777370061,"priority":1,"record_length":96,"hex_timestamp":"0000019dd382d8c8"} 
[2026-04-28 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-04-28 15:27: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:27: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-04-28 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-04-28 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-04-28 15:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006730240001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006730240001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:27:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006730240001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":56531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:27:46] local.INFO: GPS data processed {"connection_id":56531,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:27:46] local.INFO: Acknowledgment sent {"connection_id":56531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:27:54] local.INFO: TCP Data received {"connection_id":56754,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:54] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:54] local.INFO: IMEI packet received {"connection_id":56754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":56754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:27:59] local.INFO: TCP Data received {"connection_id":56754,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:59] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:27:59] local.INFO: IMEI packet received {"connection_id":56754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:28:00] local.INFO: TCP Data received {"connection_id":56754,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:00] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:00] local.INFO: Packet analysis {"connection_id":56754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:28:00] local.INFO: Extracted packet for processing {"connection_id":56754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:28: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-04-28 15:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":56754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:28:00] local.INFO: GPS data processed {"connection_id":56754,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:28:00] local.INFO: Acknowledgment sent {"connection_id":56754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:28:08] local.INFO: TCP Data received {"connection_id":56532,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:08] local.INFO: Processing buffer {"connection_id":56532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:08] local.INFO: IMEI packet received {"connection_id":56532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":56532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:28:13] local.INFO: TCP Data received {"connection_id":56532,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:13] local.INFO: Processing buffer {"connection_id":56532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:28:13] local.INFO: IMEI packet received {"connection_id":56532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":56532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:28:18] local.INFO: TCP Data received {"connection_id":56532,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3832ad0012d196440071fed380035006825..."} 
[2026-04-28 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3832ad0012d196440071fed380035006825..."} 
[2026-04-28 15:28:18] local.INFO: Processing buffer {"connection_id":56532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3832ad0012d196440071fed380035006825..."} 
[2026-04-28 15:28:18] local.INFO: Packet analysis {"connection_id":56532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:28:18] local.INFO: Extracted packet for processing {"connection_id":56532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006735616001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777370082000,"timestamp_ms":1777370082000,"timestamp_seconds":1777370082,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3832ad0"} 
[2026-04-28 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-04-28 15:28: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-04-28 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006735616001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006735616001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006735616001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":56532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:28:18] local.INFO: GPS data processed {"connection_id":56532,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:28:18] local.INFO: Acknowledgment sent {"connection_id":56532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:28:32] local.INFO: TCP Data received {"connection_id":56754,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:32] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:28:32] local.INFO: Packet analysis {"connection_id":56754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:28:32] local.INFO: Extracted packet for processing {"connection_id":56754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 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-04-28 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:28:32] local.INFO: GPS data processed {"connection_id":56754,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:28:32] local.INFO: Acknowledgment sent {"connection_id":56754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:28:49] local.INFO: TCP Data received {"connection_id":56532,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3837cd8012d196440071fed380035006824..."} 
[2026-04-28 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3837cd8012d196440071fed380035006824..."} 
[2026-04-28 15:28:49] local.INFO: Processing buffer {"connection_id":56532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3837cd8012d196440071fed380035006824..."} 
[2026-04-28 15:28:49] local.INFO: Packet analysis {"connection_id":56532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:28:49] local.INFO: Extracted packet for processing {"connection_id":56532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006740992001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777370103000,"timestamp_ms":1777370103000,"timestamp_seconds":1777370103,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3837cd8"} 
[2026-04-28 15:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:28: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-04-28 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006740992001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006740992001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006740992001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":56532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:28:49] local.INFO: GPS data processed {"connection_id":56532,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:28:49] local.INFO: Acknowledgment sent {"connection_id":56532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:28:53] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:53] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:53] local.INFO: IMEI packet received {"connection_id":56755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":56755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:28:59] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:59] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:28:59] local.INFO: IMEI packet received {"connection_id":56755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:29:01] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:01] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:01] local.INFO: Packet analysis {"connection_id":56755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:01] local.INFO: Extracted packet for processing {"connection_id":56755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:29: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-04-28 15:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:29:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":56755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:29:01] local.INFO: GPS data processed {"connection_id":56755,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:29:01] local.INFO: Acknowledgment sent {"connection_id":56755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:29:11] local.INFO: TCP Data received {"connection_id":57430,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:11] local.INFO: Processing buffer {"connection_id":57430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:11] local.INFO: IMEI packet received {"connection_id":57430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":57430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:29:13] local.INFO: TCP Data received {"connection_id":57430,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:13] local.INFO: Processing buffer {"connection_id":57430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:13] local.INFO: IMEI packet received {"connection_id":57430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":57430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:29:19] local.INFO: TCP Data received {"connection_id":57430,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:19] local.INFO: Processing buffer {"connection_id":57430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:29:19] local.INFO: IMEI packet received {"connection_id":57430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":57430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:29:20] local.INFO: TCP Data received {"connection_id":57430,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd383cee0012d196440071fed380035006825..."} 
[2026-04-28 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd383cee0012d196440071fed380035006825..."} 
[2026-04-28 15:29:20] local.INFO: Processing buffer {"connection_id":57430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd383cee0012d196440071fed380035006825..."} 
[2026-04-28 15:29:20] local.INFO: Packet analysis {"connection_id":57430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:29:20] local.INFO: Extracted packet for processing {"connection_id":57430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd383"} 
[2026-04-28 15:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006746368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777370124000,"timestamp_ms":1777370124000,"timestamp_seconds":1777370124,"priority":1,"record_length":96,"hex_timestamp":"0000019dd383cee0"} 
[2026-04-28 15:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15: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-04-28 15: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:29:20] 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-04-28 15: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-04-28 15:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006746368001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006746368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:29:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006746368001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":57430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:29:20] local.INFO: GPS data processed {"connection_id":57430,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:29:20] local.INFO: Acknowledgment sent {"connection_id":57430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:29:24] local.INFO: TCP Data received {"connection_id":57430,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38420e8012d196440071fed380035006822..."} 
[2026-04-28 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38420e8012d196440071fed380035006822..."} 
[2026-04-28 15:29:24] local.INFO: Processing buffer {"connection_id":57430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38420e8012d196440071fed380035006822..."} 
[2026-04-28 15:29:24] local.INFO: Packet analysis {"connection_id":57430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:24] local.INFO: Extracted packet for processing {"connection_id":57430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006751744001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777370145000,"timestamp_ms":1777370145000,"timestamp_seconds":1777370145,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38420e8"} 
[2026-04-28 15:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:29: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006751744001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006751744001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:29:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006751744001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":57430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:29:24] local.INFO: GPS data processed {"connection_id":57430,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:29:24] local.INFO: Acknowledgment sent {"connection_id":57430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:29:32] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:32] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:29:32] local.INFO: Packet analysis {"connection_id":56755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:32] local.INFO: Extracted packet for processing {"connection_id":56755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:29:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":56755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:29:33] local.INFO: GPS data processed {"connection_id":56755,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:29:33] local.INFO: Acknowledgment sent {"connection_id":56755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:29:53] local.INFO: TCP Data received {"connection_id":56756,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:53] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:53] local.INFO: IMEI packet received {"connection_id":56756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":56756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:29:59] local.INFO: TCP Data received {"connection_id":56756,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:59] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:29:59] local.INFO: IMEI packet received {"connection_id":56756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:30:00] local.INFO: TCP Data received {"connection_id":56756,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:00] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:00] local.INFO: Packet analysis {"connection_id":56756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:00] local.INFO: Extracted packet for processing {"connection_id":56756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:30: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-04-28 15:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:30:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:30:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":56756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:30:00] local.INFO: GPS data processed {"connection_id":56756,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:30:00] local.INFO: Acknowledgment sent {"connection_id":56756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:30:09] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:09] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:09] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:30:14] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:14] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:30:14] local.INFO: IMEI packet received {"connection_id":56533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":56533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:30:15] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38472f0012d196440071fed380035006823..."} 
[2026-04-28 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38472f0012d196440071fed380035006823..."} 
[2026-04-28 15:30:15] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38472f0012d196440071fed380035006823..."} 
[2026-04-28 15:30:15] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:15] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006757120001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777370166000,"timestamp_ms":1777370166000,"timestamp_seconds":1777370166,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38472f0"} 
[2026-04-28 15:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:30: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-04-28 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006757120001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006757120001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006757120001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:30:15] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:30:15] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:30:32] local.INFO: TCP Data received {"connection_id":56756,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:32] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:30:32] local.INFO: Packet analysis {"connection_id":56756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:32] local.INFO: Extracted packet for processing {"connection_id":56756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:30: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-04-28 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:30: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-04-28 15:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":56756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:30:32] local.INFO: GPS data processed {"connection_id":56756,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:30:32] local.INFO: Acknowledgment sent {"connection_id":56756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:30:46] local.INFO: TCP Data received {"connection_id":56533,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd384c4f8012d196440071fed380035006823..."} 
[2026-04-28 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd384c4f8012d196440071fed380035006823..."} 
[2026-04-28 15:30:46] local.INFO: Processing buffer {"connection_id":56533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd384c4f8012d196440071fed380035006823..."} 
[2026-04-28 15:30:46] local.INFO: Packet analysis {"connection_id":56533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:46] local.INFO: Extracted packet for processing {"connection_id":56533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006762496001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777370187000,"timestamp_ms":1777370187000,"timestamp_seconds":1777370187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd384c4f8"} 
[2026-04-28 15:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:30: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-04-28 15:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:30: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-04-28 15:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006762496001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006762496001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:30:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006762496001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":56533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:30:46] local.INFO: GPS data processed {"connection_id":56533,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:30:46] local.INFO: Acknowledgment sent {"connection_id":56533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:30:59] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:30:59] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:30:59] local.INFO: IMEI packet received {"connection_id":56720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:31:04] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:04] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:04] local.INFO: IMEI packet received {"connection_id":56720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":56720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:31:05] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:05] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:05] local.INFO: Packet analysis {"connection_id":56720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:31:05] local.INFO: Extracted packet for processing {"connection_id":56720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:31:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:31:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":56720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:31:05] local.INFO: GPS data processed {"connection_id":56720,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:31:05] local.INFO: Acknowledgment sent {"connection_id":56720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:31:09] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:09] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:09] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:31:09] local.INFO: TCP Data received {"connection_id":57431,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:09] local.INFO: Processing buffer {"connection_id":57431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:09] local.INFO: IMEI packet received {"connection_id":57431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":57431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:31:10] local.INFO: TCP Data received {"connection_id":56720,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:10] local.INFO: Processing buffer {"connection_id":56720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3849de8012d7fa44005afde680009011229..."} 
[2026-04-28 15:31:10] local.INFO: Packet analysis {"connection_id":56720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:31:10] local.INFO: Extracted packet for processing {"connection_id":56720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd384"} 
[2026-04-28 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006688256001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777370177000,"timestamp_ms":1777370177000,"timestamp_seconds":1777370177,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3849de8"} 
[2026-04-28 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006688256001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006688256001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006688256001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":56720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:31:10] local.INFO: GPS data processed {"connection_id":56720,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:31:10] local.INFO: Acknowledgment sent {"connection_id":56720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:31:14] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:14] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:31:14] local.INFO: IMEI packet received {"connection_id":56534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":56534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:31:15] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3851700012d196440071fed380035006822..."} 
[2026-04-28 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3851700012d196440071fed380035006822..."} 
[2026-04-28 15:31:15] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3851700012d196440071fed380035006822..."} 
[2026-04-28 15:31:15] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:31:15] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006767872001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777370208000,"timestamp_ms":1777370208000,"timestamp_seconds":1777370208,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3851700"} 
[2026-04-28 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:31: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-04-28 15:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006767872001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006767872001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006767872001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:31:15] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:31:15] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:31:34] local.INFO: TCP Data received {"connection_id":56757,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:34] local.INFO: Processing buffer {"connection_id":56757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:31:34] local.INFO: IMEI packet received {"connection_id":56757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":56757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:31:46] local.INFO: TCP Data received {"connection_id":56534,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3856908012d196440071fed380035006825..."} 
[2026-04-28 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3856908012d196440071fed380035006825..."} 
[2026-04-28 15:31:46] local.INFO: Processing buffer {"connection_id":56534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3856908012d196440071fed380035006825..."} 
[2026-04-28 15:31:46] local.INFO: Packet analysis {"connection_id":56534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:31:46] local.INFO: Extracted packet for processing {"connection_id":56534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006773248001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777370229000,"timestamp_ms":1777370229000,"timestamp_seconds":1777370229,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3856908"} 
[2026-04-28 15:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:31: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:31: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-04-28 15: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-04-28 15:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006773248001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006773248001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:31:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006773248001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":56534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:31:46] local.INFO: GPS data processed {"connection_id":56534,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:31:46] local.INFO: Acknowledgment sent {"connection_id":56534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:31:53] local.INFO: TCP Data received {"connection_id":56535,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:53] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:53] local.INFO: IMEI packet received {"connection_id":56535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:31:56] local.INFO: TCP Data received {"connection_id":56535,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:56] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:31:56] local.INFO: IMEI packet received {"connection_id":56535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":56535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:31:57] local.INFO: TCP Data received {"connection_id":56535,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:31:57] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:31:57] local.INFO: Packet analysis {"connection_id":56535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:31:57] local.INFO: Extracted packet for processing {"connection_id":56535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:31: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-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:31: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-04-28 15: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-04-28 15:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:31:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:31:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":56535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:31:57] local.INFO: GPS data processed {"connection_id":56535,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:31:57] local.INFO: Acknowledgment sent {"connection_id":56535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:32:08] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:08] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:08] local.INFO: IMEI packet received {"connection_id":56536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":56536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:32:13] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:13] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:32:13] local.INFO: IMEI packet received {"connection_id":56536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":56536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:32:14] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd385bb10012d196440071fed380035006821..."} 
[2026-04-28 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd385bb10012d196440071fed380035006821..."} 
[2026-04-28 15:32:14] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd385bb10012d196440071fed380035006821..."} 
[2026-04-28 15:32:14] local.INFO: Packet analysis {"connection_id":56536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:32:14] local.INFO: Extracted packet for processing {"connection_id":56536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd385"} 
[2026-04-28 15:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006778624001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:14] 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-04-28 15:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370250000,"timestamp_ms":1777370250000,"timestamp_seconds":1777370250,"priority":1,"record_length":96,"hex_timestamp":"0000019dd385bb10"} 
[2026-04-28 15:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:32:14] 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-04-28 15:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006778624001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006778624001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:32:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006778624001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":56536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:32:14] local.INFO: GPS data processed {"connection_id":56536,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:32:14] local.INFO: Acknowledgment sent {"connection_id":56536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:32:29] local.INFO: TCP Data received {"connection_id":56535,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:32:29] local.INFO: Processing buffer {"connection_id":56535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:32:29] local.INFO: Packet analysis {"connection_id":56535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:32:29] local.INFO: Extracted packet for processing {"connection_id":56535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:32:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:32:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":56535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:32:29] local.INFO: GPS data processed {"connection_id":56535,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:32:29] local.INFO: Acknowledgment sent {"connection_id":56535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:32:45] local.INFO: TCP Data received {"connection_id":56536,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3894168012d196440071fed380035006823..."} 
[2026-04-28 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3894168012d196440071fed380035006823..."} 
[2026-04-28 15:32:45] local.INFO: Processing buffer {"connection_id":56536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3894168012d196440071fed380035006823..."} 
[2026-04-28 15:32:45] local.INFO: Packet analysis {"connection_id":56536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:32:45] local.INFO: Extracted packet for processing {"connection_id":56536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006837760001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:32:45] 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-04-28 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370481000,"timestamp_ms":1777370481000,"timestamp_seconds":1777370481,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3894168"} 
[2026-04-28 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-04-28 15:32: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006837760001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006837760001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:32:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006837760001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":56536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:32:45] local.INFO: GPS data processed {"connection_id":56536,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:32:45] local.INFO: Acknowledgment sent {"connection_id":56536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:32:59] local.INFO: TCP Data received {"connection_id":56721,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:32:59] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:32:59] local.INFO: IMEI packet received {"connection_id":56721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:33:04] local.INFO: TCP Data received {"connection_id":56721,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:04] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:04] local.INFO: IMEI packet received {"connection_id":56721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":56721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:33:05] local.INFO: TCP Data received {"connection_id":56721,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:05] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:05] local.INFO: Packet analysis {"connection_id":56721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:05] local.INFO: Extracted packet for processing {"connection_id":56721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:33:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":56721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:33:05] local.INFO: GPS data processed {"connection_id":56721,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:33:05] local.INFO: Acknowledgment sent {"connection_id":56721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:33:08] local.INFO: TCP Data received {"connection_id":56758,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:08] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:08] local.INFO: IMEI packet received {"connection_id":56758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:33:10] local.INFO: TCP Data received {"connection_id":56721,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:10] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:33:10] local.INFO: Packet analysis {"connection_id":56721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:10] local.INFO: Extracted packet for processing {"connection_id":56721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:33:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:33:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":56721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:33:10] local.INFO: GPS data processed {"connection_id":56721,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:33:10] local.INFO: Acknowledgment sent {"connection_id":56721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:33:13] local.INFO: TCP Data received {"connection_id":56758,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:13] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:33:13] local.INFO: IMEI packet received {"connection_id":56758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":56758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:33:17] local.INFO: TCP Data received {"connection_id":56758,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3899370012d196440071fed380035006824..."} 
[2026-04-28 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3899370012d196440071fed380035006824..."} 
[2026-04-28 15:33:17] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3899370012d196440071fed380035006824..."} 
[2026-04-28 15:33:17] local.INFO: Packet analysis {"connection_id":56758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:17] local.INFO: Extracted packet for processing {"connection_id":56758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006843136001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777370502000,"timestamp_ms":1777370502000,"timestamp_seconds":1777370502,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3899370"} 
[2026-04-28 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-04-28 15:33: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006843136001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006843136001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:33:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006843136001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":56758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:33:17] local.INFO: GPS data processed {"connection_id":56758,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:33:17] local.INFO: Acknowledgment sent {"connection_id":56758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:33:48] local.INFO: TCP Data received {"connection_id":56758,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd389e578012d196440071fed380035006824..."} 
[2026-04-28 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd389e578012d196440071fed380035006824..."} 
[2026-04-28 15:33:48] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd389e578012d196440071fed380035006824..."} 
[2026-04-28 15:33:48] local.INFO: Packet analysis {"connection_id":56758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:48] local.INFO: Extracted packet for processing {"connection_id":56758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006848512001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777370523000,"timestamp_ms":1777370523000,"timestamp_seconds":1777370523,"priority":1,"record_length":96,"hex_timestamp":"0000019dd389e578"} 
[2026-04-28 15:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:33: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-04-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:33:48] 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-04-28 15:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006848512001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006848512001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:33:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006848512001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":56758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:33:48] local.INFO: GPS data processed {"connection_id":56758,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:33:48] local.INFO: Acknowledgment sent {"connection_id":56758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:33:54] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:54] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:33:54] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:34:03] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:03] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:03] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:34:04] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:04] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:04] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:04] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:34: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-04-28 15:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:34:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:34:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:34:04] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:34:04] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:34:05] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:05] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:05] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:05] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:34:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:34:05] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:34:05] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:34:08] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:08] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:08] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:34:13] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:13] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:34:13] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:34:15] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38a3780012d196440071fed380035006822..."} 
[2026-04-28 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38a3780012d196440071fed380035006822..."} 
[2026-04-28 15:34:15] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38a3780012d196440071fed380035006822..."} 
[2026-04-28 15:34:15] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:34:15] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006853888001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777370544000,"timestamp_ms":1777370544000,"timestamp_seconds":1777370544,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38a3780"} 
[2026-04-28 15:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:34: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-04-28 15:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006853888001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006853888001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:34:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006853888001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:34:15] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:34:15] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:34:37] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:37] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:34:37] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:37] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:34:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:34:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:34:37] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:34:37] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:34:46] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38a8988012d196440071fed380035006823..."} 
[2026-04-28 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38a8988012d196440071fed380035006823..."} 
[2026-04-28 15:34:46] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38a8988012d196440071fed380035006823..."} 
[2026-04-28 15:34:46] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:34:46] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006859264001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777370565000,"timestamp_ms":1777370565000,"timestamp_seconds":1777370565,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38a8988"} 
[2026-04-28 15:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15: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-04-28 15:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15: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-04-28 15:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006859264001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006859264001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:34:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006859264001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:34:46] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:34:46] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:34:53] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:53] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:53] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:34:59] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:59] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:34:59] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:35:00] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:00] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:00] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:00] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:35: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-04-28 15:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:35:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:35:00] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:35:00] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:35:08] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: IMEI packet received {"connection_id":56537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":56537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:35:08] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:08] local.INFO: IMEI packet received {"connection_id":56537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":56537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:35:13] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:13] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:35:13] local.INFO: IMEI packet received {"connection_id":56537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":56537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:35:14] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38adb90012d196440071fed380035006823..."} 
[2026-04-28 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38adb90012d196440071fed380035006823..."} 
[2026-04-28 15:35:14] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38adb90012d196440071fed380035006823..."} 
[2026-04-28 15:35:14] local.INFO: Packet analysis {"connection_id":56537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:35:14] local.INFO: Extracted packet for processing {"connection_id":56537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38a"} 
[2026-04-28 15:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006864640001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:14] 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-04-28 15:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370586000,"timestamp_ms":1777370586000,"timestamp_seconds":1777370586,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38adb90"} 
[2026-04-28 15:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:35:14] 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-04-28 15:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006864640001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006864640001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:35:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006864640001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":56537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:35:14] local.INFO: GPS data processed {"connection_id":56537,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:35:14] local.INFO: Acknowledgment sent {"connection_id":56537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:35:31] local.INFO: TCP Data received {"connection_id":56722,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:31] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:31] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:31] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:35:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:35:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:35:31] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:35:31] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:35:47] local.INFO: TCP Data received {"connection_id":56537,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38b2d98012d196440071fed380035006821..."} 
[2026-04-28 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38b2d98012d196440071fed380035006821..."} 
[2026-04-28 15:35:47] local.INFO: Processing buffer {"connection_id":56537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38b2d98012d196440071fed380035006821..."} 
[2026-04-28 15:35:47] local.INFO: Packet analysis {"connection_id":56537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:35:47] local.INFO: Extracted packet for processing {"connection_id":56537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006870016001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777370607000,"timestamp_ms":1777370607000,"timestamp_seconds":1777370607,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38b2d98"} 
[2026-04-28 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-04-28 15:35: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:35: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-04-28 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-04-28 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-04-28 15:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006870016001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006870016001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:35:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006870016001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":56537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:35:47] local.INFO: GPS data processed {"connection_id":56537,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:35:47] local.INFO: Acknowledgment sent {"connection_id":56537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:35:53] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:53] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:53] local.INFO: IMEI packet received {"connection_id":56762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:35:58] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:58] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:35:58] local.INFO: IMEI packet received {"connection_id":56762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":56762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:35:59] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:59] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:35:59] local.INFO: Packet analysis {"connection_id":56762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:59] local.INFO: Extracted packet for processing {"connection_id":56762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 15:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:35:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:35:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":56762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:35:59] local.INFO: GPS data processed {"connection_id":56762,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:35:59] local.INFO: Acknowledgment sent {"connection_id":56762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:36:08] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:08] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:08] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:36:11] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:11] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:11] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:36:13] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:13] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:36:13] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:36:15] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38b7fa0012d196440071fed380035006823..."} 
[2026-04-28 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38b7fa0012d196440071fed380035006823..."} 
[2026-04-28 15:36:15] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38b7fa0012d196440071fed380035006823..."} 
[2026-04-28 15:36:15] local.INFO: Packet analysis {"connection_id":56724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:36:15] local.INFO: Extracted packet for processing {"connection_id":56724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006875392001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777370628000,"timestamp_ms":1777370628000,"timestamp_seconds":1777370628,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38b7fa0"} 
[2026-04-28 15:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:36: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-04-28 15:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006875392001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006875392001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:36:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006875392001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":56724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:36:15] local.INFO: GPS data processed {"connection_id":56724,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:36:15] local.INFO: Acknowledgment sent {"connection_id":56724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:36:31] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:36:31] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38935b0012d7fa44005afde680009011225..."} 
[2026-04-28 15:36:31] local.INFO: Packet analysis {"connection_id":56762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:36:31] local.INFO: Extracted packet for processing {"connection_id":56762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd389"} 
[2026-04-28 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006765312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777370478000,"timestamp_ms":1777370478000,"timestamp_seconds":1777370478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38935b0"} 
[2026-04-28 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-04-28 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006765312001,"66":25451,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006765312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:36:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:36:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006765312001,"power":25451,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":56762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:36:31] local.INFO: GPS data processed {"connection_id":56762,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:36:31] local.INFO: Acknowledgment sent {"connection_id":56762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:36:46] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38bd1a8012d196440071fed380035006821..."} 
[2026-04-28 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38bd1a8012d196440071fed380035006821..."} 
[2026-04-28 15:36:46] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38bd1a8012d196440071fed380035006821..."} 
[2026-04-28 15:36:46] local.INFO: Packet analysis {"connection_id":56724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:36:46] local.INFO: Extracted packet for processing {"connection_id":56724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38b"} 
[2026-04-28 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006880768001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777370649000,"timestamp_ms":1777370649000,"timestamp_seconds":1777370649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38bd1a8"} 
[2026-04-28 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-04-28 15:36: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-04-28 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006880768001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006880768001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006880768001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":56724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:36:46] local.INFO: GPS data processed {"connection_id":56724,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:36:46] local.INFO: Acknowledgment sent {"connection_id":56724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:36:49] local.INFO: TCP Data received {"connection_id":56538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:36:49] local.INFO: Processing buffer {"connection_id":56538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:36:49] local.INFO: IMEI packet received {"connection_id":56538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":56538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:36:53] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:53] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:53] local.INFO: IMEI packet received {"connection_id":57434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":57434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:36:58] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: IMEI packet received {"connection_id":57434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":57434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:36:58] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:36:58] local.INFO: IMEI packet received {"connection_id":57434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":57434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:37:00] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:00] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:00] local.INFO: Packet analysis {"connection_id":57434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:00] local.INFO: Extracted packet for processing {"connection_id":57434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:37:00] 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-04-28 15: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-04-28 15:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:37:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:37:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":57434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:37:00] local.INFO: GPS data processed {"connection_id":57434,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:37:00] local.INFO: Acknowledgment sent {"connection_id":57434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:37:04] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:04] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:04] local.INFO: Packet analysis {"connection_id":57434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:04] local.INFO: Extracted packet for processing {"connection_id":57434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:37:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:37:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":57434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:37:04] local.INFO: GPS data processed {"connection_id":57434,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:37:04] local.INFO: Acknowledgment sent {"connection_id":57434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:37:14] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: IMEI packet received {"connection_id":56725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":56725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:37:14] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:14] local.INFO: IMEI packet received {"connection_id":56725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":56725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:37:19] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:19] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:37:19] local.INFO: IMEI packet received {"connection_id":56725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":56725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:37:19] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38c23b0012d196440071fed380035006824..."} 
[2026-04-28 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38c23b0012d196440071fed380035006824..."} 
[2026-04-28 15:37:19] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38c23b0012d196440071fed380035006824..."} 
[2026-04-28 15:37:19] local.INFO: Packet analysis {"connection_id":56725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:37:19] local.INFO: Extracted packet for processing {"connection_id":56725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006886144001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777370670000,"timestamp_ms":1777370670000,"timestamp_seconds":1777370670,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38c23b0"} 
[2026-04-28 15:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:37: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-04-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:37:19] 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-04-28 15: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-04-28 15:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006886144001,"66":12363,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006886144001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:37:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006886144001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":56725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:37:20] local.INFO: GPS data processed {"connection_id":56725,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:37:20] local.INFO: Acknowledgment sent {"connection_id":56725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:37:25] local.INFO: TCP Data received {"connection_id":56725,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38c75b8012d196440071fed380035006821..."} 
[2026-04-28 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38c75b8012d196440071fed380035006821..."} 
[2026-04-28 15:37:25] local.INFO: Processing buffer {"connection_id":56725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38c75b8012d196440071fed380035006821..."} 
[2026-04-28 15:37:25] local.INFO: Packet analysis {"connection_id":56725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:37:25] local.INFO: Extracted packet for processing {"connection_id":56725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006891520001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777370691000,"timestamp_ms":1777370691000,"timestamp_seconds":1777370691,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38c75b8"} 
[2026-04-28 15:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:37: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-04-28 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:37:25] 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-04-28 15:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006891520001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006891520001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:37:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006891520001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":56725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:37:25] local.INFO: GPS data processed {"connection_id":56725,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:37:25] local.INFO: Acknowledgment sent {"connection_id":56725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:37:34] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:37:34] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:37:34] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:37:36] local.INFO: TCP Data received {"connection_id":57434,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:36] local.INFO: Processing buffer {"connection_id":57434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:37:36] local.INFO: Packet analysis {"connection_id":57434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:36] local.INFO: Extracted packet for processing {"connection_id":57434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:37:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:37:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":57434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:37:36] local.INFO: GPS data processed {"connection_id":57434,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:37:36] local.INFO: Acknowledgment sent {"connection_id":57434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:37:53] local.INFO: TCP Data received {"connection_id":56726,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:53] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:53] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:37:59] local.INFO: TCP Data received {"connection_id":56726,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:59] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:37:59] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:38:01] local.INFO: TCP Data received {"connection_id":56726,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:01] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:01] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:01] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:38:01] 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-04-28 15: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-04-28 15:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:38:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:38:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:38:01] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:38:01] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:38:09] local.INFO: TCP Data received {"connection_id":57436,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:09] local.INFO: Processing buffer {"connection_id":57436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:09] local.INFO: IMEI packet received {"connection_id":57436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":57436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:38:15] local.INFO: TCP Data received {"connection_id":57436,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:15] local.INFO: Processing buffer {"connection_id":57436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:38:15] local.INFO: IMEI packet received {"connection_id":57436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":57436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:38:16] local.INFO: TCP Data received {"connection_id":57436,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38cc7c0012d196440071fed380035006821..."} 
[2026-04-28 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38cc7c0012d196440071fed380035006821..."} 
[2026-04-28 15:38:16] local.INFO: Processing buffer {"connection_id":57436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38cc7c0012d196440071fed380035006821..."} 
[2026-04-28 15:38:16] local.INFO: Packet analysis {"connection_id":57436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:38:16] local.INFO: Extracted packet for processing {"connection_id":57436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38c"} 
[2026-04-28 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006896896001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777370712000,"timestamp_ms":1777370712000,"timestamp_seconds":1777370712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38cc7c0"} 
[2026-04-28 15:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:38: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006896896001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006896896001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:38:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006896896001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":57436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:38:16] local.INFO: GPS data processed {"connection_id":57436,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:38:16] local.INFO: Acknowledgment sent {"connection_id":57436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:38:33] local.INFO: TCP Data received {"connection_id":56726,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:33] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:38:33] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:33] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:38:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:38:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:38:33] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:38:33] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:38:47] local.INFO: TCP Data received {"connection_id":57436,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38d19c8012d196440071fed380035006820..."} 
[2026-04-28 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38d19c8012d196440071fed380035006820..."} 
[2026-04-28 15:38:47] local.INFO: Processing buffer {"connection_id":57436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38d19c8012d196440071fed380035006820..."} 
[2026-04-28 15:38:47] local.INFO: Packet analysis {"connection_id":57436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:47] local.INFO: Extracted packet for processing {"connection_id":57436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006902272001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777370733000,"timestamp_ms":1777370733000,"timestamp_seconds":1777370733,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38d19c8"} 
[2026-04-28 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-04-28 15:38: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-04-28 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006902272001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006902272001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:38:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006902272001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":57436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:38:47] local.INFO: GPS data processed {"connection_id":57436,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:38:47] local.INFO: Acknowledgment sent {"connection_id":57436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:38:53] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:53] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:53] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:38:59] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:59] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:38:59] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:39:02] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:02] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:02] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:02] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:39: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-04-28 15:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:39:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:39:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:39:02] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:39:02] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:39:08] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:08] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:08] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:39:13] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:13] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:39:13] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:39:14] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38d6bd0012d196440071fed380035006823..."} 
[2026-04-28 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38d6bd0012d196440071fed380035006823..."} 
[2026-04-28 15:39:14] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38d6bd0012d196440071fed380035006823..."} 
[2026-04-28 15:39:14] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:14] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006907648001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:14] 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-04-28 15:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370754000,"timestamp_ms":1777370754000,"timestamp_seconds":1777370754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38d6bd0"} 
[2026-04-28 15:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:39:14] 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-04-28 15:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006907648001,"66":11471,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006907648001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:39:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006907648001,"power":11471,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:39:14] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:39:14] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:39:34] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:34] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:39:34] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:34] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:39:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:39:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:39:34] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:39:34] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:39:45] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dbdd8012d196440071fed380035006824..."} 
[2026-04-28 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dbdd8012d196440071fed380035006824..."} 
[2026-04-28 15:39:45] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dbdd8012d196440071fed380035006824..."} 
[2026-04-28 15:39:45] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:45] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006913024001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:39:45] 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-04-28 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370775000,"timestamp_ms":1777370775000,"timestamp_seconds":1777370775,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dbdd8"} 
[2026-04-28 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:39: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-04-28 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 15:39:45] 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-04-28 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006913024001,"66":11874,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006913024001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:39:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006913024001,"power":11874,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:39:45] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:39:45] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:39:53] local.INFO: TCP Data received {"connection_id":57438,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:53] local.INFO: Processing buffer {"connection_id":57438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:53] local.INFO: IMEI packet received {"connection_id":57438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":57438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:39:59] local.INFO: TCP Data received {"connection_id":57438,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:59] local.INFO: Processing buffer {"connection_id":57438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:39:59] local.INFO: IMEI packet received {"connection_id":57438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":57438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:40:01] local.INFO: TCP Data received {"connection_id":57438,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:01] local.INFO: Processing buffer {"connection_id":57438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:01] local.INFO: Packet analysis {"connection_id":57438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:40:01] local.INFO: Extracted packet for processing {"connection_id":57438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 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-04-28 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:40:01] 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-04-28 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-04-28 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-04-28 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:40:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:40:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":57438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:40:01] local.INFO: GPS data processed {"connection_id":57438,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:40:01] local.INFO: Acknowledgment sent {"connection_id":57438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:40:08] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:08] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:08] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:40:13] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:13] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:40:13] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:40:14] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38e0fe0012d196440071fed380035006822..."} 
[2026-04-28 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38e0fe0012d196440071fed380035006822..."} 
[2026-04-28 15:40:14] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38e0fe0012d196440071fed380035006822..."} 
[2026-04-28 15:40:14] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:40:14] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006918400001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:14] 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-04-28 15:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370796000,"timestamp_ms":1777370796000,"timestamp_seconds":1777370796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38e0fe0"} 
[2026-04-28 15:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 15:40: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-04-28 15:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006918400001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006918400001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006918400001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:40:14] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:40:14] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:40:33] local.INFO: TCP Data received {"connection_id":57438,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:33] local.INFO: Processing buffer {"connection_id":57438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:40:33] local.INFO: Packet analysis {"connection_id":57438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:40:33] local.INFO: Extracted packet for processing {"connection_id":57438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:40:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":57438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:40:33] local.INFO: GPS data processed {"connection_id":57438,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:40:33] local.INFO: Acknowledgment sent {"connection_id":57438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:40:45] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38e61e8012d196440071fed380035006824..."} 
[2026-04-28 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38e61e8012d196440071fed380035006824..."} 
[2026-04-28 15:40:45] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38e61e8012d196440071fed380035006824..."} 
[2026-04-28 15:40:45] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:40:45] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006923776001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:40:45] 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-04-28 15:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370817000,"timestamp_ms":1777370817000,"timestamp_seconds":1777370817,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38e61e8"} 
[2026-04-28 15:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:40: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-04-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:40: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-04-28 15: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-04-28 15:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006923776001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006923776001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:40:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006923776001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:40:45] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:40:45] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:40:53] local.INFO: TCP Data received {"connection_id":56539,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:53] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:53] local.INFO: IMEI packet received {"connection_id":56539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":56539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:40:59] local.INFO: TCP Data received {"connection_id":56539,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:59] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:40:59] local.INFO: IMEI packet received {"connection_id":56539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:41:01] local.INFO: TCP Data received {"connection_id":56539,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:01] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:01] local.INFO: Packet analysis {"connection_id":56539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:41:01] local.INFO: Extracted packet for processing {"connection_id":56539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:41:01] 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-04-28 15: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-04-28 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":56539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:41:01] local.INFO: GPS data processed {"connection_id":56539,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:41:01] local.INFO: Acknowledgment sent {"connection_id":56539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:41:08] local.INFO: TCP Data received {"connection_id":56540,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:08] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:08] local.INFO: IMEI packet received {"connection_id":56540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":56540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:41:13] local.INFO: TCP Data received {"connection_id":56540,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:13] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:41:13] local.INFO: IMEI packet received {"connection_id":56540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":56540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:41:14] local.INFO: TCP Data received {"connection_id":56540,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38eb3f0012d196440071fed380035006822..."} 
[2026-04-28 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38eb3f0012d196440071fed380035006822..."} 
[2026-04-28 15:41:14] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38eb3f0012d196440071fed380035006822..."} 
[2026-04-28 15:41:14] local.INFO: Packet analysis {"connection_id":56540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:41:14] local.INFO: Extracted packet for processing {"connection_id":56540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38e"} 
[2026-04-28 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006929152001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:14] 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-04-28 15:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370838000,"timestamp_ms":1777370838000,"timestamp_seconds":1777370838,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38eb3f0"} 
[2026-04-28 15:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:41:14] 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-04-28 15:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006929152001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006929152001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:41:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006929152001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":56540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:41:14] local.INFO: GPS data processed {"connection_id":56540,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:41:14] local.INFO: Acknowledgment sent {"connection_id":56540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:41:32] local.INFO: TCP Data received {"connection_id":56539,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:32] local.INFO: Processing buffer {"connection_id":56539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38dcd78012d7fa44005afde680009011227..."} 
[2026-04-28 15:41:32] local.INFO: Packet analysis {"connection_id":56539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:41:32] local.INFO: Extracted packet for processing {"connection_id":56539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38d"} 
[2026-04-28 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006842368001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777370779000,"timestamp_ms":1777370779000,"timestamp_seconds":1777370779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38dcd78"} 
[2026-04-28 15:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 15:41:32] 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-04-28 15: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-04-28 15:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006842368001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006842368001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006842368001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":56539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:41:32] local.INFO: GPS data processed {"connection_id":56539,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:41:32] local.INFO: Acknowledgment sent {"connection_id":56539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:41:45] local.INFO: TCP Data received {"connection_id":56540,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38f05f8012d196440071fed38003500681d..."} 
[2026-04-28 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38f05f8012d196440071fed38003500681d..."} 
[2026-04-28 15:41:45] local.INFO: Processing buffer {"connection_id":56540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38f05f8012d196440071fed38003500681d..."} 
[2026-04-28 15:41:45] local.INFO: Packet analysis {"connection_id":56540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:41:45] local.INFO: Extracted packet for processing {"connection_id":56540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":29,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006934528001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:41:45] 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-04-28 15:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370859000,"timestamp_ms":1777370859000,"timestamp_seconds":1777370859,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38f05f8"} 
[2026-04-28 15:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:41: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006934528001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006934528001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:41:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006934528001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":56540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:41:46] local.INFO: GPS data processed {"connection_id":56540,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:41:46] local.INFO: Acknowledgment sent {"connection_id":56540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:41:59] local.INFO: TCP Data received {"connection_id":56541,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: Processing buffer {"connection_id":56541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: IMEI packet received {"connection_id":56541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:41:59] local.INFO: TCP Data received {"connection_id":56541,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: Processing buffer {"connection_id":56541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:41:59] local.INFO: IMEI packet received {"connection_id":56541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:42:04] local.INFO: TCP Data received {"connection_id":56541,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:04] local.INFO: Processing buffer {"connection_id":56541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:04] local.INFO: IMEI packet received {"connection_id":56541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":56541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:42:05] local.INFO: TCP Data received {"connection_id":56541,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:05] local.INFO: Processing buffer {"connection_id":56541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:05] local.INFO: Packet analysis {"connection_id":56541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:42:05] local.INFO: Extracted packet for processing {"connection_id":56541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:42:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":56541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:42:05] local.INFO: GPS data processed {"connection_id":56541,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:42:05] local.INFO: Acknowledgment sent {"connection_id":56541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:42:08] local.INFO: TCP Data received {"connection_id":57439,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: Processing buffer {"connection_id":57439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: IMEI packet received {"connection_id":57439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":57439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:42:08] local.INFO: TCP Data received {"connection_id":57439,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: Processing buffer {"connection_id":57439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:08] local.INFO: IMEI packet received {"connection_id":57439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":57439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:42:10] local.INFO: TCP Data received {"connection_id":56541,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:10] local.INFO: Processing buffer {"connection_id":56541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:42:10] local.INFO: Packet analysis {"connection_id":56541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:42:10] local.INFO: Extracted packet for processing {"connection_id":56541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:42:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:42:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":56541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:42:10] local.INFO: GPS data processed {"connection_id":56541,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:42:10] local.INFO: Acknowledgment sent {"connection_id":56541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:42:13] local.INFO: TCP Data received {"connection_id":57439,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:13] local.INFO: Processing buffer {"connection_id":57439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:42:13] local.INFO: IMEI packet received {"connection_id":57439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":57439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:42:14] local.INFO: TCP Data received {"connection_id":57439,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38f5800012d196440071fed380035006823..."} 
[2026-04-28 15:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38f5800012d196440071fed380035006823..."} 
[2026-04-28 15:42:14] local.INFO: Processing buffer {"connection_id":57439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38f5800012d196440071fed380035006823..."} 
[2026-04-28 15:42:14] local.INFO: Packet analysis {"connection_id":57439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:42:14] local.INFO: Extracted packet for processing {"connection_id":57439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006939904001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:14] 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-04-28 15:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777370880000,"timestamp_ms":1777370880000,"timestamp_seconds":1777370880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38f5800"} 
[2026-04-28 15:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:42:14] 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-04-28 15:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006939904001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006939904001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006939904001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":57439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:42:14] local.INFO: GPS data processed {"connection_id":57439,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:42:14] local.INFO: Acknowledgment sent {"connection_id":57439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:42:45] local.INFO: TCP Data received {"connection_id":57439,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38faa08012d196440071fed380035006821..."} 
[2026-04-28 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38faa08012d196440071fed380035006821..."} 
[2026-04-28 15:42:45] local.INFO: Processing buffer {"connection_id":57439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38faa08012d196440071fed380035006821..."} 
[2026-04-28 15:42:45] local.INFO: Packet analysis {"connection_id":57439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:42:45] local.INFO: Extracted packet for processing {"connection_id":57439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006945280001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:42:45] 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-04-28 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777370901000,"timestamp_ms":1777370901000,"timestamp_seconds":1777370901,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38faa08"} 
[2026-04-28 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-04-28 15:42: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006945280001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006945280001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:42:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006945280001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":57439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:42:45] local.INFO: GPS data processed {"connection_id":57439,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:42:45] local.INFO: Acknowledgment sent {"connection_id":57439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:42:53] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:53] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:53] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:42:59] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:59] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:42:59] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:42:59] local.INFO: TCP Data received {"connection_id":56729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:42:59] local.INFO: Processing buffer {"connection_id":56729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:42:59] local.INFO: IMEI packet received {"connection_id":56729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":56729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:43:01] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:01] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:01] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:43:01] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:43: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-04-28 15:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:43:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:43:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:43:01] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:43:01] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:43:08] local.INFO: TCP Data received {"connection_id":57440,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:08] local.INFO: Processing buffer {"connection_id":57440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:08] local.INFO: IMEI packet received {"connection_id":57440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":57440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:43:11] local.INFO: TCP Data received {"connection_id":57440,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:11] local.INFO: Processing buffer {"connection_id":57440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:11] local.INFO: IMEI packet received {"connection_id":57440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":57440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:43:13] local.INFO: TCP Data received {"connection_id":57440,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:13] local.INFO: Processing buffer {"connection_id":57440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:43:13] local.INFO: IMEI packet received {"connection_id":57440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":57440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:43:17] local.INFO: TCP Data received {"connection_id":57440,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd38ffc10012d196440071fed380035006822..."} 
[2026-04-28 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd38ffc10012d196440071fed380035006822..."} 
[2026-04-28 15:43:17] local.INFO: Processing buffer {"connection_id":57440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd38ffc10012d196440071fed380035006822..."} 
[2026-04-28 15:43:17] local.INFO: Packet analysis {"connection_id":57440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:43:17] local.INFO: Extracted packet for processing {"connection_id":57440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd38f"} 
[2026-04-28 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006950656001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777370922000,"timestamp_ms":1777370922000,"timestamp_seconds":1777370922,"priority":1,"record_length":96,"hex_timestamp":"0000019dd38ffc10"} 
[2026-04-28 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-04-28 15:43: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006950656001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006950656001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006950656001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":57440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:43:17] local.INFO: GPS data processed {"connection_id":57440,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:43:17] local.INFO: Acknowledgment sent {"connection_id":57440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:43:33] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:33] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:43:33] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:43:33] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:43:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:43:33] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:43:33] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:43:34] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:43:34] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:43:34] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:43:48] local.INFO: TCP Data received {"connection_id":57440,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3904e18012d196440071fed380035006822..."} 
[2026-04-28 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3904e18012d196440071fed380035006822..."} 
[2026-04-28 15:43:48] local.INFO: Processing buffer {"connection_id":57440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3904e18012d196440071fed380035006822..."} 
[2026-04-28 15:43:48] local.INFO: Packet analysis {"connection_id":57440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd390"} 
[2026-04-28 15:43:48] local.INFO: Extracted packet for processing {"connection_id":57440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd390"} 
[2026-04-28 15:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006956032001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777370943000,"timestamp_ms":1777370943000,"timestamp_seconds":1777370943,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3904e18"} 
[2026-04-28 15:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:43: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:43:48] 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-04-28 15: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-04-28 15:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006956032001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006956032001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:43:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006956032001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":57440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:43:48] local.INFO: GPS data processed {"connection_id":57440,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:43:48] local.INFO: Acknowledgment sent {"connection_id":57440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:43:53] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:53] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:53] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:43:59] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:59] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:43:59] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:44:00] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:00] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:00] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:44:00] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:44: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-04-28 15:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:44:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:44:00] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:44:00] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:44:14] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:44:14] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:14] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:44:19] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:19] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:44:19] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:44:20] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd393d470012d196440071fed380035006821..."} 
[2026-04-28 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd393d470012d196440071fed380035006821..."} 
[2026-04-28 15:44:20] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd393d470012d196440071fed380035006821..."} 
[2026-04-28 15:44:20] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd393"} 
[2026-04-28 15:44:20] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd393"} 
[2026-04-28 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007015168001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777371174000,"timestamp_ms":1777371174000,"timestamp_seconds":1777371174,"priority":1,"record_length":96,"hex_timestamp":"0000019dd393d470"} 
[2026-04-28 15:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:44: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-04-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:44: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-04-28 15: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-04-28 15:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007015168001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007015168001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:44:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007015168001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:44:20] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:44:20] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:44:24] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3942678012d196440071fed38003500681f..."} 
[2026-04-28 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3942678012d196440071fed38003500681f..."} 
[2026-04-28 15:44:24] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3942678012d196440071fed38003500681f..."} 
[2026-04-28 15:44:24] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:44:24] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":31,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007020544001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777371195000,"timestamp_ms":1777371195000,"timestamp_seconds":1777371195,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3942678"} 
[2026-04-28 15:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:44: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-04-28 15:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:44: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-04-28 15:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007020544001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007020544001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007020544001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:44:24] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:44:24] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:44:32] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:32] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:44:32] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:44:32] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:44:32] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:44:32] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:44:59] local.INFO: TCP Data received {"connection_id":57441,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:44:59] local.INFO: Processing buffer {"connection_id":57441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:44:59] local.INFO: IMEI packet received {"connection_id":57441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":57441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:45:04] local.INFO: TCP Data received {"connection_id":57441,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:04] local.INFO: Processing buffer {"connection_id":57441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:04] local.INFO: IMEI packet received {"connection_id":57441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":57441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:45:05] local.INFO: TCP Data received {"connection_id":57441,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:05] local.INFO: Processing buffer {"connection_id":57441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:05] local.INFO: Packet analysis {"connection_id":57441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:45:05] local.INFO: Extracted packet for processing {"connection_id":57441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:45:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":57441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:45:05] local.INFO: GPS data processed {"connection_id":57441,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:45:05] local.INFO: Acknowledgment sent {"connection_id":57441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:45:08] local.INFO: TCP Data received {"connection_id":57441,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:08] local.INFO: Processing buffer {"connection_id":57441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:45:08] local.INFO: Packet analysis {"connection_id":57441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:45:08] local.INFO: Extracted packet for processing {"connection_id":57441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:45: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-04-28 15:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:45:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:45:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":57441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:45:08] local.INFO: GPS data processed {"connection_id":57441,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:45:08] local.INFO: Acknowledgment sent {"connection_id":57441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:45:09] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:09] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:09] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:45:15] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:15] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:45:15] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:45:16] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3947880012d196440071fed380035006823..."} 
[2026-04-28 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3947880012d196440071fed380035006823..."} 
[2026-04-28 15:45:16] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3947880012d196440071fed380035006823..."} 
[2026-04-28 15:45:16] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:45:16] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007025920001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777371216000,"timestamp_ms":1777371216000,"timestamp_seconds":1777371216,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3947880"} 
[2026-04-28 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:45: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-04-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007025920001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007025920001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:45:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007025920001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:45:16] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:45:16] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:45:47] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd394ca88012d196440071fed380035006823..."} 
[2026-04-28 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd394ca88012d196440071fed380035006823..."} 
[2026-04-28 15:45:47] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd394ca88012d196440071fed380035006823..."} 
[2026-04-28 15:45:47] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:45:47] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd394"} 
[2026-04-28 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007031296001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777371237000,"timestamp_ms":1777371237000,"timestamp_seconds":1777371237,"priority":1,"record_length":96,"hex_timestamp":"0000019dd394ca88"} 
[2026-04-28 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-04-28 15:45: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:45: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-04-28 15:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 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-04-28 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007031296001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007031296001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:45:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007031296001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:45:47] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:45:47] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:45:53] local.INFO: TCP Data received {"connection_id":56772,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:53] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:53] local.INFO: IMEI packet received {"connection_id":56772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:45:59] local.INFO: TCP Data received {"connection_id":56772,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:59] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:45:59] local.INFO: IMEI packet received {"connection_id":56772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:46:00] local.INFO: TCP Data received {"connection_id":56772,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:00] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:00] local.INFO: Packet analysis {"connection_id":56772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:46:00] local.INFO: Extracted packet for processing {"connection_id":56772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 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-04-28 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:46:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:46:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":56772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:46:00] local.INFO: GPS data processed {"connection_id":56772,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:46:00] local.INFO: Acknowledgment sent {"connection_id":56772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:46:09] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:09] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:09] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:46:13] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:13] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:46:13] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:46:14] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3951c90012d196440071fed380035006821..."} 
[2026-04-28 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3951c90012d196440071fed380035006821..."} 
[2026-04-28 15:46:14] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3951c90012d196440071fed380035006821..."} 
[2026-04-28 15:46:14] local.INFO: Packet analysis {"connection_id":56732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:46:14] local.INFO: Extracted packet for processing {"connection_id":56732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007036672001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:14] 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-04-28 15:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371258000,"timestamp_ms":1777371258000,"timestamp_seconds":1777371258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3951c90"} 
[2026-04-28 15:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:46:14] 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-04-28 15:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007036672001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007036672001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007036672001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":56732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:46:14] local.INFO: GPS data processed {"connection_id":56732,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:46:14] local.INFO: Acknowledgment sent {"connection_id":56732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:46:32] local.INFO: TCP Data received {"connection_id":56772,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:32] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3926540012d7fa44005afde680009011227..."} 
[2026-04-28 15:46:32] local.INFO: Packet analysis {"connection_id":56772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:46:32] local.INFO: Extracted packet for processing {"connection_id":56772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd392"} 
[2026-04-28 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006919424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371080000,"timestamp_ms":1777371080000,"timestamp_seconds":1777371080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3926540"} 
[2026-04-28 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-04-28 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006919424001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006919424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006919424001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":56772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:46:32] local.INFO: GPS data processed {"connection_id":56772,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:46:32] local.INFO: Acknowledgment sent {"connection_id":56772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:46:47] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3956e98012d196440071fed38003500681f..."} 
[2026-04-28 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3956e98012d196440071fed38003500681f..."} 
[2026-04-28 15:46:47] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3956e98012d196440071fed38003500681f..."} 
[2026-04-28 15:46:47] local.INFO: Packet analysis {"connection_id":56732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:46:47] local.INFO: Extracted packet for processing {"connection_id":56732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":31,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007042048001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777371279000,"timestamp_ms":1777371279000,"timestamp_seconds":1777371279,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3956e98"} 
[2026-04-28 15:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:46: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-04-28 15:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:46: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-04-28 15:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007042048001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007042048001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:46:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007042048001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":56732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:46:47] local.INFO: GPS data processed {"connection_id":56732,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:46:47] local.INFO: Acknowledgment sent {"connection_id":56732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:46:53] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:53] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:53] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:46:59] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:59] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:46:59] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:47:00] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:00] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:00] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:00] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:47:00] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:47:00] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:47:10] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:10] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:10] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:47:15] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:15] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:47:15] local.INFO: IMEI packet received {"connection_id":56543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":56543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:47:18] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd395c0a0012d196440071fed380035006820..."} 
[2026-04-28 15:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd395c0a0012d196440071fed380035006820..."} 
[2026-04-28 15:47:18] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd395c0a0012d196440071fed380035006820..."} 
[2026-04-28 15:47:18] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:47:18] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd395"} 
[2026-04-28 15:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007047424001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777371300000,"timestamp_ms":1777371300000,"timestamp_seconds":1777371300,"priority":1,"record_length":96,"hex_timestamp":"0000019dd395c0a0"} 
[2026-04-28 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-04-28 15:47: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:47: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-04-28 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-04-28 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-04-28 15:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007047424001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007047424001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:47:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007047424001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:47:18] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:47:18] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:47:32] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:32] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:47:32] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:32] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:47:32] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:47:32] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:47:49] local.INFO: TCP Data received {"connection_id":56543,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39612a8012d196440071fed380035006820..."} 
[2026-04-28 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39612a8012d196440071fed380035006820..."} 
[2026-04-28 15:47:49] local.INFO: Processing buffer {"connection_id":56543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39612a8012d196440071fed380035006820..."} 
[2026-04-28 15:47:49] local.INFO: Packet analysis {"connection_id":56543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:49] local.INFO: Extracted packet for processing {"connection_id":56543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007052800001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777371321000,"timestamp_ms":1777371321000,"timestamp_seconds":1777371321,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39612a8"} 
[2026-04-28 15:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:47: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-04-28 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007052800001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007052800001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:47:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007052800001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":56543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:47:49] local.INFO: GPS data processed {"connection_id":56543,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:47:49] local.INFO: Acknowledgment sent {"connection_id":56543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:47:59] local.INFO: TCP Data received {"connection_id":57444,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:47:59] local.INFO: Processing buffer {"connection_id":57444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:47:59] local.INFO: IMEI packet received {"connection_id":57444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":57444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:48:04] local.INFO: TCP Data received {"connection_id":57444,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:04] local.INFO: Processing buffer {"connection_id":57444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:04] local.INFO: IMEI packet received {"connection_id":57444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":57444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:48:05] local.INFO: TCP Data received {"connection_id":57444,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:05] local.INFO: Processing buffer {"connection_id":57444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:05] local.INFO: Packet analysis {"connection_id":57444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:05] local.INFO: Extracted packet for processing {"connection_id":57444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:48:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:48:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":57444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:48:05] local.INFO: GPS data processed {"connection_id":57444,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:48:05] local.INFO: Acknowledgment sent {"connection_id":57444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:48:08] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:08] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:08] local.INFO: IMEI packet received {"connection_id":56733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":56733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:48:09] local.INFO: TCP Data received {"connection_id":57444,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:09] local.INFO: Processing buffer {"connection_id":57444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:48:09] local.INFO: Packet analysis {"connection_id":57444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:09] local.INFO: Extracted packet for processing {"connection_id":57444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":57444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:48:09] local.INFO: GPS data processed {"connection_id":57444,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:48:09] local.INFO: Acknowledgment sent {"connection_id":57444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:48:13] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:13] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:48:13] local.INFO: IMEI packet received {"connection_id":56733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":56733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:48:14] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39664b0012d196440071fed38003500681f..."} 
[2026-04-28 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39664b0012d196440071fed38003500681f..."} 
[2026-04-28 15:48:14] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39664b0012d196440071fed38003500681f..."} 
[2026-04-28 15:48:14] local.INFO: Packet analysis {"connection_id":56733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:14] local.INFO: Extracted packet for processing {"connection_id":56733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":31,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007058176001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:14] 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-04-28 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371342000,"timestamp_ms":1777371342000,"timestamp_seconds":1777371342,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39664b0"} 
[2026-04-28 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:48:14] 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-04-28 15:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007058176001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007058176001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:48:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007058176001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":56733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:48:14] local.INFO: GPS data processed {"connection_id":56733,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:48:14] local.INFO: Acknowledgment sent {"connection_id":56733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:48:45] local.INFO: TCP Data received {"connection_id":56733,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396b6b8012d196440071fed38003500681f..."} 
[2026-04-28 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396b6b8012d196440071fed38003500681f..."} 
[2026-04-28 15:48:45] local.INFO: Processing buffer {"connection_id":56733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396b6b8012d196440071fed38003500681f..."} 
[2026-04-28 15:48:45] local.INFO: Packet analysis {"connection_id":56733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:45] local.INFO: Extracted packet for processing {"connection_id":56733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":31,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007063552001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:48:45] 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-04-28 15:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371363000,"timestamp_ms":1777371363000,"timestamp_seconds":1777371363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396b6b8"} 
[2026-04-28 15:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:48: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007063552001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007063552001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:48:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007063552001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":56733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:48:45] local.INFO: GPS data processed {"connection_id":56733,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:48:45] local.INFO: Acknowledgment sent {"connection_id":56733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:48:49] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:48:49] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:48:49] local.INFO: IMEI packet received {"connection_id":56774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":56774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:48:54] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:54] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:54] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:48:59] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:59] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:48:59] local.INFO: IMEI packet received {"connection_id":56544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":56544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:49:01] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:01] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:01] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:49:01] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:49: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-04-28 15:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:49:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:49:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:49:01] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:49:01] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:49:13] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:13] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:13] local.INFO: IMEI packet received {"connection_id":56775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":56775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:49:19] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:19] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:49:19] local.INFO: IMEI packet received {"connection_id":56775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":56775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:49:20] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39708c0012d196440071fed38003500681f..."} 
[2026-04-28 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39708c0012d196440071fed38003500681f..."} 
[2026-04-28 15:49:20] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39708c0012d196440071fed38003500681f..."} 
[2026-04-28 15:49:20] local.INFO: Packet analysis {"connection_id":56775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:49:20] local.INFO: Extracted packet for processing {"connection_id":56775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":31,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007068928001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777371384000,"timestamp_ms":1777371384000,"timestamp_seconds":1777371384,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39708c0"} 
[2026-04-28 15:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:49: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-04-28 15:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:49:20] 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-04-28 15:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007068928001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007068928001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:49:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007068928001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":56775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:49:20] local.INFO: GPS data processed {"connection_id":56775,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:49:20] local.INFO: Acknowledgment sent {"connection_id":56775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:49:32] local.INFO: TCP Data received {"connection_id":56544,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:32] local.INFO: Processing buffer {"connection_id":56544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:49:32] local.INFO: Packet analysis {"connection_id":56544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:49:32] local.INFO: Extracted packet for processing {"connection_id":56544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":56544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:49:32] local.INFO: GPS data processed {"connection_id":56544,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:49:32] local.INFO: Acknowledgment sent {"connection_id":56544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:49:37] local.INFO: TCP Data received {"connection_id":56545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:49:37] local.INFO: Processing buffer {"connection_id":56545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:49:37] local.INFO: IMEI packet received {"connection_id":56545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":56545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:49:52] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3975ac8012d196440071fed380035006821..."} 
[2026-04-28 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3975ac8012d196440071fed380035006821..."} 
[2026-04-28 15:49:52] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3975ac8012d196440071fed380035006821..."} 
[2026-04-28 15:49:52] local.INFO: Packet analysis {"connection_id":56775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:49:52] local.INFO: Extracted packet for processing {"connection_id":56775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007074304001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777371405000,"timestamp_ms":1777371405000,"timestamp_seconds":1777371405,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3975ac8"} 
[2026-04-28 15:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:49: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007074304001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007074304001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:49:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007074304001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":56775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:49:52] local.INFO: GPS data processed {"connection_id":56775,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:49:52] local.INFO: Acknowledgment sent {"connection_id":56775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:49:53] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:53] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:53] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:49:59] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:59] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:49:59] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:50:01] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:01] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:01] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:50:01] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:50: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-04-28 15:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:50:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:50:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:50:01] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:50:01] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:50:08] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:08] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:08] local.INFO: IMEI packet received {"connection_id":56546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":56546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:50:11] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:11] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:11] local.INFO: IMEI packet received {"connection_id":56546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":56546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:50:13] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:13] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:50:13] local.INFO: IMEI packet received {"connection_id":56546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":56546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:50:15] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd397acd0012d196440071fed380035006822..."} 
[2026-04-28 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd397acd0012d196440071fed380035006822..."} 
[2026-04-28 15:50:15] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd397acd0012d196440071fed380035006822..."} 
[2026-04-28 15:50:15] local.INFO: Packet analysis {"connection_id":56546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:50:15] local.INFO: Extracted packet for processing {"connection_id":56546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007079680001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777371426000,"timestamp_ms":1777371426000,"timestamp_seconds":1777371426,"priority":1,"record_length":96,"hex_timestamp":"0000019dd397acd0"} 
[2026-04-28 15:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007079680001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007079680001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:50:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007079680001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":56546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:50:15] local.INFO: GPS data processed {"connection_id":56546,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:50:15] local.INFO: Acknowledgment sent {"connection_id":56546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:50:32] local.INFO: TCP Data received {"connection_id":56734,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:32] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:50:32] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:50:32] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:50:32] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:50:32] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:50:47] local.INFO: TCP Data received {"connection_id":56546,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd397fed8012d196440071fed380035006820..."} 
[2026-04-28 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd397fed8012d196440071fed380035006820..."} 
[2026-04-28 15:50:47] local.INFO: Processing buffer {"connection_id":56546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd397fed8012d196440071fed380035006820..."} 
[2026-04-28 15:50:47] local.INFO: Packet analysis {"connection_id":56546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:50:47] local.INFO: Extracted packet for processing {"connection_id":56546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd397"} 
[2026-04-28 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007085056001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777371447000,"timestamp_ms":1777371447000,"timestamp_seconds":1777371447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd397fed8"} 
[2026-04-28 15:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:50: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-04-28 15:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:50: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-04-28 15:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007085056001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007085056001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:50:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007085056001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":56546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:50:47] local.INFO: GPS data processed {"connection_id":56546,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:50:47] local.INFO: Acknowledgment sent {"connection_id":56546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:50:53] local.INFO: TCP Data received {"connection_id":57447,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:53] local.INFO: Processing buffer {"connection_id":57447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:53] local.INFO: IMEI packet received {"connection_id":57447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":57447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:50:59] local.INFO: TCP Data received {"connection_id":57447,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:59] local.INFO: Processing buffer {"connection_id":57447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:50:59] local.INFO: IMEI packet received {"connection_id":57447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":57447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:51:00] local.INFO: TCP Data received {"connection_id":57447,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:00] local.INFO: Processing buffer {"connection_id":57447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:00] local.INFO: Packet analysis {"connection_id":57447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:51:00] local.INFO: Extracted packet for processing {"connection_id":57447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:51: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-04-28 15: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-04-28 15:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:51:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":57447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:51:00] local.INFO: GPS data processed {"connection_id":57447,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:51:00] local.INFO: Acknowledgment sent {"connection_id":57447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:51:08] local.INFO: TCP Data received {"connection_id":57448,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:08] local.INFO: Processing buffer {"connection_id":57448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:08] local.INFO: IMEI packet received {"connection_id":57448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":57448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:51:14] local.INFO: TCP Data received {"connection_id":57448,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:14] local.INFO: Processing buffer {"connection_id":57448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:51:14] local.INFO: IMEI packet received {"connection_id":57448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":57448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:51:14] local.INFO: TCP Data received {"connection_id":57448,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39850e0012d196440071fed380035006823..."} 
[2026-04-28 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39850e0012d196440071fed380035006823..."} 
[2026-04-28 15:51:14] local.INFO: Processing buffer {"connection_id":57448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39850e0012d196440071fed380035006823..."} 
[2026-04-28 15:51:14] local.INFO: Packet analysis {"connection_id":57448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:51:14] local.INFO: Extracted packet for processing {"connection_id":57448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007090432001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:14] 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-04-28 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371468000,"timestamp_ms":1777371468000,"timestamp_seconds":1777371468,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39850e0"} 
[2026-04-28 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:51:14] 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-04-28 15:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007090432001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007090432001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:51:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007090432001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":57448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:51:14] local.INFO: GPS data processed {"connection_id":57448,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:51:14] local.INFO: Acknowledgment sent {"connection_id":57448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:51:32] local.INFO: TCP Data received {"connection_id":57447,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:32] local.INFO: Processing buffer {"connection_id":57447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd396fd08012d7fa44005afde680009011227..."} 
[2026-04-28 15:51:32] local.INFO: Packet analysis {"connection_id":57447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:51:32] local.INFO: Extracted packet for processing {"connection_id":57447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd396"} 
[2026-04-28 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455006996480001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371381000,"timestamp_ms":1777371381000,"timestamp_seconds":1777371381,"priority":1,"record_length":96,"hex_timestamp":"0000019dd396fd08"} 
[2026-04-28 15:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455006996480001,"66":25495,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455006996480001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455006996480001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":57447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:51:32] local.INFO: GPS data processed {"connection_id":57447,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:51:32] local.INFO: Acknowledgment sent {"connection_id":57447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:51:45] local.INFO: TCP Data received {"connection_id":57448,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd398a2e8012d196440071fed380035006822..."} 
[2026-04-28 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd398a2e8012d196440071fed380035006822..."} 
[2026-04-28 15:51:45] local.INFO: Processing buffer {"connection_id":57448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd398a2e8012d196440071fed380035006822..."} 
[2026-04-28 15:51:45] local.INFO: Packet analysis {"connection_id":57448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:51:45] local.INFO: Extracted packet for processing {"connection_id":57448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007095808001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:51:45] 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-04-28 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371489000,"timestamp_ms":1777371489000,"timestamp_seconds":1777371489,"priority":1,"record_length":96,"hex_timestamp":"0000019dd398a2e8"} 
[2026-04-28 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-04-28 15:51: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007095808001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007095808001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:51:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007095808001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":57448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:51:46] local.INFO: GPS data processed {"connection_id":57448,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:51:46] local.INFO: Acknowledgment sent {"connection_id":57448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:51:59] local.INFO: TCP Data received {"connection_id":56736,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:51:59] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:51:59] local.INFO: IMEI packet received {"connection_id":56736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:52:00] local.INFO: TCP Data received {"connection_id":56736,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:00] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:00] local.INFO: IMEI packet received {"connection_id":56736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":56736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:52:03] local.INFO: TCP Data received {"connection_id":56736,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:03] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:03] local.INFO: Packet analysis {"connection_id":56736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:03] local.INFO: Extracted packet for processing {"connection_id":56736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:52: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-04-28 15:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:52:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:52:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":56736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:52:03] local.INFO: GPS data processed {"connection_id":56736,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:52:03] local.INFO: Acknowledgment sent {"connection_id":56736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:52:04] local.INFO: TCP Data received {"connection_id":56736,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:04] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:04] local.INFO: Packet analysis {"connection_id":56736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:04] local.INFO: Extracted packet for processing {"connection_id":56736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:52: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-04-28 15:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:52:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:52:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":56736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:52:04] local.INFO: GPS data processed {"connection_id":56736,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:52:04] local.INFO: Acknowledgment sent {"connection_id":56736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:52:08] local.INFO: TCP Data received {"connection_id":57449,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:08] local.INFO: Processing buffer {"connection_id":57449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:08] local.INFO: IMEI packet received {"connection_id":57449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":57449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:52:13] local.INFO: TCP Data received {"connection_id":57449,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:13] local.INFO: Processing buffer {"connection_id":57449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:52:13] local.INFO: IMEI packet received {"connection_id":57449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":57449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:52:14] local.INFO: TCP Data received {"connection_id":57449,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd398f4f0012d196440071fed380035006822..."} 
[2026-04-28 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd398f4f0012d196440071fed380035006822..."} 
[2026-04-28 15:52:14] local.INFO: Processing buffer {"connection_id":57449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd398f4f0012d196440071fed380035006822..."} 
[2026-04-28 15:52:14] local.INFO: Packet analysis {"connection_id":57449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:52:14] local.INFO: Extracted packet for processing {"connection_id":57449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd398"} 
[2026-04-28 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007101184001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:14] 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-04-28 15:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371510000,"timestamp_ms":1777371510000,"timestamp_seconds":1777371510,"priority":1,"record_length":96,"hex_timestamp":"0000019dd398f4f0"} 
[2026-04-28 15:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:52:14] 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-04-28 15:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007101184001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007101184001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007101184001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":57449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:52:14] local.INFO: GPS data processed {"connection_id":57449,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:52:14] local.INFO: Acknowledgment sent {"connection_id":57449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:52:36] local.INFO: TCP Data received {"connection_id":56736,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:36] local.INFO: Processing buffer {"connection_id":56736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:52:36] local.INFO: Packet analysis {"connection_id":56736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:36] local.INFO: Extracted packet for processing {"connection_id":56736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:52:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:52:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":56736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:52:36] local.INFO: GPS data processed {"connection_id":56736,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:52:36] local.INFO: Acknowledgment sent {"connection_id":56736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:52:45] local.INFO: TCP Data received {"connection_id":57449,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39946f8012d196440071fed380035006821..."} 
[2026-04-28 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39946f8012d196440071fed380035006821..."} 
[2026-04-28 15:52:45] local.INFO: Processing buffer {"connection_id":57449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39946f8012d196440071fed380035006821..."} 
[2026-04-28 15:52:45] local.INFO: Packet analysis {"connection_id":57449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:52:45] local.INFO: Extracted packet for processing {"connection_id":57449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":33,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007106560001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:52:45] 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-04-28 15:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371531000,"timestamp_ms":1777371531000,"timestamp_seconds":1777371531,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39946f8"} 
[2026-04-28 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-04-28 15:52: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007106560001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007106560001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:52:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007106560001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":57449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:52:46] local.INFO: GPS data processed {"connection_id":57449,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:52:46] local.INFO: Acknowledgment sent {"connection_id":57449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:52:53] local.INFO: TCP Data received {"connection_id":56776,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:53] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:53] local.INFO: IMEI packet received {"connection_id":56776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:52:59] local.INFO: TCP Data received {"connection_id":56776,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:59] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:52:59] local.INFO: IMEI packet received {"connection_id":56776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":56776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:53:00] local.INFO: TCP Data received {"connection_id":56776,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:00] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:00] local.INFO: Packet analysis {"connection_id":56776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:53:00] local.INFO: Extracted packet for processing {"connection_id":56776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:53: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-04-28 15: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-04-28 15:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":56776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:53:00] local.INFO: GPS data processed {"connection_id":56776,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:53:00] local.INFO: Acknowledgment sent {"connection_id":56776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:53:13] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:13] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:13] local.INFO: IMEI packet received {"connection_id":56737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":56737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:53:19] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:19] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:53:19] local.INFO: IMEI packet received {"connection_id":56737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":56737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:53:20] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3999900012d196440071fed380035006822..."} 
[2026-04-28 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3999900012d196440071fed380035006822..."} 
[2026-04-28 15:53:20] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3999900012d196440071fed380035006822..."} 
[2026-04-28 15:53:20] local.INFO: Packet analysis {"connection_id":56737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:53:20] local.INFO: Extracted packet for processing {"connection_id":56737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007111936001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777371552000,"timestamp_ms":1777371552000,"timestamp_seconds":1777371552,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3999900"} 
[2026-04-28 15:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:53: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-04-28 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:53:20] 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-04-28 15:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007111936001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007111936001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:53:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007111936001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":56737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:53:20] local.INFO: GPS data processed {"connection_id":56737,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:53:20] local.INFO: Acknowledgment sent {"connection_id":56737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:53:32] local.INFO: TCP Data received {"connection_id":56776,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:32] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:53:32] local.INFO: Packet analysis {"connection_id":56776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:53:32] local.INFO: Extracted packet for processing {"connection_id":56776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":56776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:53:32] local.INFO: GPS data processed {"connection_id":56776,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:53:32] local.INFO: Acknowledgment sent {"connection_id":56776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:53:51] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd399eb08012d196440071fed380035006822..."} 
[2026-04-28 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd399eb08012d196440071fed380035006822..."} 
[2026-04-28 15:53:51] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd399eb08012d196440071fed380035006822..."} 
[2026-04-28 15:53:51] local.INFO: Packet analysis {"connection_id":56737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:53:51] local.INFO: Extracted packet for processing {"connection_id":56737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd399"} 
[2026-04-28 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007117312001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777371573000,"timestamp_ms":1777371573000,"timestamp_seconds":1777371573,"priority":1,"record_length":96,"hex_timestamp":"0000019dd399eb08"} 
[2026-04-28 15:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:53: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-04-28 15:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:53: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-04-28 15:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007117312001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007117312001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:53:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007117312001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":56737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:53:51] local.INFO: GPS data processed {"connection_id":56737,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:53:51] local.INFO: Acknowledgment sent {"connection_id":56737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:53:59] local.INFO: TCP Data received {"connection_id":56777,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:53:59] local.INFO: Processing buffer {"connection_id":56777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:53:59] local.INFO: IMEI packet received {"connection_id":56777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:54:04] local.INFO: TCP Data received {"connection_id":56777,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:04] local.INFO: Processing buffer {"connection_id":56777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:04] local.INFO: IMEI packet received {"connection_id":56777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":56777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:54:05] local.INFO: TCP Data received {"connection_id":56777,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:05] local.INFO: Processing buffer {"connection_id":56777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:05] local.INFO: Packet analysis {"connection_id":56777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:54:05] local.INFO: Extracted packet for processing {"connection_id":56777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":56777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:54:05] local.INFO: GPS data processed {"connection_id":56777,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:54:05] local.INFO: Acknowledgment sent {"connection_id":56777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:54:08] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:08] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:08] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:54:09] local.INFO: TCP Data received {"connection_id":56777,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:09] local.INFO: Processing buffer {"connection_id":56777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:54:09] local.INFO: Packet analysis {"connection_id":56777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:54:09] local.INFO: Extracted packet for processing {"connection_id":56777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:54: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-04-28 15:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:54: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-04-28 15:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:54:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":56777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:54:09] local.INFO: GPS data processed {"connection_id":56777,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:54:09] local.INFO: Acknowledgment sent {"connection_id":56777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:54:13] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:13] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:54:13] local.INFO: IMEI packet received {"connection_id":56548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":56548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:54:14] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39a3d10012d196440071fed380035006823..."} 
[2026-04-28 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39a3d10012d196440071fed380035006823..."} 
[2026-04-28 15:54:14] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39a3d10012d196440071fed380035006823..."} 
[2026-04-28 15:54:14] local.INFO: Packet analysis {"connection_id":56548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:54:14] local.INFO: Extracted packet for processing {"connection_id":56548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007122688001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:14] 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-04-28 15:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371594000,"timestamp_ms":1777371594000,"timestamp_seconds":1777371594,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39a3d10"} 
[2026-04-28 15:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:54:14] 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-04-28 15:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007122688001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007122688001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:54:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007122688001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":56548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:54:14] local.INFO: GPS data processed {"connection_id":56548,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:54:14] local.INFO: Acknowledgment sent {"connection_id":56548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:54:45] local.INFO: TCP Data received {"connection_id":56548,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39a8f18012d196440071fed380035006822..."} 
[2026-04-28 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39a8f18012d196440071fed380035006822..."} 
[2026-04-28 15:54:45] local.INFO: Processing buffer {"connection_id":56548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39a8f18012d196440071fed380035006822..."} 
[2026-04-28 15:54:45] local.INFO: Packet analysis {"connection_id":56548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:54:45] local.INFO: Extracted packet for processing {"connection_id":56548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007128064001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:54:45] 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-04-28 15:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371615000,"timestamp_ms":1777371615000,"timestamp_seconds":1777371615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39a8f18"} 
[2026-04-28 15:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:54: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007128064001,"66":12113,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007128064001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:54:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007128064001,"power":12113,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":56548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:54:45] local.INFO: GPS data processed {"connection_id":56548,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:54:45] local.INFO: Acknowledgment sent {"connection_id":56548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:54:54] local.INFO: TCP Data received {"connection_id":56779,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:54] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:54] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:54:59] local.INFO: TCP Data received {"connection_id":56779,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:59] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:54:59] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:55:01] local.INFO: TCP Data received {"connection_id":56779,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:01] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:01] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:01] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:55: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-04-28 15: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-04-28 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:55:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:55:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:55:01] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:55:01] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:55:04] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:04] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:04] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:55:09] local.INFO: TCP Data received {"connection_id":57451,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:09] local.INFO: Processing buffer {"connection_id":57451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:09] local.INFO: IMEI packet received {"connection_id":57451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":57451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:55:13] local.INFO: TCP Data received {"connection_id":57451,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:13] local.INFO: Processing buffer {"connection_id":57451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:55:13] local.INFO: IMEI packet received {"connection_id":57451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":57451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:55:14] local.INFO: TCP Data received {"connection_id":57451,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39ae120012d196440071fed380035006822..."} 
[2026-04-28 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39ae120012d196440071fed380035006822..."} 
[2026-04-28 15:55:14] local.INFO: Processing buffer {"connection_id":57451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39ae120012d196440071fed380035006822..."} 
[2026-04-28 15:55:14] local.INFO: Packet analysis {"connection_id":57451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:55:14] local.INFO: Extracted packet for processing {"connection_id":57451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39a"} 
[2026-04-28 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007133440001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:14] 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-04-28 15:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371636000,"timestamp_ms":1777371636000,"timestamp_seconds":1777371636,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39ae120"} 
[2026-04-28 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-04-28 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-28 15:55:14] 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-04-28 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-04-28 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-04-28 15:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007133440001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007133440001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:55:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007133440001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":57451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:55:14] local.INFO: GPS data processed {"connection_id":57451,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:55:14] local.INFO: Acknowledgment sent {"connection_id":57451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:55:32] local.INFO: TCP Data received {"connection_id":56779,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:32] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:55:32] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:32] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:55:32] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:55:32] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:55:39] local.INFO: TCP Data received {"connection_id":57452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:39] local.INFO: Processing buffer {"connection_id":57452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 15:55:39] local.INFO: IMEI packet received {"connection_id":57452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 15:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":57452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:55:46] local.INFO: TCP Data received {"connection_id":57451,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b3328012d196440071fed38003500681e..."} 
[2026-04-28 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b3328012d196440071fed38003500681e..."} 
[2026-04-28 15:55:46] local.INFO: Processing buffer {"connection_id":57451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b3328012d196440071fed38003500681e..."} 
[2026-04-28 15:55:46] local.INFO: Packet analysis {"connection_id":57451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:46] local.INFO: Extracted packet for processing {"connection_id":57451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":30,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007138816001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777371657000,"timestamp_ms":1777371657000,"timestamp_seconds":1777371657,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b3328"} 
[2026-04-28 15:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15: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-04-28 15:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:55: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-04-28 15:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007138816001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007138816001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:55:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007138816001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":57451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:55:46] local.INFO: GPS data processed {"connection_id":57451,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:55:46] local.INFO: Acknowledgment sent {"connection_id":57451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:55:53] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:53] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:53] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:55:59] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:59] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:55:59] local.INFO: IMEI packet received {"connection_id":56549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:56:00] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:00] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:00] local.INFO: Packet analysis {"connection_id":56549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:56:00] local.INFO: Extracted packet for processing {"connection_id":56549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:56: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-04-28 15:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:56:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:56:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":56549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:56:00] local.INFO: GPS data processed {"connection_id":56549,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:56:00] local.INFO: Acknowledgment sent {"connection_id":56549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:56:07] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:07] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:07] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:56:08] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:08] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:08] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:56:13] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:13] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:56:13] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:56:14] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39eb980012d196440071fed380035006823..."} 
[2026-04-28 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39eb980012d196440071fed380035006823..."} 
[2026-04-28 15:56:14] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39eb980012d196440071fed380035006823..."} 
[2026-04-28 15:56:14] local.INFO: Packet analysis {"connection_id":56780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39e"} 
[2026-04-28 15:56:14] local.INFO: Extracted packet for processing {"connection_id":56780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39e"} 
[2026-04-28 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007197952001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:14] 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-04-28 15:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371888000,"timestamp_ms":1777371888000,"timestamp_seconds":1777371888,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39eb980"} 
[2026-04-28 15:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:56:14] 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-04-28 15:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007197952001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007197952001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007197952001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":56780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:56:14] local.INFO: GPS data processed {"connection_id":56780,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:56:14] local.INFO: Acknowledgment sent {"connection_id":56780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:56:32] local.INFO: TCP Data received {"connection_id":56549,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:32] local.INFO: Processing buffer {"connection_id":56549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:56:32] local.INFO: Packet analysis {"connection_id":56549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:56:32] local.INFO: Extracted packet for processing {"connection_id":56549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:56: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-04-28 15:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15:56: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-04-28 15:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":56549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:56:32] local.INFO: GPS data processed {"connection_id":56549,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:56:32] local.INFO: Acknowledgment sent {"connection_id":56549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:56:45] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39f0b88012d196440071fed380035006823..."} 
[2026-04-28 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39f0b88012d196440071fed380035006823..."} 
[2026-04-28 15:56:45] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39f0b88012d196440071fed380035006823..."} 
[2026-04-28 15:56:45] local.INFO: Packet analysis {"connection_id":56780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:56:45] local.INFO: Extracted packet for processing {"connection_id":56780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007203328001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:56:45] 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-04-28 15:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371909000,"timestamp_ms":1777371909000,"timestamp_seconds":1777371909,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39f0b88"} 
[2026-04-28 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-04-28 15:56: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-04-28 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007203328001,"66":12363,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007203328001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:56:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007203328001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":56780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:56:45] local.INFO: GPS data processed {"connection_id":56780,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:56:45] local.INFO: Acknowledgment sent {"connection_id":56780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:56:53] local.INFO: TCP Data received {"connection_id":57453,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:53] local.INFO: Processing buffer {"connection_id":57453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:53] local.INFO: IMEI packet received {"connection_id":57453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":57453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:56:59] local.INFO: TCP Data received {"connection_id":57453,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:59] local.INFO: Processing buffer {"connection_id":57453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:56:59] local.INFO: IMEI packet received {"connection_id":57453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":57453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:57:00] local.INFO: TCP Data received {"connection_id":57453,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:57:00] local.INFO: Processing buffer {"connection_id":57453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39b94d0012d7fa44005afde680009011226..."} 
[2026-04-28 15:57:00] local.INFO: Packet analysis {"connection_id":57453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:57:00] local.INFO: Extracted packet for processing {"connection_id":57453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39b"} 
[2026-04-28 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007073536001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371682000,"timestamp_ms":1777371682000,"timestamp_seconds":1777371682,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39b94d0"} 
[2026-04-28 15:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-04-28 15:57: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-04-28 15: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-04-28 15:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007073536001,"66":25419,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007073536001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:57:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007073536001,"power":25419,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":57453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:57:00] local.INFO: GPS data processed {"connection_id":57453,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:57:00] local.INFO: Acknowledgment sent {"connection_id":57453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:57:08] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:08] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:08] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:57:11] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:11] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:11] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:57:13] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:13] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:57:13] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:57:14] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39f5d90012d196440071fed380035006823..."} 
[2026-04-28 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39f5d90012d196440071fed380035006823..."} 
[2026-04-28 15:57:14] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39f5d90012d196440071fed380035006823..."} 
[2026-04-28 15:57:14] local.INFO: Packet analysis {"connection_id":56739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:57:14] local.INFO: Extracted packet for processing {"connection_id":56739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007208704001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:14] 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-04-28 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371930000,"timestamp_ms":1777371930000,"timestamp_seconds":1777371930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39f5d90"} 
[2026-04-28 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:57:14] 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-04-28 15:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007208704001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007208704001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:57:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007208704001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":56739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:57:14] local.INFO: GPS data processed {"connection_id":56739,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:57:14] local.INFO: Acknowledgment sent {"connection_id":56739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:57:31] local.INFO: TCP Data received {"connection_id":57453,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:57:31] local.INFO: Processing buffer {"connection_id":57453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:57:31] local.INFO: Packet analysis {"connection_id":57453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:57:31] local.INFO: Extracted packet for processing {"connection_id":57453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 15:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:57:31] 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-04-28 15:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:57:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":57453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:57:31] local.INFO: GPS data processed {"connection_id":57453,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:57:31] local.INFO: Acknowledgment sent {"connection_id":57453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:57:45] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd39faf98012d196440071fed380035006823..."} 
[2026-04-28 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd39faf98012d196440071fed380035006823..."} 
[2026-04-28 15:57:45] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd39faf98012d196440071fed380035006823..."} 
[2026-04-28 15:57:45] local.INFO: Packet analysis {"connection_id":56739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:57:45] local.INFO: Extracted packet for processing {"connection_id":56739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd39f"} 
[2026-04-28 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007214080001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:57:45] 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-04-28 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371951000,"timestamp_ms":1777371951000,"timestamp_seconds":1777371951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd39faf98"} 
[2026-04-28 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-04-28 15:57: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-04-28 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:57:45] 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-04-28 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-04-28 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-04-28 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007214080001,"66":12406,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007214080001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007214080001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":56739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:57:45] local.INFO: GPS data processed {"connection_id":56739,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:57:45] local.INFO: Acknowledgment sent {"connection_id":56739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:57:53] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:53] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:53] local.INFO: IMEI packet received {"connection_id":56550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":56550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:57:59] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:59] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:57:59] local.INFO: IMEI packet received {"connection_id":56550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:58:00] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:00] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:00] local.INFO: Packet analysis {"connection_id":56550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:00] local.INFO: Extracted packet for processing {"connection_id":56550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 15:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:58:00] 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-04-28 15: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-04-28 15:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:58:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:58:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":56550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:58:00] local.INFO: GPS data processed {"connection_id":56550,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:58:00] local.INFO: Acknowledgment sent {"connection_id":56550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:58:08] local.INFO: TCP Data received {"connection_id":56781,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:08] local.INFO: Processing buffer {"connection_id":56781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:08] local.INFO: IMEI packet received {"connection_id":56781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":56781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:58:14] local.INFO: TCP Data received {"connection_id":56781,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:14] local.INFO: Processing buffer {"connection_id":56781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:58:14] local.INFO: IMEI packet received {"connection_id":56781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":56781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:58:14] local.INFO: TCP Data received {"connection_id":56781,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a001a0012d196440071fed380035006824..."} 
[2026-04-28 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a001a0012d196440071fed380035006824..."} 
[2026-04-28 15:58:14] local.INFO: Processing buffer {"connection_id":56781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a001a0012d196440071fed380035006824..."} 
[2026-04-28 15:58:14] local.INFO: Packet analysis {"connection_id":56781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:14] local.INFO: Extracted packet for processing {"connection_id":56781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007219456001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:14] 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-04-28 15:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777371972000,"timestamp_ms":1777371972000,"timestamp_seconds":1777371972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a001a0"} 
[2026-04-28 15:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 15:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 15:58:14] 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-04-28 15:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007219456001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007219456001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:58:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007219456001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":56781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:58:14] local.INFO: GPS data processed {"connection_id":56781,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:58:14] local.INFO: Acknowledgment sent {"connection_id":56781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:58:32] local.INFO: TCP Data received {"connection_id":56550,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:32] local.INFO: Processing buffer {"connection_id":56550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:58:32] local.INFO: Packet analysis {"connection_id":56550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:32] local.INFO: Extracted packet for processing {"connection_id":56550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:58:32] 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-04-28 15:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":56550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:58:32] local.INFO: GPS data processed {"connection_id":56550,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:58:32] local.INFO: Acknowledgment sent {"connection_id":56550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:58:45] local.INFO: TCP Data received {"connection_id":56781,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a053a8012d196440071fed380035006824..."} 
[2026-04-28 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a053a8012d196440071fed380035006824..."} 
[2026-04-28 15:58:45] local.INFO: Processing buffer {"connection_id":56781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a053a8012d196440071fed380035006824..."} 
[2026-04-28 15:58:45] local.INFO: Packet analysis {"connection_id":56781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:45] local.INFO: Extracted packet for processing {"connection_id":56781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007224832001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:58:45] 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-04-28 15:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777371993000,"timestamp_ms":1777371993000,"timestamp_seconds":1777371993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a053a8"} 
[2026-04-28 15:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:58: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-04-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 15:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007224832001,"66":12374,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007224832001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:58:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007224832001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":56781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:58:46] local.INFO: GPS data processed {"connection_id":56781,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:58:46] local.INFO: Acknowledgment sent {"connection_id":56781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:58:53] local.INFO: TCP Data received {"connection_id":56782,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:53] local.INFO: Processing buffer {"connection_id":56782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:53] local.INFO: IMEI packet received {"connection_id":56782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 15:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":56782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:58:59] local.INFO: TCP Data received {"connection_id":56782,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:59] local.INFO: Processing buffer {"connection_id":56782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 15:58:59] local.INFO: IMEI packet received {"connection_id":56782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":56782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:59:00] local.INFO: TCP Data received {"connection_id":56782,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:00] local.INFO: Processing buffer {"connection_id":56782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:00] local.INFO: Packet analysis {"connection_id":56782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:00] local.INFO: Extracted packet for processing {"connection_id":56782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 15:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:59:00] 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-04-28 15:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":56782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:59:00] local.INFO: GPS data processed {"connection_id":56782,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:59:00] local.INFO: Acknowledgment sent {"connection_id":56782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:59:13] local.INFO: TCP Data received {"connection_id":56551,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:13] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:13] local.INFO: IMEI packet received {"connection_id":56551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 15:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":56551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 15:59:17] local.INFO: TCP Data received {"connection_id":56551,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:17] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 15:59:17] local.INFO: IMEI packet received {"connection_id":56551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 15:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":56551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 15:59:18] local.INFO: TCP Data received {"connection_id":56551,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a0a5b0012d196440071fed380035006824..."} 
[2026-04-28 15:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a0a5b0012d196440071fed380035006824..."} 
[2026-04-28 15:59:18] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a0a5b0012d196440071fed380035006824..."} 
[2026-04-28 15:59:18] local.INFO: Packet analysis {"connection_id":56551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:18] local.INFO: Extracted packet for processing {"connection_id":56551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007230208001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777372014000,"timestamp_ms":1777372014000,"timestamp_seconds":1777372014,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a0a5b0"} 
[2026-04-28 15:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:59: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-04-28 15:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 15:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 15: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-04-28 15:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007230208001,"66":11624,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007230208001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:59:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007230208001,"power":11624,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":56551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:59:18] local.INFO: GPS data processed {"connection_id":56551,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:59:18] local.INFO: Acknowledgment sent {"connection_id":56551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:59:19] local.INFO: TCP Data received {"connection_id":56551,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a0f7b8012d196440071fed380035006824..."} 
[2026-04-28 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a0f7b8012d196440071fed380035006824..."} 
[2026-04-28 15:59:19] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a0f7b8012d196440071fed380035006824..."} 
[2026-04-28 15:59:19] local.INFO: Packet analysis {"connection_id":56551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:19] local.INFO: Extracted packet for processing {"connection_id":56551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 15: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-04-28 15:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007235584001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777372035000,"timestamp_ms":1777372035000,"timestamp_seconds":1777372035,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a0f7b8"} 
[2026-04-28 15:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:59: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-04-28 15: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":104,"data_length":795,"current_offset":136} 
[2026-04-28 15:59:19] 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-04-28 15: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-04-28 15:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007235584001,"66":12341,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007235584001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:59:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007235584001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":56551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:59:19] local.INFO: GPS data processed {"connection_id":56551,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:59:19] local.INFO: Acknowledgment sent {"connection_id":56551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:59:32] local.INFO: TCP Data received {"connection_id":56782,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:32] local.INFO: Processing buffer {"connection_id":56782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 15:59:32] local.INFO: Packet analysis {"connection_id":56782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:32] local.INFO: Extracted packet for processing {"connection_id":56782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 15:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 15:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 15:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 15:59:32] 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-04-28 15:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 15:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 15:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 15:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 15:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 15:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 15:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 15:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 15:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 15:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 15:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 15:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 15:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":56782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:59:32] local.INFO: GPS data processed {"connection_id":56782,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:59:32] local.INFO: Acknowledgment sent {"connection_id":56782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 15:59:50] local.INFO: TCP Data received {"connection_id":56551,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a149c0012d196440071fed380035006823..."} 
[2026-04-28 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a149c0012d196440071fed380035006823..."} 
[2026-04-28 15:59:50] local.INFO: Processing buffer {"connection_id":56551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a149c0012d196440071fed380035006823..."} 
[2026-04-28 15:59:50] local.INFO: Packet analysis {"connection_id":56551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a1"} 
[2026-04-28 15:59:50] local.INFO: Extracted packet for processing {"connection_id":56551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a1"} 
[2026-04-28 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119532856,"longitude_deg":75.6638784,"latitude_deg":11.9532856,"altitude":53,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007240960001,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115605594596966400,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963852800,"note":"Value kept but may cause issues"} 
[2026-04-28 15:59:50] 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-04-28 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777372056000,"timestamp_ms":1777372056000,"timestamp_seconds":1777372056,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a149c0"} 
[2026-04-28 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-04-28 15:59: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-04-28 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 15:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 15:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 15:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 15:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007240960001,"66":12385,"106":206,"83":41984,"24":0,"16":115605594596966400,"45":1829657747963852800},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 15:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 15:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 15:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007240960001,"description":"Unknown IO ID 0"} 
[2026-04-28 15:59:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 15:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 15:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115605594596966400,"km_value":115605594596966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 15:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963852800,"description":"Unknown IO ID 45"} 
[2026-04-28 15:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007240960001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963852800}} 
[2026-04-28 15:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":56551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 15:59:50] local.INFO: GPS data processed {"connection_id":56551,"processed":1,"errors":0,"total":1} 
[2026-04-28 15:59:50] local.INFO: Acknowledgment sent {"connection_id":56551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:00:04] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:04] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:04] local.INFO: IMEI packet received {"connection_id":56552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":56552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:00:05] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:05] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:05] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:00:05] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:00:05] 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-04-28 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:00:05] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:00:05] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:00:06] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:06] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:06] local.INFO: IMEI packet received {"connection_id":57455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":57455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:00:07] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:07] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:07] local.INFO: IMEI packet received {"connection_id":57455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":57455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:00:08] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:08] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:08] local.INFO: IMEI packet received {"connection_id":57455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":57455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:00:13] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:13] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:00:13] local.INFO: IMEI packet received {"connection_id":57455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":57455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:00:14] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a2ff40012d19a380071ff1500039005423..."} 
[2026-04-28 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a2ff40012d19a380071ff1500039005423..."} 
[2026-04-28 16:00:14] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a2ff40012d19a380071ff1500039005423..."} 
[2026-04-28 16:00:14] local.INFO: Packet analysis {"connection_id":57455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a2"} 
[2026-04-28 16:00:14] local.INFO: Extracted packet for processing {"connection_id":57455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a2"} 
[2026-04-28 16:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119533904,"longitude_deg":75.6654976,"latitude_deg":11.9533904,"altitude":57,"angle":84,"satellites":35,"speed":12,"hex_longitude":"2d19a380","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-04-28 16:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007274496001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115606384870948864,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846686984055048192,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:14] 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-04-28 16:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372168000,"timestamp_ms":1777372168000,"timestamp_seconds":1777372168,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a2ff40"} 
[2026-04-28 16:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:00:14] 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-04-28 16:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007274496001,"66":13906,"106":206,"83":41984,"24":12,"16":115606384870948864,"45":1846686984055048192},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007274496001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:00:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115606384870948864,"km_value":115606384870948.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846686984055048192,"description":"Unknown IO ID 45"} 
[2026-04-28 16:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007274496001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1846686984055048192}} 
[2026-04-28 16:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":57455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:00:14] local.INFO: GPS data processed {"connection_id":57455,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:00:14] local.INFO: Acknowledgment sent {"connection_id":57455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:00:37] local.INFO: TCP Data received {"connection_id":56552,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:37] local.INFO: Processing buffer {"connection_id":56552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:00:37] local.INFO: Packet analysis {"connection_id":56552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:00:37] local.INFO: Extracted packet for processing {"connection_id":56552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:00:37] 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-04-28 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":56552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:00:37] local.INFO: GPS data processed {"connection_id":56552,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:00:37] local.INFO: Acknowledgment sent {"connection_id":56552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:00:45] local.INFO: TCP Data received {"connection_id":57455,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a30328012d19a500071ff1000039006623..."} 
[2026-04-28 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a30328012d19a500071ff1000039006623..."} 
[2026-04-28 16:00:45] local.INFO: Processing buffer {"connection_id":57455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a30328012d19a500071ff1000039006623..."} 
[2026-04-28 16:00:45] local.INFO: Packet analysis {"connection_id":57455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a3"} 
[2026-04-28 16:00:45] local.INFO: Extracted packet for processing {"connection_id":57455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a3"} 
[2026-04-28 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119533824,"longitude_deg":75.665536,"latitude_deg":11.9533824,"altitude":57,"angle":102,"satellites":35,"speed":15,"hex_longitude":"2d19a500","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007275008001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115606402050818048,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241070080,"note":"Value kept but may cause issues"} 
[2026-04-28 16:00:45] 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-04-28 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777372169000,"timestamp_ms":1777372169000,"timestamp_seconds":1777372169,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a30328"} 
[2026-04-28 16:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:00: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-04-28 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 16:00:45] 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-04-28 16: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-04-28 16:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007275008001,"66":13906,"106":206,"83":41984,"24":15,"16":115606402050818048,"45":1847461040241070080},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007275008001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:00:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115606402050818048,"km_value":115606402050818.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241070080,"description":"Unknown IO ID 45"} 
[2026-04-28 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007275008001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1847461040241070080}} 
[2026-04-28 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":57455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:00:45] local.INFO: GPS data processed {"connection_id":57455,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:00:45] local.INFO: Acknowledgment sent {"connection_id":57455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:00:54] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:54] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:54] local.INFO: IMEI packet received {"connection_id":56553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":56553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:00:59] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:59] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:00:59] local.INFO: IMEI packet received {"connection_id":56553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:01:00] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:00] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:00] local.INFO: Packet analysis {"connection_id":56553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:00] local.INFO: Extracted packet for processing {"connection_id":56553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:01:00] 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-04-28 16: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-04-28 16:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:01:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:01:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":56553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:01:00] local.INFO: GPS data processed {"connection_id":56553,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:01:00] local.INFO: Acknowledgment sent {"connection_id":56553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:01:04] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:04] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:04] local.INFO: Packet analysis {"connection_id":56553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:04] local.INFO: Extracted packet for processing {"connection_id":56553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:01:04] 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-04-28 16:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":56553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:01:04] local.INFO: GPS data processed {"connection_id":56553,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:01:04] local.INFO: Acknowledgment sent {"connection_id":56553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:01:04] local.INFO: TCP Data received {"connection_id":56783,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:04] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:04] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:01:34] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:34] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:01:34] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:01:36] local.INFO: TCP Data received {"connection_id":56553,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:36] local.INFO: Processing buffer {"connection_id":56553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:01:36] local.INFO: Packet analysis {"connection_id":56553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:36] local.INFO: Extracted packet for processing {"connection_id":56553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:01:36] 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-04-28 16:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":56553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:01:36] local.INFO: GPS data processed {"connection_id":56553,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:01:36] local.INFO: Acknowledgment sent {"connection_id":56553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:01:42] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:42] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:42] local.INFO: IMEI packet received {"connection_id":56784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":56784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:01:43] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:43] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:43] local.INFO: IMEI packet received {"connection_id":56784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":56784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:01:47] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:47] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:01:47] local.INFO: IMEI packet received {"connection_id":56784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":56784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:01:48] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a3f940012d19d040072013400030013c25..."} 
[2026-04-28 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a3f940012d19d040072013400030013c25..."} 
[2026-04-28 16:01:48] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a3f940012d19d040072013400030013c25..."} 
[2026-04-28 16:01:48] local.INFO: Packet analysis {"connection_id":56784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a3"} 
[2026-04-28 16:01:48] local.INFO: Extracted packet for processing {"connection_id":56784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a3"} 
[2026-04-28 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119542592,"longitude_deg":75.6666432,"latitude_deg":11.9542592,"altitude":48,"angle":316,"satellites":37,"speed":23,"hex_longitude":"2d19d040","hex_latitude":"07201340","is_valid_coordinates":true} 
[2026-04-28 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007289088001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115607471497674752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147748864,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777372232000,"timestamp_ms":1777372232000,"timestamp_seconds":1777372232,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a3f940"} 
[2026-04-28 16:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 16:01:48] 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-04-28 16:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007289088001,"66":14189,"106":206,"83":41984,"24":23,"16":115607471497674752,"45":1863716220147748864},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007289088001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:01:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:01:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115607471497674752,"km_value":115607471497674.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147748864,"description":"Unknown IO ID 45"} 
[2026-04-28 16:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007289088001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863716220147748864}} 
[2026-04-28 16:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":56784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:01:48] local.INFO: GPS data processed {"connection_id":56784,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:01:48] local.INFO: Acknowledgment sent {"connection_id":56784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:01:49] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a404f8012d19cc00072018f0002f014824..."} 
[2026-04-28 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a404f8012d19cc00072018f0002f014824..."} 
[2026-04-28 16:01:49] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a404f8012d19cc00072018f0002f014824..."} 
[2026-04-28 16:01:49] local.INFO: Packet analysis {"connection_id":56784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:01:49] local.INFO: Extracted packet for processing {"connection_id":56784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119544048,"longitude_deg":75.6665344,"latitude_deg":11.9544048,"altitude":47,"angle":328,"satellites":36,"speed":24,"hex_longitude":"2d19cc00","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-04-28 16:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007291392001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115607561691987968,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451096064,"note":"Value kept but may cause issues"} 
[2026-04-28 16:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777372235000,"timestamp_ms":1777372235000,"timestamp_seconds":1777372235,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a404f8"} 
[2026-04-28 16:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:01: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-04-28 16:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 16:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007291392001,"66":14157,"19":206,"83":41984,"24":24,"16":115607561691987968,"45":1860057045451096064},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-28 16:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007291392001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115607561691987968,"km_value":115607561691987.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451096064,"description":"Unknown IO ID 45"} 
[2026-04-28 16:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007291392001,"power":14157,"unknown_19":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1860057045451096064}} 
[2026-04-28 16:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":56784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:01:49] local.INFO: GPS data processed {"connection_id":56784,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:01:49] local.INFO: Acknowledgment sent {"connection_id":56784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:01:53] local.INFO: TCP Data received {"connection_id":57456,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:53] local.INFO: Processing buffer {"connection_id":57456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:53] local.INFO: IMEI packet received {"connection_id":57456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":57456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:01:59] local.INFO: TCP Data received {"connection_id":57456,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:59] local.INFO: Processing buffer {"connection_id":57456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:01:59] local.INFO: IMEI packet received {"connection_id":57456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":57456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:02:00] local.INFO: TCP Data received {"connection_id":57456,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:02:00] local.INFO: Processing buffer {"connection_id":57456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a02c98012d7fa44005afde680009011227..."} 
[2026-04-28 16:02:00] local.INFO: Packet analysis {"connection_id":57456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:02:00] local.INFO: Extracted packet for processing {"connection_id":57456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a0"} 
[2026-04-28 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007150592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777371983000,"timestamp_ms":1777371983000,"timestamp_seconds":1777371983,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a02c98"} 
[2026-04-28 16:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:02:00] 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-04-28 16:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007150592001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007150592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:02:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007150592001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":57456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:02:00] local.INFO: GPS data processed {"connection_id":57456,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:02:00] local.INFO: Acknowledgment sent {"connection_id":57456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:02:12] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:12] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:12] local.INFO: IMEI packet received {"connection_id":56743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":56743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:02:13] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:13] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:13] local.INFO: IMEI packet received {"connection_id":56743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":56743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:02:19] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:19] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:02:19] local.INFO: IMEI packet received {"connection_id":56743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":56743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:02:20] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c848012d19b9c00720a6d80034015c22..."} 
[2026-04-28 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c848012d19b9c00720a6d80034015c22..."} 
[2026-04-28 16:02:20] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c848012d19b9c00720a6d80034015c22..."} 
[2026-04-28 16:02:20] local.INFO: Packet analysis {"connection_id":56743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:20] local.INFO: Extracted packet for processing {"connection_id":56743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580376,"longitude_deg":75.6660672,"latitude_deg":11.9580376,"altitude":52,"angle":348,"satellites":34,"speed":17,"hex_longitude":"2d19b9c0","hex_latitude":"0720a6d8","is_valid_coordinates":true} 
[2026-04-28 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115609438592696320,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228844032,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777372285000,"timestamp_ms":1777372285000,"timestamp_seconds":1777372285,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c848"} 
[2026-04-28 16:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:02: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-04-28 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 16:02:20] 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-04-28 16:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":14233,"106":206,"83":41984,"24":17,"16":115609438592696320,"45":1853794227228844032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:02:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115609438592696320,"km_value":115609438592696.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228844032,"description":"Unknown IO ID 45"} 
[2026-04-28 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853794227228844032}} 
[2026-04-28 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":56743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:02:20] local.INFO: GPS data processed {"connection_id":56743,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:02:20] local.INFO: Acknowledgment sent {"connection_id":56743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:02:32] local.INFO: TCP Data received {"connection_id":57456,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:02:32] local.INFO: Processing buffer {"connection_id":57456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:02:32] local.INFO: Packet analysis {"connection_id":57456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:32] local.INFO: Extracted packet for processing {"connection_id":57456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:02:32] 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-04-28 16:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:02:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":57456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:02:32] local.INFO: GPS data processed {"connection_id":57456,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:02:32] local.INFO: Acknowledgment sent {"connection_id":57456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:02:51] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4cc30012d19b9400720a8780035014723..."} 
[2026-04-28 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4cc30012d19b9400720a8780035014723..."} 
[2026-04-28 16:02:51] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4cc30012d19b9400720a8780035014723..."} 
[2026-04-28 16:02:51] local.INFO: Packet analysis {"connection_id":56743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:51] local.INFO: Extracted packet for processing {"connection_id":56743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580792,"longitude_deg":75.6660544,"latitude_deg":11.9580792,"altitude":53,"angle":327,"satellites":35,"speed":18,"hex_longitude":"2d19b940","hex_latitude":"0720a878","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304960001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115609460067532800,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484779008,"note":"Value kept but may cause issues"} 
[2026-04-28 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777372286000,"timestamp_ms":1777372286000,"timestamp_seconds":1777372286,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4cc30"} 
[2026-04-28 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-04-28 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 16:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304960001,"66":14189,"106":206,"83":41984,"24":18,"16":115609460067532800,"45":1853723858484779008},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304960001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:02:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115609460067532800,"km_value":115609460067532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484779008,"description":"Unknown IO ID 45"} 
[2026-04-28 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304960001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853723858484779008}} 
[2026-04-28 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":56743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:02:51] local.INFO: GPS data processed {"connection_id":56743,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:02:51] local.INFO: Acknowledgment sent {"connection_id":56743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:02:59] local.INFO: TCP Data received {"connection_id":57458,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:02:59] local.INFO: Processing buffer {"connection_id":57458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:02:59] local.INFO: IMEI packet received {"connection_id":57458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":57458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:03:04] local.INFO: TCP Data received {"connection_id":57458,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:04] local.INFO: Processing buffer {"connection_id":57458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:04] local.INFO: IMEI packet received {"connection_id":57458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":57458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:03:05] local.INFO: TCP Data received {"connection_id":57458,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:05] local.INFO: Processing buffer {"connection_id":57458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:05] local.INFO: Packet analysis {"connection_id":57458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:05] local.INFO: Extracted packet for processing {"connection_id":57458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:03:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":57458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:03:05] local.INFO: GPS data processed {"connection_id":57458,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:03:05] local.INFO: Acknowledgment sent {"connection_id":57458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:03:08] local.INFO: TCP Data received {"connection_id":57458,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:08] local.INFO: Processing buffer {"connection_id":57458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:03:08] local.INFO: Packet analysis {"connection_id":57458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:08] local.INFO: Extracted packet for processing {"connection_id":57458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:03:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:03:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":57458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:03:08] local.INFO: GPS data processed {"connection_id":57458,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:03:08] local.INFO: Acknowledgment sent {"connection_id":57458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:03:09] local.INFO: TCP Data received {"connection_id":57459,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:09] local.INFO: Processing buffer {"connection_id":57459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:09] local.INFO: IMEI packet received {"connection_id":57459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":57459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:03:12] local.INFO: TCP Data received {"connection_id":57459,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:12] local.INFO: Processing buffer {"connection_id":57459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:03:12] local.INFO: IMEI packet received {"connection_id":57459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":57459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:03:13] local.INFO: TCP Data received {"connection_id":57459,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4d018012d19b7c00720a9c80035013223..."} 
[2026-04-28 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4d018012d19b7c00720a9c80035013223..."} 
[2026-04-28 16:03:13] local.INFO: Processing buffer {"connection_id":57459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4d018012d19b7c00720a9c80035013223..."} 
[2026-04-28 16:03:13] local.INFO: Packet analysis {"connection_id":57459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:13] local.INFO: Extracted packet for processing {"connection_id":57459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581128,"longitude_deg":75.666016,"latitude_deg":11.9581128,"altitude":53,"angle":306,"satellites":35,"speed":19,"hex_longitude":"2d19b7c0","hex_latitude":"0720a9c8","is_valid_coordinates":true} 
[2026-04-28 16:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007305216001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115609485837336576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996530176,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777372287000,"timestamp_ms":1777372287000,"timestamp_seconds":1777372287,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4d018"} 
[2026-04-28 16:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 16:03:13] 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-04-28 16:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007305216001,"66":14189,"106":206,"83":41984,"24":19,"16":115609485837336576,"45":1853583120996530176},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007305216001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:03:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115609485837336576,"km_value":115609485837336.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996530176,"description":"Unknown IO ID 45"} 
[2026-04-28 16:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007305216001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853583120996530176}} 
[2026-04-28 16:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":57459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:03:13] local.INFO: GPS data processed {"connection_id":57459,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:03:13] local.INFO: Acknowledgment sent {"connection_id":57459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:03:44] local.INFO: TCP Data received {"connection_id":57459,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a61838012d18d68007210058003e014b24..."} 
[2026-04-28 16:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a61838012d18d68007210058003e014b24..."} 
[2026-04-28 16:03:44] local.INFO: Processing buffer {"connection_id":57459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a61838012d18d68007210058003e014b24..."} 
[2026-04-28 16:03:44] local.INFO: Packet analysis {"connection_id":57459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:03:44] local.INFO: Extracted packet for processing {"connection_id":57459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119603288,"longitude_deg":75.6602496,"latitude_deg":11.9603288,"altitude":62,"angle":331,"satellites":36,"speed":28,"hex_longitude":"2d18d680","hex_latitude":"07210058","is_valid_coordinates":true} 
[2026-04-28 16:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007325696001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115612651228233728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419799586816,"note":"Value kept but may cause issues"} 
[2026-04-28 16:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777372371000,"timestamp_ms":1777372371000,"timestamp_seconds":1777372371,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a61838"} 
[2026-04-28 16:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 16:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007325696001,"66":14254,"106":206,"83":41984,"24":28,"16":115612651228233728,"45":1792573419799586816},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007325696001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115612651228233728,"km_value":115612651228233.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419799586816,"description":"Unknown IO ID 45"} 
[2026-04-28 16:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007325696001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1792573419799586816}} 
[2026-04-28 16:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":57459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:03:44] local.INFO: GPS data processed {"connection_id":57459,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:03:44] local.INFO: Acknowledgment sent {"connection_id":57459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:03:54] local.INFO: TCP Data received {"connection_id":57460,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:54] local.INFO: Processing buffer {"connection_id":57460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:54] local.INFO: IMEI packet received {"connection_id":57460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":57460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:03:59] local.INFO: TCP Data received {"connection_id":57460,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:59] local.INFO: Processing buffer {"connection_id":57460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:03:59] local.INFO: IMEI packet received {"connection_id":57460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":57460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:04:00] local.INFO: TCP Data received {"connection_id":57460,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:00] local.INFO: Processing buffer {"connection_id":57460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:00] local.INFO: Packet analysis {"connection_id":57460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:04:00] local.INFO: Extracted packet for processing {"connection_id":57460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:04:00] 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-04-28 16:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:04:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:04:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":57460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:04:00] local.INFO: GPS data processed {"connection_id":57460,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:04:00] local.INFO: Acknowledgment sent {"connection_id":57460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:04:09] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: IMEI packet received {"connection_id":57461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":57461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:04:09] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:09] local.INFO: IMEI packet received {"connection_id":57461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":57461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:04:10] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:10] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:10] local.INFO: IMEI packet received {"connection_id":57461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":57461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:04:14] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:14] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:04:14] local.INFO: IMEI packet received {"connection_id":57461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":57461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:04:16] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a62008012d18d4c0072105b0003f015826..."} 
[2026-04-28 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a62008012d18d4c0072105b0003f015826..."} 
[2026-04-28 16:04:16] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a62008012d18d4c0072105b0003f015826..."} 
[2026-04-28 16:04:16] local.INFO: Packet analysis {"connection_id":57461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:04:16] local.INFO: Extracted packet for processing {"connection_id":57461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119604656,"longitude_deg":75.6602048,"latitude_deg":11.9604656,"altitude":63,"angle":344,"satellites":38,"speed":29,"hex_longitude":"2d18d4c0","hex_latitude":"072105b0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007326976001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115612719947710464,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033147904,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777372373000,"timestamp_ms":1777372373000,"timestamp_seconds":1777372373,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a62008"} 
[2026-04-28 16:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 16:04:16] 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-04-28 16: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-04-28 16:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007326976001,"66":14265,"106":206,"83":41984,"24":29,"16":115612719947710464,"45":1789758670033147904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007326976001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:04:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115612719947710464,"km_value":115612719947710.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033147904,"description":"Unknown IO ID 45"} 
[2026-04-28 16:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007326976001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1789758670033147904}} 
[2026-04-28 16:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":57461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:04:16] local.INFO: GPS data processed {"connection_id":57461,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:04:16] local.INFO: Acknowledgment sent {"connection_id":57461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:04:19] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a63390012d18d1c0072113e00040016424..."} 
[2026-04-28 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a63390012d18d1c0072113e00040016424..."} 
[2026-04-28 16:04:19] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a63390012d18d1c0072113e00040016424..."} 
[2026-04-28 16:04:19] local.INFO: Packet analysis {"connection_id":57461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:04:19] local.INFO: Extracted packet for processing {"connection_id":57461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a6"} 
[2026-04-28 16:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119608288,"longitude_deg":75.660128,"latitude_deg":11.9608288,"altitude":64,"angle":356,"satellites":36,"speed":28,"hex_longitude":"2d18d1c0","hex_latitude":"072113e0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007327488001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115612900336336896,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824254464,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777372378000,"timestamp_ms":1777372378000,"timestamp_seconds":1777372378,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a63390"} 
[2026-04-28 16:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:04: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-04-28 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 16:04:19] 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-04-28 16: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-04-28 16:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007327488001,"66":14276,"106":206,"83":41984,"24":28,"16":115612900336336896,"45":1789266088824254464},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007327488001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:04:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115612900336336896,"km_value":115612900336336.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824254464,"description":"Unknown IO ID 45"} 
[2026-04-28 16:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007327488001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1789266088824254464}} 
[2026-04-28 16:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":57461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:04:19] local.INFO: GPS data processed {"connection_id":57461,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:04:19] local.INFO: Acknowledgment sent {"connection_id":57461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:04:32] local.INFO: TCP Data received {"connection_id":57460,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:32] local.INFO: Processing buffer {"connection_id":57460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:04:32] local.INFO: Packet analysis {"connection_id":57460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:04:32] local.INFO: Extracted packet for processing {"connection_id":57460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:04:32] 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-04-28 16:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:04:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":57460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:04:32] local.INFO: GPS data processed {"connection_id":57460,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:04:32] local.INFO: Acknowledgment sent {"connection_id":57460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:04:50] local.INFO: TCP Data received {"connection_id":57461,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a70e50012d186440072181680050011a22..."} 
[2026-04-28 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a70e50012d186440072181680050011a22..."} 
[2026-04-28 16:04:50] local.INFO: Processing buffer {"connection_id":57461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a70e50012d186440072181680050011a22..."} 
[2026-04-28 16:04:50] local.INFO: Packet analysis {"connection_id":57461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:04:50] local.INFO: Extracted packet for processing {"connection_id":57461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636328,"longitude_deg":75.6573248,"latitude_deg":11.9636328,"altitude":80,"angle":282,"satellites":34,"speed":34,"hex_longitude":"2d186440","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-04-28 16:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007341312001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115615099359592448,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672597504,"note":"Value kept but may cause issues"} 
[2026-04-28 16:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777372434000,"timestamp_ms":1777372434000,"timestamp_seconds":1777372434,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a70e50"} 
[2026-04-28 16:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:04: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-04-28 16:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007341312001,"66":14483,"105":206,"83":41984,"24":34,"16":115615099359592448,"45":1764003709672597504},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007341312001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:04:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115615099359592448,"km_value":115615099359592.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672597504,"description":"Unknown IO ID 45"} 
[2026-04-28 16:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007341312001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1764003709672597504}} 
[2026-04-28 16:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":57461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:04:50] local.INFO: GPS data processed {"connection_id":57461,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:04:50] local.INFO: Acknowledgment sent {"connection_id":57461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:04:53] local.INFO: TCP Data received {"connection_id":56556,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:53] local.INFO: Processing buffer {"connection_id":56556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:53] local.INFO: IMEI packet received {"connection_id":56556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":56556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:04:58] local.INFO: TCP Data received {"connection_id":56556,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:58] local.INFO: Processing buffer {"connection_id":56556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:04:58] local.INFO: IMEI packet received {"connection_id":56556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":56556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:05:00] local.INFO: TCP Data received {"connection_id":56556,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:00] local.INFO: Processing buffer {"connection_id":56556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:00] local.INFO: Packet analysis {"connection_id":56556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:05:00] local.INFO: Extracted packet for processing {"connection_id":56556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:05:00] 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-04-28 16: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-04-28 16:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:05:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:05:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":56556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:05:00] local.INFO: GPS data processed {"connection_id":56556,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:05:00] local.INFO: Acknowledgment sent {"connection_id":56556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:05:09] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:09] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:09] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:05:11] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:11] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:11] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:05:12] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:12] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:05:12] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:05:12] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a71620012d185dc0072183b80050012723..."} 
[2026-04-28 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a71620012d185dc0072183b80050012723..."} 
[2026-04-28 16:05:12] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a71620012d185dc0072183b80050012723..."} 
[2026-04-28 16:05:12] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:12] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756571584,"raw_latitude":119636920,"longitude_deg":75.6571584,"latitude_deg":11.963692,"altitude":80,"angle":295,"satellites":35,"speed":35,"hex_longitude":"2d185dc0","hex_latitude":"072183b8","is_valid_coordinates":true} 
[2026-04-28 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007343104001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115615185258938368,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952413696,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777372436000,"timestamp_ms":1777372436000,"timestamp_seconds":1777372436,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a71620"} 
[2026-04-28 16:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 16:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007343104001,"66":13798,"105":206,"83":41984,"24":35,"16":115615185258938368,"45":1757600153952413696},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007343104001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:05:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115615185258938368,"km_value":115615185258938.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952413696,"description":"Unknown IO ID 45"} 
[2026-04-28 16:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007343104001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757600153952413696}} 
[2026-04-28 16:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:05:12] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:05:12] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:05:13] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a74118012d183d80072192880051012424..."} 
[2026-04-28 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a74118012d183d80072192880051012424..."} 
[2026-04-28 16:05:13] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a74118012d183d80072192880051012424..."} 
[2026-04-28 16:05:13] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:13] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756563328,"raw_latitude":119640712,"longitude_deg":75.6563328,"latitude_deg":11.9640712,"altitude":81,"angle":292,"satellites":36,"speed":29,"hex_longitude":"2d183d80","hex_latitude":"07219288","is_valid_coordinates":true} 
[2026-04-28 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007343616001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115615614755667968,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755770566603945984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777372447000,"timestamp_ms":1777372447000,"timestamp_seconds":1777372447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a74118"} 
[2026-04-28 16:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 16:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007343616001,"66":13928,"105":206,"83":41984,"24":29,"16":115615614755667968,"45":1755770566603945984},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007343616001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:05:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115615614755667968,"km_value":115615614755667.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755770566603945984,"description":"Unknown IO ID 45"} 
[2026-04-28 16:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007343616001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1755770566603945984}} 
[2026-04-28 16:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:05:13] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:05:13] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:05:31] local.INFO: TCP Data received {"connection_id":56556,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:31] local.INFO: Processing buffer {"connection_id":56556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:05:31] local.INFO: Packet analysis {"connection_id":56556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:05:31] local.INFO: Extracted packet for processing {"connection_id":56556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:05:31] 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-04-28 16: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-04-28 16:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:05:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:05:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":56556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:05:31] local.INFO: GPS data processed {"connection_id":56556,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:05:31] local.INFO: Acknowledgment sent {"connection_id":56556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:05:44] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a75888012d182e40072199d80051013124..."} 
[2026-04-28 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a75888012d182e40072199d80051013124..."} 
[2026-04-28 16:05:44] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a75888012d182e40072199d80051013124..."} 
[2026-04-28 16:05:44] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:44] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642584,"longitude_deg":75.6559424,"latitude_deg":11.9642584,"altitude":81,"angle":305,"satellites":36,"speed":26,"hex_longitude":"2d182e40","hex_latitude":"072199d8","is_valid_coordinates":true} 
[2026-04-28 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007346432001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115615820914098176,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998605998080,"note":"Value kept but may cause issues"} 
[2026-04-28 16:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777372453000,"timestamp_ms":1777372453000,"timestamp_seconds":1777372453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a75888"} 
[2026-04-28 16:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:05:44] 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-04-28 16:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007346432001,"66":14428,"105":206,"83":41984,"24":26,"16":115615820914098176,"45":1746692998605998080},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007346432001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:05:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115615820914098176,"km_value":115615820914098.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998605998080,"description":"Unknown IO ID 45"} 
[2026-04-28 16:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007346432001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1746692998605998080}} 
[2026-04-28 16:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:05:44] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:05:44] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:05:53] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:53] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:53] local.INFO: IMEI packet received {"connection_id":56557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":56557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:05:59] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:59] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:05:59] local.INFO: IMEI packet received {"connection_id":56557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":56557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:06:00] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:00] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:00] local.INFO: Packet analysis {"connection_id":56557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:06:00] local.INFO: Extracted packet for processing {"connection_id":56557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:06:00] 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-04-28 16:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:06:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:06:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":56557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:06:00] local.INFO: GPS data processed {"connection_id":56557,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:06:00] local.INFO: Acknowledgment sent {"connection_id":56557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:06:08] local.INFO: TCP Data received {"connection_id":57462,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:08] local.INFO: Processing buffer {"connection_id":57462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:08] local.INFO: IMEI packet received {"connection_id":57462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":57462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:06:14] local.INFO: TCP Data received {"connection_id":57462,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:14] local.INFO: Processing buffer {"connection_id":57462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:06:14] local.INFO: IMEI packet received {"connection_id":57462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":57462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:06:14] local.INFO: TCP Data received {"connection_id":57462,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a77bb0012d1820400721a480004d012324..."} 
[2026-04-28 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a77bb0012d1820400721a480004d012324..."} 
[2026-04-28 16:06:14] local.INFO: Processing buffer {"connection_id":57462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a77bb0012d1820400721a480004d012324..."} 
[2026-04-28 16:06:14] local.INFO: Packet analysis {"connection_id":57462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:06:14] local.INFO: Extracted packet for processing {"connection_id":57462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645312,"longitude_deg":75.655584,"latitude_deg":11.9645312,"altitude":77,"angle":291,"satellites":36,"speed":7,"hex_longitude":"2d182040","hex_latitude":"0721a480","is_valid_coordinates":true} 
[2026-04-28 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007347968001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616039957430272,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211639808,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372462000,"timestamp_ms":1777372462000,"timestamp_seconds":1777372462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a77bb0"} 
[2026-04-28 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 16:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007347968001,"66":14396,"105":206,"83":41984,"24":7,"16":115616039957430272,"45":1742400505211639808},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007347968001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:06:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616039957430272,"km_value":115616039957430.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211639808,"description":"Unknown IO ID 45"} 
[2026-04-28 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007347968001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1742400505211639808}} 
[2026-04-28 16:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":57462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:06:15] local.INFO: GPS data processed {"connection_id":57462,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:06:15] local.INFO: Acknowledgment sent {"connection_id":57462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:06:32] local.INFO: TCP Data received {"connection_id":56557,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:32] local.INFO: Processing buffer {"connection_id":56557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a4c460012d7fa44005afde680009011225..."} 
[2026-04-28 16:06:32] local.INFO: Packet analysis {"connection_id":56557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:06:32] local.INFO: Extracted packet for processing {"connection_id":56557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a4"} 
[2026-04-28 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007227648001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777372284000,"timestamp_ms":1777372284000,"timestamp_seconds":1777372284,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a4c460"} 
[2026-04-28 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:06:32] 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-04-28 16: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-04-28 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007227648001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007227648001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007227648001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":56557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:06:32] local.INFO: GPS data processed {"connection_id":56557,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:06:32] local.INFO: Acknowledgment sent {"connection_id":56557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:06:46] local.INFO: TCP Data received {"connection_id":57462,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a7a6a8012d181b400721a710004c013e24..."} 
[2026-04-28 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a7a6a8012d181b400721a710004c013e24..."} 
[2026-04-28 16:06:46] local.INFO: Processing buffer {"connection_id":57462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a7a6a8012d181b400721a710004c013e24..."} 
[2026-04-28 16:06:46] local.INFO: Packet analysis {"connection_id":57462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:06:46] local.INFO: Extracted packet for processing {"connection_id":57462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119645968,"longitude_deg":75.655456,"latitude_deg":11.9645968,"altitude":76,"angle":318,"satellites":36,"speed":7,"hex_longitude":"2d181b40","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-04-28 16:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007350272001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616108676907008,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538388992,"note":"Value kept but may cause issues"} 
[2026-04-28 16:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372473000,"timestamp_ms":1777372473000,"timestamp_seconds":1777372473,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a7a6a8"} 
[2026-04-28 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-04-28 16:06: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-04-28 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 16:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007350272001,"66":14004,"105":206,"83":41984,"24":7,"16":115616108676907008,"45":1738459855538388992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007350272001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:06:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616108676907008,"km_value":115616108676907.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538388992,"description":"Unknown IO ID 45"} 
[2026-04-28 16:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007350272001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738459855538388992}} 
[2026-04-28 16:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":57462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:06:46] local.INFO: GPS data processed {"connection_id":57462,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:06:46] local.INFO: Acknowledgment sent {"connection_id":57462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:06:59] local.INFO: TCP Data received {"connection_id":56788,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:06:59] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:06:59] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:07:04] local.INFO: TCP Data received {"connection_id":56788,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:04] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:04] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:07:04] local.INFO: TCP Data received {"connection_id":56787,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:04] local.INFO: Processing buffer {"connection_id":56787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:04] local.INFO: IMEI packet received {"connection_id":56787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":56787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:07:05] local.INFO: TCP Data received {"connection_id":56788,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:05] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:07:05] 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-04-28 16:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:07:05] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:07:05] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:07:05] local.INFO: TCP Data received {"connection_id":56788,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:05] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:05] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:07:05] 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-04-28 16:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:07:05] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:07:05] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:07:08] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:08] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:08] local.INFO: IMEI packet received {"connection_id":56789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":56789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:07:09] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:09] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:09] local.INFO: IMEI packet received {"connection_id":56789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":56789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:07:14] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:14] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:07:14] local.INFO: IMEI packet received {"connection_id":56789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":56789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:07:14] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a7aa90012d181b000721a7b8004c015c25..."} 
[2026-04-28 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a7aa90012d181b000721a7b8004c015c25..."} 
[2026-04-28 16:07:14] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a7aa90012d181b000721a7b8004c015c25..."} 
[2026-04-28 16:07:14] local.INFO: Packet analysis {"connection_id":56789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:07:14] local.INFO: Extracted packet for processing {"connection_id":56789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646136,"longitude_deg":75.6554496,"latitude_deg":11.9646136,"altitude":76,"angle":348,"satellites":37,"speed":8,"hex_longitude":"2d181b00","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-04-28 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007353088001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616117266841600,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655003648,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372474000,"timestamp_ms":1777372474000,"timestamp_seconds":1777372474,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a7aa90"} 
[2026-04-28 16:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 16:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007353088001,"66":13906,"105":206,"83":41984,"24":8,"16":115616117266841600,"45":1737052480655003648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007353088001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:07:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616117266841600,"km_value":115616117266841.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655003648,"description":"Unknown IO ID 45"} 
[2026-04-28 16:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007353088001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737052480655003648}} 
[2026-04-28 16:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":56789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:07:15] local.INFO: GPS data processed {"connection_id":56789,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:07:15] local.INFO: Acknowledgment sent {"connection_id":56789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:07:35] local.INFO: TCP Data received {"connection_id":56558,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:35] local.INFO: Processing buffer {"connection_id":56558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:07:35] local.INFO: IMEI packet received {"connection_id":56558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":56558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:07:37] local.INFO: TCP Data received {"connection_id":56788,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:37] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:07:37] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:37] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:07:37] 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-04-28 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:07:37] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:07:37] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:07:46] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a7ae78012d181b400721a870004c001525..."} 
[2026-04-28 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a7ae78012d181b400721a870004c001525..."} 
[2026-04-28 16:07:46] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a7ae78012d181b400721a870004c001525..."} 
[2026-04-28 16:07:46] local.INFO: Packet analysis {"connection_id":56789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:07:46] local.INFO: Extracted packet for processing {"connection_id":56789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646320,"longitude_deg":75.655456,"latitude_deg":11.964632,"altitude":76,"angle":21,"satellites":37,"speed":6,"hex_longitude":"2d181b40","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-04-28 16:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007353344001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616125856776192,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910868992,"note":"Value kept but may cause issues"} 
[2026-04-28 16:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372475000,"timestamp_ms":1777372475000,"timestamp_seconds":1777372475,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a7ae78"} 
[2026-04-28 16:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:07: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-04-28 16:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 16:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007353344001,"66":13906,"105":206,"83":41984,"24":6,"16":115616125856776192,"45":1736982111910868992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007353344001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:07:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616125856776192,"km_value":115616125856776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910868992,"description":"Unknown IO ID 45"} 
[2026-04-28 16:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007353344001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736982111910868992}} 
[2026-04-28 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":56789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:07:46] local.INFO: GPS data processed {"connection_id":56789,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:07:46] local.INFO: Acknowledgment sent {"connection_id":56789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:07:53] local.INFO: TCP Data received {"connection_id":56746,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:53] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:53] local.INFO: IMEI packet received {"connection_id":56746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:07:59] local.INFO: TCP Data received {"connection_id":56746,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:59] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:07:59] local.INFO: IMEI packet received {"connection_id":56746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:08:00] local.INFO: TCP Data received {"connection_id":56746,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:00] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:00] local.INFO: Packet analysis {"connection_id":56746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:08:00] local.INFO: Extracted packet for processing {"connection_id":56746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:08:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:08:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":56746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:08:00] local.INFO: GPS data processed {"connection_id":56746,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:08:00] local.INFO: Acknowledgment sent {"connection_id":56746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:08:08] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:08] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:08] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:08:13] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:08:13] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:08:13] local.INFO: IMEI packet received {"connection_id":56559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":56559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:08:14] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a7e910012d181bc00721a970004a002a25..."} 
[2026-04-28 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a7e910012d181bc00721a970004a002a25..."} 
[2026-04-28 16:08:14] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a7e910012d181bc00721a970004a002a25..."} 
[2026-04-28 16:08:14] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:08:14] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a7"} 
[2026-04-28 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646576,"longitude_deg":75.6554688,"latitude_deg":11.9646576,"altitude":74,"angle":42,"satellites":37,"speed":5,"hex_longitude":"2d181bc0","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-04-28 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007353600001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616143036645376,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655093760,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372490000,"timestamp_ms":1777372490000,"timestamp_seconds":1777372490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a7e910"} 
[2026-04-28 16:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 16:08:14] 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-04-28 16:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007353600001,"66":14428,"105":206,"83":41984,"24":5,"16":115616143036645376,"45":1737052480655093760},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007353600001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:08:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616143036645376,"km_value":115616143036645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655093760,"description":"Unknown IO ID 45"} 
[2026-04-28 16:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007353600001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737052480655093760}} 
[2026-04-28 16:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:08:14] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:08:14] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:08:19] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a823a8012d1824800721b4f8004b001a26..."} 
[2026-04-28 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a823a8012d1824800721b4f8004b001a26..."} 
[2026-04-28 16:08:19] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a823a8012d1824800721b4f8004b001a26..."} 
[2026-04-28 16:08:19] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:08:19] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649528,"longitude_deg":75.6556928,"latitude_deg":11.9649528,"altitude":75,"angle":26,"satellites":38,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007357440001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616323425271808,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143514624,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777372505000,"timestamp_ms":1777372505000,"timestamp_seconds":1777372505,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a823a8"} 
[2026-04-28 16:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:08: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-04-28 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 16:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007357440001,"66":13135,"105":206,"83":41984,"24":8,"16":115616323425271808,"45":1737193218143514624},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007357440001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:08:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616323425271808,"km_value":115616323425271.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143514624,"description":"Unknown IO ID 45"} 
[2026-04-28 16:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007357440001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737193218143514624}} 
[2026-04-28 16:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:08:19] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:08:19] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:08:31] local.INFO: TCP Data received {"connection_id":56746,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:31] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:08:31] local.INFO: Packet analysis {"connection_id":56746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:08:31] local.INFO: Extracted packet for processing {"connection_id":56746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:08:31] 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-04-28 16: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-04-28 16:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:08:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:08:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":56746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:08:31] local.INFO: GPS data processed {"connection_id":56746,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:08:31] local.INFO: Acknowledgment sent {"connection_id":56746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:08:50] local.INFO: TCP Data received {"connection_id":56559,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a82790012d1824800721b5c8004b000426..."} 
[2026-04-28 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a82790012d1824800721b5c8004b000426..."} 
[2026-04-28 16:08:50] local.INFO: Processing buffer {"connection_id":56559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a82790012d1824800721b5c8004b000426..."} 
[2026-04-28 16:08:50] local.INFO: Packet analysis {"connection_id":56559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:08:50] local.INFO: Extracted packet for processing {"connection_id":56559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649736,"longitude_deg":75.6556928,"latitude_deg":11.9649736,"altitude":75,"angle":4,"satellites":38,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-04-28 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007361280001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616332015206400,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190488576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777372506000,"timestamp_ms":1777372506000,"timestamp_seconds":1777372506,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a82790"} 
[2026-04-28 16:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-28 16:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007361280001,"66":13080,"105":206,"83":41984,"24":8,"16":115616332015206400,"45":1739656124190488576},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007361280001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:08:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616332015206400,"km_value":115616332015206.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190488576,"description":"Unknown IO ID 45"} 
[2026-04-28 16:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007361280001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739656124190488576}} 
[2026-04-28 16:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":56559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:08:50] local.INFO: GPS data processed {"connection_id":56559,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:08:50] local.INFO: Acknowledgment sent {"connection_id":56559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:08:59] local.INFO: TCP Data received {"connection_id":56790,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:08:59] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:08:59] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:09:04] local.INFO: TCP Data received {"connection_id":56790,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:04] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:04] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:09:05] local.INFO: TCP Data received {"connection_id":56790,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:05] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:05] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:09:05] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:09:05] 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-04-28 16:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:09:05] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:09:05] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:09:08] local.INFO: TCP Data received {"connection_id":56790,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:08] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:09:08] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:09:08] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:09:08] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:09:08] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:09:08] local.INFO: TCP Data received {"connection_id":57463,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:08] local.INFO: Processing buffer {"connection_id":57463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:08] local.INFO: IMEI packet received {"connection_id":57463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":57463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:09:14] local.INFO: TCP Data received {"connection_id":57463,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:14] local.INFO: Processing buffer {"connection_id":57463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:09:14] local.INFO: IMEI packet received {"connection_id":57463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":57463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:09:14] local.INFO: TCP Data received {"connection_id":57463,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a82b78012d1824800721b670004b014c26..."} 
[2026-04-28 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a82b78012d1824800721b670004b014c26..."} 
[2026-04-28 16:09:14] local.INFO: Processing buffer {"connection_id":57463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a82b78012d1824800721b670004b014c26..."} 
[2026-04-28 16:09:14] local.INFO: Packet analysis {"connection_id":57463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:09:14] local.INFO: Extracted packet for processing {"connection_id":57463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649904,"longitude_deg":75.6556928,"latitude_deg":11.9649904,"altitude":75,"angle":332,"satellites":38,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-04-28 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007361536001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616340605140992,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190541824,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372507000,"timestamp_ms":1777372507000,"timestamp_seconds":1777372507,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a82b78"} 
[2026-04-28 16:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 16:09:14] 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-04-28 16:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007361536001,"66":13080,"105":206,"83":41984,"24":6,"16":115616340605140992,"45":1739656124190541824},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007361536001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:09:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616340605140992,"km_value":115616340605140.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190541824,"description":"Unknown IO ID 45"} 
[2026-04-28 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007361536001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190541824}} 
[2026-04-28 16:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":57463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:09:15] local.INFO: GPS data processed {"connection_id":57463,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:09:15] local.INFO: Acknowledgment sent {"connection_id":57463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:09:46] local.INFO: TCP Data received {"connection_id":57463,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a82f60012d1824000721b6c0004b011326..."} 
[2026-04-28 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a82f60012d1824000721b6c0004b011326..."} 
[2026-04-28 16:09:46] local.INFO: Processing buffer {"connection_id":57463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a82f60012d1824000721b6c0004b011326..."} 
[2026-04-28 16:09:46] local.INFO: Packet analysis {"connection_id":57463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:09:46] local.INFO: Extracted packet for processing {"connection_id":57463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649984,"longitude_deg":75.65568,"latitude_deg":11.9649984,"altitude":75,"angle":275,"satellites":38,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b6c0","is_valid_coordinates":true} 
[2026-04-28 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007361792001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616349195075584,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190584832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372508000,"timestamp_ms":1777372508000,"timestamp_seconds":1777372508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a82f60"} 
[2026-04-28 16:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:09: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-04-28 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 16:09:46] 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-04-28 16:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007361792001,"66":13102,"105":206,"83":41984,"24":6,"16":115616349195075584,"45":1739656124190584832},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007361792001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:09:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616349195075584,"km_value":115616349195075.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190584832,"description":"Unknown IO ID 45"} 
[2026-04-28 16:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007361792001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190584832}} 
[2026-04-28 16:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":57463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:09:46] local.INFO: GPS data processed {"connection_id":57463,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:09:46] local.INFO: Acknowledgment sent {"connection_id":57463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:09:54] local.INFO: TCP Data received {"connection_id":57464,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:54] local.INFO: Processing buffer {"connection_id":57464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:54] local.INFO: IMEI packet received {"connection_id":57464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":57464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:09:59] local.INFO: TCP Data received {"connection_id":57464,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:59] local.INFO: Processing buffer {"connection_id":57464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:09:59] local.INFO: IMEI packet received {"connection_id":57464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":57464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:10:00] local.INFO: TCP Data received {"connection_id":57464,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:00] local.INFO: Processing buffer {"connection_id":57464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:00] local.INFO: Packet analysis {"connection_id":57464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:00] local.INFO: Extracted packet for processing {"connection_id":57464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":57464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:10:00] local.INFO: GPS data processed {"connection_id":57464,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:10:00] local.INFO: Acknowledgment sent {"connection_id":57464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:10:14] local.INFO: TCP Data received {"connection_id":56748,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:14] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:14] local.INFO: IMEI packet received {"connection_id":56748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":56748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:10:19] local.INFO: TCP Data received {"connection_id":56748,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:19] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:10:19] local.INFO: IMEI packet received {"connection_id":56748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":56748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:10:20] local.INFO: TCP Data received {"connection_id":56748,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a88168012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a88168012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a88168012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Packet analysis {"connection_id":56748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:10:20] local.INFO: Extracted packet for processing {"connection_id":56748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650256,"longitude_deg":75.6556864,"latitude_deg":11.9650256,"altitude":76,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-04-28 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007362048001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616396439715840,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702249984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777372529000,"timestamp_ms":1777372529000,"timestamp_seconds":1777372529,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a88168"} 
[2026-04-28 16:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:10: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-04-28 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 16:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007362048001,"66":13048,"105":206,"83":41984,"24":0,"16":115616396439715840,"45":1739515386702249984},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007362048001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616396439715840,"km_value":115616396439715.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702249984,"description":"Unknown IO ID 45"} 
[2026-04-28 16:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007362048001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702249984}} 
[2026-04-28 16:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":56748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:10:20] local.INFO: GPS data processed {"connection_id":56748,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:10:20] local.INFO: Acknowledgment sent {"connection_id":56748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:10:20] local.INFO: TCP Data received {"connection_id":56748,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a8d370012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a8d370012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a8d370012d1824400721b7d0004c011326..."} 
[2026-04-28 16:10:20] local.INFO: Packet analysis {"connection_id":56748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:10:20] local.INFO: Extracted packet for processing {"connection_id":56748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a8"} 
[2026-04-28 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650256,"longitude_deg":75.6556864,"latitude_deg":11.9650256,"altitude":76,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-04-28 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007367424001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616396439715840,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777372550000,"timestamp_ms":1777372550000,"timestamp_seconds":1777372550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a8d370"} 
[2026-04-28 16:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:10: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-04-28 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 16:10: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-04-28 16:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007367424001,"66":12972,"105":206,"83":41984,"24":0,"16":115616396439715840,"45":1739585755446497280},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007367424001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616396439715840,"km_value":115616396439715.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-04-28 16:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007367424001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-04-28 16:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":56748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:10:20] local.INFO: GPS data processed {"connection_id":56748,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:10:20] local.INFO: Acknowledgment sent {"connection_id":56748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:10:34] local.INFO: TCP Data received {"connection_id":57464,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:34] local.INFO: Processing buffer {"connection_id":57464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:10:34] local.INFO: Packet analysis {"connection_id":57464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:34] local.INFO: Extracted packet for processing {"connection_id":57464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:10:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:10:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":57464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:10:34] local.INFO: GPS data processed {"connection_id":57464,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:10:34] local.INFO: Acknowledgment sent {"connection_id":57464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:10:51] local.INFO: TCP Data received {"connection_id":56748,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a92578012d1824400721b7d0004c011327..."} 
[2026-04-28 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a92578012d1824400721b7d0004c011327..."} 
[2026-04-28 16:10:51] local.INFO: Processing buffer {"connection_id":56748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a92578012d1824400721b7d0004c011327..."} 
[2026-04-28 16:10:51] local.INFO: Packet analysis {"connection_id":56748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:51] local.INFO: Extracted packet for processing {"connection_id":56748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650256,"longitude_deg":75.6556864,"latitude_deg":11.9650256,"altitude":76,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007372800001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616396439715840,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-04-28 16:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777372571000,"timestamp_ms":1777372571000,"timestamp_seconds":1777372571,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a92578"} 
[2026-04-28 16:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:10: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-04-28 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 16:10:51] 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-04-28 16: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-04-28 16:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007372800001,"66":12885,"105":206,"83":41984,"24":0,"16":115616396439715840,"45":1739585755446497280},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007372800001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:10:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616396439715840,"km_value":115616396439715.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-04-28 16:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007372800001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-04-28 16:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":56748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:10:51] local.INFO: GPS data processed {"connection_id":56748,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:10:51] local.INFO: Acknowledgment sent {"connection_id":56748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:10:53] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:53] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:53] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:10:59] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:59] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:10:59] local.INFO: IMEI packet received {"connection_id":56562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":56562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:11:00] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:00] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:00] local.INFO: Packet analysis {"connection_id":56562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:11:00] local.INFO: Extracted packet for processing {"connection_id":56562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":56562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:11:00] local.INFO: GPS data processed {"connection_id":56562,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:11:00] local.INFO: Acknowledgment sent {"connection_id":56562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:11:09] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:09] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:09] local.INFO: IMEI packet received {"connection_id":56563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":56563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:11:14] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:14] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:11:14] local.INFO: IMEI packet received {"connection_id":56563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":56563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:11:14] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3acabd0012d1824400721b7d0004c011328..."} 
[2026-04-28 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3acabd0012d1824400721b7d0004c011328..."} 
[2026-04-28 16:11:14] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3acabd0012d1824400721b7d0004c011328..."} 
[2026-04-28 16:11:14] local.INFO: Packet analysis {"connection_id":56563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:14] local.INFO: Extracted packet for processing {"connection_id":56563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650256,"longitude_deg":75.6556864,"latitude_deg":11.9650256,"altitude":76,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007431936001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616396439715840,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372802000,"timestamp_ms":1777372802000,"timestamp_seconds":1777372802,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3acabd0"} 
[2026-04-28 16:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:11: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-04-28 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3551161752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2870061057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3083862092,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3229614080,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:14] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,192,7,45,64,183,76,41,10,66,181,39,99,1,240,4,227,211,33,113,205,191,36,208,239,49,2,154],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 16:11:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476679680083886080,"timestamp_seconds":5476679680083886.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007431936001,"66":12667,"105":206,"83":41984,"24":0,"16":115616396439715840,"45":1739585755446497280},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007431936001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:11:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616396439715840,"km_value":115616396439715.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-04-28 16:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007431936001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-04-28 16:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":56563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:11:15] local.INFO: GPS data processed {"connection_id":56563,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:11:15] local.INFO: Acknowledgment sent {"connection_id":56563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:11:19] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:19] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:19] local.INFO: Packet analysis {"connection_id":56563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:19] local.INFO: Extracted packet for processing {"connection_id":56563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650104,"longitude_deg":75.6556672,"latitude_deg":11.9650104,"altitude":79,"angle":190,"satellites":41,"speed":1,"hex_longitude":"2d182380","hex_latitude":"0721b738","is_valid_coordinates":true} 
[2026-04-28 16:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007437312001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616409324617728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777372823000,"timestamp_ms":1777372823000,"timestamp_seconds":1777372823,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3acfdd8"} 
[2026-04-28 16:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:11: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-04-28 16:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 16:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007437312001,"66":13287,"105":206,"83":41984,"24":1,"16":115616409324617728,"45":1739585755446497280},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007437312001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:11:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616409324617728,"km_value":115616409324617.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-04-28 16:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007437312001,"power":13287,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-04-28 16:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":56563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:11:19] local.INFO: GPS data processed {"connection_id":56563,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:11:19] local.INFO: Acknowledgment sent {"connection_id":56563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:11:32] local.INFO: TCP Data received {"connection_id":56562,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:32] local.INFO: Processing buffer {"connection_id":56562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:11:32] local.INFO: Packet analysis {"connection_id":56562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:11:32] local.INFO: Extracted packet for processing {"connection_id":56562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:11: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-04-28 16:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:11:32] 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-04-28 16:11: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-04-28 16:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:11:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":56562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:11:32] local.INFO: GPS data processed {"connection_id":56562,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:11:32] local.INFO: Acknowledgment sent {"connection_id":56562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:11:50] local.INFO: TCP Data received {"connection_id":56563,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:50] local.INFO: Processing buffer {"connection_id":56563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3acfdd8012d1823800721b738004f00be29..."} 
[2026-04-28 16:11:50] local.INFO: Packet analysis {"connection_id":56563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:50] local.INFO: Extracted packet for processing {"connection_id":56563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ac"} 
[2026-04-28 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650104,"longitude_deg":75.6556672,"latitude_deg":11.9650104,"altitude":79,"angle":190,"satellites":41,"speed":1,"hex_longitude":"2d182380","hex_latitude":"0721b738","is_valid_coordinates":true} 
[2026-04-28 16:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007442688001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616409324617728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213925376,"note":"Value kept but may cause issues"} 
[2026-04-28 16:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777372823000,"timestamp_ms":1777372823000,"timestamp_seconds":1777372823,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3acfdd8"} 
[2026-04-28 16:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-04-28 16:11:50] 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-04-28 16:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007442688001,"66":13287,"105":206,"83":41984,"24":1,"16":115616409324617728,"45":1739374649213925376},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007442688001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:11:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616409324617728,"km_value":115616409324617.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213925376,"description":"Unknown IO ID 45"} 
[2026-04-28 16:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007442688001,"power":13287,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739374649213925376}} 
[2026-04-28 16:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":56563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:11:50] local.INFO: GPS data processed {"connection_id":56563,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:11:50] local.INFO: Acknowledgment sent {"connection_id":56563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:11:53] local.INFO: TCP Data received {"connection_id":57465,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:53] local.INFO: Processing buffer {"connection_id":57465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:53] local.INFO: IMEI packet received {"connection_id":57465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":57465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:11:59] local.INFO: TCP Data received {"connection_id":57465,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:59] local.INFO: Processing buffer {"connection_id":57465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:11:59] local.INFO: IMEI packet received {"connection_id":57465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":57465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:12:00] local.INFO: TCP Data received {"connection_id":57465,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:00] local.INFO: Processing buffer {"connection_id":57465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a95c28012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:00] local.INFO: Packet analysis {"connection_id":57465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:12:00] local.INFO: Extracted packet for processing {"connection_id":57465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007304704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372585000,"timestamp_ms":1777372585000,"timestamp_seconds":1777372585,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a95c28"} 
[2026-04-28 16:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007304704001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007304704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:12:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:12:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007304704001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":57465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:12:00] local.INFO: GPS data processed {"connection_id":57465,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:12:00] local.INFO: Acknowledgment sent {"connection_id":57465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:12:05] local.INFO: TCP Data received {"connection_id":57466,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:05] local.INFO: Processing buffer {"connection_id":57466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:05] local.INFO: IMEI packet received {"connection_id":57466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":57466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:12:09] local.INFO: TCP Data received {"connection_id":57466,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:09] local.INFO: Processing buffer {"connection_id":57466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:09] local.INFO: IMEI packet received {"connection_id":57466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":57466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:12:14] local.INFO: TCP Data received {"connection_id":57466,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:14] local.INFO: Processing buffer {"connection_id":57466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:12:14] local.INFO: IMEI packet received {"connection_id":57466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":57466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:12:15] local.INFO: TCP Data received {"connection_id":57466,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ad05a8012d1823800721b6f8004f00af28..."} 
[2026-04-28 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ad05a8012d1823800721b6f8004f00af28..."} 
[2026-04-28 16:12:15] local.INFO: Processing buffer {"connection_id":57466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ad05a8012d1823800721b6f8004f00af28..."} 
[2026-04-28 16:12:15] local.INFO: Packet analysis {"connection_id":57466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:15] local.INFO: Extracted packet for processing {"connection_id":57466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650040,"longitude_deg":75.6556672,"latitude_deg":11.965004,"altitude":79,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-04-28 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007442688001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616409324617728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213925376,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777372825000,"timestamp_ms":1777372825000,"timestamp_seconds":1777372825,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ad05a8"} 
[2026-04-28 16:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-04-28 16:12:15] 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-04-28 16:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007442688001,"66":13722,"105":206,"83":41984,"24":0,"16":115616409324617728,"45":1739374649213925376},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007442688001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:12:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616409324617728,"km_value":115616409324617.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213925376,"description":"Unknown IO ID 45"} 
[2026-04-28 16:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007442688001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213925376}} 
[2026-04-28 16:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":57466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:12:15] local.INFO: GPS data processed {"connection_id":57466,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:12:15] local.INFO: Acknowledgment sent {"connection_id":57466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:12:31] local.INFO: TCP Data received {"connection_id":57465,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:31] local.INFO: Processing buffer {"connection_id":57465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:12:31] local.INFO: Packet analysis {"connection_id":57465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:31] local.INFO: Extracted packet for processing {"connection_id":57465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:12:31] 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-04-28 16:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:12:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:12:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":57465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:12:31] local.INFO: GPS data processed {"connection_id":57465,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:12:31] local.INFO: Acknowledgment sent {"connection_id":57465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:12:46] local.INFO: TCP Data received {"connection_id":57466,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ad57b0012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ad57b0012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:12:46] local.INFO: Processing buffer {"connection_id":57466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ad57b0012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:12:46] local.INFO: Packet analysis {"connection_id":57466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:46] local.INFO: Extracted packet for processing {"connection_id":57466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007443200001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213908992,"note":"Value kept but may cause issues"} 
[2026-04-28 16:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372846000,"timestamp_ms":1777372846000,"timestamp_seconds":1777372846,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ad57b0"} 
[2026-04-28 16:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:12: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-04-28 16:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 16:12:46] 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-04-28 16:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007443200001,"66":12776,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213908992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007443200001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:12:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213908992,"description":"Unknown IO ID 45"} 
[2026-04-28 16:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007443200001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213908992}} 
[2026-04-28 16:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":57466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:12:46] local.INFO: GPS data processed {"connection_id":57466,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:12:46] local.INFO: Acknowledgment sent {"connection_id":57466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:12:53] local.INFO: TCP Data received {"connection_id":56564,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:53] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:53] local.INFO: IMEI packet received {"connection_id":56564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":56564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:12:59] local.INFO: TCP Data received {"connection_id":56564,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:59] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:12:59] local.INFO: IMEI packet received {"connection_id":56564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":56564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:13:00] local.INFO: TCP Data received {"connection_id":56564,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:00] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:00] local.INFO: Packet analysis {"connection_id":56564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:00] local.INFO: Extracted packet for processing {"connection_id":56564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:13:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":56564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:13:00] local.INFO: GPS data processed {"connection_id":56564,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:13:00] local.INFO: Acknowledgment sent {"connection_id":56564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:13:04] local.INFO: TCP Data received {"connection_id":57467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:04] local.INFO: Processing buffer {"connection_id":57467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:04] local.INFO: IMEI packet received {"connection_id":57467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":57467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:13:09] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:13:09] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:09] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:13:14] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:14] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:13:14] local.INFO: IMEI packet received {"connection_id":56565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":56565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:13:14] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ada9b8012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ada9b8012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:13:14] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ada9b8012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:13:14] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:14] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007448576001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372867000,"timestamp_ms":1777372867000,"timestamp_seconds":1777372867,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ada9b8"} 
[2026-04-28 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:13: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-04-28 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 16:13:14] 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-04-28 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007448576001,"66":12722,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007448576001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007448576001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:13:15] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:13:15] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:13:32] local.INFO: TCP Data received {"connection_id":56564,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:32] local.INFO: Processing buffer {"connection_id":56564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:13:32] local.INFO: Packet analysis {"connection_id":56564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:32] local.INFO: Extracted packet for processing {"connection_id":56564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:13: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-04-28 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:13:32] 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-04-28 16:13: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-04-28 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:13:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":56564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:13:32] local.INFO: GPS data processed {"connection_id":56564,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:13:32] local.INFO: Acknowledgment sent {"connection_id":56564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:13:34] local.INFO: TCP Data received {"connection_id":56566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:34] local.INFO: Processing buffer {"connection_id":56566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:13:34] local.INFO: IMEI packet received {"connection_id":56566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":56566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:13:46] local.INFO: TCP Data received {"connection_id":56565,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adfbc0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adfbc0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:13:46] local.INFO: Processing buffer {"connection_id":56565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adfbc0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:13:46] local.INFO: Packet analysis {"connection_id":56565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:46] local.INFO: Extracted packet for processing {"connection_id":56565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007453952001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372888000,"timestamp_ms":1777372888000,"timestamp_seconds":1777372888,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adfbc0"} 
[2026-04-28 16:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:13: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-04-28 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:13:46] 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-04-28 16:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007453952001,"66":12722,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007453952001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:13:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007453952001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":56565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:13:46] local.INFO: GPS data processed {"connection_id":56565,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:13:46] local.INFO: Acknowledgment sent {"connection_id":56565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:13:53] local.INFO: TCP Data received {"connection_id":57468,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:53] local.INFO: Processing buffer {"connection_id":57468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:53] local.INFO: IMEI packet received {"connection_id":57468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":57468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:13:59] local.INFO: TCP Data received {"connection_id":57468,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:59] local.INFO: Processing buffer {"connection_id":57468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:13:59] local.INFO: IMEI packet received {"connection_id":57468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":57468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:14:00] local.INFO: TCP Data received {"connection_id":57468,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:00] local.INFO: Processing buffer {"connection_id":57468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:00] local.INFO: Packet analysis {"connection_id":57468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:14:00] local.INFO: Extracted packet for processing {"connection_id":57468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:14:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:14:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":57468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:14:00] local.INFO: GPS data processed {"connection_id":57468,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:14:00] local.INFO: Acknowledgment sent {"connection_id":57468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:14:09] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:09] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:09] local.INFO: IMEI packet received {"connection_id":56750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:14:12] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:12] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:12] local.INFO: IMEI packet received {"connection_id":56750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":56750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:14:13] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:13] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:14:13] local.INFO: IMEI packet received {"connection_id":56750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":56750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:14:14] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ae4dc8012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ae4dc8012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:14:14] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ae4dc8012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:14:14] local.INFO: Packet analysis {"connection_id":56750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:14] local.INFO: Extracted packet for processing {"connection_id":56750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007459328001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372909000,"timestamp_ms":1777372909000,"timestamp_seconds":1777372909,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ae4dc8"} 
[2026-04-28 16:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:14:14] 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-04-28 16: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-04-28 16:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007459328001,"66":12743,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007459328001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:14:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007459328001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":56750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:14:14] local.INFO: GPS data processed {"connection_id":56750,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:14:14] local.INFO: Acknowledgment sent {"connection_id":56750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:14:19] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ae9fd0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ae9fd0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:19] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ae9fd0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:19] local.INFO: Packet analysis {"connection_id":56750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:19] local.INFO: Extracted packet for processing {"connection_id":56750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007464704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777372930000,"timestamp_ms":1777372930000,"timestamp_seconds":1777372930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ae9fd0"} 
[2026-04-28 16:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:14: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-04-28 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 16:14:19] 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-04-28 16: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-04-28 16:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007464704001,"66":12722,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007464704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:14:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007464704001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":56750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:14:19] local.INFO: GPS data processed {"connection_id":56750,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:14:19] local.INFO: Acknowledgment sent {"connection_id":56750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:14:31] local.INFO: TCP Data received {"connection_id":57468,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:31] local.INFO: Processing buffer {"connection_id":57468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:14:31] local.INFO: Packet analysis {"connection_id":57468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:14:31] local.INFO: Extracted packet for processing {"connection_id":57468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:14:31] 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-04-28 16: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-04-28 16:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:14:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:14:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":57468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:14:31] local.INFO: GPS data processed {"connection_id":57468,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:14:31] local.INFO: Acknowledgment sent {"connection_id":57468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:14:50] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3aef1d8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3aef1d8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:50] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3aef1d8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:14:50] local.INFO: Packet analysis {"connection_id":56750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:50] local.INFO: Extracted packet for processing {"connection_id":56750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ae"} 
[2026-04-28 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007470080001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777372951000,"timestamp_ms":1777372951000,"timestamp_seconds":1777372951,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3aef1d8"} 
[2026-04-28 16:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007470080001,"66":12678,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007470080001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:14:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007470080001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":56750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:14:50] local.INFO: GPS data processed {"connection_id":56750,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:14:50] local.INFO: Acknowledgment sent {"connection_id":56750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:14:59] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:14:59] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:14:59] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:15:04] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:04] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:04] local.INFO: IMEI packet received {"connection_id":56568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":56568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:15:05] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:05] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:05] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:15:05] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:15:05] 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-04-28 16:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:15:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:15:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:15:05] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:15:05] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:15:08] local.INFO: TCP Data received {"connection_id":57469,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:08] local.INFO: Processing buffer {"connection_id":57469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:08] local.INFO: IMEI packet received {"connection_id":57469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":57469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:15:09] local.INFO: TCP Data received {"connection_id":56568,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:09] local.INFO: Processing buffer {"connection_id":56568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:15:09] local.INFO: Packet analysis {"connection_id":56568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:15:09] local.INFO: Extracted packet for processing {"connection_id":56568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:15:09] 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-04-28 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:15:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:15:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":56568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:15:09] local.INFO: GPS data processed {"connection_id":56568,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:15:09] local.INFO: Acknowledgment sent {"connection_id":56568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:15:14] local.INFO: TCP Data received {"connection_id":57469,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:14] local.INFO: Processing buffer {"connection_id":57469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:15:14] local.INFO: IMEI packet received {"connection_id":57469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":57469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:15:14] local.INFO: TCP Data received {"connection_id":57469,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3af43e0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3af43e0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:14] local.INFO: Processing buffer {"connection_id":57469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3af43e0012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:14] local.INFO: Packet analysis {"connection_id":57469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:15:14] local.INFO: Extracted packet for processing {"connection_id":57469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007475456001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777372972000,"timestamp_ms":1777372972000,"timestamp_seconds":1777372972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3af43e0"} 
[2026-04-28 16:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:15: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-04-28 16:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 16:15:14] 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-04-28 16:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007475456001,"66":12711,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007475456001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:15:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007475456001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":57469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:15:15] local.INFO: GPS data processed {"connection_id":57469,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:15:15] local.INFO: Acknowledgment sent {"connection_id":57469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:15:46] local.INFO: TCP Data received {"connection_id":57469,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3af95e8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3af95e8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:46] local.INFO: Processing buffer {"connection_id":57469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3af95e8012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:15:46] local.INFO: Packet analysis {"connection_id":57469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:15:46] local.INFO: Extracted packet for processing {"connection_id":57469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007480832001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777372993000,"timestamp_ms":1777372993000,"timestamp_seconds":1777372993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3af95e8"} 
[2026-04-28 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-04-28 16:15: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-04-28 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 16:15:46] 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-04-28 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-04-28 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-04-28 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007480832001,"66":12689,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007480832001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007480832001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":57469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:15:46] local.INFO: GPS data processed {"connection_id":57469,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:15:46] local.INFO: Acknowledgment sent {"connection_id":57469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:15:54] local.INFO: TCP Data received {"connection_id":56792,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:54] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:54] local.INFO: IMEI packet received {"connection_id":56792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":56792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:15:59] local.INFO: TCP Data received {"connection_id":56792,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:59] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:15:59] local.INFO: IMEI packet received {"connection_id":56792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":56792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:16:00] local.INFO: TCP Data received {"connection_id":56792,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:00] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:00] local.INFO: Packet analysis {"connection_id":56792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:16:00] local.INFO: Extracted packet for processing {"connection_id":56792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:16:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:16:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":56792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:16:00] local.INFO: GPS data processed {"connection_id":56792,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:16:00] local.INFO: Acknowledgment sent {"connection_id":56792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:16:08] local.INFO: TCP Data received {"connection_id":57470,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:08] local.INFO: Processing buffer {"connection_id":57470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:08] local.INFO: IMEI packet received {"connection_id":57470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":57470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:16:13] local.INFO: TCP Data received {"connection_id":57470,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:13] local.INFO: Processing buffer {"connection_id":57470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:16:13] local.INFO: IMEI packet received {"connection_id":57470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":57470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:16:14] local.INFO: TCP Data received {"connection_id":57470,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3afe7f0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3afe7f0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:14] local.INFO: Processing buffer {"connection_id":57470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3afe7f0012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:14] local.INFO: Packet analysis {"connection_id":57470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:16:14] local.INFO: Extracted packet for processing {"connection_id":57470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3af"} 
[2026-04-28 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007486208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373014000,"timestamp_ms":1777373014000,"timestamp_seconds":1777373014,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3afe7f0"} 
[2026-04-28 16:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:16: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-04-28 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 16:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007486208001,"66":12678,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007486208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007486208001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":57470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:16:14] local.INFO: GPS data processed {"connection_id":57470,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:16:14] local.INFO: Acknowledgment sent {"connection_id":57470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:16:31] local.INFO: TCP Data received {"connection_id":56792,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:31] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:16:31] local.INFO: Packet analysis {"connection_id":56792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:16:31] local.INFO: Extracted packet for processing {"connection_id":56792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:16:31] 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-04-28 16:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:16:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:16:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":56792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:16:31] local.INFO: GPS data processed {"connection_id":56792,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:16:31] local.INFO: Acknowledgment sent {"connection_id":56792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:16:45] local.INFO: TCP Data received {"connection_id":57470,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b039f8012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b039f8012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:45] local.INFO: Processing buffer {"connection_id":57470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b039f8012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:16:45] local.INFO: Packet analysis {"connection_id":57470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:16:45] local.INFO: Extracted packet for processing {"connection_id":57470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007491584001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777373035000,"timestamp_ms":1777373035000,"timestamp_seconds":1777373035,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b039f8"} 
[2026-04-28 16:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:16: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-04-28 16: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 16:16:45] 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-04-28 16: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-04-28 16:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007491584001,"66":12667,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007491584001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007491584001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":57470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:16:45] local.INFO: GPS data processed {"connection_id":57470,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:16:45] local.INFO: Acknowledgment sent {"connection_id":57470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:16:53] local.INFO: TCP Data received {"connection_id":56752,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:53] local.INFO: Processing buffer {"connection_id":56752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:53] local.INFO: IMEI packet received {"connection_id":56752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":56752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:16:59] local.INFO: TCP Data received {"connection_id":56752,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:59] local.INFO: Processing buffer {"connection_id":56752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:16:59] local.INFO: IMEI packet received {"connection_id":56752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":56752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:17:00] local.INFO: TCP Data received {"connection_id":56752,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:17:00] local.INFO: Processing buffer {"connection_id":56752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3adf3f0012d7fa44005afde680009011225..."} 
[2026-04-28 16:17:00] local.INFO: Packet analysis {"connection_id":56752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:17:00] local.INFO: Extracted packet for processing {"connection_id":56752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ad"} 
[2026-04-28 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007381760001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777372886000,"timestamp_ms":1777372886000,"timestamp_seconds":1777372886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3adf3f0"} 
[2026-04-28 16:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007381760001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007381760001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:17:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:17:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007381760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":56752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:17:00] local.INFO: GPS data processed {"connection_id":56752,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:17:00] local.INFO: Acknowledgment sent {"connection_id":56752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:17:11] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:11] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:11] local.INFO: IMEI packet received {"connection_id":56793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":56793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:17:14] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:14] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:14] local.INFO: IMEI packet received {"connection_id":56793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:17:19] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:19] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:17:19] local.INFO: IMEI packet received {"connection_id":56793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":56793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:17:19] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b08c00012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b08c00012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:17:19] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b08c00012d1823800721b6c8004f00af26..."} 
[2026-04-28 16:17:19] local.INFO: Packet analysis {"connection_id":56793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:17:19] local.INFO: Extracted packet for processing {"connection_id":56793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007496960001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777373056000,"timestamp_ms":1777373056000,"timestamp_seconds":1777373056,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b08c00"} 
[2026-04-28 16:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:17: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-04-28 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 16:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007496960001,"66":12645,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007496960001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007496960001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":56793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:17:20] local.INFO: GPS data processed {"connection_id":56793,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:17:20] local.INFO: Acknowledgment sent {"connection_id":56793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:17:24] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b0de08012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b0de08012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:17:24] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b0de08012d1823800721b6c8004f00af29..."} 
[2026-04-28 16:17:24] local.INFO: Packet analysis {"connection_id":56793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:17:24] local.INFO: Extracted packet for processing {"connection_id":56793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b0"} 
[2026-04-28 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007502336001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17: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-04-28 16:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777373077000,"timestamp_ms":1777373077000,"timestamp_seconds":1777373077,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b0de08"} 
[2026-04-28 16:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 16:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007502336001,"66":12645,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007502336001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:17:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007502336001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":56793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:17:24] local.INFO: GPS data processed {"connection_id":56793,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:17:24] local.INFO: Acknowledgment sent {"connection_id":56793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:17:31] local.INFO: TCP Data received {"connection_id":56752,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:17:31] local.INFO: Processing buffer {"connection_id":56752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:17:31] local.INFO: Packet analysis {"connection_id":56752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:17:31] local.INFO: Extracted packet for processing {"connection_id":56752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:17:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:17:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":56752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:17:31] local.INFO: GPS data processed {"connection_id":56752,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:17:31] local.INFO: Acknowledgment sent {"connection_id":56752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:17:59] local.INFO: TCP Data received {"connection_id":56570,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:17:59] local.INFO: Processing buffer {"connection_id":56570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:17:59] local.INFO: IMEI packet received {"connection_id":56570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":56570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:18:04] local.INFO: TCP Data received {"connection_id":56570,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:04] local.INFO: Processing buffer {"connection_id":56570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:04] local.INFO: IMEI packet received {"connection_id":56570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":56570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:18:05] local.INFO: TCP Data received {"connection_id":56570,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:05] local.INFO: Processing buffer {"connection_id":56570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:05] local.INFO: Packet analysis {"connection_id":56570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:18:05] local.INFO: Extracted packet for processing {"connection_id":56570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:18:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":56570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:18:05] local.INFO: GPS data processed {"connection_id":56570,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:18:05] local.INFO: Acknowledgment sent {"connection_id":56570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:18:09] local.INFO: TCP Data received {"connection_id":57471,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:09] local.INFO: Processing buffer {"connection_id":57471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:09] local.INFO: IMEI packet received {"connection_id":57471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":57471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:18:09] local.INFO: TCP Data received {"connection_id":56570,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:09] local.INFO: Processing buffer {"connection_id":56570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:18:09] local.INFO: Packet analysis {"connection_id":56570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:18:09] local.INFO: Extracted packet for processing {"connection_id":56570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":56570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:18:09] local.INFO: GPS data processed {"connection_id":56570,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:18:09] local.INFO: Acknowledgment sent {"connection_id":56570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:18:14] local.INFO: TCP Data received {"connection_id":57471,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:14] local.INFO: Processing buffer {"connection_id":57471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:18:14] local.INFO: IMEI packet received {"connection_id":57471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":57471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:18:15] local.INFO: TCP Data received {"connection_id":57471,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b13010012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b13010012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:18:15] local.INFO: Processing buffer {"connection_id":57471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b13010012d1823800721b6c8004f00af27..."} 
[2026-04-28 16:18:15] local.INFO: Packet analysis {"connection_id":57471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:18:15] local.INFO: Extracted packet for processing {"connection_id":57471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007507712001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777373098000,"timestamp_ms":1777373098000,"timestamp_seconds":1777373098,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b13010"} 
[2026-04-28 16:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 16:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007507712001,"66":12613,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007507712001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:18:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007507712001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":57471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:18:15] local.INFO: GPS data processed {"connection_id":57471,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:18:15] local.INFO: Acknowledgment sent {"connection_id":57471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:18:46] local.INFO: TCP Data received {"connection_id":57471,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b18218012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b18218012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:18:46] local.INFO: Processing buffer {"connection_id":57471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b18218012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:18:46] local.INFO: Packet analysis {"connection_id":57471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:18:46] local.INFO: Extracted packet for processing {"connection_id":57471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007513088001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373119000,"timestamp_ms":1777373119000,"timestamp_seconds":1777373119,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b18218"} 
[2026-04-28 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-04-28 16:18: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-04-28 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 16:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007513088001,"66":12298,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007513088001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:18:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007513088001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":57471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:18:46] local.INFO: GPS data processed {"connection_id":57471,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:18:46] local.INFO: Acknowledgment sent {"connection_id":57471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:18:54] local.INFO: TCP Data received {"connection_id":57473,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:54] local.INFO: Processing buffer {"connection_id":57473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:54] local.INFO: IMEI packet received {"connection_id":57473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":57473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:18:59] local.INFO: TCP Data received {"connection_id":57473,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:59] local.INFO: Processing buffer {"connection_id":57473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:18:59] local.INFO: IMEI packet received {"connection_id":57473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":57473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:19:00] local.INFO: TCP Data received {"connection_id":57473,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:00] local.INFO: Processing buffer {"connection_id":57473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:00] local.INFO: Packet analysis {"connection_id":57473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:19:00] local.INFO: Extracted packet for processing {"connection_id":57473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:19:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:19:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":57473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:19:00] local.INFO: GPS data processed {"connection_id":57473,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:19:00] local.INFO: Acknowledgment sent {"connection_id":57473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:19:04] local.INFO: TCP Data received {"connection_id":57472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:04] local.INFO: Processing buffer {"connection_id":57472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:04] local.INFO: IMEI packet received {"connection_id":57472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":57472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:19:09] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:09] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:09] local.INFO: IMEI packet received {"connection_id":56753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":56753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:19:14] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:14] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:19:14] local.INFO: IMEI packet received {"connection_id":56753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":56753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:19:14] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b1d420012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b1d420012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:19:14] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b1d420012d1823800721b6c8004f00af28..."} 
[2026-04-28 16:19:14] local.INFO: Packet analysis {"connection_id":56753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:19:14] local.INFO: Extracted packet for processing {"connection_id":56753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649992,"longitude_deg":75.6556672,"latitude_deg":11.9649992,"altitude":79,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-04-28 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007518464001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616413619585024,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373140000,"timestamp_ms":1777373140000,"timestamp_seconds":1777373140,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b1d420"} 
[2026-04-28 16:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:19: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-04-28 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186010,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3193258981410924509,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":-8935141660703064063,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513892802611839151,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":79,"raw_value":49301001877848064,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3571636861735076046,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2956589057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3066560591,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":231,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5177519,"corrected_to":0} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3229876224,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,192,48,45,128,182,79,39,10,66,222,41,140,1,240,101,227,211,33,4,113,205,231,35,200,38,239,49,2,154,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":5177519,"validated":0}]} 
[2026-04-28 16:19:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692742515329859584,"timestamp_seconds":5692742515329860.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007518464001,"66":12526,"105":206,"83":41984,"24":0,"16":115616413619585024,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007518464001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:19:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616413619585024,"km_value":115616413619585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007518464001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":56753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:19:15] local.INFO: GPS data processed {"connection_id":56753,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:19:15] local.INFO: Acknowledgment sent {"connection_id":56753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:19:31] local.INFO: TCP Data received {"connection_id":57473,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:31] local.INFO: Processing buffer {"connection_id":57473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:19:31] local.INFO: Packet analysis {"connection_id":57473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:19:31] local.INFO: Extracted packet for processing {"connection_id":57473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:19:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:19:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":57473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:19:31] local.INFO: GPS data processed {"connection_id":57473,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:19:31] local.INFO: Acknowledgment sent {"connection_id":57473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:19:34] local.INFO: TCP Data received {"connection_id":56571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:34] local.INFO: Processing buffer {"connection_id":56571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:19:34] local.INFO: IMEI packet received {"connection_id":56571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":56571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:19:45] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b1ff18012d1823000721b488004c00c828..."} 
[2026-04-28 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b1ff18012d1823000721b488004c00c828..."} 
[2026-04-28 16:19:45] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b1ff18012d1823000721b488004c00c828..."} 
[2026-04-28 16:19:45] local.INFO: Packet analysis {"connection_id":56753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:19:45] local.INFO: Extracted packet for processing {"connection_id":56753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b1"} 
[2026-04-28 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649416,"longitude_deg":75.6556544,"latitude_deg":11.9649416,"altitude":76,"angle":200,"satellites":40,"speed":3,"hex_longitude":"2d182300","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007523840001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616443684356096,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213896704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777373151000,"timestamp_ms":1777373151000,"timestamp_seconds":1777373151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b1ff18"} 
[2026-04-28 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-04-28 16:19: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-04-28 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 16:19:45] 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-04-28 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-04-28 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-04-28 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007523840001,"66":12548,"105":206,"83":41984,"24":3,"16":115616443684356096,"45":1739374649213896704},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007523840001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616443684356096,"km_value":115616443684356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213896704,"description":"Unknown IO ID 45"} 
[2026-04-28 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007523840001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739374649213896704}} 
[2026-04-28 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":56753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:19:46] local.INFO: GPS data processed {"connection_id":56753,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:19:46] local.INFO: Acknowledgment sent {"connection_id":56753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:19:53] local.INFO: TCP Data received {"connection_id":56794,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:53] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:53] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:19:59] local.INFO: TCP Data received {"connection_id":56794,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:59] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:19:59] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:20:00] local.INFO: TCP Data received {"connection_id":56794,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:00] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:00] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:00] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:20:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:20:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:20:00] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:20:00] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:20:09] local.INFO: TCP Data received {"connection_id":57474,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:09] local.INFO: Processing buffer {"connection_id":57474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:09] local.INFO: IMEI packet received {"connection_id":57474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":57474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:20:14] local.INFO: TCP Data received {"connection_id":57474,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:14] local.INFO: Processing buffer {"connection_id":57474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:20:14] local.INFO: IMEI packet received {"connection_id":57474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":57474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:20:14] local.INFO: TCP Data received {"connection_id":57474,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b25120012d1822c00721b448004c00c921..."} 
[2026-04-28 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b25120012d1822c00721b448004c00c921..."} 
[2026-04-28 16:20:14] local.INFO: Processing buffer {"connection_id":57474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b25120012d1822c00721b448004c00c921..."} 
[2026-04-28 16:20:14] local.INFO: Packet analysis {"connection_id":57474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:14] local.INFO: Extracted packet for processing {"connection_id":57474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649352,"longitude_deg":75.655648,"latitude_deg":11.9649352,"altitude":76,"angle":201,"satellites":33,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-04-28 16:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007526656001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616447979323392,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725393920,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373172000,"timestamp_ms":1777373172000,"timestamp_seconds":1777373172,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b25120"} 
[2026-04-28 16:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:20: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-04-28 16:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3551541752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2967341057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3066560591,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5177519,"corrected_to":0} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3229876224,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,192,212,45,128,182,79,40,10,66,130,48,1,240,69,227,211,33,4,113,205,140,35,200,38,239,49,2,154,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":5177519,"validated":0}]} 
[2026-04-28 16:20:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476597221006966784,"timestamp_seconds":5476597221006967.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007526656001,"66":12461,"105":206,"83":41984,"24":0,"16":115616447979323392,"45":1739233911725393920},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007526656001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:20:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616447979323392,"km_value":115616447979323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725393920,"description":"Unknown IO ID 45"} 
[2026-04-28 16:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007526656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725393920}} 
[2026-04-28 16:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":57474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:20:15] local.INFO: GPS data processed {"connection_id":57474,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:20:15] local.INFO: Acknowledgment sent {"connection_id":57474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:20:32] local.INFO: TCP Data received {"connection_id":56794,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:32] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:20:32] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:32] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:20:32] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:20:32] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:20:48] local.INFO: TCP Data received {"connection_id":57474,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b2a328012d1822c00721b448004c00c923..."} 
[2026-04-28 16:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b2a328012d1822c00721b448004c00c923..."} 
[2026-04-28 16:20:48] local.INFO: Processing buffer {"connection_id":57474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b2a328012d1822c00721b448004c00c923..."} 
[2026-04-28 16:20:48] local.INFO: Packet analysis {"connection_id":57474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:48] local.INFO: Extracted packet for processing {"connection_id":57474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649352,"longitude_deg":75.655648,"latitude_deg":11.9649352,"altitude":76,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007532032001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616447979323392,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981199872,"note":"Value kept but may cause issues"} 
[2026-04-28 16:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777373193000,"timestamp_ms":1777373193000,"timestamp_seconds":1777373193,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b2a328"} 
[2026-04-28 16:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:20:48] 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-04-28 16: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-04-28 16:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007532032001,"66":12461,"105":206,"83":41984,"24":0,"16":115616447979323392,"45":1739163542981199872},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007532032001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616447979323392,"km_value":115616447979323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981199872,"description":"Unknown IO ID 45"} 
[2026-04-28 16:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007532032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981199872}} 
[2026-04-28 16:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":57474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:20:49] local.INFO: GPS data processed {"connection_id":57474,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:20:49] local.INFO: Acknowledgment sent {"connection_id":57474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:20:53] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:53] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:53] local.INFO: IMEI packet received {"connection_id":56755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":56755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:20:59] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:59] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:20:59] local.INFO: IMEI packet received {"connection_id":56755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:21:00] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:00] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:00] local.INFO: Packet analysis {"connection_id":56755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:00] local.INFO: Extracted packet for processing {"connection_id":56755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:21:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:21:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":56755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:21:00] local.INFO: GPS data processed {"connection_id":56755,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:21:00] local.INFO: Acknowledgment sent {"connection_id":56755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:21:08] local.INFO: TCP Data received {"connection_id":57475,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:08] local.INFO: Processing buffer {"connection_id":57475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:08] local.INFO: IMEI packet received {"connection_id":57475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":57475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:21:14] local.INFO: TCP Data received {"connection_id":57475,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:14] local.INFO: Processing buffer {"connection_id":57475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:21:14] local.INFO: IMEI packet received {"connection_id":57475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":57475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:21:15] local.INFO: TCP Data received {"connection_id":57475,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b2f530012d1822c00721b448004c00c925..."} 
[2026-04-28 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b2f530012d1822c00721b448004c00c925..."} 
[2026-04-28 16:21:15] local.INFO: Processing buffer {"connection_id":57475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b2f530012d1822c00721b448004c00c925..."} 
[2026-04-28 16:21:15] local.INFO: Packet analysis {"connection_id":57475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:15] local.INFO: Extracted packet for processing {"connection_id":57475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649352,"longitude_deg":75.655648,"latitude_deg":11.9649352,"altitude":76,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-04-28 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007537408001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616447979323392,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981199872,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777373214000,"timestamp_ms":1777373214000,"timestamp_seconds":1777373214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b2f530"} 
[2026-04-28 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007537408001,"66":12504,"105":206,"83":41984,"24":0,"16":115616447979323392,"45":1739163542981199872},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007537408001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:21:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616447979323392,"km_value":115616447979323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981199872,"description":"Unknown IO ID 45"} 
[2026-04-28 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007537408001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981199872}} 
[2026-04-28 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":57475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:21:15] local.INFO: GPS data processed {"connection_id":57475,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:21:15] local.INFO: Acknowledgment sent {"connection_id":57475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:21:31] local.INFO: TCP Data received {"connection_id":56755,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:31] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:21:31] local.INFO: Packet analysis {"connection_id":56755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:31] local.INFO: Extracted packet for processing {"connection_id":56755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:21:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:21:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":56755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:21:31] local.INFO: GPS data processed {"connection_id":56755,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:21:31] local.INFO: Acknowledgment sent {"connection_id":56755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:21:46] local.INFO: TCP Data received {"connection_id":57475,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b34738012d1822c00721b448004c00c928..."} 
[2026-04-28 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b34738012d1822c00721b448004c00c928..."} 
[2026-04-28 16:21:46] local.INFO: Processing buffer {"connection_id":57475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b34738012d1822c00721b448004c00c928..."} 
[2026-04-28 16:21:46] local.INFO: Packet analysis {"connection_id":57475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b3"} 
[2026-04-28 16:21:46] local.INFO: Extracted packet for processing {"connection_id":57475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b3"} 
[2026-04-28 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649352,"longitude_deg":75.655648,"latitude_deg":11.9649352,"altitude":76,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-04-28 16:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007542784001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616447979323392,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981199872,"note":"Value kept but may cause issues"} 
[2026-04-28 16:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373235000,"timestamp_ms":1777373235000,"timestamp_seconds":1777373235,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b34738"} 
[2026-04-28 16:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007542784001,"66":12526,"105":206,"83":41984,"24":0,"16":115616447979323392,"45":1739163542981199872},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007542784001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:21:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616447979323392,"km_value":115616447979323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981199872,"description":"Unknown IO ID 45"} 
[2026-04-28 16:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007542784001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981199872}} 
[2026-04-28 16:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":57475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:21:46] local.INFO: GPS data processed {"connection_id":57475,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:21:46] local.INFO: Acknowledgment sent {"connection_id":57475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:21:59] local.INFO: TCP Data received {"connection_id":56795,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:21:59] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:21:59] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:22:04] local.INFO: TCP Data received {"connection_id":56795,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:04] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:04] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:22:05] local.INFO: TCP Data received {"connection_id":56795,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:22:05] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b28bb8012d7fa44005afde680009011224..."} 
[2026-04-28 16:22:05] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:22:05] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b2"} 
[2026-04-28 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":36,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007458816001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777373187000,"timestamp_ms":1777373187000,"timestamp_seconds":1777373187,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b28bb8"} 
[2026-04-28 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007458816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007458816001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007458816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:22:05] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:22:05] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:22:06] local.INFO: TCP Data received {"connection_id":56795,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:06] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:06] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:22:06] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:22:06] 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-04-28 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:22:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:22:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:22:06] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:22:06] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:22:08] local.INFO: TCP Data received {"connection_id":56756,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:08] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:08] local.INFO: IMEI packet received {"connection_id":56756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":56756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:22:09] local.INFO: TCP Data received {"connection_id":56756,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:09] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:09] local.INFO: IMEI packet received {"connection_id":56756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:22:14] local.INFO: TCP Data received {"connection_id":56756,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:14] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:22:14] local.INFO: IMEI packet received {"connection_id":56756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":56756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:22:14] local.INFO: TCP Data received {"connection_id":56756,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b68b28012d1821800721b3d0004c00d628..."} 
[2026-04-28 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b68b28012d1821800721b3d0004c00d628..."} 
[2026-04-28 16:22:14] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b68b28012d1821800721b3d0004c00d628..."} 
[2026-04-28 16:22:14] local.INFO: Packet analysis {"connection_id":56756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b6"} 
[2026-04-28 16:22:14] local.INFO: Extracted packet for processing {"connection_id":56756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b6"} 
[2026-04-28 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649232,"longitude_deg":75.655616,"latitude_deg":11.9649232,"altitude":76,"angle":214,"satellites":40,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007601920001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616460864225280,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981199872,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373449000,"timestamp_ms":1777373449000,"timestamp_seconds":1777373449,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b68b28"} 
[2026-04-28 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:22: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-04-28 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 16:22:14] 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-04-28 16: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-04-28 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007601920001,"66":12515,"105":206,"83":41984,"24":1,"16":115616460864225280,"45":1739163542981199872},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007601920001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:22:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616460864225280,"km_value":115616460864225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981199872,"description":"Unknown IO ID 45"} 
[2026-04-28 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007601920001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981199872}} 
[2026-04-28 16:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":56756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:22:15] local.INFO: GPS data processed {"connection_id":56756,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:22:15] local.INFO: Acknowledgment sent {"connection_id":56756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:22:38] local.INFO: TCP Data received {"connection_id":56795,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:38] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:22:38] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:22:38] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:22:38] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:22:38] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:22:46] local.INFO: TCP Data received {"connection_id":56756,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b6dd30012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b6dd30012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:22:46] local.INFO: Processing buffer {"connection_id":56756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b6dd30012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:22:46] local.INFO: Packet analysis {"connection_id":56756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b6"} 
[2026-04-28 16:22:46] local.INFO: Extracted packet for processing {"connection_id":56756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b6"} 
[2026-04-28 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007602944001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260280832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373470000,"timestamp_ms":1777373470000,"timestamp_seconds":1777373470,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b6dd30"} 
[2026-04-28 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:22: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-04-28 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 16:22:46] 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-04-28 16:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007602944001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260280832},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007602944001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:22:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260280832,"description":"Unknown IO ID 45"} 
[2026-04-28 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007602944001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260280832}} 
[2026-04-28 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":56756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:22:46] local.INFO: GPS data processed {"connection_id":56756,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:22:46] local.INFO: Acknowledgment sent {"connection_id":56756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:22:53] local.INFO: TCP Data received {"connection_id":56797,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:53] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:53] local.INFO: IMEI packet received {"connection_id":56797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":56797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:22:59] local.INFO: TCP Data received {"connection_id":56797,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:59] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:22:59] local.INFO: IMEI packet received {"connection_id":56797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":56797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:23:00] local.INFO: TCP Data received {"connection_id":56797,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:00] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:00] local.INFO: Packet analysis {"connection_id":56797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:00] local.INFO: Extracted packet for processing {"connection_id":56797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:23:00] 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-04-28 16:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:23:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:23:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":56797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:23:00] local.INFO: GPS data processed {"connection_id":56797,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:23:00] local.INFO: Acknowledgment sent {"connection_id":56797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:23:12] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:12] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:12] local.INFO: IMEI packet received {"connection_id":56573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":56573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:23:13] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:13] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:13] local.INFO: IMEI packet received {"connection_id":56573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":56573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:23:19] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:19] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:23:19] local.INFO: IMEI packet received {"connection_id":56573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":56573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:23:19] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72f38012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72f38012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:23:19] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72f38012d1821800721b3a8004c00d327..."} 
[2026-04-28 16:23:19] local.INFO: Packet analysis {"connection_id":56573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:19] local.INFO: Extracted packet for processing {"connection_id":56573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007608320001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777373491000,"timestamp_ms":1777373491000,"timestamp_seconds":1777373491,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72f38"} 
[2026-04-28 16:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:23: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-04-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007608320001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007608320001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:23:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007608320001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":56573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:23:19] local.INFO: GPS data processed {"connection_id":56573,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:23:19] local.INFO: Acknowledgment sent {"connection_id":56573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:23:24] local.INFO: TCP Data received {"connection_id":56573,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b78140012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b78140012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:23:24] local.INFO: Processing buffer {"connection_id":56573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b78140012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:23:24] local.INFO: Packet analysis {"connection_id":56573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:24] local.INFO: Extracted packet for processing {"connection_id":56573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007613696001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23: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-04-28 16:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777373512000,"timestamp_ms":1777373512000,"timestamp_seconds":1777373512,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b78140"} 
[2026-04-28 16:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007613696001,"66":12461,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007613696001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:23:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007613696001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":56573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:23:24] local.INFO: GPS data processed {"connection_id":56573,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:23:24] local.INFO: Acknowledgment sent {"connection_id":56573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:23:31] local.INFO: TCP Data received {"connection_id":56797,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:31] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:23:31] local.INFO: Packet analysis {"connection_id":56797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:31] local.INFO: Extracted packet for processing {"connection_id":56797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:23:31] 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-04-28 16: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-04-28 16:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:23:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:23:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":56797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:23:31] local.INFO: GPS data processed {"connection_id":56797,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:23:31] local.INFO: Acknowledgment sent {"connection_id":56797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:23:53] local.INFO: TCP Data received {"connection_id":56798,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:53] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:53] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:23:59] local.INFO: TCP Data received {"connection_id":56798,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:59] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:23:59] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:24:00] local.INFO: TCP Data received {"connection_id":56798,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:00] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:00] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:00] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:24:00] 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-04-28 16:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:24:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:24:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:24:00] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:24:00] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:24:09] local.INFO: TCP Data received {"connection_id":56574,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:09] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:09] local.INFO: IMEI packet received {"connection_id":56574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":56574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:24:14] local.INFO: TCP Data received {"connection_id":56574,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:14] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:24:14] local.INFO: IMEI packet received {"connection_id":56574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":56574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:24:15] local.INFO: TCP Data received {"connection_id":56574,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b7d348012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b7d348012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:15] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b7d348012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:15] local.INFO: Packet analysis {"connection_id":56574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:15] local.INFO: Extracted packet for processing {"connection_id":56574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007619072001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777373533000,"timestamp_ms":1777373533000,"timestamp_seconds":1777373533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b7d348"} 
[2026-04-28 16:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007619072001,"66":12461,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007619072001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:24:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007619072001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":56574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:24:15] local.INFO: GPS data processed {"connection_id":56574,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:24:15] local.INFO: Acknowledgment sent {"connection_id":56574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:24:31] local.INFO: TCP Data received {"connection_id":56798,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:31] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:24:31] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:31] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:24:31] 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-04-28 16: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-04-28 16:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:24:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:24:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:24:31] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:24:31] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:24:46] local.INFO: TCP Data received {"connection_id":56574,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b82550012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b82550012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:46] local.INFO: Processing buffer {"connection_id":56574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b82550012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:24:46] local.INFO: Packet analysis {"connection_id":56574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:24:46] local.INFO: Extracted packet for processing {"connection_id":56574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007624448001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373554000,"timestamp_ms":1777373554000,"timestamp_seconds":1777373554,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b82550"} 
[2026-04-28 16:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007624448001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007624448001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:24:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007624448001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":56574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:24:46] local.INFO: GPS data processed {"connection_id":56574,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:24:46] local.INFO: Acknowledgment sent {"connection_id":56574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:24:59] local.INFO: TCP Data received {"connection_id":56799,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:24:59] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:24:59] local.INFO: IMEI packet received {"connection_id":56799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:24:59] local.INFO: TCP Data received {"connection_id":56575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:24:59] local.INFO: Processing buffer {"connection_id":56575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:24:59] local.INFO: IMEI packet received {"connection_id":56575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":56575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:25:04] local.INFO: TCP Data received {"connection_id":56799,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:04] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:04] local.INFO: IMEI packet received {"connection_id":56799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":56799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:25:05] local.INFO: TCP Data received {"connection_id":56799,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:05] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:05] local.INFO: Packet analysis {"connection_id":56799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:25:05] local.INFO: Extracted packet for processing {"connection_id":56799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:25:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":56799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:25:05] local.INFO: GPS data processed {"connection_id":56799,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:25:05] local.INFO: Acknowledgment sent {"connection_id":56799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:25:08] local.INFO: TCP Data received {"connection_id":56799,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:08] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:25:08] local.INFO: Packet analysis {"connection_id":56799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:25:08] local.INFO: Extracted packet for processing {"connection_id":56799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:25:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:25:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":56799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:25:08] local.INFO: GPS data processed {"connection_id":56799,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:25:08] local.INFO: Acknowledgment sent {"connection_id":56799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:25:09] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:09] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:09] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:25:09] local.INFO: TCP Data received {"connection_id":56758,"ip":"185.242.226.71","data_length":208,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":208,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 16:25:09] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":208,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-04-28 16:25:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":56758,"buffer_length":208,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-04-28 16:25:14] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:14] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:25:14] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:25:15] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b87758012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b87758012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:15] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b87758012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:15] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:25:15] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007629824001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777373575000,"timestamp_ms":1777373575000,"timestamp_seconds":1777373575,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b87758"} 
[2026-04-28 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007629824001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007629824001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007629824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:25:15] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:25:15] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:25:36] local.INFO: TCP Data received {"connection_id":56576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:25:36] local.INFO: Processing buffer {"connection_id":56576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:25:36] local.INFO: IMEI packet received {"connection_id":56576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":56576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:25:46] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b8c960012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b8c960012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:46] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b8c960012d1821800721b3a8004c00d328..."} 
[2026-04-28 16:25:46] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:25:46] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b8"} 
[2026-04-28 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007635200001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373596000,"timestamp_ms":1777373596000,"timestamp_seconds":1777373596,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b8c960"} 
[2026-04-28 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-04-28 16:25: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007635200001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007635200001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007635200001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:25:46] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:25:46] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:25:53] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:53] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:53] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:25:59] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:59] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:25:59] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:26:00] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:00] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:00] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:26:00] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:26:00] 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-04-28 16:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:26:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:26:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:26:00] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:26:00] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:26:09] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:09] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:09] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:26:14] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:14] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:26:14] local.INFO: IMEI packet received {"connection_id":56577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":56577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:26:14] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b91b68012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b91b68012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:14] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b91b68012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:14] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:26:14] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007640576001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373617000,"timestamp_ms":1777373617000,"timestamp_seconds":1777373617,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b91b68"} 
[2026-04-28 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:26: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-04-28 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:26:14] 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-04-28 16:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007640576001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007640576001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:26:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007640576001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:26:14] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:26:14] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:26:32] local.INFO: TCP Data received {"connection_id":56760,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:32] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:26:32] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:26:32] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:26:32] 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-04-28 16:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:26:32] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:26:32] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:26:46] local.INFO: TCP Data received {"connection_id":56577,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b96d70012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b96d70012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:46] local.INFO: Processing buffer {"connection_id":56577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b96d70012d1821800721b3a8004c00d329..."} 
[2026-04-28 16:26:46] local.INFO: Packet analysis {"connection_id":56577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:26:46] local.INFO: Extracted packet for processing {"connection_id":56577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007645952001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616465159192576,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373638000,"timestamp_ms":1777373638000,"timestamp_seconds":1777373638,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b96d70"} 
[2026-04-28 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-04-28 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007645952001,"66":12504,"105":206,"83":41984,"24":0,"16":115616465159192576,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007645952001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:26:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616465159192576,"km_value":115616465159192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007645952001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":56577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:26:46] local.INFO: GPS data processed {"connection_id":56577,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:26:46] local.INFO: Acknowledgment sent {"connection_id":56577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:26:53] local.INFO: TCP Data received {"connection_id":56801,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:53] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:53] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:26:59] local.INFO: TCP Data received {"connection_id":56801,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:59] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:26:59] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:27:00] local.INFO: TCP Data received {"connection_id":56801,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:27:00] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b72380012d7fa44005afde680009011226..."} 
[2026-04-28 16:27:00] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:27:00] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b7"} 
[2026-04-28 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007535872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373488000,"timestamp_ms":1777373488000,"timestamp_seconds":1777373488,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b72380"} 
[2026-04-28 16:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 16:27:00] 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-04-28 16:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007535872001,"66":25441,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007535872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:27:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:27:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007535872001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:27:00] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:27:00] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:27:09] local.INFO: TCP Data received {"connection_id":57476,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:09] local.INFO: Processing buffer {"connection_id":57476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:09] local.INFO: IMEI packet received {"connection_id":57476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":57476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:27:14] local.INFO: TCP Data received {"connection_id":57476,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:14] local.INFO: Processing buffer {"connection_id":57476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:27:14] local.INFO: IMEI packet received {"connection_id":57476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":57476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:27:15] local.INFO: TCP Data received {"connection_id":57476,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3b9bf78012d181f400721b1a0004900d829..."} 
[2026-04-28 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3b9bf78012d181f400721b1a0004900d829..."} 
[2026-04-28 16:27:15] local.INFO: Processing buffer {"connection_id":57476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3b9bf78012d181f400721b1a0004900d829..."} 
[2026-04-28 16:27:15] local.INFO: Packet analysis {"connection_id":57476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:27:15] local.INFO: Extracted packet for processing {"connection_id":57476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3b9"} 
[2026-04-28 16:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648672,"longitude_deg":75.6555584,"latitude_deg":11.9648672,"altitude":73,"angle":216,"satellites":41,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-04-28 16:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007651328001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616503813898240,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777373659000,"timestamp_ms":1777373659000,"timestamp_seconds":1777373659,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3b9bf78"} 
[2026-04-28 16:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007651328001,"66":12504,"105":206,"83":41984,"24":1,"16":115616503813898240,"45":1738811699260270592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007651328001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:27:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616503813898240,"km_value":115616503813898.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-04-28 16:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007651328001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-04-28 16:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":57476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:27:15] local.INFO: GPS data processed {"connection_id":57476,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:27:15] local.INFO: Acknowledgment sent {"connection_id":57476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:27:31] local.INFO: TCP Data received {"connection_id":56801,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:27:31] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:27:31] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:27:31] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:27:31] 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-04-28 16: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-04-28 16:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:27:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:27:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:27:31] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:27:31] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:27:45] local.INFO: TCP Data received {"connection_id":57476,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ba1180012d181ec00721b118004a00d228..."} 
[2026-04-28 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ba1180012d181ec00721b118004a00d228..."} 
[2026-04-28 16:27:45] local.INFO: Processing buffer {"connection_id":57476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ba1180012d181ec00721b118004a00d228..."} 
[2026-04-28 16:27:45] local.INFO: Packet analysis {"connection_id":57476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:27:45] local.INFO: Extracted packet for processing {"connection_id":57476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007656704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562538496,"note":"Value kept but may cause issues"} 
[2026-04-28 16:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777373680000,"timestamp_ms":1777373680000,"timestamp_seconds":1777373680,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ba1180"} 
[2026-04-28 16:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:27: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-04-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:27:45] 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-04-28 16: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-04-28 16:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007656704001,"66":12461,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738178380562538496},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007656704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:27:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562538496,"description":"Unknown IO ID 45"} 
[2026-04-28 16:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007656704001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562538496}} 
[2026-04-28 16:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":57476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:27:46] local.INFO: GPS data processed {"connection_id":57476,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:27:46] local.INFO: Acknowledgment sent {"connection_id":57476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:27:53] local.INFO: TCP Data received {"connection_id":56761,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:53] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:53] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:27:59] local.INFO: TCP Data received {"connection_id":56761,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:59] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:27:59] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:28:00] local.INFO: TCP Data received {"connection_id":56761,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:00] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:00] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:28:00] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:28:00] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:28:00] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:28:08] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:08] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:08] local.INFO: IMEI packet received {"connection_id":56580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":56580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:28:14] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:14] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:28:14] local.INFO: IMEI packet received {"connection_id":56580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":56580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:28:14] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ba6388012d181ec00721b118004a00d227..."} 
[2026-04-28 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ba6388012d181ec00721b118004a00d227..."} 
[2026-04-28 16:28:14] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ba6388012d181ec00721b118004a00d227..."} 
[2026-04-28 16:28:14] local.INFO: Packet analysis {"connection_id":56580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:28:14] local.INFO: Extracted packet for processing {"connection_id":56580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007662080001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373701000,"timestamp_ms":1777373701000,"timestamp_seconds":1777373701,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ba6388"} 
[2026-04-28 16:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:28: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-04-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007662080001,"66":12504,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007662080001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:28:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007662080001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":56580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:28:15] local.INFO: GPS data processed {"connection_id":56580,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:28:15] local.INFO: Acknowledgment sent {"connection_id":56580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:28:32] local.INFO: TCP Data received {"connection_id":56761,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:32] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:28:32] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:28:32] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:28:32] 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-04-28 16: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-04-28 16:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:28:32] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:28:32] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:28:46] local.INFO: TCP Data received {"connection_id":56580,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bab590012d181ec00721b118004a00d226..."} 
[2026-04-28 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bab590012d181ec00721b118004a00d226..."} 
[2026-04-28 16:28:46] local.INFO: Processing buffer {"connection_id":56580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bab590012d181ec00721b118004a00d226..."} 
[2026-04-28 16:28:46] local.INFO: Packet analysis {"connection_id":56580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:28:46] local.INFO: Extracted packet for processing {"connection_id":56580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ba"} 
[2026-04-28 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007667456001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777373722000,"timestamp_ms":1777373722000,"timestamp_seconds":1777373722,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bab590"} 
[2026-04-28 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-04-28 16:28: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007667456001,"66":12493,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007667456001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:28:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007667456001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":56580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:28:46] local.INFO: GPS data processed {"connection_id":56580,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:28:46] local.INFO: Acknowledgment sent {"connection_id":56580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:28:53] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:53] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:53] local.INFO: IMEI packet received {"connection_id":56762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":56762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:28:59] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:59] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:28:59] local.INFO: IMEI packet received {"connection_id":56762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":56762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:29:00] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:00] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:00] local.INFO: Packet analysis {"connection_id":56762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:00] local.INFO: Extracted packet for processing {"connection_id":56762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:29:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:29:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":56762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:29:00] local.INFO: GPS data processed {"connection_id":56762,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:29:00] local.INFO: Acknowledgment sent {"connection_id":56762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:29:08] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:08] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:08] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:29:09] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:09] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:09] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:29:14] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:14] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:29:14] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:29:14] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bb0798012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bb0798012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:14] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bb0798012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:14] local.INFO: Packet analysis {"connection_id":56763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:14] local.INFO: Extracted packet for processing {"connection_id":56763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007672832001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777373743000,"timestamp_ms":1777373743000,"timestamp_seconds":1777373743,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bb0798"} 
[2026-04-28 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 16:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007672832001,"66":12504,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007672832001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:29:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007672832001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":56763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:29:15] local.INFO: GPS data processed {"connection_id":56763,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:29:15] local.INFO: Acknowledgment sent {"connection_id":56763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:29:32] local.INFO: TCP Data received {"connection_id":56762,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:32] local.INFO: Processing buffer {"connection_id":56762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:29:32] local.INFO: Packet analysis {"connection_id":56762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:32] local.INFO: Extracted packet for processing {"connection_id":56762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:29:32] 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-04-28 16:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:29:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:29:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":56762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:29:32] local.INFO: GPS data processed {"connection_id":56762,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:29:32] local.INFO: Acknowledgment sent {"connection_id":56762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:29:45] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bb59a0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bb59a0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:45] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bb59a0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:29:45] local.INFO: Packet analysis {"connection_id":56763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:45] local.INFO: Extracted packet for processing {"connection_id":56763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007678208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777373764000,"timestamp_ms":1777373764000,"timestamp_seconds":1777373764,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bb59a0"} 
[2026-04-28 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:29: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-04-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:29:45] 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-04-28 16: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-04-28 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007678208001,"66":12461,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007678208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007678208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":56763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:29:46] local.INFO: GPS data processed {"connection_id":56763,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:29:46] local.INFO: Acknowledgment sent {"connection_id":56763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:29:53] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:53] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:53] local.INFO: IMEI packet received {"connection_id":56582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":56582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:29:59] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:59] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:29:59] local.INFO: IMEI packet received {"connection_id":56582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":56582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:30:02] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:02] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:02] local.INFO: Packet analysis {"connection_id":56582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:02] local.INFO: Extracted packet for processing {"connection_id":56582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:30:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:30:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":56582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:30:02] local.INFO: GPS data processed {"connection_id":56582,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:30:02] local.INFO: Acknowledgment sent {"connection_id":56582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:30:12] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:12] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:12] local.INFO: IMEI packet received {"connection_id":56764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":56764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:30:13] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:13] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:13] local.INFO: IMEI packet received {"connection_id":56764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":56764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:30:19] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:19] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:30:19] local.INFO: IMEI packet received {"connection_id":56764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":56764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:30:19] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbaba8012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbaba8012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:19] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbaba8012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:19] local.INFO: Packet analysis {"connection_id":56764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:19] local.INFO: Extracted packet for processing {"connection_id":56764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007683584001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777373785000,"timestamp_ms":1777373785000,"timestamp_seconds":1777373785,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbaba8"} 
[2026-04-28 16:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:30: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-04-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 16:30:19] 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-04-28 16: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-04-28 16:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007683584001,"66":12504,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007683584001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:30:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007683584001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":56764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:30:20] local.INFO: GPS data processed {"connection_id":56764,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:30:20] local.INFO: Acknowledgment sent {"connection_id":56764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:30:24] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbfdb0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbfdb0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:24] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbfdb0012d181ec00721b118004a00d227..."} 
[2026-04-28 16:30:24] local.INFO: Packet analysis {"connection_id":56764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:24] local.INFO: Extracted packet for processing {"connection_id":56764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648536,"longitude_deg":75.6555456,"latitude_deg":11.9648536,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007688960001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616512403832832,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074148352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30: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-04-28 16:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777373806000,"timestamp_ms":1777373806000,"timestamp_seconds":1777373806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbfdb0"} 
[2026-04-28 16:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:30: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-04-28 16: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":216,"data_length":795,"current_offset":136} 
[2026-04-28 16:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007688960001,"66":12504,"105":206,"83":41984,"24":0,"16":115616512403832832,"45":1738037643074148352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007688960001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:30:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616512403832832,"km_value":115616512403832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074148352,"description":"Unknown IO ID 45"} 
[2026-04-28 16:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007688960001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074148352}} 
[2026-04-28 16:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":56764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:30:24] local.INFO: GPS data processed {"connection_id":56764,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:30:24] local.INFO: Acknowledgment sent {"connection_id":56764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:30:33] local.INFO: TCP Data received {"connection_id":56582,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:33] local.INFO: Processing buffer {"connection_id":56582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:30:33] local.INFO: Packet analysis {"connection_id":56582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:33] local.INFO: Extracted packet for processing {"connection_id":56582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:30:33] 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-04-28 16: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-04-28 16:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":56582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":56582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":56582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:30:33] local.INFO: GPS data processed {"connection_id":56582,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:30:33] local.INFO: Acknowledgment sent {"connection_id":56582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:30:54] local.INFO: TCP Data received {"connection_id":56583,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:30:54] local.INFO: Processing buffer {"connection_id":56583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:30:54] local.INFO: IMEI packet received {"connection_id":56583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":56583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:30:59] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:30:59] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:30:59] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:31:04] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:04] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:04] local.INFO: IMEI packet received {"connection_id":56584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":56584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:31:05] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:05] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:05] local.INFO: Packet analysis {"connection_id":56584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:31:05] local.INFO: Extracted packet for processing {"connection_id":56584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:31:05] 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-04-28 16:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:31:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:31:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":56584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:31:05] local.INFO: GPS data processed {"connection_id":56584,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:31:05] local.INFO: Acknowledgment sent {"connection_id":56584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:31:08] local.INFO: TCP Data received {"connection_id":56584,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:08] local.INFO: Processing buffer {"connection_id":56584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:31:08] local.INFO: Packet analysis {"connection_id":56584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:31:08] local.INFO: Extracted packet for processing {"connection_id":56584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 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-04-28 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:31:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:31:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":56584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:31:08] local.INFO: GPS data processed {"connection_id":56584,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:31:08] local.INFO: Acknowledgment sent {"connection_id":56584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:31:09] local.INFO: TCP Data received {"connection_id":57478,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:09] local.INFO: Processing buffer {"connection_id":57478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:09] local.INFO: IMEI packet received {"connection_id":57478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":57478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:31:13] local.INFO: TCP Data received {"connection_id":57478,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:13] local.INFO: Processing buffer {"connection_id":57478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:31:13] local.INFO: IMEI packet received {"connection_id":57478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":57478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:31:14] local.INFO: TCP Data received {"connection_id":57478,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bf1a90012d181c400721ac18004800ae28..."} 
[2026-04-28 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bf1a90012d181c400721ac18004800ae28..."} 
[2026-04-28 16:31:14] local.INFO: Processing buffer {"connection_id":57478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bf1a90012d181c400721ac18004800ae28..."} 
[2026-04-28 16:31:14] local.INFO: Packet analysis {"connection_id":57478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bf"} 
[2026-04-28 16:31:14] local.INFO: Extracted packet for processing {"connection_id":57478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bf"} 
[2026-04-28 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647256,"longitude_deg":75.6554816,"latitude_deg":11.9647256,"altitude":72,"angle":174,"satellites":40,"speed":1,"hex_longitude":"2d181c40","hex_latitude":"0721ac18","is_valid_coordinates":true} 
[2026-04-28 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007746304001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616594008211456,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632054272,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374010000,"timestamp_ms":1777374010000,"timestamp_seconds":1777374010,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bf1a90"} 
[2026-04-28 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:31: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-04-28 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 16:31:14] 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-04-28 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007746304001,"66":13852,"105":206,"83":41984,"24":1,"16":115616594008211456,"45":1737333955632054272},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007746304001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:31:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616594008211456,"km_value":115616594008211.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632054272,"description":"Unknown IO ID 45"} 
[2026-04-28 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007746304001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737333955632054272}} 
[2026-04-28 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":57478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:31:14] local.INFO: GPS data processed {"connection_id":57478,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:31:14] local.INFO: Acknowledgment sent {"connection_id":57478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:31:34] local.INFO: TCP Data received {"connection_id":56585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:31:34] local.INFO: Processing buffer {"connection_id":56585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:31:34] local.INFO: IMEI packet received {"connection_id":56585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":56585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:31:45] local.INFO: TCP Data received {"connection_id":57478,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bf2a30012d181c800721ab30004700a228..."} 
[2026-04-28 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bf2a30012d181c800721ab30004700a228..."} 
[2026-04-28 16:31:45] local.INFO: Processing buffer {"connection_id":57478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bf2a30012d181c800721ab30004700a228..."} 
[2026-04-28 16:31:45] local.INFO: Packet analysis {"connection_id":57478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bf"} 
[2026-04-28 16:31:45] local.INFO: Extracted packet for processing {"connection_id":57478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bf"} 
[2026-04-28 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647024,"longitude_deg":75.655488,"latitude_deg":11.9647024,"altitude":71,"angle":162,"satellites":40,"speed":4,"hex_longitude":"2d181c80","hex_latitude":"0721ab30","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007746560001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115616606893113344,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632044032,"note":"Value kept but may cause issues"} 
[2026-04-28 16:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777374014000,"timestamp_ms":1777374014000,"timestamp_seconds":1777374014,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bf2a30"} 
[2026-04-28 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:31: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-04-28 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 16:31:45] 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-04-28 16: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-04-28 16:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007746560001,"66":13830,"105":206,"83":41984,"24":4,"16":115616606893113344,"45":1737333955632044032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007746560001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:31:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115616606893113344,"km_value":115616606893113.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632044032,"description":"Unknown IO ID 45"} 
[2026-04-28 16:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007746560001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737333955632044032}} 
[2026-04-28 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":57478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:31:45] local.INFO: GPS data processed {"connection_id":57478,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:31:45] local.INFO: Acknowledgment sent {"connection_id":57478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:31:53] local.INFO: TCP Data received {"connection_id":56802,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:53] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:53] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:31:59] local.INFO: TCP Data received {"connection_id":56802,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:59] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:31:59] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:32:00] local.INFO: TCP Data received {"connection_id":56802,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:32:00] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3bbbb48012d7fa44005afde680009011223..."} 
[2026-04-28 16:32:00] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:32:00] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3bb"} 
[2026-04-28 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007612928001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777373789000,"timestamp_ms":1777373789000,"timestamp_seconds":1777373789,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3bbbb48"} 
[2026-04-28 16:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 16:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007612928001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007612928001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:32:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:32:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007612928001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:32:00] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:32:00] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:32:09] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: IMEI packet received {"connection_id":56586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":56586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:32:09] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:09] local.INFO: IMEI packet received {"connection_id":56586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":56586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:32:12] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:12] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:32:12] local.INFO: IMEI packet received {"connection_id":56586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":56586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:32:12] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c04370012d186ec0072181d0004b005620..."} 
[2026-04-28 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c04370012d186ec0072181d0004b005620..."} 
[2026-04-28 16:32:12] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c04370012d186ec0072181d0004b005620..."} 
[2026-04-28 16:32:12] local.INFO: Packet analysis {"connection_id":56586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:12] local.INFO: Extracted packet for processing {"connection_id":56586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756575936,"raw_latitude":119636432,"longitude_deg":75.6575936,"latitude_deg":11.9636432,"altitude":75,"angle":86,"satellites":32,"speed":35,"hex_longitude":"2d186ec0","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007765504001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115617762239315968,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758514947626754048,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777374086000,"timestamp_ms":1777374086000,"timestamp_seconds":1777374086,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c04370"} 
[2026-04-28 16:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2810254008490393675,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3552562752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638152328374889,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7295587304758837248,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3218477057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2658664525,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":55,"raw_value":5548660597832339027,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3235905536,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,193,51,45,192,131,77,37,10,66,4,64,147,78,217,128,1,240,227,211,33,113,205,9,210,39,36,239,55,105,2,154,7,164],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 16:32:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476485036463226880,"timestamp_seconds":5476485036463227.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007765504001,"66":13830,"106":206,"83":41984,"24":35,"16":115617762239315968,"45":1758514947626754048},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007765504001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:32:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115617762239315968,"km_value":115617762239315.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758514947626754048,"description":"Unknown IO ID 45"} 
[2026-04-28 16:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007765504001,"power":13830,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1758514947626754048}} 
[2026-04-28 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":56586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:32:13] local.INFO: GPS data processed {"connection_id":56586,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:32:13] local.INFO: Acknowledgment sent {"connection_id":56586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:32:32] local.INFO: TCP Data received {"connection_id":56802,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:32:32] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:32:32] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:32] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:32:32] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:32:32] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:32:43] local.INFO: TCP Data received {"connection_id":56586,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c056f8012d1881c0072181b80049006422..."} 
[2026-04-28 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c056f8012d1881c0072181b80049006422..."} 
[2026-04-28 16:32:43] local.INFO: Processing buffer {"connection_id":56586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c056f8012d1881c0072181b80049006422..."} 
[2026-04-28 16:32:43] local.INFO: Packet analysis {"connection_id":56586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:43] local.INFO: Extracted packet for processing {"connection_id":56586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636408,"longitude_deg":75.65808,"latitude_deg":11.9636408,"altitude":73,"angle":100,"satellites":34,"speed":40,"hex_longitude":"2d1881c0","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-04-28 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007766016001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115617998462517248,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760555641207902208,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777374091000,"timestamp_ms":1777374091000,"timestamp_seconds":1777374091,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c056f8"} 
[2026-04-28 16:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:32: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-04-28 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628022566912,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3218733057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2647654477,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147951006,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3236036608,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4612017075160876833,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6917444362441588732,"note":"Value kept but may cause issues"} 
[2026-04-28 16:32:43] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,193,59,45,128,129,76,32,10,66,51,192,131,77,37,4,64,1,240,104,227,211,33,113,205,12,214,39,120,36,239,55,105,2,154,7,6,206,159],"length":528,"final_offset":658,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 16:32:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404414248285831168,"timestamp_seconds":5404414248285831.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":56586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":56586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007766016001,"66":13906,"106":206,"83":41984,"24":40,"16":115617998462517248,"45":1760555641207902208},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007766016001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:32:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115617998462517248,"km_value":115617998462517.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760555641207902208,"description":"Unknown IO ID 45"} 
[2026-04-28 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007766016001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1760555641207902208}} 
[2026-04-28 16:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":56586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:32:44] local.INFO: GPS data processed {"connection_id":56586,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:32:44] local.INFO: Acknowledgment sent {"connection_id":56586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:32:59] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:32:59] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:32:59] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:33:04] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:04] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:04] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:33:04] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:04] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:04] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:33:04] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:33:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:33:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:33:04] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:33:04] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:33:08] local.INFO: TCP Data received {"connection_id":56765,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:08] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:33:08] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:33:08] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:33:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:33:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:33:08] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:33:08] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:33:08] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:08] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:08] local.INFO: IMEI packet received {"connection_id":56804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:33:09] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:09] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:09] local.INFO: IMEI packet received {"connection_id":56804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":56804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:33:14] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:14] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:33:14] local.INFO: IMEI packet received {"connection_id":56804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":56804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:33:15] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c102d8012d18d8000720fed00039009623..."} 
[2026-04-28 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c102d8012d18d8000720fed00039009623..."} 
[2026-04-28 16:33:15] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c102d8012d18d8000720fed00039009623..."} 
[2026-04-28 16:33:15] local.INFO: Packet analysis {"connection_id":56804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:33:15] local.INFO: Extracted packet for processing {"connection_id":56804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119602896,"longitude_deg":75.660288,"latitude_deg":11.9602896,"altitude":57,"angle":150,"satellites":35,"speed":36,"hex_longitude":"2d18d800","hex_latitude":"0720fed0","is_valid_coordinates":true} 
[2026-04-28 16:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007777536001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115620128766296064,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103826944,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777374135000,"timestamp_ms":1777374135000,"timestamp_seconds":1777374135,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c102d8"} 
[2026-04-28 16:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-28 16:33:15] 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-04-28 16:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007777536001,"66":14233,"106":206,"83":41984,"24":36,"16":115620128766296064,"45":1788914245103826944},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007777536001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:33:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115620128766296064,"km_value":115620128766296.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103826944,"description":"Unknown IO ID 45"} 
[2026-04-28 16:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007777536001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788914245103826944}} 
[2026-04-28 16:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":56804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:33:15] local.INFO: GPS data processed {"connection_id":56804,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:33:15] local.INFO: Acknowledgment sent {"connection_id":56804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:33:46] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c10aa8012d18dcc00720f9700038008323..."} 
[2026-04-28 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c10aa8012d18dcc00720f9700038008323..."} 
[2026-04-28 16:33:46] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c10aa8012d18dcc00720f9700038008323..."} 
[2026-04-28 16:33:46] local.INFO: Packet analysis {"connection_id":56804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:33:46] local.INFO: Extracted packet for processing {"connection_id":56804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119601520,"longitude_deg":75.6604096,"latitude_deg":11.960152,"altitude":56,"angle":131,"satellites":35,"speed":36,"hex_longitude":"2d18dcc0","hex_latitude":"0720f970","is_valid_coordinates":true} 
[2026-04-28 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007778560001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115620214665641984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498113536,"note":"Value kept but may cause issues"} 
[2026-04-28 16:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777374137000,"timestamp_ms":1777374137000,"timestamp_seconds":1777374137,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c10aa8"} 
[2026-04-28 16:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16: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-04-28 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 16:33:46] 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-04-28 16:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007778560001,"66":14233,"106":206,"83":41984,"24":36,"16":115620214665641984,"45":1790180882498113536},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007778560001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:33:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115620214665641984,"km_value":115620214665641.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498113536,"description":"Unknown IO ID 45"} 
[2026-04-28 16:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007778560001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1790180882498113536}} 
[2026-04-28 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":56804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:33:46] local.INFO: GPS data processed {"connection_id":56804,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:33:46] local.INFO: Acknowledgment sent {"connection_id":56804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:33:54] local.INFO: TCP Data received {"connection_id":57479,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:54] local.INFO: Processing buffer {"connection_id":57479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:54] local.INFO: IMEI packet received {"connection_id":57479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":57479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:33:59] local.INFO: TCP Data received {"connection_id":57479,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:59] local.INFO: Processing buffer {"connection_id":57479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:33:59] local.INFO: IMEI packet received {"connection_id":57479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":57479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:34:00] local.INFO: TCP Data received {"connection_id":57479,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:00] local.INFO: Processing buffer {"connection_id":57479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:00] local.INFO: Packet analysis {"connection_id":57479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:34:00] local.INFO: Extracted packet for processing {"connection_id":57479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:34:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:34:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":57479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:34:00] local.INFO: GPS data processed {"connection_id":57479,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:34:00] local.INFO: Acknowledgment sent {"connection_id":57479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:34:07] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:07] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:07] local.INFO: IMEI packet received {"connection_id":57480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":57480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:34:08] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:08] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:08] local.INFO: IMEI packet received {"connection_id":57480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":57480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:34:09] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:09] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:09] local.INFO: IMEI packet received {"connection_id":57480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":57480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:34:14] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:14] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:34:14] local.INFO: IMEI packet received {"connection_id":57480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":57480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:34:14] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c1e568012d19a8000720b0e80031006126..."} 
[2026-04-28 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c1e568012d19a8000720b0e80031006126..."} 
[2026-04-28 16:34:14] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c1e568012d19a8000720b0e80031006126..."} 
[2026-04-28 16:34:14] local.INFO: Packet analysis {"connection_id":57480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:34:14] local.INFO: Extracted packet for processing {"connection_id":57480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c1"} 
[2026-04-28 16:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756656128,"raw_latitude":119582952,"longitude_deg":75.6656128,"latitude_deg":11.9582952,"altitude":49,"angle":97,"satellites":38,"speed":43,"hex_longitude":"2d19a800","hex_latitude":"0720b0e8","is_valid_coordinates":true} 
[2026-04-28 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007791360001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115623049344057344,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839509372161679360,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:14] 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-04-28 16:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374193000,"timestamp_ms":1777374193000,"timestamp_seconds":1777374193,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c1e568"} 
[2026-04-28 16:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 16:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007791360001,"66":14341,"106":206,"83":41984,"24":43,"16":115623049344057344,"45":1839509372161679360},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007791360001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:34:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115623049344057344,"km_value":115623049344057.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839509372161679360,"description":"Unknown IO ID 45"} 
[2026-04-28 16:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007791360001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1839509372161679360}} 
[2026-04-28 16:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":57480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:34:15] local.INFO: GPS data processed {"connection_id":57480,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:34:15] local.INFO: Acknowledgment sent {"connection_id":57480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:34:31] local.INFO: TCP Data received {"connection_id":57479,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:31] local.INFO: Processing buffer {"connection_id":57479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:34:31] local.INFO: Packet analysis {"connection_id":57479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:34:31] local.INFO: Extracted packet for processing {"connection_id":57479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:34:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:34:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":57479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:34:31] local.INFO: GPS data processed {"connection_id":57479,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:34:31] local.INFO: Acknowledgment sent {"connection_id":57479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:34:46] local.INFO: TCP Data received {"connection_id":57480,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c28d60012d19c40007202b380029009d23..."} 
[2026-04-28 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c28d60012d19c40007202b380029009d23..."} 
[2026-04-28 16:34:46] local.INFO: Processing buffer {"connection_id":57480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c28d60012d19c40007202b380029009d23..."} 
[2026-04-28 16:34:46] local.INFO: Packet analysis {"connection_id":57480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:34:46] local.INFO: Extracted packet for processing {"connection_id":57480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756663296,"raw_latitude":119548728,"longitude_deg":75.6663296,"latitude_deg":11.9548728,"altitude":41,"angle":157,"satellites":35,"speed":37,"hex_longitude":"2d19c400","hex_latitude":"07202b38","is_valid_coordinates":true} 
[2026-04-28 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007803136001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115624964899471360,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127128770560,"note":"Value kept but may cause issues"} 
[2026-04-28 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777374236000,"timestamp_ms":1777374236000,"timestamp_seconds":1777374236,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c28d60"} 
[2026-04-28 16:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:34: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-04-28 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 16:34:46] 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-04-28 16:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007803136001,"66":14265,"106":206,"83":41984,"24":37,"16":115624964899471360,"45":1854920127128770560},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007803136001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:34:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115624964899471360,"km_value":115624964899471.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127128770560,"description":"Unknown IO ID 45"} 
[2026-04-28 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007803136001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1854920127128770560}} 
[2026-04-28 16:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":57480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:34:46] local.INFO: GPS data processed {"connection_id":57480,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:34:46] local.INFO: Acknowledgment sent {"connection_id":57480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:34:53] local.INFO: TCP Data received {"connection_id":56766,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:53] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:53] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:34:59] local.INFO: TCP Data received {"connection_id":56766,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:59] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:34:59] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:35:00] local.INFO: TCP Data received {"connection_id":56766,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:00] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:00] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:35:00] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:35:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:35:00] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:35:00] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:35:08] local.INFO: TCP Data received {"connection_id":57481,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:08] local.INFO: Processing buffer {"connection_id":57481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:08] local.INFO: IMEI packet received {"connection_id":57481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":57481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:35:14] local.INFO: TCP Data received {"connection_id":57481,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:14] local.INFO: Processing buffer {"connection_id":57481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:35:14] local.INFO: IMEI packet received {"connection_id":57481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":57481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:35:14] local.INFO: TCP Data received {"connection_id":57481,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c2a4d0012d19ce80072016880029008f24..."} 
[2026-04-28 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c2a4d0012d19ce80072016880029008f24..."} 
[2026-04-28 16:35:14] local.INFO: Processing buffer {"connection_id":57481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c2a4d0012d19ce80072016880029008f24..."} 
[2026-04-28 16:35:14] local.INFO: Packet analysis {"connection_id":57481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:35:14] local.INFO: Extracted packet for processing {"connection_id":57481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543432,"longitude_deg":75.6665984,"latitude_deg":11.9543432,"altitude":41,"angle":143,"satellites":36,"speed":39,"hex_longitude":"2d19ce80","hex_latitude":"07201688","is_valid_coordinates":true} 
[2026-04-28 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007804416001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115625252662280192,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856608976987961344,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:14] 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-04-28 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374242000,"timestamp_ms":1777374242000,"timestamp_seconds":1777374242,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c2a4d0"} 
[2026-04-28 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 16:35:14] 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-04-28 16:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007804416001,"66":14265,"106":206,"83":41984,"24":39,"16":115625252662280192,"45":1856608976987961344},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007804416001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:35:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115625252662280192,"km_value":115625252662280.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856608976987961344,"description":"Unknown IO ID 45"} 
[2026-04-28 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007804416001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1856608976987961344}} 
[2026-04-28 16:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":57481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:35:15] local.INFO: GPS data processed {"connection_id":57481,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:35:15] local.INFO: Acknowledgment sent {"connection_id":57481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:35:31] local.INFO: TCP Data received {"connection_id":56766,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:31] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:35:31] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:35:31] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:35:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:35:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:35:31] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:35:31] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:35:45] local.INFO: TCP Data received {"connection_id":57481,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c2aca0012d19d380072010e80029008324..."} 
[2026-04-28 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c2aca0012d19d380072010e80029008324..."} 
[2026-04-28 16:35:45] local.INFO: Processing buffer {"connection_id":57481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c2aca0012d19d380072010e80029008324..."} 
[2026-04-28 16:35:45] local.INFO: Packet analysis {"connection_id":57481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:35:45] local.INFO: Extracted packet for processing {"connection_id":57481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c2"} 
[2026-04-28 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119541992,"longitude_deg":75.6667264,"latitude_deg":11.9541992,"altitude":41,"angle":131,"satellites":36,"speed":36,"hex_longitude":"2d19d380","hex_latitude":"072010e8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007805952001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115625347151560704,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242067456,"note":"Value kept but may cause issues"} 
[2026-04-28 16:35:45] 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-04-28 16:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777374244000,"timestamp_ms":1777374244000,"timestamp_seconds":1777374244,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c2aca0"} 
[2026-04-28 16:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:35: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-04-28 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 16:35:45] 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-04-28 16: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-04-28 16:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007805952001,"66":14265,"106":206,"83":41984,"24":36,"16":115625347151560704,"45":1859564464242067456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007805952001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:35:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115625347151560704,"km_value":115625347151560.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242067456,"description":"Unknown IO ID 45"} 
[2026-04-28 16:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007805952001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1859564464242067456}} 
[2026-04-28 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":57481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:35:46] local.INFO: GPS data processed {"connection_id":57481,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:35:46] local.INFO: Acknowledgment sent {"connection_id":57481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:35:53] local.INFO: TCP Data received {"connection_id":56806,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:53] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:53] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:35:59] local.INFO: TCP Data received {"connection_id":56806,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:59] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:35:59] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:36:00] local.INFO: TCP Data received {"connection_id":56806,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:00] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:00] local.INFO: Packet analysis {"connection_id":56806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:36:00] local.INFO: Extracted packet for processing {"connection_id":56806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 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-04-28 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:36:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:36:00] local.INFO: GPS data processed {"connection_id":56806,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:36:00] local.INFO: Acknowledgment sent {"connection_id":56806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:36:14] local.INFO: TCP Data received {"connection_id":57483,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:14] local.INFO: Processing buffer {"connection_id":57483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:14] local.INFO: IMEI packet received {"connection_id":57483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":57483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:36:16] local.INFO: TCP Data received {"connection_id":57483,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:16] local.INFO: Processing buffer {"connection_id":57483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:36:16] local.INFO: IMEI packet received {"connection_id":57483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":57483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:36:17] local.INFO: TCP Data received {"connection_id":57483,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c3a2b8012d1a6540071fdbb8002e005f26..."} 
[2026-04-28 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c3a2b8012d1a6540071fdbb8002e005f26..."} 
[2026-04-28 16:36:17] local.INFO: Processing buffer {"connection_id":57483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c3a2b8012d1a6540071fdbb8002e005f26..."} 
[2026-04-28 16:36:17] local.INFO: Packet analysis {"connection_id":57483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:17] local.INFO: Extracted packet for processing {"connection_id":57483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756704576,"raw_latitude":119528376,"longitude_deg":75.6704576,"latitude_deg":11.9528376,"altitude":46,"angle":95,"satellites":38,"speed":10,"hex_longitude":"2d1a6540","hex_latitude":"071fdbb8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007817216001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627292771745792,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900167229628729344,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777374307000,"timestamp_ms":1777374307000,"timestamp_seconds":1777374307,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c3a2b8"} 
[2026-04-28 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-04-28 16:36: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-04-28 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 16:36:17] 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-04-28 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-04-28 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-04-28 16:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007817216001,"66":13928,"106":206,"83":41984,"24":10,"16":115627292771745792,"45":1900167229628729344},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007817216001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:36:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627292771745792,"km_value":115627292771745.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900167229628729344,"description":"Unknown IO ID 45"} 
[2026-04-28 16:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007817216001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1900167229628729344}} 
[2026-04-28 16:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":57483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:36:17] local.INFO: GPS data processed {"connection_id":57483,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:36:17] local.INFO: Acknowledgment sent {"connection_id":57483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:36:19] local.INFO: TCP Data received {"connection_id":57483,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c3aa88012d1a67c0071fdb18002f006d25..."} 
[2026-04-28 16:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c3aa88012d1a67c0071fdb18002f006d25..."} 
[2026-04-28 16:36:19] local.INFO: Processing buffer {"connection_id":57483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c3aa88012d1a67c0071fdb18002f006d25..."} 
[2026-04-28 16:36:19] local.INFO: Packet analysis {"connection_id":57483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:19] local.INFO: Extracted packet for processing {"connection_id":57483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119528216,"longitude_deg":75.6705216,"latitude_deg":11.9528216,"altitude":47,"angle":109,"satellites":37,"speed":16,"hex_longitude":"2d1a67c0","hex_latitude":"071fdb18","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007822592001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627327131484160,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901996816977344512,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777374309000,"timestamp_ms":1777374309000,"timestamp_seconds":1777374309,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c3aa88"} 
[2026-04-28 16:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:36: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-04-28 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007822592001,"66":13102,"106":206,"83":41984,"24":16,"16":115627327131484160,"45":1901996816977344512},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007822592001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:36:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627327131484160,"km_value":115627327131484.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901996816977344512,"description":"Unknown IO ID 45"} 
[2026-04-28 16:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007822592001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1901996816977344512}} 
[2026-04-28 16:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":57483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:36:19] local.INFO: GPS data processed {"connection_id":57483,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:36:19] local.INFO: Acknowledgment sent {"connection_id":57483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:36:32] local.INFO: TCP Data received {"connection_id":56806,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:32] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:36:32] local.INFO: Packet analysis {"connection_id":56806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:36:32] local.INFO: Extracted packet for processing {"connection_id":56806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":56806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:36:32] local.INFO: GPS data processed {"connection_id":56806,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:36:32] local.INFO: Acknowledgment sent {"connection_id":56806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:36:49] local.INFO: TCP Data received {"connection_id":56588,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:36:49] local.INFO: Processing buffer {"connection_id":56588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:36:49] local.INFO: IMEI packet received {"connection_id":56588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":56588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:36:50] local.INFO: TCP Data received {"connection_id":57483,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c3b640012d1a6cc0071fd898002f007a24..."} 
[2026-04-28 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c3b640012d1a6cc0071fd898002f007a24..."} 
[2026-04-28 16:36:50] local.INFO: Processing buffer {"connection_id":57483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c3b640012d1a6cc0071fd898002f007a24..."} 
[2026-04-28 16:36:50] local.INFO: Packet analysis {"connection_id":57483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:50] local.INFO: Extracted packet for processing {"connection_id":57483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119527576,"longitude_deg":75.6706496,"latitude_deg":11.9527576,"altitude":47,"angle":122,"satellites":36,"speed":19,"hex_longitude":"2d1a6cc0","hex_latitude":"071fd898","is_valid_coordinates":true} 
[2026-04-28 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007823104001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627391555993600,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504419080192,"note":"Value kept but may cause issues"} 
[2026-04-28 16:36:50] 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-04-28 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777374312000,"timestamp_ms":1777374312000,"timestamp_seconds":1777374312,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c3b640"} 
[2026-04-28 16:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007823104001,"66":13928,"106":206,"83":41984,"24":19,"16":115627391555993600,"45":1902700504419080192},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007823104001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:36:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627391555993600,"km_value":115627391555993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504419080192,"description":"Unknown IO ID 45"} 
[2026-04-28 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007823104001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1902700504419080192}} 
[2026-04-28 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":57483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:36:50] local.INFO: GPS data processed {"connection_id":57483,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:36:50] local.INFO: Acknowledgment sent {"connection_id":57483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:36:59] local.INFO: TCP Data received {"connection_id":57484,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:36:59] local.INFO: Processing buffer {"connection_id":57484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:36:59] local.INFO: IMEI packet received {"connection_id":57484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":57484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:37:04] local.INFO: TCP Data received {"connection_id":57484,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:04] local.INFO: Processing buffer {"connection_id":57484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:04] local.INFO: IMEI packet received {"connection_id":57484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":57484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:37:05] local.INFO: TCP Data received {"connection_id":57484,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:05] local.INFO: Processing buffer {"connection_id":57484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:05] local.INFO: Packet analysis {"connection_id":57484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:37:05] local.INFO: Extracted packet for processing {"connection_id":57484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":57484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":57484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":57484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:37:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:37:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":57484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:37:05] local.INFO: GPS data processed {"connection_id":57484,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:37:05] local.INFO: Acknowledgment sent {"connection_id":57484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:37:08] local.INFO: TCP Data received {"connection_id":57484,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:08] local.INFO: Processing buffer {"connection_id":57484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c05310012d7fa44005afde680009011221..."} 
[2026-04-28 16:37:08] local.INFO: Packet analysis {"connection_id":57484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:37:08] local.INFO: Extracted packet for processing {"connection_id":57484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c0"} 
[2026-04-28 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007689984001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777374090000,"timestamp_ms":1777374090000,"timestamp_seconds":1777374090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c05310"} 
[2026-04-28 16:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007689984001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007689984001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:37:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:37:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007689984001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":57484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:37:08] local.INFO: GPS data processed {"connection_id":57484,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:37:08] local.INFO: Acknowledgment sent {"connection_id":57484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:37:09] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:09] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:09] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:37:14] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:14] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:37:14] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:37:14] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c3cdb0012d1a7540071fd1980030008925..."} 
[2026-04-28 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c3cdb0012d1a7540071fd1980030008925..."} 
[2026-04-28 16:37:14] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c3cdb0012d1a7540071fd1980030008925..."} 
[2026-04-28 16:37:14] local.INFO: Packet analysis {"connection_id":56807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:37:14] local.INFO: Extracted packet for processing {"connection_id":56807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c3"} 
[2026-04-28 16:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756708672,"raw_latitude":119525784,"longitude_deg":75.6708672,"latitude_deg":11.9525784,"altitude":48,"angle":137,"satellites":37,"speed":12,"hex_longitude":"2d1a7540","hex_latitude":"071fd198","is_valid_coordinates":true} 
[2026-04-28 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007823872001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627528994947072,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879302469632,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:14] 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-04-28 16:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374318000,"timestamp_ms":1777374318000,"timestamp_seconds":1777374318,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c3cdb0"} 
[2026-04-28 16:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:37: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-04-28 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:37:14] 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-04-28 16:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007823872001,"66":13961,"106":206,"83":41984,"24":12,"16":115627528994947072,"45":1904107879302469632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007823872001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:37:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627528994947072,"km_value":115627528994947.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879302469632,"description":"Unknown IO ID 45"} 
[2026-04-28 16:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007823872001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1904107879302469632}} 
[2026-04-28 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":56807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:37:15] local.INFO: GPS data processed {"connection_id":56807,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:37:15] local.INFO: Acknowledgment sent {"connection_id":56807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:37:34] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:34] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:34] local.INFO: IMEI packet received {"connection_id":56767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":56767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:37:39] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:39] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:37:39] local.INFO: IMEI packet received {"connection_id":56767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":56767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:37:40] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3a9fc50012cb29bc007823b00005400be25..."} 
[2026-04-28 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3a9fc50012cb29bc007823b00005400be25..."} 
[2026-04-28 16:37:40] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3a9fc50012cb29bc007823b00005400be25..."} 
[2026-04-28 16:37:40] local.INFO: Packet analysis {"connection_id":56767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:37:40] local.INFO: Extracted packet for processing {"connection_id":56767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3a9"} 
[2026-04-28 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975296,"longitude_deg":74.9902784,"latitude_deg":12.5975296,"altitude":84,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-04-28 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007315200001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951400234778624,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086018560,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777372626000,"timestamp_ms":1777372626000,"timestamp_seconds":1777372626,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3a9fc50"} 
[2026-04-28 16:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:37:40] 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-04-28 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 16:37:40] 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-04-28 16:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 16:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 16:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 16:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 16:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007315200001,"66":25375,"184":206,"85":36096,"24":0,"16":107951400234778624,"44":-5576652575086018560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 16:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 16:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 16:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007315200001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:37:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 16:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 16:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951400234778624,"km_value":107951400234778.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086018560,"description":"Unknown IO ID 44"} 
[2026-04-28 16:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007315200001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575086018560}} 
[2026-04-28 16:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":56767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:37:40] local.INFO: GPS data processed {"connection_id":56767,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:37:40] local.INFO: Acknowledgment sent {"connection_id":56767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:37:45] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c41fb8012d1a7680071fd0300030008923..."} 
[2026-04-28 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c41fb8012d1a7680071fd0300030008923..."} 
[2026-04-28 16:37:45] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c41fb8012d1a7680071fd0300030008923..."} 
[2026-04-28 16:37:45] local.INFO: Packet analysis {"connection_id":56807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:37:45] local.INFO: Extracted packet for processing {"connection_id":56807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756708992,"raw_latitude":119525424,"longitude_deg":75.6708992,"latitude_deg":11.9525424,"altitude":48,"angle":137,"satellites":35,"speed":0,"hex_longitude":"2d1a7680","hex_latitude":"071fd030","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007825408001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627559059718144,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906500416604051456,"note":"Value kept but may cause issues"} 
[2026-04-28 16:37:45] 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-04-28 16:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777374339000,"timestamp_ms":1777374339000,"timestamp_seconds":1777374339,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c41fb8"} 
[2026-04-28 16:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:37: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-04-28 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 16:37:45] 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-04-28 16: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-04-28 16:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007825408001,"66":14080,"106":206,"83":41984,"24":0,"16":115627559059718144,"45":1906500416604051456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007825408001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627559059718144,"km_value":115627559059718.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906500416604051456,"description":"Unknown IO ID 45"} 
[2026-04-28 16:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007825408001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906500416604051456}} 
[2026-04-28 16:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":56807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:37:45] local.INFO: GPS data processed {"connection_id":56807,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:37:45] local.INFO: Acknowledgment sent {"connection_id":56807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:37:53] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:53] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:53] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:37:59] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:59] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:37:59] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:38:00] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:00] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:00] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:00] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:38:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:38:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:38:00] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:38:00] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:38:05] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:05] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:05] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:38:09] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:09] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:09] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:38:14] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:14] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:38:14] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:38:14] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c471c0012d1a7680071fd0300030008925..."} 
[2026-04-28 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c471c0012d1a7680071fd0300030008925..."} 
[2026-04-28 16:38:14] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c471c0012d1a7680071fd0300030008925..."} 
[2026-04-28 16:38:14] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:14] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756708992,"raw_latitude":119525424,"longitude_deg":75.6708992,"latitude_deg":11.9525424,"altitude":48,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d1a7680","hex_latitude":"071fd030","is_valid_coordinates":true} 
[2026-04-28 16:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007830784001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627559059718144,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906852260324847616,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] 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-04-28 16:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374360000,"timestamp_ms":1777374360000,"timestamp_seconds":1777374360,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c471c0"} 
[2026-04-28 16:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:38: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-04-28 16:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3552786752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1895825408,"corrected_to":0} 
[2026-04-28 16:38:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3282221057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3686268974,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221692379,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3080287,"corrected_to":0} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3394633728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,202,205,45,64,209,48,37,10,66,182,192,216,47,36,170,1,240,46,227,211,31,4,113,80,94,200,239,54,2,154,7,42],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":202,"original":1895825408,"validated":0},{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":3080287,"validated":0}]} 
[2026-04-28 16:38:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458915297237401600,"timestamp_seconds":3458915297237401.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007830784001,"66":13972,"106":206,"83":41984,"24":0,"16":115627559059718144,"45":1906852260324847616},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007830784001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627559059718144,"km_value":115627559059718.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906852260324847616,"description":"Unknown IO ID 45"} 
[2026-04-28 16:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007830784001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906852260324847616}} 
[2026-04-28 16:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:38:14] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:38:14] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:38:29] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:38:29] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:38:29] local.INFO: IMEI packet received {"connection_id":56809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":56809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:38:32] local.INFO: TCP Data received {"connection_id":56768,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:32] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:32] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:32] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:38:32] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:38:32] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:38:45] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c47990012d1a7800071fcf500031009824..."} 
[2026-04-28 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c47990012d1a7800071fcf500031009824..."} 
[2026-04-28 16:38:45] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c47990012d1a7800071fcf500031009824..."} 
[2026-04-28 16:38:45] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:45] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756709376,"raw_latitude":119525200,"longitude_deg":75.6709376,"latitude_deg":11.95252,"altitude":49,"angle":152,"satellites":36,"speed":6,"hex_longitude":"2d1a7800","hex_latitude":"071fcf50","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007836160001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115627580534554624,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906852260324847616,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:45] 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-04-28 16:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777374362000,"timestamp_ms":1777374362000,"timestamp_seconds":1777374362,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c47990"} 
[2026-04-28 16:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:38: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-04-28 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 16:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007836160001,"66":13972,"106":206,"83":41984,"24":6,"16":115627580534554624,"45":1906852260324847616},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007836160001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:38:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115627580534554624,"km_value":115627580534554.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906852260324847616,"description":"Unknown IO ID 45"} 
[2026-04-28 16:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007836160001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1906852260324847616}} 
[2026-04-28 16:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:38:46] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:38:46] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:38:53] local.INFO: TCP Data received {"connection_id":57485,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:53] local.INFO: Processing buffer {"connection_id":57485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:53] local.INFO: IMEI packet received {"connection_id":57485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":57485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:38:58] local.INFO: TCP Data received {"connection_id":57485,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:58] local.INFO: Processing buffer {"connection_id":57485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:38:58] local.INFO: IMEI packet received {"connection_id":57485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":57485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:38:59] local.INFO: TCP Data received {"connection_id":57485,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:59] local.INFO: Processing buffer {"connection_id":57485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:38:59] local.INFO: Packet analysis {"connection_id":57485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:59] local.INFO: Extracted packet for processing {"connection_id":57485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:38:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:38:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":57485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:38:59] local.INFO: GPS data processed {"connection_id":57485,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:38:59] local.INFO: Acknowledgment sent {"connection_id":57485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:39:09] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:09] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:09] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:39:11] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:11] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:11] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:39:14] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:14] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:39:14] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:39:14] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c66d90012d1aa540071f98880039010321..."} 
[2026-04-28 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c66d90012d1aa540071f98880039010321..."} 
[2026-04-28 16:39:14] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c66d90012d1aa540071f98880039010321..."} 
[2026-04-28 16:39:14] local.INFO: Packet analysis {"connection_id":56769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:14] local.INFO: Extracted packet for processing {"connection_id":56769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756720960,"raw_latitude":119511176,"longitude_deg":75.672096,"latitude_deg":11.9511176,"altitude":57,"angle":259,"satellites":33,"speed":3,"hex_longitude":"2d1aa540","hex_latitude":"071f9888","is_valid_coordinates":true} 
[2026-04-28 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007864064001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115628534017294336,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226572288,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:14] 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-04-28 16:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374490000,"timestamp_ms":1777374490000,"timestamp_seconds":1777374490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c66d90"} 
[2026-04-28 16:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:39: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-04-28 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 16:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007864064001,"66":13135,"106":206,"83":41984,"24":3,"16":115628534017294336,"45":1920081584226572288},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007864064001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:39:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115628534017294336,"km_value":115628534017294.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226572288,"description":"Unknown IO ID 45"} 
[2026-04-28 16:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007864064001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1920081584226572288}} 
[2026-04-28 16:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":56769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:39:15] local.INFO: GPS data processed {"connection_id":56769,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:39:15] local.INFO: Acknowledgment sent {"connection_id":56769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:39:19] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c67178012d1aa4c0071f98b00039011e1f..."} 
[2026-04-28 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c67178012d1aa4c0071f98b00039011e1f..."} 
[2026-04-28 16:39:19] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c67178012d1aa4c0071f98b00039011e1f..."} 
[2026-04-28 16:39:19] local.INFO: Packet analysis {"connection_id":56769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:19] local.INFO: Extracted packet for processing {"connection_id":56769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756720832,"raw_latitude":119511216,"longitude_deg":75.6720832,"latitude_deg":11.9511216,"altitude":57,"angle":286,"satellites":31,"speed":6,"hex_longitude":"2d1aa4c0","hex_latitude":"071f98b0","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007869440001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115628542607228928,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920011215482423296,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777374491000,"timestamp_ms":1777374491000,"timestamp_seconds":1777374491,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c67178"} 
[2026-04-28 16:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-28 16:39:19] 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-04-28 16: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-04-28 16:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007869440001,"66":13135,"106":206,"83":41984,"24":6,"16":115628542607228928,"45":1920011215482423296},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007869440001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:39:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115628542607228928,"km_value":115628542607228.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920011215482423296,"description":"Unknown IO ID 45"} 
[2026-04-28 16:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007869440001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1920011215482423296}} 
[2026-04-28 16:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":56769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:39:19] local.INFO: GPS data processed {"connection_id":56769,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:39:19] local.INFO: Acknowledgment sent {"connection_id":56769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:39:31] local.INFO: TCP Data received {"connection_id":57485,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:39:31] local.INFO: Processing buffer {"connection_id":57485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:39:31] local.INFO: Packet analysis {"connection_id":57485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:39:31] local.INFO: Extracted packet for processing {"connection_id":57485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:39:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:39:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":57485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:39:31] local.INFO: GPS data processed {"connection_id":57485,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:39:31] local.INFO: Acknowledgment sent {"connection_id":57485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:39:50] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c67d30012d1aa200071f99d80039012d21..."} 
[2026-04-28 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c67d30012d1aa200071f99d80039012d21..."} 
[2026-04-28 16:39:50] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c67d30012d1aa200071f99d80039012d21..."} 
[2026-04-28 16:39:50] local.INFO: Packet analysis {"connection_id":56769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:50] local.INFO: Extracted packet for processing {"connection_id":56769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c6"} 
[2026-04-28 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756720128,"raw_latitude":119511512,"longitude_deg":75.6720128,"latitude_deg":11.9511512,"altitude":57,"angle":301,"satellites":33,"speed":13,"hex_longitude":"2d1aa200","hex_latitude":"071f99d8","is_valid_coordinates":true} 
[2026-04-28 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007869696001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115628576966967296,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994078208,"note":"Value kept but may cause issues"} 
[2026-04-28 16:39:50] 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-04-28 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777374494000,"timestamp_ms":1777374494000,"timestamp_seconds":1777374494,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c67d30"} 
[2026-04-28 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-28 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007869696001,"66":13059,"106":206,"83":41984,"24":13,"16":115628576966967296,"45":1919870477994078208},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007869696001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:39:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115628576966967296,"km_value":115628576966967.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994078208,"description":"Unknown IO ID 45"} 
[2026-04-28 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007869696001,"power":13059,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1919870477994078208}} 
[2026-04-28 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":56769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:39:50] local.INFO: GPS data processed {"connection_id":56769,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:39:50] local.INFO: Acknowledgment sent {"connection_id":56769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:39:53] local.INFO: TCP Data received {"connection_id":56811,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:53] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:53] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:39:59] local.INFO: TCP Data received {"connection_id":56811,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:59] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:39:59] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:40:00] local.INFO: TCP Data received {"connection_id":56811,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:00] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:00] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:40:00] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:40: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-04-28 16:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:40:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:40:00] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:40:00] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:40:06] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:06] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:06] local.INFO: IMEI packet received {"connection_id":57486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":57486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:40:08] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:08] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:08] local.INFO: IMEI packet received {"connection_id":57486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":57486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:40:09] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:09] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:09] local.INFO: IMEI packet received {"connection_id":57486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":57486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:40:14] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:14] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:40:14] local.INFO: IMEI packet received {"connection_id":57486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":57486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:40:14] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c77730012d19f980071ffbf80030011126..."} 
[2026-04-28 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c77730012d19f980071ffbf80030011126..."} 
[2026-04-28 16:40:14] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c77730012d19f980071ffbf80030011126..."} 
[2026-04-28 16:40:14] local.INFO: Packet analysis {"connection_id":57486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:40:14] local.INFO: Extracted packet for processing {"connection_id":57486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119536632,"longitude_deg":75.6676992,"latitude_deg":11.9536632,"altitude":48,"angle":273,"satellites":38,"speed":26,"hex_longitude":"2d19f980","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-04-28 16:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007886336001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115631072342966272,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873004894378199040,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:14] 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-04-28 16:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374558000,"timestamp_ms":1777374558000,"timestamp_seconds":1777374558,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c77730"} 
[2026-04-28 16:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 16:40:14] 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-04-28 16:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007886336001,"66":12798,"106":206,"83":41984,"24":26,"16":115631072342966272,"45":1873004894378199040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007886336001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115631072342966272,"km_value":115631072342966.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873004894378199040,"description":"Unknown IO ID 45"} 
[2026-04-28 16:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007886336001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1873004894378199040}} 
[2026-04-28 16:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":57486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:40:15] local.INFO: GPS data processed {"connection_id":57486,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:40:15] local.INFO: Acknowledgment sent {"connection_id":57486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:40:32] local.INFO: TCP Data received {"connection_id":56811,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:32] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:40:32] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:40:32] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:40:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:40:32] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:40:32] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:40:46] local.INFO: TCP Data received {"connection_id":57486,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c77f00012d19f400071ffba00030010526..."} 
[2026-04-28 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c77f00012d19f400071ffba00030010526..."} 
[2026-04-28 16:40:46] local.INFO: Processing buffer {"connection_id":57486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c77f00012d19f400071ffba00030010526..."} 
[2026-04-28 16:40:46] local.INFO: Packet analysis {"connection_id":57486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:40:46] local.INFO: Extracted packet for processing {"connection_id":57486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756675584,"raw_latitude":119536544,"longitude_deg":75.6675584,"latitude_deg":11.9536544,"altitude":48,"angle":261,"satellites":38,"speed":30,"hex_longitude":"2d19f400","hex_latitude":"071ffba0","is_valid_coordinates":true} 
[2026-04-28 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007886848001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115631141062443008,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888238884864,"note":"Value kept but may cause issues"} 
[2026-04-28 16:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777374560000,"timestamp_ms":1777374560000,"timestamp_seconds":1777374560,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c77f00"} 
[2026-04-28 16:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:40: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-04-28 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 16:40:46] 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-04-28 16:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007886848001,"66":12776,"106":206,"83":41984,"24":30,"16":115631141062443008,"45":1871667888238884864},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007886848001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:40:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115631141062443008,"km_value":115631141062443.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888238884864,"description":"Unknown IO ID 45"} 
[2026-04-28 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007886848001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1871667888238884864}} 
[2026-04-28 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":57486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:40:46] local.INFO: GPS data processed {"connection_id":57486,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:40:46] local.INFO: Acknowledgment sent {"connection_id":57486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:40:53] local.INFO: TCP Data received {"connection_id":56812,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:53] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:53] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:40:59] local.INFO: TCP Data received {"connection_id":56812,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:59] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:40:59] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:41:00] local.INFO: TCP Data received {"connection_id":56812,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:00] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:00] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:41:00] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:41: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-04-28 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:41:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:41:00] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:41:00] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:41:08] local.INFO: TCP Data received {"connection_id":57487,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:08] local.INFO: Processing buffer {"connection_id":57487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:08] local.INFO: IMEI packet received {"connection_id":57487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":57487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:41:09] local.INFO: TCP Data received {"connection_id":57487,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:09] local.INFO: Processing buffer {"connection_id":57487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:09] local.INFO: IMEI packet received {"connection_id":57487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":57487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:41:14] local.INFO: TCP Data received {"connection_id":57487,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:14] local.INFO: Processing buffer {"connection_id":57487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:41:14] local.INFO: IMEI packet received {"connection_id":57487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":57487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:41:14] local.INFO: TCP Data received {"connection_id":57487,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c7f048012d19c64007202430002b014d23..."} 
[2026-04-28 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c7f048012d19c64007202430002b014d23..."} 
[2026-04-28 16:41:14] local.INFO: Processing buffer {"connection_id":57487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c7f048012d19c64007202430002b014d23..."} 
[2026-04-28 16:41:14] local.INFO: Packet analysis {"connection_id":57487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:41:14] local.INFO: Extracted packet for processing {"connection_id":57487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c7"} 
[2026-04-28 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546928,"longitude_deg":75.6663872,"latitude_deg":11.9546928,"altitude":43,"angle":333,"satellites":35,"speed":22,"hex_longitude":"2d19c640","hex_latitude":"07202430","is_valid_coordinates":true} 
[2026-04-28 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007892992001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115631931336425472,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753869824,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:14] 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-04-28 16:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374589000,"timestamp_ms":1777374589000,"timestamp_seconds":1777374589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c7f048"} 
[2026-04-28 16:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:41: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-04-28 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 16:41:14] 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-04-28 16:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007892992001,"66":12863,"106":206,"83":41984,"24":22,"16":115631931336425472,"45":1859423726753869824},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007892992001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:41:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115631931336425472,"km_value":115631931336425.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753869824,"description":"Unknown IO ID 45"} 
[2026-04-28 16:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007892992001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1859423726753869824}} 
[2026-04-28 16:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":57487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:41:14] local.INFO: GPS data processed {"connection_id":57487,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:41:14] local.INFO: Acknowledgment sent {"connection_id":57487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:41:32] local.INFO: TCP Data received {"connection_id":56812,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:32] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:41:32] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:41:32] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:41:32] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:41:32] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:41:46] local.INFO: TCP Data received {"connection_id":57487,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c84250012d19c34007202ac8002c014e26..."} 
[2026-04-28 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c84250012d19c34007202ac8002c014e26..."} 
[2026-04-28 16:41:46] local.INFO: Processing buffer {"connection_id":57487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c84250012d19c34007202ac8002c014e26..."} 
[2026-04-28 16:41:46] local.INFO: Packet analysis {"connection_id":57487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:41:46] local.INFO: Extracted packet for processing {"connection_id":57487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007894784001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685099520,"note":"Value kept but may cause issues"} 
[2026-04-28 16:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777374610000,"timestamp_ms":1777374610000,"timestamp_seconds":1777374610,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c84250"} 
[2026-04-28 16:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:41: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-04-28 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 16:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007894784001,"66":12841,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1857242295685099520},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007894784001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685099520,"description":"Unknown IO ID 45"} 
[2026-04-28 16:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007894784001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685099520}} 
[2026-04-28 16:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":57487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:41:46] local.INFO: GPS data processed {"connection_id":57487,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:41:46] local.INFO: Acknowledgment sent {"connection_id":57487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:41:53] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:53] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:53] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:41:59] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:59] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:41:59] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:42:00] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:42:00] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c4ead8012d7fa44005afde680009011222..."} 
[2026-04-28 16:42:00] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:42:00] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c4"} 
[2026-04-28 16:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007767040001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374391000,"timestamp_ms":1777374391000,"timestamp_seconds":1777374391,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c4ead8"} 
[2026-04-28 16:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:42: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-04-28 16:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007767040001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007767040001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:42:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:42:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007767040001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:42:00] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:42:00] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:42:08] local.INFO: TCP Data received {"connection_id":56590,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:08] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:08] local.INFO: IMEI packet received {"connection_id":56590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":56590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:42:12] local.INFO: TCP Data received {"connection_id":56590,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:12] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:12] local.INFO: IMEI packet received {"connection_id":56590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":56590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:42:13] local.INFO: TCP Data received {"connection_id":56590,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:13] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:42:13] local.INFO: IMEI packet received {"connection_id":56590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":56590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:42:14] local.INFO: TCP Data received {"connection_id":56590,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c89458012d19c34007202ac8002c014e25..."} 
[2026-04-28 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c89458012d19c34007202ac8002c014e25..."} 
[2026-04-28 16:42:14] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c89458012d19c34007202ac8002c014e25..."} 
[2026-04-28 16:42:14] local.INFO: Packet analysis {"connection_id":56590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:42:14] local.INFO: Extracted packet for processing {"connection_id":56590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007900160001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755399680,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:14] 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-04-28 16:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777374631000,"timestamp_ms":1777374631000,"timestamp_seconds":1777374631,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c89458"} 
[2026-04-28 16:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:42: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-04-28 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 16:42:14] 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-04-28 16:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007900160001,"66":12798,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1856397870755399680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007900160001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755399680,"description":"Unknown IO ID 45"} 
[2026-04-28 16:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007900160001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755399680}} 
[2026-04-28 16:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":56590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:42:14] local.INFO: GPS data processed {"connection_id":56590,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:42:14] local.INFO: Acknowledgment sent {"connection_id":56590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:42:31] local.INFO: TCP Data received {"connection_id":56770,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:42:31] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:42:31] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:42:31] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:42:31] 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-04-28 16: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-04-28 16:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:42:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:42:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:42:31] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:42:31] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:42:45] local.INFO: TCP Data received {"connection_id":56590,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c8e660012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c8e660012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:42:45] local.INFO: Processing buffer {"connection_id":56590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c8e660012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:42:45] local.INFO: Packet analysis {"connection_id":56590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:42:45] local.INFO: Extracted packet for processing {"connection_id":56590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c8"} 
[2026-04-28 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007905536001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755399680,"note":"Value kept but may cause issues"} 
[2026-04-28 16:42:45] 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-04-28 16:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777374652000,"timestamp_ms":1777374652000,"timestamp_seconds":1777374652,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c8e660"} 
[2026-04-28 16:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:42: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-04-28 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 16:42:45] 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-04-28 16: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-04-28 16:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007905536001,"66":12722,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1856397870755399680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007905536001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:42:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755399680,"description":"Unknown IO ID 45"} 
[2026-04-28 16:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007905536001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755399680}} 
[2026-04-28 16:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":56590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:42:45] local.INFO: GPS data processed {"connection_id":56590,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:42:45] local.INFO: Acknowledgment sent {"connection_id":56590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:42:53] local.INFO: TCP Data received {"connection_id":57489,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:53] local.INFO: Processing buffer {"connection_id":57489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:53] local.INFO: IMEI packet received {"connection_id":57489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":57489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:42:59] local.INFO: TCP Data received {"connection_id":57489,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:59] local.INFO: Processing buffer {"connection_id":57489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:42:59] local.INFO: IMEI packet received {"connection_id":57489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":57489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:43:00] local.INFO: TCP Data received {"connection_id":57489,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:00] local.INFO: Processing buffer {"connection_id":57489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:00] local.INFO: Packet analysis {"connection_id":57489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:00] local.INFO: Extracted packet for processing {"connection_id":57489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43: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-04-28 16:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:43:00] 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-04-28 16:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":57489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:00] local.INFO: GPS data processed {"connection_id":57489,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:00] local.INFO: Acknowledgment sent {"connection_id":57489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:14] local.INFO: TCP Data received {"connection_id":56814,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: Processing buffer {"connection_id":56814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: IMEI packet received {"connection_id":56814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":56814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:43:14] local.INFO: TCP Data received {"connection_id":56814,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: Processing buffer {"connection_id":56814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:43:14] local.INFO: IMEI packet received {"connection_id":56814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":56814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:43:15] local.INFO: TCP Data received {"connection_id":56814,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c93868012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c93868012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:43:15] local.INFO: Processing buffer {"connection_id":56814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c93868012d19c34007202ac8002c014e22..."} 
[2026-04-28 16:43:15] local.INFO: Packet analysis {"connection_id":56814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:15] local.INFO: Extracted packet for processing {"connection_id":56814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007910912001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755399680,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777374673000,"timestamp_ms":1777374673000,"timestamp_seconds":1777374673,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c93868"} 
[2026-04-28 16:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007910912001,"66":12689,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1856397870755399680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007910912001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755399680,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007910912001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755399680}} 
[2026-04-28 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":56814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:15] local.INFO: GPS data processed {"connection_id":56814,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:15] local.INFO: Acknowledgment sent {"connection_id":56814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:19] local.INFO: TCP Data received {"connection_id":56814,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c98a70012d19c34007202ac8002c014e24..."} 
[2026-04-28 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c98a70012d19c34007202ac8002c014e24..."} 
[2026-04-28 16:43:19] local.INFO: Processing buffer {"connection_id":56814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c98a70012d19c34007202ac8002c014e24..."} 
[2026-04-28 16:43:19] local.INFO: Packet analysis {"connection_id":56814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:19] local.INFO: Extracted packet for processing {"connection_id":56814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007916288001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755399680,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777374694000,"timestamp_ms":1777374694000,"timestamp_seconds":1777374694,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c98a70"} 
[2026-04-28 16:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43: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-04-28 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 16:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007916288001,"66":12667,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1856397870755399680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007916288001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755399680,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007916288001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755399680}} 
[2026-04-28 16:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":56814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:19] local.INFO: GPS data processed {"connection_id":56814,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:19] local.INFO: Acknowledgment sent {"connection_id":56814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:31] local.INFO: TCP Data received {"connection_id":57489,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:31] local.INFO: Processing buffer {"connection_id":57489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:31] local.INFO: Packet analysis {"connection_id":57489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:31] local.INFO: Extracted packet for processing {"connection_id":57489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:43:31] 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-04-28 16: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-04-28 16:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":57489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:31] local.INFO: GPS data processed {"connection_id":57489,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:31] local.INFO: Acknowledgment sent {"connection_id":57489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:50] local.INFO: TCP Data received {"connection_id":56814,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c9dc78012d19c34007202ac8002c014e23..."} 
[2026-04-28 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c9dc78012d19c34007202ac8002c014e23..."} 
[2026-04-28 16:43:50] local.INFO: Processing buffer {"connection_id":56814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c9dc78012d19c34007202ac8002c014e23..."} 
[2026-04-28 16:43:50] local.INFO: Packet analysis {"connection_id":56814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:50] local.INFO: Extracted packet for processing {"connection_id":56814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119548616,"longitude_deg":75.6663104,"latitude_deg":11.9548616,"altitude":44,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202ac8","is_valid_coordinates":true} 
[2026-04-28 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921664001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115632025825705984,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755399680,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:50] 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-04-28 16:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777374715000,"timestamp_ms":1777374715000,"timestamp_seconds":1777374715,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c9dc78"} 
[2026-04-28 16:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43: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-04-28 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-28 16:43:50] 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-04-28 16:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921664001,"66":12667,"106":206,"83":41984,"24":0,"16":115632025825705984,"45":1856397870755399680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 16:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921664001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 16:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115632025825705984,"km_value":115632025825705.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755399680,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921664001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755399680}} 
[2026-04-28 16:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":56814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:50] local.INFO: GPS data processed {"connection_id":56814,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:50] local.INFO: Acknowledgment sent {"connection_id":56814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:53] local.INFO: TCP Data received {"connection_id":56771,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:53] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:53] local.INFO: IMEI packet received {"connection_id":56771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":56771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:43:58] local.INFO: TCP Data received {"connection_id":56771,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:58] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:43:58] local.INFO: IMEI packet received {"connection_id":56771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":56771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:43:59] local.INFO: TCP Data received {"connection_id":56771,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:59] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:43:59] local.INFO: Packet analysis {"connection_id":56771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:59] local.INFO: Extracted packet for processing {"connection_id":56771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:43: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-04-28 16: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-04-28 16:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:43:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:43:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":56771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:43:59] local.INFO: GPS data processed {"connection_id":56771,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:43:59] local.INFO: Acknowledgment sent {"connection_id":56771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:43:59] local.INFO: TCP Data received {"connection_id":56815,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:43:59] local.INFO: Processing buffer {"connection_id":56815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:43:59] local.INFO: IMEI packet received {"connection_id":56815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:44:06] local.INFO: TCP Data received {"connection_id":57490,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:06] local.INFO: Processing buffer {"connection_id":57490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:06] local.INFO: IMEI packet received {"connection_id":57490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":57490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:44:08] local.INFO: TCP Data received {"connection_id":57490,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:08] local.INFO: Processing buffer {"connection_id":57490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:08] local.INFO: IMEI packet received {"connection_id":57490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":57490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:44:09] local.INFO: TCP Data received {"connection_id":57490,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:09] local.INFO: Processing buffer {"connection_id":57490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:09] local.INFO: IMEI packet received {"connection_id":57490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":57490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:44:10] local.INFO: TCP Data received {"connection_id":57490,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:10] local.INFO: Processing buffer {"connection_id":57490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:44:10] local.INFO: IMEI packet received {"connection_id":57490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":57490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:44:30] local.INFO: TCP Data received {"connection_id":56771,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:44:30] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:44:30] local.INFO: Packet analysis {"connection_id":56771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:44:30] local.INFO: Extracted packet for processing {"connection_id":56771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:44:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:44:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":56771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:44:30] local.INFO: GPS data processed {"connection_id":56771,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:44:30] local.INFO: Acknowledgment sent {"connection_id":56771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:44:34] local.INFO: TCP Data received {"connection_id":56591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:44:34] local.INFO: Processing buffer {"connection_id":56591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:44:34] local.INFO: IMEI packet received {"connection_id":56591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":56591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:44:53] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:53] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:53] local.INFO: IMEI packet received {"connection_id":56592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:44:59] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:59] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:44:59] local.INFO: IMEI packet received {"connection_id":56592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:45:00] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:00] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:00] local.INFO: Packet analysis {"connection_id":56592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:45:00] local.INFO: Extracted packet for processing {"connection_id":56592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:45: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-04-28 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:45:00] 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-04-28 16:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:45:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":56592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:45:01] local.INFO: GPS data processed {"connection_id":56592,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:45:01] local.INFO: Acknowledgment sent {"connection_id":56592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:45:32] local.INFO: TCP Data received {"connection_id":56592,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:32] local.INFO: Processing buffer {"connection_id":56592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:45:32] local.INFO: Packet analysis {"connection_id":56592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:45:32] local.INFO: Extracted packet for processing {"connection_id":56592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:45:32] 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-04-28 16: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-04-28 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":56592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:45:32] local.INFO: GPS data processed {"connection_id":56592,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:45:32] local.INFO: Acknowledgment sent {"connection_id":56592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:45:59] local.INFO: TCP Data received {"connection_id":56818,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:45:59] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:45:59] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:46:04] local.INFO: TCP Data received {"connection_id":56818,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:04] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:04] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:46:04] local.INFO: TCP Data received {"connection_id":56818,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:04] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:04] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:46:04] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:46:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:46:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:46:04] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:46:04] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:46:09] local.INFO: TCP Data received {"connection_id":56818,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:09] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:46:09] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:46:09] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:46:09] 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-04-28 16:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:46:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:46:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:46:09] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:46:09] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:46:53] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:53] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:53] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:46:59] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:59] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:46:59] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:47:00] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:47:00] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3c982a0012d7fa44005afde680009011223..."} 
[2026-04-28 16:47:00] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:47:00] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3c9"} 
[2026-04-28 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007844096001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374692000,"timestamp_ms":1777374692000,"timestamp_seconds":1777374692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3c982a0"} 
[2026-04-28 16:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:47: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-04-28 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:47:00] 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-04-28 16: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-04-28 16:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007844096001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007844096001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007844096001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:47:00] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:47:00] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:47:32] local.INFO: TCP Data received {"connection_id":56773,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:47:32] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:47:32] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:47:32] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:47:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:47:32] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:47:32] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:47:59] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:47:59] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:47:59] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:48:04] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.183.176","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:48:04] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:48:04] local.INFO: IMEI packet received {"connection_id":56593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":56593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:48:05] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:05] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:05] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:48:05] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:48: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-04-28 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:48:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:48:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:48:05] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:48:05] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:48:09] local.INFO: TCP Data received {"connection_id":56593,"ip":"117.224.183.176","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:09] local.INFO: Processing buffer {"connection_id":56593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:48:09] local.INFO: Packet analysis {"connection_id":56593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:48:09] local.INFO: Extracted packet for processing {"connection_id":56593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.183.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.183.176","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:48:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:48:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":56593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:48:09] local.INFO: GPS data processed {"connection_id":56593,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:48:09] local.INFO: Acknowledgment sent {"connection_id":56593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:49:14] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:49:14] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:49:14] local.INFO: IMEI packet received {"connection_id":56774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":56774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:49:14] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3cfcc00012d182bc007219b08004b013122..."} 
[2026-04-28 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3cfcc00012d182bc007219b08004b013122..."} 
[2026-04-28 16:49:14] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3cfcc00012d182bc007219b08004b013122..."} 
[2026-04-28 16:49:14] local.INFO: Packet analysis {"connection_id":56774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3cf"} 
[2026-04-28 16:49:14] local.INFO: Extracted packet for processing {"connection_id":56774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3cf"} 
[2026-04-28 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642888,"longitude_deg":75.6558784,"latitude_deg":11.9642888,"altitude":75,"angle":305,"satellites":34,"speed":21,"hex_longitude":"2d182bc0","hex_latitude":"07219b08","is_valid_coordinates":true} 
[2026-04-28 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008024832001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640096069255168,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746552261117663232,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777375104000,"timestamp_ms":1777375104000,"timestamp_seconds":1777375104,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3cfcc00"} 
[2026-04-28 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 16:49:14] 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-04-28 16:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008024832001,"66":13928,"105":206,"83":41984,"24":21,"16":115640096069255168,"45":1746552261117663232},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008024832001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640096069255168,"km_value":115640096069255.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746552261117663232,"description":"Unknown IO ID 45"} 
[2026-04-28 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008024832001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1746552261117663232}} 
[2026-04-28 16:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":56774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:49:15] local.INFO: GPS data processed {"connection_id":56774,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:49:15] local.INFO: Acknowledgment sent {"connection_id":56774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:49:46] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3cfd7b8012d1827c007219e68004b013e21..."} 
[2026-04-28 16:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3cfd7b8012d1827c007219e68004b013e21..."} 
[2026-04-28 16:49:46] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3cfd7b8012d1827c007219e68004b013e21..."} 
[2026-04-28 16:49:46] local.INFO: Packet analysis {"connection_id":56774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3cf"} 
[2026-04-28 16:49:46] local.INFO: Extracted packet for processing {"connection_id":56774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3cf"} 
[2026-04-28 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119643752,"longitude_deg":75.655776,"latitude_deg":11.9643752,"altitude":75,"angle":318,"satellites":33,"speed":15,"hex_longitude":"2d1827c0","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-04-28 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008026624001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640156198797312,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769940992,"note":"Value kept but may cause issues"} 
[2026-04-28 16:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777375107000,"timestamp_ms":1777375107000,"timestamp_seconds":1777375107,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3cfd7b8"} 
[2026-04-28 16:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:49: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-04-28 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 16:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008026624001,"66":13733,"105":206,"83":41984,"24":15,"16":115640156198797312,"45":1741696817769940992},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008026624001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:49:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640156198797312,"km_value":115640156198797.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769940992,"description":"Unknown IO ID 45"} 
[2026-04-28 16:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008026624001,"power":13733,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1741696817769940992}} 
[2026-04-28 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":56774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:49:46] local.INFO: GPS data processed {"connection_id":56774,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:49:46] local.INFO: Acknowledgment sent {"connection_id":56774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:49:49] local.INFO: TCP Data received {"connection_id":57492,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:49:49] local.INFO: Processing buffer {"connection_id":57492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:49:49] local.INFO: IMEI packet received {"connection_id":57492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":57492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:50:11] local.INFO: TCP Data received {"connection_id":57493,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:11] local.INFO: Processing buffer {"connection_id":57493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:11] local.INFO: IMEI packet received {"connection_id":57493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":57493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:50:12] local.INFO: TCP Data received {"connection_id":57493,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:12] local.INFO: Processing buffer {"connection_id":57493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:12] local.INFO: IMEI packet received {"connection_id":57493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":57493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:50:13] local.INFO: TCP Data received {"connection_id":57493,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: Processing buffer {"connection_id":57493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: IMEI packet received {"connection_id":57493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":57493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:50:13] local.INFO: TCP Data received {"connection_id":57493,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: Processing buffer {"connection_id":57493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:50:13] local.INFO: IMEI packet received {"connection_id":57493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":57493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:50:39] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:50:39] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:50:39] local.INFO: IMEI packet received {"connection_id":56775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":56775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:51:03] local.INFO: TCP Data received {"connection_id":57494,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:03] local.INFO: Processing buffer {"connection_id":57494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:03] local.INFO: IMEI packet received {"connection_id":57494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":57494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:51:21] local.INFO: TCP Data received {"connection_id":57494,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:21] local.INFO: Processing buffer {"connection_id":57494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:21] local.INFO: IMEI packet received {"connection_id":57494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":57494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:51:34] local.INFO: TCP Data received {"connection_id":57494,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:34] local.INFO: Processing buffer {"connection_id":57494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:34] local.INFO: Packet analysis {"connection_id":57494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:51:34] local.INFO: Extracted packet for processing {"connection_id":57494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:51:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:51:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":57494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:51:34] local.INFO: GPS data processed {"connection_id":57494,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:51:34] local.INFO: Acknowledgment sent {"connection_id":57494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:51:35] local.INFO: TCP Data received {"connection_id":57494,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:35] local.INFO: Processing buffer {"connection_id":57494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:51:35] local.INFO: Packet analysis {"connection_id":57494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:51:35] local.INFO: Extracted packet for processing {"connection_id":57494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":57494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:51:35] local.INFO: GPS data processed {"connection_id":57494,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:51:35] local.INFO: Acknowledgment sent {"connection_id":57494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:51:59] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:59] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:51:59] local.INFO: IMEI packet received {"connection_id":56596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:52:04] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:04] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:04] local.INFO: IMEI packet received {"connection_id":56596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":56596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:52:05] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:05] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:05] local.INFO: Packet analysis {"connection_id":56596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:52:05] local.INFO: Extracted packet for processing {"connection_id":56596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:52: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-04-28 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:52:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":56596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:52:05] local.INFO: GPS data processed {"connection_id":56596,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:52:05] local.INFO: Acknowledgment sent {"connection_id":56596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:52:09] local.INFO: TCP Data received {"connection_id":56596,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:09] local.INFO: Processing buffer {"connection_id":56596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:52:09] local.INFO: Packet analysis {"connection_id":56596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:52:09] local.INFO: Extracted packet for processing {"connection_id":56596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:52:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:52:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":56596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:52:09] local.INFO: GPS data processed {"connection_id":56596,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:52:09] local.INFO: Acknowledgment sent {"connection_id":56596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:52:54] local.INFO: TCP Data received {"connection_id":57495,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:54] local.INFO: Processing buffer {"connection_id":57495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:54] local.INFO: IMEI packet received {"connection_id":57495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":57495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:52:59] local.INFO: TCP Data received {"connection_id":57495,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:59] local.INFO: Processing buffer {"connection_id":57495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:52:59] local.INFO: IMEI packet received {"connection_id":57495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":57495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:53:00] local.INFO: TCP Data received {"connection_id":57495,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:00] local.INFO: Processing buffer {"connection_id":57495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:00] local.INFO: Packet analysis {"connection_id":57495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:53:00] local.INFO: Extracted packet for processing {"connection_id":57495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:53: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-04-28 16:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":57495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:53:00] local.INFO: GPS data processed {"connection_id":57495,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:53:00] local.INFO: Acknowledgment sent {"connection_id":57495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:53:32] local.INFO: TCP Data received {"connection_id":57495,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:32] local.INFO: Processing buffer {"connection_id":57495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:53:32] local.INFO: Packet analysis {"connection_id":57495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:53:32] local.INFO: Extracted packet for processing {"connection_id":57495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:53:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":57495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:53:32] local.INFO: GPS data processed {"connection_id":57495,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:53:32] local.INFO: Acknowledgment sent {"connection_id":57495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:53:53] local.INFO: TCP Data received {"connection_id":56825,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:53] local.INFO: Processing buffer {"connection_id":56825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:53] local.INFO: IMEI packet received {"connection_id":56825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":56825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:53:59] local.INFO: TCP Data received {"connection_id":56825,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:59] local.INFO: Processing buffer {"connection_id":56825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:53:59] local.INFO: IMEI packet received {"connection_id":56825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:54:00] local.INFO: TCP Data received {"connection_id":56825,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:00] local.INFO: Processing buffer {"connection_id":56825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:00] local.INFO: Packet analysis {"connection_id":56825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:54:00] local.INFO: Extracted packet for processing {"connection_id":56825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:54: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-04-28 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:54:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:54:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":56825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:54:00] local.INFO: GPS data processed {"connection_id":56825,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:54:00] local.INFO: Acknowledgment sent {"connection_id":56825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:54:32] local.INFO: TCP Data received {"connection_id":56825,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:32] local.INFO: Processing buffer {"connection_id":56825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:54:32] local.INFO: Packet analysis {"connection_id":56825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:54:32] local.INFO: Extracted packet for processing {"connection_id":56825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":56825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:54:32] local.INFO: GPS data processed {"connection_id":56825,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:54:32] local.INFO: Acknowledgment sent {"connection_id":56825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:54:53] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:53] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:53] local.INFO: IMEI packet received {"connection_id":56599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:54:59] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:59] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:54:59] local.INFO: IMEI packet received {"connection_id":56599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":56599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:55:00] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:00] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:00] local.INFO: Packet analysis {"connection_id":56599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:55:00] local.INFO: Extracted packet for processing {"connection_id":56599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:55: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-04-28 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:55:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":56599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:55:00] local.INFO: GPS data processed {"connection_id":56599,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:55:00] local.INFO: Acknowledgment sent {"connection_id":56599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:55:19] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:55:19] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:55:19] local.INFO: IMEI packet received {"connection_id":56827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":56827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:55:20] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d32b48012d1822c00721b488004800af22..."} 
[2026-04-28 16:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d32b48012d1822c00721b488004800af22..."} 
[2026-04-28 16:55:20] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d32b48012d1822c00721b488004800af22..."} 
[2026-04-28 16:55:20] local.INFO: Packet analysis {"connection_id":56827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:55:20] local.INFO: Extracted packet for processing {"connection_id":56827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":34,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008077824001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777375325000,"timestamp_ms":1777375325000,"timestamp_seconds":1777375325,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d32b48"} 
[2026-04-28 16:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-28 16:55:20] 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-04-28 16: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-04-28 16:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008077824001,"66":12852,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008077824001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008077824001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":56827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:55:20] local.INFO: GPS data processed {"connection_id":56827,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:55:20] local.INFO: Acknowledgment sent {"connection_id":56827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:55:32] local.INFO: TCP Data received {"connection_id":56599,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:32] local.INFO: Processing buffer {"connection_id":56599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ce1a68012d7fa44005afde680009011225..."} 
[2026-04-28 16:55:32] local.INFO: Packet analysis {"connection_id":56599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:55:32] local.INFO: Extracted packet for processing {"connection_id":56599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ce"} 
[2026-04-28 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007921152001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777374993000,"timestamp_ms":1777374993000,"timestamp_seconds":1777374993,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ce1a68"} 
[2026-04-28 16:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 16:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16: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-04-28 16:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007921152001,"66":25430,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007921152001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007921152001,"power":25430,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":56599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:55:32] local.INFO: GPS data processed {"connection_id":56599,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:55:32] local.INFO: Acknowledgment sent {"connection_id":56599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:55:51] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d37d50012d1822c00721b488004800af27..."} 
[2026-04-28 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d37d50012d1822c00721b488004800af27..."} 
[2026-04-28 16:55:51] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d37d50012d1822c00721b488004800af27..."} 
[2026-04-28 16:55:51] local.INFO: Packet analysis {"connection_id":56827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:55:51] local.INFO: Extracted packet for processing {"connection_id":56827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008083200001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777375346000,"timestamp_ms":1777375346000,"timestamp_seconds":1777375346,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d37d50"} 
[2026-04-28 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-04-28 16:55: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-04-28 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 16:55:51] 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-04-28 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-04-28 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-04-28 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008083200001,"66":12841,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008083200001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008083200001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":56827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:55:51] local.INFO: GPS data processed {"connection_id":56827,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:55:51] local.INFO: Acknowledgment sent {"connection_id":56827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:55:59] local.INFO: TCP Data received {"connection_id":57497,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:55:59] local.INFO: Processing buffer {"connection_id":57497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:55:59] local.INFO: IMEI packet received {"connection_id":57497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":57497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:56:03] local.INFO: TCP Data received {"connection_id":57497,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:03] local.INFO: Processing buffer {"connection_id":57497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:03] local.INFO: IMEI packet received {"connection_id":57497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":57497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:56:04] local.INFO: TCP Data received {"connection_id":57497,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:04] local.INFO: Processing buffer {"connection_id":57497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:04] local.INFO: Packet analysis {"connection_id":57497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:56:04] local.INFO: Extracted packet for processing {"connection_id":57497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:56:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":57497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:56:04] local.INFO: GPS data processed {"connection_id":57497,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:56:04] local.INFO: Acknowledgment sent {"connection_id":57497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:56:09] local.INFO: TCP Data received {"connection_id":57496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:09] local.INFO: Processing buffer {"connection_id":57496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:09] local.INFO: IMEI packet received {"connection_id":57496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":57496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:56:10] local.INFO: TCP Data received {"connection_id":57497,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:10] local.INFO: Processing buffer {"connection_id":57497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:56:10] local.INFO: Packet analysis {"connection_id":57497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:56:10] local.INFO: Extracted packet for processing {"connection_id":57497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:56:10] 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-04-28 16:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":57497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":57497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":57497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:56:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:56:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":57497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:56:10] local.INFO: GPS data processed {"connection_id":57497,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:56:10] local.INFO: Acknowledgment sent {"connection_id":57497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:56:13] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:56:13] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:13] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:56:19] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:19] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:56:19] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:56:20] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d3cf58012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d3cf58012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:20] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d3cf58012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:20] local.INFO: Packet analysis {"connection_id":56778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:56:20] local.INFO: Extracted packet for processing {"connection_id":56778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d3"} 
[2026-04-28 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008088576001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777375367000,"timestamp_ms":1777375367000,"timestamp_seconds":1777375367,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d3cf58"} 
[2026-04-28 16:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 16:56:20] 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-04-28 16:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008088576001,"66":12819,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008088576001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:56:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008088576001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":56778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:56:20] local.INFO: GPS data processed {"connection_id":56778,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:56:20] local.INFO: Acknowledgment sent {"connection_id":56778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:56:34] local.INFO: TCP Data received {"connection_id":56828,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:34] local.INFO: Processing buffer {"connection_id":56828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 16:56:34] local.INFO: IMEI packet received {"connection_id":56828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 16:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":56828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:56:51] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d41d78012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d41d78012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:51] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d41d78012d1822c00721b488004800af26..."} 
[2026-04-28 16:56:51] local.INFO: Packet analysis {"connection_id":56778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:56:51] local.INFO: Extracted packet for processing {"connection_id":56778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008093952001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777375387000,"timestamp_ms":1777375387000,"timestamp_seconds":1777375387,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d41d78"} 
[2026-04-28 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750505519554996,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3553747752,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505364163657728,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-3345857858735955264,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811848,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":136,"raw_value":20266950579978240,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3599695872,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428715633848921892,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195044864,"note":"Value kept but may cause issues"} 
[2026-04-28 16:56:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,214,125,45,192,180,72,39,10,66,43,34,217,1,240,74,227,211,33,4,113,205,53,136,239,50,2,154,7,164,143,69],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-04-28 16:56:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188339348474429440,"timestamp_seconds":5188339348474429.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008093952001,"66":12765,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008093952001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:56:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008093952001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":56778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:56:51] local.INFO: GPS data processed {"connection_id":56778,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:56:51] local.INFO: Acknowledgment sent {"connection_id":56778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:56:53] local.INFO: TCP Data received {"connection_id":56829,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:53] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:53] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:56:59] local.INFO: TCP Data received {"connection_id":56829,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:59] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:56:59] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:57:00] local.INFO: TCP Data received {"connection_id":56829,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:00] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:00] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:57:00] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:57: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-04-28 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:57:00] 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-04-28 16:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:57:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:57:00] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:57:00] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:57:09] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:09] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:09] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:57:14] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:14] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:57:14] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:57:14] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d47368012d1822c00721b488004800af24..."} 
[2026-04-28 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d47368012d1822c00721b488004800af24..."} 
[2026-04-28 16:57:14] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d47368012d1822c00721b488004800af24..."} 
[2026-04-28 16:57:14] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:57:14] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008099072001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777375409000,"timestamp_ms":1777375409000,"timestamp_seconds":1777375409,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d47368"} 
[2026-04-28 16:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 16:57:14] 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-04-28 16:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008099072001,"66":12798,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008099072001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:57:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008099072001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:57:14] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:57:14] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:57:32] local.INFO: TCP Data received {"connection_id":56829,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:32] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:57:32] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:57:32] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:57:32] 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-04-28 16:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:57:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:57:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:57:32] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:57:32] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:57:45] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d4c570012d1822c00721b488004800af27..."} 
[2026-04-28 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d4c570012d1822c00721b488004800af27..."} 
[2026-04-28 16:57:45] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d4c570012d1822c00721b488004800af27..."} 
[2026-04-28 16:57:45] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:57:45] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d4"} 
[2026-04-28 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16: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-04-28 16:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008104704001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777375430000,"timestamp_ms":1777375430000,"timestamp_seconds":1777375430,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d4c570"} 
[2026-04-28 16:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:57: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-04-28 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 16:57:46] 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-04-28 16:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008104704001,"66":12776,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008104704001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:57:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008104704001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:57:46] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:57:46] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:57:59] local.INFO: TCP Data received {"connection_id":56601,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:57:59] local.INFO: Processing buffer {"connection_id":56601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:57:59] local.INFO: IMEI packet received {"connection_id":56601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":56601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:58:04] local.INFO: TCP Data received {"connection_id":56601,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:04] local.INFO: Processing buffer {"connection_id":56601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:04] local.INFO: IMEI packet received {"connection_id":56601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":56601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:58:05] local.INFO: TCP Data received {"connection_id":56601,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:05] local.INFO: Processing buffer {"connection_id":56601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:05] local.INFO: Packet analysis {"connection_id":56601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:58:05] local.INFO: Extracted packet for processing {"connection_id":56601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:58: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-04-28 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:58:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:58:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":56601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:58:05] local.INFO: GPS data processed {"connection_id":56601,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:58:05] local.INFO: Acknowledgment sent {"connection_id":56601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:58:08] local.INFO: TCP Data received {"connection_id":56601,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:08] local.INFO: Processing buffer {"connection_id":56601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:58:08] local.INFO: Packet analysis {"connection_id":56601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:58:08] local.INFO: Extracted packet for processing {"connection_id":56601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":56601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:58:08] local.INFO: GPS data processed {"connection_id":56601,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:58:08] local.INFO: Acknowledgment sent {"connection_id":56601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:58:09] local.INFO: TCP Data received {"connection_id":56830,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:09] local.INFO: Processing buffer {"connection_id":56830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:09] local.INFO: IMEI packet received {"connection_id":56830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":56830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:58:14] local.INFO: TCP Data received {"connection_id":56830,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:14] local.INFO: Processing buffer {"connection_id":56830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:58:14] local.INFO: IMEI packet received {"connection_id":56830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":56830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:58:15] local.INFO: TCP Data received {"connection_id":56830,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d51778012d1822c00721b488004800af24..."} 
[2026-04-28 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d51778012d1822c00721b488004800af24..."} 
[2026-04-28 16:58:15] local.INFO: Processing buffer {"connection_id":56830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d51778012d1822c00721b488004800af24..."} 
[2026-04-28 16:58:15] local.INFO: Packet analysis {"connection_id":56830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:58:15] local.INFO: Extracted packet for processing {"connection_id":56830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008110080001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777375451000,"timestamp_ms":1777375451000,"timestamp_seconds":1777375451,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d51778"} 
[2026-04-28 16:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 16:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 16:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008110080001,"66":12776,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008110080001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:58:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008110080001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":56830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:58:15] local.INFO: GPS data processed {"connection_id":56830,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:58:15] local.INFO: Acknowledgment sent {"connection_id":56830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:58:46] local.INFO: TCP Data received {"connection_id":56830,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d56980012d1822c00721b488004800af25..."} 
[2026-04-28 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d56980012d1822c00721b488004800af25..."} 
[2026-04-28 16:58:46] local.INFO: Processing buffer {"connection_id":56830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d56980012d1822c00721b488004800af25..."} 
[2026-04-28 16:58:46] local.INFO: Packet analysis {"connection_id":56830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:58:46] local.INFO: Extracted packet for processing {"connection_id":56830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 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-04-28 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008115456001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777375472000,"timestamp_ms":1777375472000,"timestamp_seconds":1777375472,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d56980"} 
[2026-04-28 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-04-28 16:58: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-04-28 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 16:58:46] 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-04-28 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-04-28 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-04-28 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008115456001,"66":12722,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008115456001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:58:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008115456001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":56830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:58:46] local.INFO: GPS data processed {"connection_id":56830,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:58:46] local.INFO: Acknowledgment sent {"connection_id":56830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:58:54] local.INFO: TCP Data received {"connection_id":57498,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:54] local.INFO: Processing buffer {"connection_id":57498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:54] local.INFO: IMEI packet received {"connection_id":57498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":57498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:58:59] local.INFO: TCP Data received {"connection_id":57498,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:59] local.INFO: Processing buffer {"connection_id":57498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:58:59] local.INFO: IMEI packet received {"connection_id":57498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":57498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:59:00] local.INFO: TCP Data received {"connection_id":57498,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:00] local.INFO: Processing buffer {"connection_id":57498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:00] local.INFO: Packet analysis {"connection_id":57498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:00] local.INFO: Extracted packet for processing {"connection_id":57498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:59: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-04-28 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:59:00] 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-04-28 16:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":57498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:59:00] local.INFO: GPS data processed {"connection_id":57498,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:59:00] local.INFO: Acknowledgment sent {"connection_id":57498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:59:09] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:09] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:09] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 16:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:59:14] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:14] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 16:59:14] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 16:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 16:59:14] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d5bb88012d1822c00721b488004800af24..."} 
[2026-04-28 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d5bb88012d1822c00721b488004800af24..."} 
[2026-04-28 16:59:14] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d5bb88012d1822c00721b488004800af24..."} 
[2026-04-28 16:59:14] local.INFO: Packet analysis {"connection_id":56780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:59:14] local.INFO: Extracted packet for processing {"connection_id":56780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d5"} 
[2026-04-28 16:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008120832001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777375493000,"timestamp_ms":1777375493000,"timestamp_seconds":1777375493,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d5bb88"} 
[2026-04-28 16:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 16:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:59:14] 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-04-28 16:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008120832001,"66":12722,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008120832001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:59:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008120832001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":56780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:59:14] local.INFO: GPS data processed {"connection_id":56780,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:59:14] local.INFO: Acknowledgment sent {"connection_id":56780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:59:32] local.INFO: TCP Data received {"connection_id":57498,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:32] local.INFO: Processing buffer {"connection_id":57498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 16:59:32] local.INFO: Packet analysis {"connection_id":57498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:32] local.INFO: Extracted packet for processing {"connection_id":57498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 16:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 16:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 16:59:32] 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-04-28 16:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 16:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 16:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 16:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 16:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 16:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 16:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 16:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 16:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:59:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 16:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 16:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 16:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 16:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":57498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:59:32] local.INFO: GPS data processed {"connection_id":57498,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:59:32] local.INFO: Acknowledgment sent {"connection_id":57498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:59:47] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d60d90012d1822c00721b488004800af21..."} 
[2026-04-28 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d60d90012d1822c00721b488004800af21..."} 
[2026-04-28 16:59:47] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d60d90012d1822c00721b488004800af21..."} 
[2026-04-28 16:59:47] local.INFO: Packet analysis {"connection_id":56780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:47] local.INFO: Extracted packet for processing {"connection_id":56780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 16:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":33,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 16:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 16:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008126208001,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 16:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 16:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777375514000,"timestamp_ms":1777375514000,"timestamp_seconds":1777375514,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d60d90"} 
[2026-04-28 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-04-28 16:59: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-04-28 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 16:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 16:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 16:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 16:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 16:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 16:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 16:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 16:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008126208001,"66":12678,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 16:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 16:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 16:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008126208001,"description":"Unknown IO ID 0"} 
[2026-04-28 16:59:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 16:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 16:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 16:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 16:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008126208001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 16:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":56780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 16:59:47] local.INFO: GPS data processed {"connection_id":56780,"processed":1,"errors":0,"total":1} 
[2026-04-28 16:59:47] local.INFO: Acknowledgment sent {"connection_id":56780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 16:59:53] local.INFO: TCP Data received {"connection_id":56831,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:53] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:53] local.INFO: IMEI packet received {"connection_id":56831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 16:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":56831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 16:59:59] local.INFO: TCP Data received {"connection_id":56831,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:59] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 16:59:59] local.INFO: IMEI packet received {"connection_id":56831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":56831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:00:00] local.INFO: TCP Data received {"connection_id":56831,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:00] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:00] local.INFO: Packet analysis {"connection_id":56831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:00] local.INFO: Extracted packet for processing {"connection_id":56831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 17:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:00: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-04-28 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 17:00:00] 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-04-28 17:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:00:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:00:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":56831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:00:00] local.INFO: GPS data processed {"connection_id":56831,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:00:00] local.INFO: Acknowledgment sent {"connection_id":56831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:00:08] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:08] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:08] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:00:14] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:14] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:00:14] local.INFO: IMEI packet received {"connection_id":56603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":56603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:00:15] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d65f98012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d65f98012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:15] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d65f98012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:15] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:15] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008131584001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777375535000,"timestamp_ms":1777375535000,"timestamp_seconds":1777375535,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d65f98"} 
[2026-04-28 17:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 17:00:15] 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-04-28 17:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008131584001,"66":12711,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008131584001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:00:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008131584001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:00:15] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:00:15] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:00:31] local.INFO: TCP Data received {"connection_id":56831,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:31] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d601d8012d7fa44005afde680009011227..."} 
[2026-04-28 17:00:31] local.INFO: Packet analysis {"connection_id":56831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:31] local.INFO: Extracted packet for processing {"connection_id":56831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d6"} 
[2026-04-28 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455007998208001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777375511000,"timestamp_ms":1777375511000,"timestamp_seconds":1777375511,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d601d8"} 
[2026-04-28 17:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 17:00:31] 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-04-28 17:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455007998208001,"66":25473,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455007998208001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455007998208001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 17:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":56831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:00:31] local.INFO: GPS data processed {"connection_id":56831,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:00:31] local.INFO: Acknowledgment sent {"connection_id":56831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:00:46] local.INFO: TCP Data received {"connection_id":56603,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3d9e5f0012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3d9e5f0012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:46] local.INFO: Processing buffer {"connection_id":56603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3d9e5f0012d1822c00721b488004800af24..."} 
[2026-04-28 17:00:46] local.INFO: Packet analysis {"connection_id":56603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3d9"} 
[2026-04-28 17:00:46] local.INFO: Extracted packet for processing {"connection_id":56603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3d9"} 
[2026-04-28 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008190720001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777375766000,"timestamp_ms":1777375766000,"timestamp_seconds":1777375766,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3d9e5f0"} 
[2026-04-28 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-04-28 17: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-04-28 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008190720001,"66":12591,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008190720001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008190720001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":56603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:00:46] local.INFO: GPS data processed {"connection_id":56603,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:00:46] local.INFO: Acknowledgment sent {"connection_id":56603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:00:53] local.INFO: TCP Data received {"connection_id":56832,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:53] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:53] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:00:59] local.INFO: TCP Data received {"connection_id":56832,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:59] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:00:59] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:01:01] local.INFO: TCP Data received {"connection_id":56832,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3da99a0012d7fa44005afde680009011225..."} 
[2026-04-28 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3da99a0012d7fa44005afde680009011225..."} 
[2026-04-28 17:01:01] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3da99a0012d7fa44005afde680009011225..."} 
[2026-04-28 17:01:01] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:01] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 17:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008130816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777375812000,"timestamp_ms":1777375812000,"timestamp_seconds":1777375812,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3da99a0"} 
[2026-04-28 17:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:01: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-04-28 17:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 17:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008130816001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008130816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:01:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:01:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 17:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008130816001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 17:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:01:01] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:01:01] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:01:08] local.INFO: TCP Data received {"connection_id":57500,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:08] local.INFO: Processing buffer {"connection_id":57500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:08] local.INFO: IMEI packet received {"connection_id":57500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":57500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:01:14] local.INFO: TCP Data received {"connection_id":57500,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:14] local.INFO: Processing buffer {"connection_id":57500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:01:14] local.INFO: IMEI packet received {"connection_id":57500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":57500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:01:15] local.INFO: TCP Data received {"connection_id":57500,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3da37f8012d1822c00721b488004800af1e..."} 
[2026-04-28 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3da37f8012d1822c00721b488004800af1e..."} 
[2026-04-28 17:01:15] local.INFO: Processing buffer {"connection_id":57500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3da37f8012d1822c00721b488004800af1e..."} 
[2026-04-28 17:01:15] local.INFO: Packet analysis {"connection_id":57500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:15] local.INFO: Extracted packet for processing {"connection_id":57500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":30,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008196096001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777375787000,"timestamp_ms":1777375787000,"timestamp_seconds":1777375787,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3da37f8"} 
[2026-04-28 17:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:01:15] 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-04-28 17:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008196096001,"66":12558,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008196096001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:01:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008196096001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":57500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:01:15] local.INFO: GPS data processed {"connection_id":57500,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:01:15] local.INFO: Acknowledgment sent {"connection_id":57500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:01:32] local.INFO: TCP Data received {"connection_id":56832,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3db31f8012d7fa44005afde680009011226..."} 
[2026-04-28 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3db31f8012d7fa44005afde680009011226..."} 
[2026-04-28 17:01:32] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3db31f8012d7fa44005afde680009011226..."} 
[2026-04-28 17:01:32] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:01:32] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95411816,"longitude_deg":76.333984,"latitude_deg":9.5411816,"altitude":9,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-04-28 17:01: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-04-28 17:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008207872001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777375851000,"timestamp_ms":1777375851000,"timestamp_seconds":1777375851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3db31f8"} 
[2026-04-28 17:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 17:01:32] 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-04-28 17:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008207872001,"66":25462,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008207872001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:01:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 17:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008207872001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 17:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:01:32] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:01:32] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:01:46] local.INFO: TCP Data received {"connection_id":57500,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3da8a00012d1822c00721b488004800af25..."} 
[2026-04-28 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3da8a00012d1822c00721b488004800af25..."} 
[2026-04-28 17:01:46] local.INFO: Processing buffer {"connection_id":57500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3da8a00012d1822c00721b488004800af25..."} 
[2026-04-28 17:01:46] local.INFO: Packet analysis {"connection_id":57500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:46] local.INFO: Extracted packet for processing {"connection_id":57500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008201472001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777375808000,"timestamp_ms":1777375808000,"timestamp_seconds":1777375808,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3da8a00"} 
[2026-04-28 17:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:01: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-04-28 17:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3554166752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3639341057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3599695872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,214,229,45,192,180,72,36,10,66,147,65,1,240,47,227,211,33,4,113,205,153,34,136,37,239,49,2,154,7,106,93,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 17:01:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188339314114691072,"timestamp_seconds":5188339314114691.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008201472001,"66":12558,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008201472001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:01:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008201472001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":57500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:01:46] local.INFO: GPS data processed {"connection_id":57500,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:01:46] local.INFO: Acknowledgment sent {"connection_id":57500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:01:53] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:53] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:53] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:01:54] local.INFO: TCP Data received {"connection_id":57501,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:01:54] local.INFO: Processing buffer {"connection_id":57501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:01:54] local.INFO: IMEI packet received {"connection_id":57501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":57501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:01:55] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:55] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:55] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:01:58] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:58] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:01:58] local.INFO: IMEI packet received {"connection_id":56604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":56604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:01:59] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3db4580012d7fa34005afde700009012126..."} 
[2026-04-28 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3db4580012d7fa34005afde700009012126..."} 
[2026-04-28 17:01:59] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3db4580012d7fa34005afde700009012126..."} 
[2026-04-28 17:01:59] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:01:59] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95411824,"longitude_deg":76.3339584,"latitude_deg":9.5411824,"altitude":9,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afde70","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008217856001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166998016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777375856000,"timestamp_ms":1777375856000,"timestamp_seconds":1777375856,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3db4580"} 
[2026-04-28 17:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:01: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-04-28 17:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 17:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008217856001,"66":27604,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197546732166998016},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008217856001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:01:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:01:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166998016,"description":"Unknown IO ID 45"} 
[2026-04-28 17:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008217856001,"power":27604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197546732166998016}} 
[2026-04-28 17:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:01:59] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:01:59] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:02:08] local.INFO: TCP Data received {"connection_id":57502,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:08] local.INFO: Processing buffer {"connection_id":57502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:08] local.INFO: IMEI packet received {"connection_id":57502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":57502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:02:09] local.INFO: TCP Data received {"connection_id":57502,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:09] local.INFO: Processing buffer {"connection_id":57502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:09] local.INFO: IMEI packet received {"connection_id":57502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":57502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:02:14] local.INFO: TCP Data received {"connection_id":57502,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:14] local.INFO: Processing buffer {"connection_id":57502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:02:14] local.INFO: IMEI packet received {"connection_id":57502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":57502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:02:14] local.INFO: TCP Data received {"connection_id":57502,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dadc08012d1822c00721b488004800af25..."} 
[2026-04-28 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dadc08012d1822c00721b488004800af25..."} 
[2026-04-28 17:02:14] local.INFO: Processing buffer {"connection_id":57502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dadc08012d1822c00721b488004800af25..."} 
[2026-04-28 17:02:14] local.INFO: Packet analysis {"connection_id":57502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:02:14] local.INFO: Extracted packet for processing {"connection_id":57502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3da"} 
[2026-04-28 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008206848001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777375829000,"timestamp_ms":1777375829000,"timestamp_seconds":1777375829,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dadc08"} 
[2026-04-28 17:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3554187752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3644973057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3599695872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,214,55,45,192,180,72,30,10,66,229,36,147,1,240,47,227,211,33,4,113,205,235,34,136,239,49,2,154,7,106,92,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 17:02:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188339344179462144,"timestamp_seconds":5188339344179462.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008206848001,"66":12558,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008206848001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:02:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008206848001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":57502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:02:14] local.INFO: GPS data processed {"connection_id":57502,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:02:14] local.INFO: Acknowledgment sent {"connection_id":57502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:02:31] local.INFO: TCP Data received {"connection_id":56604,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3db9788012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3db9788012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:31] local.INFO: Processing buffer {"connection_id":56604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3db9788012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:31] local.INFO: Packet analysis {"connection_id":56604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:31] local.INFO: Extracted packet for processing {"connection_id":56604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95411824,"longitude_deg":76.3339584,"latitude_deg":9.5411824,"altitude":9,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afde70","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008219136001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257190289408,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777375877000,"timestamp_ms":1777375877000,"timestamp_seconds":1777375877,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3db9788"} 
[2026-04-28 17:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 17:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008219136001,"66":27876,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197265257190289408},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008219136001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257190289408,"description":"Unknown IO ID 45"} 
[2026-04-28 17:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008219136001,"power":27876,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257190289408}} 
[2026-04-28 17:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":56604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:02:31] local.INFO: GPS data processed {"connection_id":56604,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:02:31] local.INFO: Acknowledgment sent {"connection_id":56604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:02:39] local.INFO: TCP Data received {"connection_id":56782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:02:39] local.INFO: Processing buffer {"connection_id":56782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:02:39] local.INFO: IMEI packet received {"connection_id":56782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":56782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:02:45] local.INFO: TCP Data received {"connection_id":57502,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3db2e10012d1822c00721b488004800af24..."} 
[2026-04-28 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3db2e10012d1822c00721b488004800af24..."} 
[2026-04-28 17:02:45] local.INFO: Processing buffer {"connection_id":57502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3db2e10012d1822c00721b488004800af24..."} 
[2026-04-28 17:02:45] local.INFO: Packet analysis {"connection_id":57502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:45] local.INFO: Extracted packet for processing {"connection_id":57502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008212224001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777375850000,"timestamp_ms":1777375850000,"timestamp_seconds":1777375850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3db2e10"} 
[2026-04-28 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:02: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-04-28 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3554208752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3650349057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3599695872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,214,138,45,192,180,72,37,10,66,55,30,229,1,240,47,227,211,33,4,113,205,65,34,136,36,239,49,2,154,7,106,93,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 17:02:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188339344179462144,"timestamp_seconds":5188339344179462.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008212224001,"66":13439,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008212224001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008212224001,"power":13439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":57502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:02:46] local.INFO: GPS data processed {"connection_id":57502,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:02:46] local.INFO: Acknowledgment sent {"connection_id":57502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:02:53] local.INFO: TCP Data received {"connection_id":56783,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:53] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:53] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:02:54] local.INFO: TCP Data received {"connection_id":56783,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:54] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:54] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:02:58] local.INFO: TCP Data received {"connection_id":56783,"ip":"117.224.123.212","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:58] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:02:58] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:02:59] local.INFO: TCP Data received {"connection_id":56783,"ip":"117.224.123.212","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dbe990012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dbe990012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:59] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dbe990012d7fa34005afde700009012126..."} 
[2026-04-28 17:02:59] local.INFO: Packet analysis {"connection_id":56783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:59] local.INFO: Extracted packet for processing {"connection_id":56783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95411824,"longitude_deg":76.3339584,"latitude_deg":9.5411824,"altitude":9,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afde70","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008224512001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282346893726449664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257190289408,"note":"Value kept but may cause issues"} 
[2026-04-28 17:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777375898000,"timestamp_ms":1777375898000,"timestamp_seconds":1777375898,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dbe990"} 
[2026-04-28 17:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:02: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-04-28 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 17:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.123.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008224512001,"66":27713,"236":206,"19":45568,"24":0,"16":282346893726449664,"45":9197265257190289408},"client_ip":"117.224.123.212","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008224512001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:02:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:02:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282346893726449664,"km_value":282346893726449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257190289408,"description":"Unknown IO ID 45"} 
[2026-04-28 17:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008224512001,"power":27713,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257190289408}} 
[2026-04-28 17:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":56783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:02:59] local.INFO: GPS data processed {"connection_id":56783,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:02:59] local.INFO: Acknowledgment sent {"connection_id":56783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:03:09] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:09] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:09] local.INFO: IMEI packet received {"connection_id":57503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":57503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:03:14] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: IMEI packet received {"connection_id":57503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":57503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:03:14] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:03:14] local.INFO: IMEI packet received {"connection_id":57503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":57503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:03:15] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3db8018012d1822c00721b488004800af24..."} 
[2026-04-28 17:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3db8018012d1822c00721b488004800af24..."} 
[2026-04-28 17:03:15] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3db8018012d1822c00721b488004800af24..."} 
[2026-04-28 17:03:15] local.INFO: Packet analysis {"connection_id":57503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:03:15] local.INFO: Extracted packet for processing {"connection_id":57503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008217600001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777375871000,"timestamp_ms":1777375871000,"timestamp_seconds":1777375871,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3db8018"} 
[2026-04-28 17:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-28 17:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008217600001,"66":13820,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008217600001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:03:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008217600001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":57503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:03:15] local.INFO: GPS data processed {"connection_id":57503,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:03:15] local.INFO: Acknowledgment sent {"connection_id":57503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:03:17] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dbd220012d1822c00721b488004800af26..."} 
[2026-04-28 17:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dbd220012d1822c00721b488004800af26..."} 
[2026-04-28 17:03:17] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dbd220012d1822c00721b488004800af26..."} 
[2026-04-28 17:03:17] local.INFO: Packet analysis {"connection_id":57503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:03:17] local.INFO: Extracted packet for processing {"connection_id":57503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3db"} 
[2026-04-28 17:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649416,"longitude_deg":75.655648,"latitude_deg":11.9649416,"altitude":72,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-04-28 17:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008222976001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640650120036352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981216256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777375892000,"timestamp_ms":1777375892000,"timestamp_seconds":1777375892,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dbd220"} 
[2026-04-28 17:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:03: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-04-28 17:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 17:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008222976001,"66":13722,"105":206,"83":41984,"24":0,"16":115640650120036352,"45":1739163542981216256},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008222976001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:03:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640650120036352,"km_value":115640650120036.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981216256,"description":"Unknown IO ID 45"} 
[2026-04-28 17:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008222976001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981216256}} 
[2026-04-28 17:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":57503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:03:17] local.INFO: GPS data processed {"connection_id":57503,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:03:17] local.INFO: Acknowledgment sent {"connection_id":57503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:03:48] local.INFO: TCP Data received {"connection_id":57503,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dcdfa8012d181f800721a6080046007628..."} 
[2026-04-28 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dcdfa8012d181f800721a6080046007628..."} 
[2026-04-28 17:03:48] local.INFO: Processing buffer {"connection_id":57503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dcdfa8012d181f800721a6080046007628..."} 
[2026-04-28 17:03:48] local.INFO: Packet analysis {"connection_id":57503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3dc"} 
[2026-04-28 17:03:48] local.INFO: Extracted packet for processing {"connection_id":57503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3dc"} 
[2026-04-28 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645704,"longitude_deg":75.6555648,"latitude_deg":11.9645704,"altitude":70,"angle":118,"satellites":40,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008245760001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640856278466560,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561801216,"note":"Value kept but may cause issues"} 
[2026-04-28 17:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777375961000,"timestamp_ms":1777375961000,"timestamp_seconds":1777375961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dcdfa8"} 
[2026-04-28 17:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-28 17:03:48] 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-04-28 17: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-04-28 17:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008245760001,"66":14233,"105":206,"83":41984,"24":6,"16":115640856278466560,"45":1738178380561801216},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008245760001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:03:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640856278466560,"km_value":115640856278466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561801216,"description":"Unknown IO ID 45"} 
[2026-04-28 17:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008245760001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738178380561801216}} 
[2026-04-28 17:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":57503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:03:48] local.INFO: GPS data processed {"connection_id":57503,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:03:48] local.INFO: Acknowledgment sent {"connection_id":57503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:04:09] local.INFO: TCP Data received {"connection_id":57504,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:09] local.INFO: Processing buffer {"connection_id":57504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:09] local.INFO: IMEI packet received {"connection_id":57504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":57504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:04:13] local.INFO: TCP Data received {"connection_id":57504,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:13] local.INFO: Processing buffer {"connection_id":57504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:04:13] local.INFO: IMEI packet received {"connection_id":57504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":57504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:04:14] local.INFO: TCP Data received {"connection_id":57504,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dcef48012d1822c00721a3f00046008128..."} 
[2026-04-28 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dcef48012d1822c00721a3f00046008128..."} 
[2026-04-28 17:04:14] local.INFO: Processing buffer {"connection_id":57504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dcef48012d1822c00721a3f00046008128..."} 
[2026-04-28 17:04:14] local.INFO: Packet analysis {"connection_id":57504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3dc"} 
[2026-04-28 17:04:14] local.INFO: Extracted packet for processing {"connection_id":57504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3dc"} 
[2026-04-28 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119645168,"longitude_deg":75.655648,"latitude_deg":11.9645168,"altitude":70,"angle":129,"satellites":40,"speed":13,"hex_longitude":"2d1822c0","hex_latitude":"0721a3f0","is_valid_coordinates":true} 
[2026-04-28 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008246016001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115640903523106816,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305956352,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777375965000,"timestamp_ms":1777375965000,"timestamp_seconds":1777375965,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dcef48"} 
[2026-04-28 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 17:04:14] 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-04-28 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008246016001,"66":14243,"105":206,"83":41984,"24":13,"16":115640903523106816,"45":1738248749305956352},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008246016001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:04:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115640903523106816,"km_value":115640903523106.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305956352,"description":"Unknown IO ID 45"} 
[2026-04-28 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008246016001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738248749305956352}} 
[2026-04-28 17:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":57504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:04:14] local.INFO: GPS data processed {"connection_id":57504,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:04:14] local.INFO: Acknowledgment sent {"connection_id":57504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:04:45] local.INFO: TCP Data received {"connection_id":57504,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3de0c70012d18d24007212530003e00ab24..."} 
[2026-04-28 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3de0c70012d18d24007212530003e00ab24..."} 
[2026-04-28 17:04:45] local.INFO: Processing buffer {"connection_id":57504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3de0c70012d18d24007212530003e00ab24..."} 
[2026-04-28 17:04:45] local.INFO: Packet analysis {"connection_id":57504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:04:45] local.INFO: Extracted packet for processing {"connection_id":57504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612720,"longitude_deg":75.6601408,"latitude_deg":11.961272,"altitude":62,"angle":171,"satellites":36,"speed":40,"hex_longitude":"2d18d240","hex_latitude":"07212530","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008264192001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115643806920998912,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874601472,"note":"Value kept but may cause issues"} 
[2026-04-28 17:04:45] 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-04-28 17:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376038000,"timestamp_ms":1777376038000,"timestamp_seconds":1777376038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3de0c70"} 
[2026-04-28 17:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:04:45] 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-04-28 17: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-04-28 17:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008264192001,"66":14396,"106":206,"83":41984,"24":40,"16":115643806920998912,"45":1785677282874601472},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008264192001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:04:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115643806920998912,"km_value":115643806920998.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874601472,"description":"Unknown IO ID 45"} 
[2026-04-28 17:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008264192001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1785677282874601472}} 
[2026-04-28 17:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":57504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:04:45] local.INFO: GPS data processed {"connection_id":57504,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:04:45] local.INFO: Acknowledgment sent {"connection_id":57504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:05:08] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:05:08] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:05:08] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:05:09] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 17:05:09] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 17:05:09] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:05:14] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:05:14] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 17:05:14] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:05:14] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3de2f98012d18d6c007210140003a009d25..."} 
[2026-04-28 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3de2f98012d18d6c007210140003a009d25..."} 
[2026-04-28 17:05:14] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd3..."} 
[2026-04-28 17:05:14] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:05:15] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3de2f98012d18d6c007210140003a009d25..."} 
[2026-04-28 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3de2f98012d18d6c007210140003a009d25..."} 
[2026-04-28 17:05:15] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd3de2f98012d18d6c007210140003a009d25..."} 
[2026-04-28 17:05:15] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:15] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603520,"longitude_deg":75.660256,"latitude_deg":11.960352,"altitude":58,"angle":157,"satellites":37,"speed":40,"hex_longitude":"2d18d6c0","hex_latitude":"07210140","is_valid_coordinates":true} 
[2026-04-28 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008265728001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115644257892564992,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384542208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777376047000,"timestamp_ms":1777376047000,"timestamp_seconds":1777376047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3de2f98"} 
[2026-04-28 17:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 17:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008265728001,"66":14265,"106":206,"83":41984,"24":40,"16":115644257892564992,"45":1788562401384542208},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008265728001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115644257892564992,"km_value":115644257892564.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384542208,"description":"Unknown IO ID 45"} 
[2026-04-28 17:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008265728001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788562401384542208}} 
[2026-04-28 17:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:05:15] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:05:15] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:05:15] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:15] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603520,"longitude_deg":75.660256,"latitude_deg":11.960352,"altitude":58,"angle":157,"satellites":37,"speed":40,"hex_longitude":"2d18d6c0","hex_latitude":"07210140","is_valid_coordinates":true} 
[2026-04-28 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008268032001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115644257892564992,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777384960,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777376047000,"timestamp_ms":1777376047000,"timestamp_seconds":1777376047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3de2f98"} 
[2026-04-28 17:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008268032001,"66":14265,"106":206,"83":41984,"24":40,"16":115644257892564992,"45":1789829038777384960},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008268032001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115644257892564992,"km_value":115644257892564.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777384960,"description":"Unknown IO ID 45"} 
[2026-04-28 17:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008268032001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1789829038777384960}} 
[2026-04-28 17:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:05:15] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:05:15] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:05:47] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3de3768012d18db000720fad00039008c24..."} 
[2026-04-28 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3de3768012d18db000720fad00039008c24..."} 
[2026-04-28 17:05:47] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3de3768012d18db000720fad00039008c24..."} 
[2026-04-28 17:05:47] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:47] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3de"} 
[2026-04-28 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756603648,"raw_latitude":119601872,"longitude_deg":75.6603648,"latitude_deg":11.9601872,"altitude":57,"angle":140,"satellites":36,"speed":38,"hex_longitude":"2d18db00","hex_latitude":"0720fad0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008268032001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115644356676812800,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777384960,"note":"Value kept but may cause issues"} 
[2026-04-28 17:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777376049000,"timestamp_ms":1777376049000,"timestamp_seconds":1777376049,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3de3768"} 
[2026-04-28 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-04-28 17:05: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-04-28 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008268032001,"66":13493,"106":206,"83":41984,"24":38,"16":115644356676812800,"45":1789829038777384960},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008268032001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:05:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115644356676812800,"km_value":115644356676812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777384960,"description":"Unknown IO ID 45"} 
[2026-04-28 17:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008268032001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789829038777384960}} 
[2026-04-28 17:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:05:47] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:05:47] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:06:58] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:06:58] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:06:58] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:07:03] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:07:03] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:07:03] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:07:04] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3df9310012d19ef800720b4a0002e004225..."} 
[2026-04-28 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3df9310012d19ef800720b4a0002e004225..."} 
[2026-04-28 17:07:04] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3df9310012d19ef800720b4a0002e004225..."} 
[2026-04-28 17:07:04] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:04] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756674432,"raw_latitude":119583904,"longitude_deg":75.6674432,"latitude_deg":11.9583904,"altitude":46,"angle":66,"satellites":37,"speed":25,"hex_longitude":"2d19ef80","hex_latitude":"0720b4a0","is_valid_coordinates":true} 
[2026-04-28 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008290560001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115648204967510016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867023551135109120,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777376138000,"timestamp_ms":1777376138000,"timestamp_seconds":1777376138,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3df9310"} 
[2026-04-28 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 17:07: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-04-28 17: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-04-28 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008290560001,"66":14374,"106":206,"83":41984,"24":25,"16":115648204967510016,"45":1867023551135109120},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008290560001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115648204967510016,"km_value":115648204967510.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867023551135109120,"description":"Unknown IO ID 45"} 
[2026-04-28 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008290560001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1867023551135109120}} 
[2026-04-28 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:07:04] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:07:04] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:07:06] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dfc1f0012d1a0c000720c158002e003625..."} 
[2026-04-28 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dfc1f0012d1a0c000720c158002e003625..."} 
[2026-04-28 17:07:06] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dfc1f0012d1a0c000720c158002e003625..."} 
[2026-04-28 17:07:06] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:06] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756681728,"raw_latitude":119587160,"longitude_deg":75.6681728,"latitude_deg":11.958716,"altitude":46,"angle":54,"satellites":37,"speed":28,"hex_longitude":"2d1a0c00","hex_latitude":"0720c158","is_valid_coordinates":true} 
[2026-04-28 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008291328001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115648587219599360,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868853138483879936,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777376150000,"timestamp_ms":1777376150000,"timestamp_seconds":1777376150,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dfc1f0"} 
[2026-04-28 17:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 17:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008291328001,"66":13939,"61":206,"83":41984,"24":28,"16":115648587219599360,"45":1868853138483879936},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008291328001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:07:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115648587219599360,"km_value":115648587219599.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868853138483879936,"description":"Unknown IO ID 45"} 
[2026-04-28 17:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008291328001,"power":13939,"unknown_61":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868853138483879936}} 
[2026-04-28 17:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:07:06] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:07:06] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:07:37] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3dfcda8012d1a11c00720c688002f002924..."} 
[2026-04-28 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3dfcda8012d1a11c00720c688002f002924..."} 
[2026-04-28 17:07:37] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3dfcda8012d1a11c00720c688002f002924..."} 
[2026-04-28 17:07:37] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:37] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3df"} 
[2026-04-28 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756683200,"raw_latitude":119588488,"longitude_deg":75.66832,"latitude_deg":11.9588488,"altitude":47,"angle":41,"satellites":36,"speed":24,"hex_longitude":"2d1a11c0","hex_latitude":"0720c688","is_valid_coordinates":true} 
[2026-04-28 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008294400001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115648681708879872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876875175320967168,"note":"Value kept but may cause issues"} 
[2026-04-28 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777376153000,"timestamp_ms":1777376153000,"timestamp_seconds":1777376153,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3dfcda8"} 
[2026-04-28 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:07: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-04-28 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-28 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008294400001,"66":14428,"61":206,"83":41984,"24":24,"16":115648681708879872,"45":1876875175320967168},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008294400001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:07:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115648681708879872,"km_value":115648681708879.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876875175320967168,"description":"Unknown IO ID 45"} 
[2026-04-28 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008294400001,"power":14428,"unknown_61":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1876875175320967168}} 
[2026-04-28 17:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:07:38] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:07:38] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:07:59] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:07:59] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:07:59] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:08:09] local.INFO: TCP Data received {"connection_id":57505,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:09] local.INFO: Processing buffer {"connection_id":57505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:09] local.INFO: IMEI packet received {"connection_id":57505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":57505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:08:12] local.INFO: TCP Data received {"connection_id":57505,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:12] local.INFO: Processing buffer {"connection_id":57505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:08:12] local.INFO: IMEI packet received {"connection_id":57505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":57505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:08:13] local.INFO: TCP Data received {"connection_id":57505,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e0fe58012d1a2880072100b8003f010a26..."} 
[2026-04-28 17:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e0fe58012d1a2880072100b8003f010a26..."} 
[2026-04-28 17:08:13] local.INFO: Processing buffer {"connection_id":57505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e0fe58012d1a2880072100b8003f010a26..."} 
[2026-04-28 17:08:13] local.INFO: Packet analysis {"connection_id":57505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e0"} 
[2026-04-28 17:08:13] local.INFO: Extracted packet for processing {"connection_id":57505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e0"} 
[2026-04-28 17:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756689024,"raw_latitude":119603384,"longitude_deg":75.6689024,"latitude_deg":11.9603384,"altitude":63,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1a2880","hex_latitude":"072100b8","is_valid_coordinates":true} 
[2026-04-28 17:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008310016001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115649837055082496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887078643230916608,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777376231000,"timestamp_ms":1777376231000,"timestamp_seconds":1777376231,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e0fe58"} 
[2026-04-28 17:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-28 17:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008310016001,"66":12776,"61":206,"83":41984,"24":0,"16":115649837055082496,"45":1887078643230916608},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008310016001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:08:13] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115649837055082496,"km_value":115649837055082.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887078643230916608,"description":"Unknown IO ID 45"} 
[2026-04-28 17:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008310016001,"power":12776,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1887078643230916608}} 
[2026-04-28 17:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":57505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:08:13] local.INFO: GPS data processed {"connection_id":57505,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:08:13] local.INFO: Acknowledgment sent {"connection_id":57505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:08:34] local.INFO: TCP Data received {"connection_id":56787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:08:34] local.INFO: Processing buffer {"connection_id":56787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:08:34] local.INFO: IMEI packet received {"connection_id":56787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":56787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:08:45] local.INFO: TCP Data received {"connection_id":57505,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e10a10012d1a290007210070003e008d25..."} 
[2026-04-28 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e10a10012d1a290007210070003e008d25..."} 
[2026-04-28 17:08:45] local.INFO: Processing buffer {"connection_id":57505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e10a10012d1a290007210070003e008d25..."} 
[2026-04-28 17:08:45] local.INFO: Packet analysis {"connection_id":57505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:08:45] local.INFO: Extracted packet for processing {"connection_id":57505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756689152,"raw_latitude":119603312,"longitude_deg":75.6689152,"latitude_deg":11.9603312,"altitude":62,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d1a2900","hex_latitude":"07210070","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008315136001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115649845645017088,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884897212161374208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376234000,"timestamp_ms":1777376234000,"timestamp_seconds":1777376234,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e10a10"} 
[2026-04-28 17:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:08: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-04-28 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:08:45] 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-04-28 17: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-04-28 17:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008315136001,"66":12711,"61":206,"83":41984,"24":0,"16":115649845645017088,"45":1884897212161374208},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008315136001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:08:45] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115649845645017088,"km_value":115649845645017.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884897212161374208,"description":"Unknown IO ID 45"} 
[2026-04-28 17:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008315136001,"power":12711,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1884897212161374208}} 
[2026-04-28 17:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":57505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:08:45] local.INFO: GPS data processed {"connection_id":57505,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:08:45] local.INFO: Acknowledgment sent {"connection_id":57505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:09:09] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:09] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:09] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:09:14] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:14] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:09:14] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:09:14] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e15830012d1a290007210070003e008d26..."} 
[2026-04-28 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e15830012d1a290007210070003e008d26..."} 
[2026-04-28 17:09:14] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e15830012d1a290007210070003e008d26..."} 
[2026-04-28 17:09:14] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:09:14] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756689152,"raw_latitude":119603312,"longitude_deg":75.6689152,"latitude_deg":11.9603312,"altitude":62,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d1a2900","hex_latitude":"07210070","is_valid_coordinates":true} 
[2026-04-28 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008315904001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115649845645017088,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885037949649711104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376254000,"timestamp_ms":1777376254000,"timestamp_seconds":1777376254,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e15830"} 
[2026-04-28 17:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:09: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-04-28 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 17:09:14] 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-04-28 17:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008315904001,"66":12406,"61":206,"83":41984,"24":0,"16":115649845645017088,"45":1885037949649711104},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008315904001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:09:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115649845645017088,"km_value":115649845645017.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885037949649711104,"description":"Unknown IO ID 45"} 
[2026-04-28 17:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008315904001,"power":12406,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1885037949649711104}} 
[2026-04-28 17:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:09:15] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:09:15] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:09:46] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e163e8012d1a29400720ffe0003e009a25..."} 
[2026-04-28 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e163e8012d1a29400720ffe0003e009a25..."} 
[2026-04-28 17:09:46] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e163e8012d1a29400720ffe0003e009a25..."} 
[2026-04-28 17:09:46] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:09:46] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756689216,"raw_latitude":119603168,"longitude_deg":75.6689216,"latitude_deg":11.9603168,"altitude":62,"angle":154,"satellites":37,"speed":1,"hex_longitude":"2d1a2940","hex_latitude":"0720ffe0","is_valid_coordinates":true} 
[2026-04-28 17:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008321024001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115649854234951680,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885037949649711104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777376257000,"timestamp_ms":1777376257000,"timestamp_seconds":1777376257,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e163e8"} 
[2026-04-28 17:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:09: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-04-28 17:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 17:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008321024001,"66":12385,"61":206,"83":41984,"24":1,"16":115649854234951680,"45":1885037949649711104},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008321024001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:09:46] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115649854234951680,"km_value":115649854234951.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885037949649711104,"description":"Unknown IO ID 45"} 
[2026-04-28 17:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008321024001,"power":12385,"unknown_61":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1885037949649711104}} 
[2026-04-28 17:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:09:46] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:09:46] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:10:10] local.INFO: TCP Data received {"connection_id":57506,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:10] local.INFO: Processing buffer {"connection_id":57506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:10] local.INFO: IMEI packet received {"connection_id":57506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":57506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:10:14] local.INFO: TCP Data received {"connection_id":57506,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:14] local.INFO: Processing buffer {"connection_id":57506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:10:14] local.INFO: IMEI packet received {"connection_id":57506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":57506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:10:36] local.INFO: TCP Data received {"connection_id":57506,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e167d0012d1a29400720ffc0003e00a626..."} 
[2026-04-28 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e167d0012d1a29400720ffc0003e00a626..."} 
[2026-04-28 17:10:36] local.INFO: Processing buffer {"connection_id":57506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e167d0012d1a29400720ffc0003e00a626..."} 
[2026-04-28 17:10:36] local.INFO: Packet analysis {"connection_id":57506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:10:36] local.INFO: Extracted packet for processing {"connection_id":57506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e1"} 
[2026-04-28 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756689216,"raw_latitude":119603136,"longitude_deg":75.6689216,"latitude_deg":11.9603136,"altitude":62,"angle":166,"satellites":38,"speed":1,"hex_longitude":"2d1a2940","hex_latitude":"0720ffc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008321792001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115649854234951680,"note":"Value kept but may cause issues"} 
[2026-04-28 17:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885108318393851904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777376258000,"timestamp_ms":1777376258000,"timestamp_seconds":1777376258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e167d0"} 
[2026-04-28 17:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 17:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008321792001,"66":12385,"61":206,"83":41984,"24":1,"16":115649854234951680,"45":1885108318393851904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008321792001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:10:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115649854234951680,"km_value":115649854234951.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885108318393851904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008321792001,"power":12385,"unknown_61":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1885108318393851904}} 
[2026-04-28 17:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":57506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:10:36] local.INFO: GPS data processed {"connection_id":57506,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:10:36] local.INFO: Acknowledgment sent {"connection_id":57506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:11:08] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:08] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:08] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:11:24] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:24] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:11:24] local.INFO: IMEI packet received {"connection_id":56606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":56606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:11:40] local.INFO: TCP Data received {"connection_id":56606,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e3b1c0012d1a360007210078003d007b25..."} 
[2026-04-28 17:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e3b1c0012d1a360007210078003d007b25..."} 
[2026-04-28 17:11:40] local.INFO: Processing buffer {"connection_id":56606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e3b1c0012d1a360007210078003d007b25..."} 
[2026-04-28 17:11:40] local.INFO: Packet analysis {"connection_id":56606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:11:40] local.INFO: Extracted packet for processing {"connection_id":56606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756692480,"raw_latitude":119603320,"longitude_deg":75.669248,"latitude_deg":11.960332,"altitude":61,"angle":123,"satellites":37,"speed":12,"hex_longitude":"2d1a3600","hex_latitude":"07210078","is_valid_coordinates":true} 
[2026-04-28 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008359936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115650021738676224,"note":"Value kept but may cause issues"} 
[2026-04-28 17:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888063805649414144,"note":"Value kept but may cause issues"} 
[2026-04-28 17:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777376408000,"timestamp_ms":1777376408000,"timestamp_seconds":1777376408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e3b1c0"} 
[2026-04-28 17:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:11: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-04-28 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-28 17:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008359936001,"66":14004,"61":206,"83":41984,"24":12,"16":115650021738676224,"45":1888063805649414144},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008359936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:11:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115650021738676224,"km_value":115650021738676.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888063805649414144,"description":"Unknown IO ID 45"} 
[2026-04-28 17:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008359936001,"power":14004,"unknown_61":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1888063805649414144}} 
[2026-04-28 17:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":56606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:11:40] local.INFO: GPS data processed {"connection_id":56606,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:11:40] local.INFO: Acknowledgment sent {"connection_id":56606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:12:14] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:12:14] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:14] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:12:19] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:19] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:12:19] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:12:19] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e3b990012d1a38000720ff10003c008c25..."} 
[2026-04-28 17:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e3b990012d1a38000720ff10003c008c25..."} 
[2026-04-28 17:12:19] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e3b990012d1a38000720ff10003c008c25..."} 
[2026-04-28 17:12:19] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:12:19] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756692992,"raw_latitude":119602960,"longitude_deg":75.6692992,"latitude_deg":11.960296,"altitude":60,"angle":140,"satellites":37,"speed":10,"hex_longitude":"2d1a3800","hex_latitude":"0720ff10","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008360448001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115650047508480000,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888697124346951680,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777376410000,"timestamp_ms":1777376410000,"timestamp_seconds":1777376410,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e3b990"} 
[2026-04-28 17:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:12: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-04-28 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 17:12:19] 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-04-28 17: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-04-28 17:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008360448001,"66":14102,"61":206,"83":41984,"24":10,"16":115650047508480000,"45":1888697124346951680},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-28 17:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008360448001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:12:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 17:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115650047508480000,"km_value":115650047508480,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888697124346951680,"description":"Unknown IO ID 45"} 
[2026-04-28 17:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008360448001,"power":14102,"unknown_61":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1888697124346951680}} 
[2026-04-28 17:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:12:19] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:12:19] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:12:25] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e3f428012d1a3b800720f7c0003b00d426..."} 
[2026-04-28 17:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e3f428012d1a3b800720f7c0003b00d426..."} 
[2026-04-28 17:12:25] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e3f428012d1a3b800720f7c0003b00d426..."} 
[2026-04-28 17:12:25] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:12:25] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e3"} 
[2026-04-28 17:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756693888,"raw_latitude":119601088,"longitude_deg":75.6693888,"latitude_deg":11.9601088,"altitude":59,"angle":212,"satellites":38,"speed":6,"hex_longitude":"2d1a3b80","hex_latitude":"0720f7c0","is_valid_coordinates":true} 
[2026-04-28 17:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008360960001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115650159177629696,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889260074300280832,"note":"Value kept but may cause issues"} 
[2026-04-28 17:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777376425000,"timestamp_ms":1777376425000,"timestamp_seconds":1777376425,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e3f428"} 
[2026-04-28 17:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:12: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-04-28 17:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-28 17:12:25] 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-04-28 17:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008360960001,"66":14157,"146":206,"83":41984,"24":6,"16":115650159177629696,"45":1889260074300280832},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,45]} 
[2026-04-28 17:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008360960001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:12:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-04-28 17:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115650159177629696,"km_value":115650159177629.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889260074300280832,"description":"Unknown IO ID 45"} 
[2026-04-28 17:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008360960001,"power":14157,"unknown_146":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1889260074300280832}} 
[2026-04-28 17:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:12:25] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:12:25] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:13:09] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:09] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:09] local.INFO: IMEI packet received {"connection_id":56839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:13:13] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:13] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:13:13] local.INFO: IMEI packet received {"connection_id":56839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":56839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:13:13] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e59238012d19cbc00720a550002f00e926..."} 
[2026-04-28 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e59238012d19cbc00720a550002f00e926..."} 
[2026-04-28 17:13:13] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e59238012d19cbc00720a550002f00e926..."} 
[2026-04-28 17:13:13] local.INFO: Packet analysis {"connection_id":56839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:13:13] local.INFO: Extracted packet for processing {"connection_id":56839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119579984,"longitude_deg":75.666528,"latitude_deg":11.9579984,"altitude":47,"angle":233,"satellites":38,"speed":15,"hex_longitude":"2d19cbc0","hex_latitude":"0720a550","is_valid_coordinates":true} 
[2026-04-28 17:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008389888001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115651975948795904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861394051600680960,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777376531000,"timestamp_ms":1777376531000,"timestamp_seconds":1777376531,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e59238"} 
[2026-04-28 17:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 17:13: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-04-28 17:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008389888001,"66":14483,"106":206,"83":41984,"24":15,"16":115651975948795904,"45":1861394051600680960},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008389888001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:13:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115651975948795904,"km_value":115651975948795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861394051600680960,"description":"Unknown IO ID 45"} 
[2026-04-28 17:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008389888001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1861394051600680960}} 
[2026-04-28 17:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":56839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:13:13] local.INFO: GPS data processed {"connection_id":56839,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:13:13] local.INFO: Acknowledgment sent {"connection_id":56839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:13:44] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e59a08012d19c9000720a3f8002f00fe27..."} 
[2026-04-28 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e59a08012d19c9000720a3f8002f00fe27..."} 
[2026-04-28 17:13:44] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e59a08012d19c9000720a3f8002f00fe27..."} 
[2026-04-28 17:13:44] local.INFO: Packet analysis {"connection_id":56839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:13:44] local.INFO: Extracted packet for processing {"connection_id":56839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119579640,"longitude_deg":75.6664576,"latitude_deg":11.957964,"altitude":47,"angle":254,"satellites":39,"speed":15,"hex_longitude":"2d19c900","hex_latitude":"0720a3f8","is_valid_coordinates":true} 
[2026-04-28 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008391936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115652010308534272,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408065470464,"note":"Value kept but may cause issues"} 
[2026-04-28 17:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777376533000,"timestamp_ms":1777376533000,"timestamp_seconds":1777376533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e59a08"} 
[2026-04-28 17:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 17:13:44] 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-04-28 17:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008391936001,"66":14374,"106":206,"83":41984,"24":15,"16":115652010308534272,"45":1858790408065470464},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008391936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:13:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115652010308534272,"km_value":115652010308534.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408065470464,"description":"Unknown IO ID 45"} 
[2026-04-28 17:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008391936001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858790408065470464}} 
[2026-04-28 17:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":56839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:13:44] local.INFO: GPS data processed {"connection_id":56839,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:13:44] local.INFO: Acknowledgment sent {"connection_id":56839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:13:54] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:13:54] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:13:54] local.INFO: IMEI packet received {"connection_id":56840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":56840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:14:08] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:14:08] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:08] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:14:08] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:09] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:09] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:14:13] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:13] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:14:13] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:14:13] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e5a1d8012d19c5800720a3c80030011727..."} 
[2026-04-28 17:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e5a1d8012d19c5800720a3c80030011727..."} 
[2026-04-28 17:14:13] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e5a1d8012d19c5800720a3c80030011727..."} 
[2026-04-28 17:14:13] local.INFO: Packet analysis {"connection_id":56791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:14:13] local.INFO: Extracted packet for processing {"connection_id":56791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e5"} 
[2026-04-28 17:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119579592,"longitude_deg":75.666368,"latitude_deg":11.9579592,"altitude":48,"angle":279,"satellites":39,"speed":18,"hex_longitude":"2d19c580","hex_latitude":"0720a3c8","is_valid_coordinates":true} 
[2026-04-28 17:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008392448001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115652053258207232,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351879428096,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777376535000,"timestamp_ms":1777376535000,"timestamp_seconds":1777376535,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e5a1d8"} 
[2026-04-28 17:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:14: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-04-28 17:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 17:14:13] 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-04-28 17:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008392448001,"66":13722,"106":206,"83":41984,"24":18,"16":115652053258207232,"45":1858016351879428096},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008392448001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:14:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115652053258207232,"km_value":115652053258207.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351879428096,"description":"Unknown IO ID 45"} 
[2026-04-28 17:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008392448001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858016351879428096}} 
[2026-04-28 17:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":56791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:14:13] local.INFO: GPS data processed {"connection_id":56791,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:14:13] local.INFO: Acknowledgment sent {"connection_id":56791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:14:34] local.INFO: TCP Data received {"connection_id":56792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:14:34] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:14:34] local.INFO: IMEI packet received {"connection_id":56792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":56792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:14:45] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e73818012d18d140072119280040000527..."} 
[2026-04-28 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e73818012d18d140072119280040000527..."} 
[2026-04-28 17:14:45] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e73818012d18d140072119280040000527..."} 
[2026-04-28 17:14:45] local.INFO: Packet analysis {"connection_id":56791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e7"} 
[2026-04-28 17:14:45] local.INFO: Extracted packet for processing {"connection_id":56791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e7"} 
[2026-04-28 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119609640,"longitude_deg":75.6601152,"latitude_deg":11.960964,"altitude":64,"angle":5,"satellites":39,"speed":35,"hex_longitude":"2d18d140","hex_latitude":"07211928","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008419072001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115655725455245312,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662418944,"note":"Value kept but may cause issues"} 
[2026-04-28 17:14:45] 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-04-28 17:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376639000,"timestamp_ms":1777376639000,"timestamp_seconds":1777376639,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e73818"} 
[2026-04-28 17:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:14: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-04-28 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 17:14:45] 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-04-28 17: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-04-28 17:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008419072001,"66":13939,"106":206,"83":41984,"24":35,"16":115655725455245312,"45":1788210557662418944},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008419072001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:14:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115655725455245312,"km_value":115655725455245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662418944,"description":"Unknown IO ID 45"} 
[2026-04-28 17:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008419072001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788210557662418944}} 
[2026-04-28 17:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":56791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:14:45] local.INFO: GPS data processed {"connection_id":56791,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:14:45] local.INFO: Acknowledgment sent {"connection_id":56791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:15:07] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:07] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:07] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:15:08] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:08] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:08] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:15:09] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:09] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:09] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:15:14] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:14] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:15:14] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:15:14] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e747b8012d18d140072126b80042016027..."} 
[2026-04-28 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e747b8012d18d140072126b80042016027..."} 
[2026-04-28 17:15:14] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e747b8012d18d140072126b80042016027..."} 
[2026-04-28 17:15:14] local.INFO: Packet analysis {"connection_id":56841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e7"} 
[2026-04-28 17:15:14] local.INFO: Extracted packet for processing {"connection_id":56841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e7"} 
[2026-04-28 17:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119613112,"longitude_deg":75.6601152,"latitude_deg":11.9613112,"altitude":66,"angle":352,"satellites":39,"speed":32,"hex_longitude":"2d18d140","hex_latitude":"072126b8","is_valid_coordinates":true} 
[2026-04-28 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008419584001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115655897253937152,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926407043072,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:14] 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-04-28 17:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376643000,"timestamp_ms":1777376643000,"timestamp_seconds":1777376643,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e747b8"} 
[2026-04-28 17:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-28 17:15:14] 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-04-28 17:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008419584001,"66":14352,"106":206,"83":41984,"24":32,"16":115655897253937152,"45":1788280926407043072},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008419584001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:15:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115655897253937152,"km_value":115655897253937.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926407043072,"description":"Unknown IO ID 45"} 
[2026-04-28 17:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008419584001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788280926407043072}} 
[2026-04-28 17:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":56841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:15:14] local.INFO: GPS data processed {"connection_id":56841,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:15:14] local.INFO: Acknowledgment sent {"connection_id":56841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:15:45] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e82e30012d18758007218160004b005521..."} 
[2026-04-28 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e82e30012d18758007218160004b005521..."} 
[2026-04-28 17:15:45] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e82e30012d18758007218160004b005521..."} 
[2026-04-28 17:15:45] local.INFO: Packet analysis {"connection_id":56841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:15:45] local.INFO: Extracted packet for processing {"connection_id":56841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756577664,"raw_latitude":119636320,"longitude_deg":75.6577664,"latitude_deg":11.963632,"altitude":75,"angle":85,"satellites":33,"speed":3,"hex_longitude":"2d187580","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008432384001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657675370397696,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762737072277381120,"note":"Value kept but may cause issues"} 
[2026-04-28 17:15:45] 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-04-28 17:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376702000,"timestamp_ms":1777376702000,"timestamp_seconds":1777376702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e82e30"} 
[2026-04-28 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-04-28 17:15: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-04-28 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 17:15:45] 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-04-28 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-04-28 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-04-28 17:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008432384001,"66":13080,"106":206,"83":41984,"24":3,"16":115657675370397696,"45":1762737072277381120},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008432384001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:15:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657675370397696,"km_value":115657675370397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762737072277381120,"description":"Unknown IO ID 45"} 
[2026-04-28 17:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008432384001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1762737072277381120}} 
[2026-04-28 17:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":56841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:15:45] local.INFO: GPS data processed {"connection_id":56841,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:15:45] local.INFO: Acknowledgment sent {"connection_id":56841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:16:06] local.INFO: TCP Data received {"connection_id":57507,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:06] local.INFO: Processing buffer {"connection_id":57507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:06] local.INFO: IMEI packet received {"connection_id":57507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":57507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:16:09] local.INFO: TCP Data received {"connection_id":57507,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:09] local.INFO: Processing buffer {"connection_id":57507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:09] local.INFO: IMEI packet received {"connection_id":57507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":57507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:16:14] local.INFO: TCP Data received {"connection_id":57507,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:14] local.INFO: Processing buffer {"connection_id":57507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:16:14] local.INFO: IMEI packet received {"connection_id":57507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":57507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:16:14] local.INFO: TCP Data received {"connection_id":57507,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e83600012d18764007218150004b006220..."} 
[2026-04-28 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e83600012d18764007218150004b006220..."} 
[2026-04-28 17:16:14] local.INFO: Processing buffer {"connection_id":57507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e83600012d18764007218150004b006220..."} 
[2026-04-28 17:16:14] local.INFO: Packet analysis {"connection_id":57507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:16:14] local.INFO: Extracted packet for processing {"connection_id":57507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636304,"longitude_deg":75.6577856,"latitude_deg":11.9636304,"altitude":75,"angle":98,"satellites":32,"speed":3,"hex_longitude":"2d187640","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008435712001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657683960332288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762455597300670464,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:14] 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-04-28 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376704000,"timestamp_ms":1777376704000,"timestamp_seconds":1777376704,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e83600"} 
[2026-04-28 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 17:16:14] 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-04-28 17: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-04-28 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008435712001,"66":13080,"106":206,"83":41984,"24":3,"16":115657683960332288,"45":1762455597300670464},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008435712001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:16:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657683960332288,"km_value":115657683960332.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762455597300670464,"description":"Unknown IO ID 45"} 
[2026-04-28 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008435712001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1762455597300670464}} 
[2026-04-28 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":57507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:16:14] local.INFO: GPS data processed {"connection_id":57507,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:16:14] local.INFO: Acknowledgment sent {"connection_id":57507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:16:45] local.INFO: TCP Data received {"connection_id":57507,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e841b8012d18768007218108004b008524..."} 
[2026-04-28 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e841b8012d18768007218108004b008524..."} 
[2026-04-28 17:16:45] local.INFO: Processing buffer {"connection_id":57507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e841b8012d18768007218108004b008524..."} 
[2026-04-28 17:16:45] local.INFO: Packet analysis {"connection_id":57507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:16:45] local.INFO: Extracted packet for processing {"connection_id":57507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756577920,"raw_latitude":119636232,"longitude_deg":75.657792,"latitude_deg":11.9636232,"altitude":75,"angle":133,"satellites":36,"speed":1,"hex_longitude":"2d187680","hex_latitude":"07218108","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008436224001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657688255299584,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533199360,"note":"Value kept but may cause issues"} 
[2026-04-28 17:16:45] 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-04-28 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376707000,"timestamp_ms":1777376707000,"timestamp_seconds":1777376707,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e841b8"} 
[2026-04-28 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:16: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-04-28 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-28 17:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008436224001,"66":13048,"106":206,"83":41984,"24":1,"16":115657688255299584,"45":1762666703533199360},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008436224001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:16:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657688255299584,"km_value":115657688255299.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533199360,"description":"Unknown IO ID 45"} 
[2026-04-28 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008436224001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762666703533199360}} 
[2026-04-28 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":57507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:16:45] local.INFO: GPS data processed {"connection_id":57507,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:16:45] local.INFO: Acknowledgment sent {"connection_id":57507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:17:09] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:17:09] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:09] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:17:14] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:14] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:17:14] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:17:14] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e845a0012d1876c0072180d8004b009224..."} 
[2026-04-28 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e845a0012d1876c0072180d8004b009224..."} 
[2026-04-28 17:17:14] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e845a0012d1876c0072180d8004b009224..."} 
[2026-04-28 17:17:14] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:17:14] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636184,"longitude_deg":75.6577984,"latitude_deg":11.9636184,"altitude":75,"angle":146,"satellites":36,"speed":1,"hex_longitude":"2d1876c0","hex_latitude":"072180d8","is_valid_coordinates":true} 
[2026-04-28 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008436992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657692550266880,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762737072277358592,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:14] 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-04-28 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376708000,"timestamp_ms":1777376708000,"timestamp_seconds":1777376708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e845a0"} 
[2026-04-28 17:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 17:17:14] 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-04-28 17:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008436992001,"66":12993,"106":206,"83":41984,"24":1,"16":115657692550266880,"45":1762737072277358592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008436992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:17:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657692550266880,"km_value":115657692550266.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762737072277358592,"description":"Unknown IO ID 45"} 
[2026-04-28 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008436992001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762737072277358592}} 
[2026-04-28 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:17:14] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:17:14] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:17:45] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e897a8012d1876c0072180a0004b009425..."} 
[2026-04-28 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e897a8012d1876c0072180a0004b009425..."} 
[2026-04-28 17:17:45] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e897a8012d1876c0072180a0004b009425..."} 
[2026-04-28 17:17:45] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:17:45] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008437248001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021523968,"note":"Value kept but may cause issues"} 
[2026-04-28 17:17:45] 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-04-28 17:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376729000,"timestamp_ms":1777376729000,"timestamp_seconds":1777376729,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e897a8"} 
[2026-04-28 17:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:17: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-04-28 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-28 17:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008437248001,"66":12993,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021523968},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008437248001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:17:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021523968,"description":"Unknown IO ID 45"} 
[2026-04-28 17:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008437248001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021523968}} 
[2026-04-28 17:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:17:45] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:17:45] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:18:08] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:08] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:08] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:18:13] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:13] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:18:13] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:18:13] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e8e9b0012d1876c0072180a0004b009425..."} 
[2026-04-28 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e8e9b0012d1876c0072180a0004b009425..."} 
[2026-04-28 17:18:13] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e8e9b0012d1876c0072180a0004b009425..."} 
[2026-04-28 17:18:13] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:18:13] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e8"} 
[2026-04-28 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008442624001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777376750000,"timestamp_ms":1777376750000,"timestamp_seconds":1777376750,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e8e9b0"} 
[2026-04-28 17:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-28 17:18:13] 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-04-28 17:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008442624001,"66":12950,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008442624001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:18:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008442624001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:18:13] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:18:13] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:18:44] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e93bb8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e93bb8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:18:44] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e93bb8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:18:44] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:18:44] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008448000001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777376771000,"timestamp_ms":1777376771000,"timestamp_seconds":1777376771,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e93bb8"} 
[2026-04-28 17:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:18:44] 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-04-28 17: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-04-28 17:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008448000001,"66":12939,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008448000001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:18:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008448000001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:18:45] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:18:45] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:18:53] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:53] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:53] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:18:59] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:59] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:18:59] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:19:01] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ea7820012d7fa74005afd7d8000500392a..."} 
[2026-04-28 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ea7820012d7fa74005afd7d8000500392a..."} 
[2026-04-28 17:19:01] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ea7820012d7fa74005afd7d8000500392a..."} 
[2026-04-28 17:19:01] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:19:01] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410136,"longitude_deg":76.3340608,"latitude_deg":9.5410136,"altitude":5,"angle":57,"satellites":42,"speed":9,"hex_longitude":"2d7fa740","hex_latitude":"05afd7d8","is_valid_coordinates":true} 
[2026-04-28 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008473600001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347160014422016,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197898575887374336,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777376852000,"timestamp_ms":1777376852000,"timestamp_seconds":1777376852,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ea7820"} 
[2026-04-28 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 17:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008473600001,"66":27767,"236":206,"19":45568,"24":9,"16":282347160014422016,"45":9197898575887374336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008473600001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:19:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:19:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347160014422016,"km_value":282347160014422.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197898575887374336,"description":"Unknown IO ID 45"} 
[2026-04-28 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008473600001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":9,"odometer":null,"unknown_45":9197898575887374336}} 
[2026-04-28 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:19:01] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:19:01] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:19:08] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:08] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:08] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:19:14] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:14] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:19:14] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:19:14] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e989d8012d1876c0072180a0004b009421..."} 
[2026-04-28 17:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e989d8012d1876c0072180a0004b009421..."} 
[2026-04-28 17:19:14] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e989d8012d1876c0072180a0004b009421..."} 
[2026-04-28 17:19:14] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:19:14] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008453376001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:14] 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-04-28 17:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376791000,"timestamp_ms":1777376791000,"timestamp_seconds":1777376791,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e989d8"} 
[2026-04-28 17:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 17:19:14] 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-04-28 17:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008453376001,"66":12928,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008453376001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008453376001,"power":12928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:19:14] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:19:14] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:19:35] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ea87c0012d7faa8005afda30000500292a..."} 
[2026-04-28 17:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ea87c0012d7faa8005afda30000500292a..."} 
[2026-04-28 17:19:35] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ea87c0012d7faa8005afda30000500292a..."} 
[2026-04-28 17:19:35] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:19:35] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95410736,"longitude_deg":76.334144,"latitude_deg":9.5410736,"altitude":5,"angle":41,"satellites":42,"speed":10,"hex_longitude":"2d7faa80","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008474112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347211554029568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096699904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777376856000,"timestamp_ms":1777376856000,"timestamp_seconds":1777376856,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ea87c0"} 
[2026-04-28 17:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 17:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008474112001,"66":27767,"236":206,"19":45568,"24":10,"16":282347211554029568,"45":9198391157096699904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-28 17:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008474112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:19:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 17:19:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-28 17:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347211554029568,"km_value":282347211554029.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096699904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008474112001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":10,"odometer":null,"unknown_45":9198391157096699904}} 
[2026-04-28 17:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:19:35] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:19:35] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:19:45] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3e9dbe0012d1876c0072180a0004b009427..."} 
[2026-04-28 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3e9dbe0012d1876c0072180a0004b009427..."} 
[2026-04-28 17:19:45] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3e9dbe0012d1876c0072180a0004b009427..."} 
[2026-04-28 17:19:45] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:19:45] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3e9"} 
[2026-04-28 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008458496001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:19:45] 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-04-28 17:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376812000,"timestamp_ms":1777376812000,"timestamp_seconds":1777376812,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3e9dbe0"} 
[2026-04-28 17:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:19: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-04-28 17: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-28 17:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008458496001,"66":12863,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008458496001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008458496001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:19:45] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:19:45] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:19:58] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: IMEI packet received {"connection_id":56796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":56796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:19:58] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:19:58] local.INFO: IMEI packet received {"connection_id":56796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":56796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:19:59] local.INFO: TCP Data received {"connection_id":57510,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:19:59] local.INFO: Processing buffer {"connection_id":57510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:19:59] local.INFO: IMEI packet received {"connection_id":57510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":57510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:20:02] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:02] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:02] local.INFO: IMEI packet received {"connection_id":56796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":56796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:20:03] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eba100012d7faac005afe4080004001227..."} 
[2026-04-28 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eba100012d7faac005afe4080004001227..."} 
[2026-04-28 17:20:03] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eba100012d7faac005afe4080004001227..."} 
[2026-04-28 17:20:03] local.INFO: Packet analysis {"connection_id":56796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:03] local.INFO: Extracted packet for processing {"connection_id":56796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413256,"longitude_deg":76.3341504,"latitude_deg":9.5413256,"altitude":4,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe408","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008493056001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347370467819520,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515994112,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:03] 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-04-28 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777376928000,"timestamp_ms":1777376928000,"timestamp_seconds":1777376928,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eba100"} 
[2026-04-28 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-04-28 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008493056001,"66":27691,"28":206,"85":12544,"24":0,"16":282347370467819520,"45":9199376319515994112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008493056001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 17:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347370467819520,"km_value":282347370467819.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515994112,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008493056001,"power":27691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515994112}} 
[2026-04-28 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":56796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:03] local.INFO: GPS data processed {"connection_id":56796,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:03] local.INFO: Acknowledgment sent {"connection_id":56796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:04] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ebd7b0012d7fab0005afe3600004003628..."} 
[2026-04-28 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ebd7b0012d7fab0005afe3600004003628..."} 
[2026-04-28 17:20:04] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ebd7b0012d7fab0005afe3600004003628..."} 
[2026-04-28 17:20:04] local.INFO: Packet analysis {"connection_id":56796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:04] local.INFO: Extracted packet for processing {"connection_id":56796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95413088,"longitude_deg":76.3341568,"latitude_deg":9.5413088,"altitude":4,"angle":54,"satellites":40,"speed":3,"hex_longitude":"2d7fab00","hex_latitude":"05afe360","is_valid_coordinates":true} 
[2026-04-28 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008493568001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347383352721408,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515985920,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:04] 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-04-28 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777376942000,"timestamp_ms":1777376942000,"timestamp_seconds":1777376942,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ebd7b0"} 
[2026-04-28 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008493568001,"66":27843,"28":206,"85":12544,"24":3,"16":282347383352721408,"45":9199376319515985920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008493568001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 17:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347383352721408,"km_value":282347383352721.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515985920,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008493568001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199376319515985920}} 
[2026-04-28 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":56796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:04] local.INFO: GPS data processed {"connection_id":56796,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:04] local.INFO: Acknowledgment sent {"connection_id":56796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:08] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ebdb98012d7fab0005afe3680004004428..."} 
[2026-04-28 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ebdb98012d7fab0005afe3680004004428..."} 
[2026-04-28 17:20:08] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ebdb98012d7fab0005afe3680004004428..."} 
[2026-04-28 17:20:08] local.INFO: Packet analysis {"connection_id":56796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:08] local.INFO: Extracted packet for processing {"connection_id":56796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95413096,"longitude_deg":76.3341568,"latitude_deg":9.5413096,"altitude":4,"angle":68,"satellites":40,"speed":3,"hex_longitude":"2d7fab00","hex_latitude":"05afe368","is_valid_coordinates":true} 
[2026-04-28 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008497152001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347383352721408,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260120576,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:08] 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-04-28 17:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777376943000,"timestamp_ms":1777376943000,"timestamp_seconds":1777376943,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ebdb98"} 
[2026-04-28 17:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008497152001,"66":27843,"28":206,"85":12544,"24":3,"16":282347383352721408,"45":9199446688260120576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 17:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008497152001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347383352721408,"km_value":282347383352721.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260120576,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008497152001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199446688260120576}} 
[2026-04-28 17:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":56796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:08] local.INFO: GPS data processed {"connection_id":56796,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:08] local.INFO: Acknowledgment sent {"connection_id":56796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:14] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:14] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:14] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:20:19] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:19] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:20:19] local.INFO: IMEI packet received {"connection_id":56608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":56608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:20:19] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ea2de8012d1876c0072180a0004b009428..."} 
[2026-04-28 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ea2de8012d1876c0072180a0004b009428..."} 
[2026-04-28 17:20:19] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ea2de8012d1876c0072180a0004b009428..."} 
[2026-04-28 17:20:19] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:19] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008463872001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777376833000,"timestamp_ms":1777376833000,"timestamp_seconds":1777376833,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ea2de8"} 
[2026-04-28 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-04-28 17:20: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-04-28 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008463872001,"66":12863,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008463872001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008463872001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:19] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:19] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:20] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ea7ff0012d1876c0072180a0004b009423..."} 
[2026-04-28 17:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ea7ff0012d1876c0072180a0004b009423..."} 
[2026-04-28 17:20:20] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ea7ff0012d1876c0072180a0004b009423..."} 
[2026-04-28 17:20:20] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:20] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008469248001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777376854000,"timestamp_ms":1777376854000,"timestamp_seconds":1777376854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ea7ff0"} 
[2026-04-28 17:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:20: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-04-28 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008469248001,"66":12852,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008469248001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008469248001,"power":12852,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:20] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:20] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:34] local.INFO: TCP Data received {"connection_id":56844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:20:34] local.INFO: Processing buffer {"connection_id":56844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:20:34] local.INFO: IMEI packet received {"connection_id":56844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":56844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:20:51] local.INFO: TCP Data received {"connection_id":56608,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ead1f8012d1876c0072180a0004b009424..."} 
[2026-04-28 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ead1f8012d1876c0072180a0004b009424..."} 
[2026-04-28 17:20:51] local.INFO: Processing buffer {"connection_id":56608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ead1f8012d1876c0072180a0004b009424..."} 
[2026-04-28 17:20:51] local.INFO: Packet analysis {"connection_id":56608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:51] local.INFO: Extracted packet for processing {"connection_id":56608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ea"} 
[2026-04-28 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008474624001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777376875000,"timestamp_ms":1777376875000,"timestamp_seconds":1777376875,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ead1f8"} 
[2026-04-28 17:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:51] 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-04-28 17: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-04-28 17:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008474624001,"66":12841,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008474624001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008474624001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":56608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:51] local.INFO: GPS data processed {"connection_id":56608,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:51] local.INFO: Acknowledgment sent {"connection_id":56608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:20:53] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:53] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:53] local.INFO: IMEI packet received {"connection_id":56609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":56609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:20:58] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:58] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:20:58] local.INFO: IMEI packet received {"connection_id":56609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":56609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:20:59] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ebe368012d7fabc005afe3700004003028..."} 
[2026-04-28 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ebe368012d7fabc005afe3700004003028..."} 
[2026-04-28 17:20:59] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ebe368012d7fabc005afe3700004003028..."} 
[2026-04-28 17:20:59] local.INFO: Packet analysis {"connection_id":56609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:59] local.INFO: Extracted packet for processing {"connection_id":56609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413104,"longitude_deg":76.334176,"latitude_deg":9.5413104,"altitude":4,"angle":48,"satellites":40,"speed":3,"hex_longitude":"2d7fabc0","hex_latitude":"05afe370","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008497408001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347387647688704,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260122624,"note":"Value kept but may cause issues"} 
[2026-04-28 17:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777376945000,"timestamp_ms":1777376945000,"timestamp_seconds":1777376945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ebe368"} 
[2026-04-28 17:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 17:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008497408001,"66":27821,"250":206,"85":12544,"24":3,"16":282347387647688704,"45":9199446688260122624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008497408001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:20:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347387647688704,"km_value":282347387647688.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260122624,"description":"Unknown IO ID 45"} 
[2026-04-28 17:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008497408001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199446688260122624}} 
[2026-04-28 17:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":56609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:20:59] local.INFO: GPS data processed {"connection_id":56609,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:20:59] local.INFO: Acknowledgment sent {"connection_id":56609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:21:09] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:09] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:09] local.INFO: IMEI packet received {"connection_id":56845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":56845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:21:14] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:14] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:21:14] local.INFO: IMEI packet received {"connection_id":56845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":56845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:21:14] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eb2400012d1876c0072180a0004b009424..."} 
[2026-04-28 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eb2400012d1876c0072180a0004b009424..."} 
[2026-04-28 17:21:14] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eb2400012d1876c0072180a0004b009424..."} 
[2026-04-28 17:21:14] local.INFO: Packet analysis {"connection_id":56845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:14] local.INFO: Extracted packet for processing {"connection_id":56845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008480000001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:14] 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-04-28 17:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376896000,"timestamp_ms":1777376896000,"timestamp_seconds":1777376896,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eb2400"} 
[2026-04-28 17:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:21: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-04-28 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 17:21:14] 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-04-28 17:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008480000001,"66":12809,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008480000001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:21:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008480000001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":56845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:21:14] local.INFO: GPS data processed {"connection_id":56845,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:21:14] local.INFO: Acknowledgment sent {"connection_id":56845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:21:30] local.INFO: TCP Data received {"connection_id":56609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ebeb38012d7fac0005afe3980004001b28..."} 
[2026-04-28 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ebeb38012d7fac0005afe3980004001b28..."} 
[2026-04-28 17:21:30] local.INFO: Processing buffer {"connection_id":56609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ebeb38012d7fac0005afe3980004001b28..."} 
[2026-04-28 17:21:30] local.INFO: Packet analysis {"connection_id":56609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:30] local.INFO: Extracted packet for processing {"connection_id":56609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413144,"longitude_deg":76.3341824,"latitude_deg":9.5413144,"altitude":4,"angle":27,"satellites":40,"speed":2,"hex_longitude":"2d7fac00","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-04-28 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008497920001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347391942656000,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492657664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777376947000,"timestamp_ms":1777376947000,"timestamp_seconds":1777376947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ebeb38"} 
[2026-04-28 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008497920001,"66":27800,"250":206,"85":12544,"24":2,"16":282347391942656000,"45":9199657794492657664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008497920001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:21:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347391942656000,"km_value":282347391942656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492657664,"description":"Unknown IO ID 45"} 
[2026-04-28 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008497920001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9199657794492657664}} 
[2026-04-28 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":56609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:21:30] local.INFO: GPS data processed {"connection_id":56609,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:21:30] local.INFO: Acknowledgment sent {"connection_id":56609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:21:45] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eb79f0012d1876c0072180a0004b009426..."} 
[2026-04-28 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eb79f0012d1876c0072180a0004b009426..."} 
[2026-04-28 17:21:45] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eb79f0012d1876c0072180a0004b009426..."} 
[2026-04-28 17:21:45] local.INFO: Packet analysis {"connection_id":56845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:45] local.INFO: Extracted packet for processing {"connection_id":56845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008485376001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] 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-04-28 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376918000,"timestamp_ms":1777376918000,"timestamp_seconds":1777376918,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eb79f0"} 
[2026-04-28 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:21: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-04-28 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3555277752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-1663605068238653760,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221692800,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645508903341,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3859808256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2414105323389359141,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,230,209,45,192,128,75,36,10,66,127,35,1,240,63,227,211,33,4,113,205,137,118,160,239,50,2,154,7,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:21:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404482435184328704,"timestamp_seconds":5404482435184329.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008485376001,"66":12776,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008485376001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008485376001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":56845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:21:45] local.INFO: GPS data processed {"connection_id":56845,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:21:45] local.INFO: Acknowledgment sent {"connection_id":56845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:21:54] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:54] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:54] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:21:58] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:58] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:21:58] local.INFO: IMEI packet received {"connection_id":56610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":56610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:21:58] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec1630012d7fac0005afe3a80003002d29..."} 
[2026-04-28 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec1630012d7fac0005afe3a80003002d29..."} 
[2026-04-28 17:21:58] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec1630012d7fac0005afe3a80003002d29..."} 
[2026-04-28 17:21:58] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:21:58] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95413160,"longitude_deg":76.3341824,"latitude_deg":9.541316,"altitude":3,"angle":45,"satellites":41,"speed":0,"hex_longitude":"2d7fac00","hex_latitude":"05afe3a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008498432001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347404827557888,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236845568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777376958000,"timestamp_ms":1777376958000,"timestamp_seconds":1777376958,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec1630"} 
[2026-04-28 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-04-28 17:21: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-04-28 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 17:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008498432001,"66":27974,"250":206,"85":12544,"24":0,"16":282347404827557888,"45":9199728163236845568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008498432001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:21:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347404827557888,"km_value":282347404827557.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236845568,"description":"Unknown IO ID 45"} 
[2026-04-28 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008498432001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236845568}} 
[2026-04-28 17:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:21:59] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:21:59] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:22:09] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:09] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:09] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:22:14] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:14] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:22:14] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:22:14] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ebcbf8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ebcbf8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:22:14] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ebcbf8012d1876c0072180a0004b009423..."} 
[2026-04-28 17:22:14] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:22:14] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3eb"} 
[2026-04-28 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008491008001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:14] 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-04-28 17:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777376939000,"timestamp_ms":1777376939000,"timestamp_seconds":1777376939,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ebcbf8"} 
[2026-04-28 17:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:22:14] 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-04-28 17: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-04-28 17:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008491008001,"66":12809,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008491008001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008491008001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:22:14] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:22:14] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:22:29] local.INFO: TCP Data received {"connection_id":56610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec2da0012d7fabc005afe3500002001f29..."} 
[2026-04-28 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec2da0012d7fabc005afe3500002001f29..."} 
[2026-04-28 17:22:29] local.INFO: Processing buffer {"connection_id":56610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec2da0012d7fabc005afe3500002001f29..."} 
[2026-04-28 17:22:29] local.INFO: Packet analysis {"connection_id":56610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:29] local.INFO: Extracted packet for processing {"connection_id":56610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413072,"longitude_deg":76.334176,"latitude_deg":9.5413072,"altitude":2,"angle":31,"satellites":41,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008501248001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347409122525184,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236849664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777376964000,"timestamp_ms":1777376964000,"timestamp_seconds":1777376964,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec2da0"} 
[2026-04-28 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-04-28 17:22: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-04-28 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-28 17:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008501248001,"66":27952,"250":206,"85":12544,"24":0,"16":282347409122525184,"45":9199728163236849664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008501248001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:22:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347409122525184,"km_value":282347409122525.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236849664,"description":"Unknown IO ID 45"} 
[2026-04-28 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008501248001,"power":27952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236849664}} 
[2026-04-28 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":56610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:22:29] local.INFO: GPS data processed {"connection_id":56610,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:22:29] local.INFO: Acknowledgment sent {"connection_id":56610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:22:45] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec1e00012d1876c0072180a0004b009424..."} 
[2026-04-28 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec1e00012d1876c0072180a0004b009424..."} 
[2026-04-28 17:22:45] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec1e00012d1876c0072180a0004b009424..."} 
[2026-04-28 17:22:45] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:45] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636128,"longitude_deg":75.6577984,"latitude_deg":11.9636128,"altitude":75,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008496384001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657696845234176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021509632,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] 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-04-28 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777376960000,"timestamp_ms":1777376960000,"timestamp_seconds":1777376960,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec1e00"} 
[2026-04-28 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-04-28 17:22: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-04-28 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3555318752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-1618525091499837760,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2157969483,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221692800,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281318125139,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3859808256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2414105323389359137,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,230,121,45,192,128,75,38,10,66,36,209,1,240,41,227,211,33,4,113,205,118,160,40,239,50,2,154,7,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:22:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404482430889361408,"timestamp_seconds":5404482430889361.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008496384001,"66":12722,"106":206,"83":41984,"24":0,"16":115657696845234176,"45":1762807441021509632},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008496384001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:22:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657696845234176,"km_value":115657696845234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021509632,"description":"Unknown IO ID 45"} 
[2026-04-28 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008496384001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021509632}} 
[2026-04-28 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:22:45] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:22:45] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:22:53] local.INFO: TCP Data received {"connection_id":57511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:53] local.INFO: Processing buffer {"connection_id":57511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:53] local.INFO: IMEI packet received {"connection_id":57511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":57511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:22:58] local.INFO: TCP Data received {"connection_id":57511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:58] local.INFO: Processing buffer {"connection_id":57511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:22:58] local.INFO: IMEI packet received {"connection_id":57511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":57511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:22:59] local.INFO: TCP Data received {"connection_id":57511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec4510012d7fab0005afe3c80001014729..."} 
[2026-04-28 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec4510012d7fab0005afe3c80001014729..."} 
[2026-04-28 17:22:59] local.INFO: Processing buffer {"connection_id":57511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec4510012d7fab0005afe3c80001014729..."} 
[2026-04-28 17:22:59] local.INFO: Packet analysis {"connection_id":57511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:59] local.INFO: Extracted packet for processing {"connection_id":57511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95413192,"longitude_deg":76.3341568,"latitude_deg":9.5413192,"altitude":1,"angle":327,"satellites":41,"speed":1,"hex_longitude":"2d7fab00","hex_latitude":"05afe3c8","is_valid_coordinates":true} 
[2026-04-28 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008502784001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347422007427072,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492649472,"note":"Value kept but may cause issues"} 
[2026-04-28 17:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777376970000,"timestamp_ms":1777376970000,"timestamp_seconds":1777376970,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec4510"} 
[2026-04-28 17:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:22: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-04-28 17: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-28 17:22:59] 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-04-28 17: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-04-28 17:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008502784001,"66":27865,"250":206,"85":12544,"24":1,"16":282347422007427072,"45":9199657794492649472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008502784001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:22:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347422007427072,"km_value":282347422007427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492649472,"description":"Unknown IO ID 45"} 
[2026-04-28 17:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008502784001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199657794492649472}} 
[2026-04-28 17:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":57511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:22:59] local.INFO: GPS data processed {"connection_id":57511,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:22:59] local.INFO: Acknowledgment sent {"connection_id":57511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:09] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:09] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:09] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:23:11] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:11] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:11] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:23:12] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:23:12] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:23:12] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:23:13] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eeb9f8012d1878c0072181f8004e005324..."} 
[2026-04-28 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eeb9f8012d1878c0072181f8004e005324..."} 
[2026-04-28 17:23:13] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eeb9f8012d1878c0072181f8004e005324..."} 
[2026-04-28 17:23:13] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:13] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756578496,"raw_latitude":119636472,"longitude_deg":75.6578496,"latitude_deg":11.9636472,"altitude":78,"angle":83,"satellites":36,"speed":11,"hex_longitude":"2d1878c0","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008545280001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657731204972544,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742475776,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777377131000,"timestamp_ms":1777377131000,"timestamp_seconds":1777377131,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eeb9f8"} 
[2026-04-28 17:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:13] 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-04-28 17: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-04-28 17:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008545280001,"66":14233,"106":206,"83":41984,"24":11,"16":115657731204972544,"45":1763159284742475776},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008545280001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657731204972544,"km_value":115657731204972.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742475776,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008545280001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1763159284742475776}} 
[2026-04-28 17:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:13] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:13] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:14] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eec998012d187f80072181f8004e006024..."} 
[2026-04-28 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eec998012d187f80072181f8004e006024..."} 
[2026-04-28 17:23:14] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eec998012d187f80072181f8004e006024..."} 
[2026-04-28 17:23:14] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:14] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756580224,"raw_latitude":119636472,"longitude_deg":75.6580224,"latitude_deg":11.9636472,"altitude":78,"angle":96,"satellites":36,"speed":19,"hex_longitude":"2d187f80","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-04-28 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008545536001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657812809351168,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763370390975019008,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:14] 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-04-28 17:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377135000,"timestamp_ms":1777377135000,"timestamp_seconds":1777377135,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eec998"} 
[2026-04-28 17:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:23: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-04-28 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:14] 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-04-28 17:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008545536001,"66":14341,"106":206,"83":41984,"24":19,"16":115657812809351168,"45":1763370390975019008},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008545536001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657812809351168,"km_value":115657812809351.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763370390975019008,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008545536001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1763370390975019008}} 
[2026-04-28 17:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:14] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:14] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:19] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3eed938012d18894007217fd8004d006d23..."} 
[2026-04-28 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3eed938012d18894007217fd8004d006d23..."} 
[2026-04-28 17:23:19] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3eed938012d18894007217fd8004d006d23..."} 
[2026-04-28 17:23:19] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:19] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ee"} 
[2026-04-28 17:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756582720,"raw_latitude":119635928,"longitude_deg":75.658272,"latitude_deg":11.9635928,"altitude":77,"angle":109,"satellites":35,"speed":30,"hex_longitude":"2d188940","hex_latitude":"07217fd8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008546560001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115657933068435456,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347067815936,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777377139000,"timestamp_ms":1777377139000,"timestamp_seconds":1777377139,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3eed938"} 
[2026-04-28 17:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:23: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-04-28 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942879156,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3555591752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84750866296807808,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505364423770112,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4004141057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2157969483,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221692800,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":21111259512438784,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3859808256,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,230,185,45,192,129,78,36,10,66,182,178,64,1,240,153,227,211,33,4,113,205,88,118,160,37,239,55,2,154,7,75,206],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620598042694713344,"timestamp_seconds":5620598042694713.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008546560001,"66":13015,"106":206,"83":41984,"24":30,"16":115657933068435456,"45":1765270347067815936},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008546560001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115657933068435456,"km_value":115657933068435.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347067815936,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008546560001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1765270347067815936}} 
[2026-04-28 17:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:19] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:19] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:29] local.INFO: TCP Data received {"connection_id":57511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec4ce0012d7faac005afe3f80001016229..."} 
[2026-04-28 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec4ce0012d7faac005afe3f80001016229..."} 
[2026-04-28 17:23:29] local.INFO: Processing buffer {"connection_id":57511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec4ce0012d7faac005afe3f80001016229..."} 
[2026-04-28 17:23:29] local.INFO: Packet analysis {"connection_id":57511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:23:29] local.INFO: Extracted packet for processing {"connection_id":57511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413240,"longitude_deg":76.3341504,"latitude_deg":9.541324,"altitude":1,"angle":354,"satellites":41,"speed":1,"hex_longitude":"2d7faac0","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008504320001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347426302394368,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260147200,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777376972000,"timestamp_ms":1777376972000,"timestamp_seconds":1777376972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec4ce0"} 
[2026-04-28 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-04-28 17:23: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-04-28 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008504320001,"66":27658,"250":206,"85":12544,"24":1,"16":282347426302394368,"45":9199446688260147200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008504320001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347426302394368,"km_value":282347426302394.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260147200,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008504320001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199446688260147200}} 
[2026-04-28 17:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":57511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:29] local.INFO: GPS data processed {"connection_id":57511,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:29] local.INFO: Acknowledgment sent {"connection_id":57511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:50] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ef0c00012d18ac0007217118004b008224..."} 
[2026-04-28 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ef0c00012d18ac0007217118004b008224..."} 
[2026-04-28 17:23:50] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ef0c00012d18ac0007217118004b008224..."} 
[2026-04-28 17:23:50] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:23:50] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632152,"longitude_deg":75.6591616,"latitude_deg":11.9632152,"altitude":75,"angle":130,"satellites":36,"speed":31,"hex_longitude":"2d18ac00","hex_latitude":"07217118","is_valid_coordinates":true} 
[2026-04-28 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008547584001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115658396924903424,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768014728090605568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:50] 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-04-28 17:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777377152000,"timestamp_ms":1777377152000,"timestamp_seconds":1777377152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ef0c00"} 
[2026-04-28 17:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:23: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-04-28 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008547584001,"66":14265,"106":206,"83":41984,"24":31,"16":115658396924903424,"45":1768014728090605568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008547584001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115658396924903424,"km_value":115658396924903.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768014728090605568,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008547584001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1768014728090605568}} 
[2026-04-28 17:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:50] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:50] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:23:53] local.INFO: TCP Data received {"connection_id":56611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:53] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:53] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:23:58] local.INFO: TCP Data received {"connection_id":56611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:58] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:23:58] local.INFO: IMEI packet received {"connection_id":56611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":56611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:23:59] local.INFO: TCP Data received {"connection_id":56611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec50c8012d7faac005afe3f80001000529..."} 
[2026-04-28 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec50c8012d7faac005afe3f80001000529..."} 
[2026-04-28 17:23:59] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec50c8012d7faac005afe3f80001000529..."} 
[2026-04-28 17:23:59] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:23:59] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413240,"longitude_deg":76.3341504,"latitude_deg":9.541324,"altitude":1,"angle":5,"satellites":41,"speed":1,"hex_longitude":"2d7faac0","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008504832001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347426302394368,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515981824,"note":"Value kept but may cause issues"} 
[2026-04-28 17:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777376973000,"timestamp_ms":1777376973000,"timestamp_seconds":1777376973,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec50c8"} 
[2026-04-28 17:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:23: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-04-28 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 17:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008504832001,"66":27658,"250":206,"85":12544,"24":1,"16":282347426302394368,"45":9199376319515981824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008504832001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:23:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347426302394368,"km_value":282347426302394.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515981824,"description":"Unknown IO ID 45"} 
[2026-04-28 17:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008504832001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199376319515981824}} 
[2026-04-28 17:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:23:59] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:23:59] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:24:14] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:24:14] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:14] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:24:19] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:19] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:24:19] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:24:19] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3efa840012d18d9000720fda80039008e24..."} 
[2026-04-28 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3efa840012d18d9000720fda80039008e24..."} 
[2026-04-28 17:24:19] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3efa840012d18d9000720fda80039008e24..."} 
[2026-04-28 17:24:19] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:24:19] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602600,"longitude_deg":75.6603136,"latitude_deg":11.96026,"altitude":57,"angle":142,"satellites":36,"speed":33,"hex_longitude":"2d18d900","hex_latitude":"0720fda8","is_valid_coordinates":true} 
[2026-04-28 17:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008560896001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115659981767835648,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265680896,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777377192000,"timestamp_ms":1777377192000,"timestamp_seconds":1777377192,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3efa840"} 
[2026-04-28 17:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:24:19] 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-04-28 17:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008560896001,"66":14265,"106":206,"83":41984,"24":33,"16":115659981767835648,"45":1789969776265680896},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008560896001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115659981767835648,"km_value":115659981767835.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265680896,"description":"Unknown IO ID 45"} 
[2026-04-28 17:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008560896001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1789969776265680896}} 
[2026-04-28 17:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:24:19] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:24:19] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:24:23] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3efb010012d18de000720f8f00038008223..."} 
[2026-04-28 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3efb010012d18de000720f8f00038008223..."} 
[2026-04-28 17:24:23] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3efb010012d18de000720f8f00038008223..."} 
[2026-04-28 17:24:23] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:24:23] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ef"} 
[2026-04-28 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119601392,"longitude_deg":75.6604416,"latitude_deg":11.9601392,"altitude":56,"angle":130,"satellites":35,"speed":36,"hex_longitude":"2d18de00","hex_latitude":"0720f8f0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008561152001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115660063372214272,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474748416,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777377194000,"timestamp_ms":1777377194000,"timestamp_seconds":1777377194,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3efb010"} 
[2026-04-28 17:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:24: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-04-28 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008561152001,"66":14243,"106":206,"83":41984,"24":36,"16":115660063372214272,"45":1790462357474748416},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008561152001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:24:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115660063372214272,"km_value":115660063372214.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474748416,"description":"Unknown IO ID 45"} 
[2026-04-28 17:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008561152001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1790462357474748416}} 
[2026-04-28 17:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:24:23] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:24:23] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:24:29] local.INFO: TCP Data received {"connection_id":56611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec5898012d7faac005afe3f80000001529..."} 
[2026-04-28 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec5898012d7faac005afe3f80000001529..."} 
[2026-04-28 17:24:29] local.INFO: Processing buffer {"connection_id":56611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec5898012d7faac005afe3f80000001529..."} 
[2026-04-28 17:24:29] local.INFO: Packet analysis {"connection_id":56611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:24:29] local.INFO: Extracted packet for processing {"connection_id":56611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413240,"longitude_deg":76.3341504,"latitude_deg":9.541324,"altitude":0,"angle":21,"satellites":41,"speed":1,"hex_longitude":"2d7faac0","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008505088001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347426302394368,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515981824,"note":"Value kept but may cause issues"} 
[2026-04-28 17:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777376975000,"timestamp_ms":1777376975000,"timestamp_seconds":1777376975,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec5898"} 
[2026-04-28 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-04-28 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 17:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008505088001,"66":27626,"250":206,"85":12544,"24":1,"16":282347426302394368,"45":9199376319515981824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008505088001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:24:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347426302394368,"km_value":282347426302394.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515981824,"description":"Unknown IO ID 45"} 
[2026-04-28 17:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008505088001,"power":27626,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199376319515981824}} 
[2026-04-28 17:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":56611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:24:29] local.INFO: GPS data processed {"connection_id":56611,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:24:29] local.INFO: Acknowledgment sent {"connection_id":56611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:24:58] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:24:58] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:24:58] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:25:03] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:03] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:03] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:25:03] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:03] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:03] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:25:03] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95413240,"longitude_deg":76.3341568,"latitude_deg":9.541324,"altitude":0,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-04-28 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008505600001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515981824,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777376977000,"timestamp_ms":1777376977000,"timestamp_seconds":1777376977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec6068"} 
[2026-04-28 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-04-28 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 17:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008505600001,"66":27691,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199376319515981824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008505600001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:25:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515981824,"description":"Unknown IO ID 45"} 
[2026-04-28 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008505600001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515981824}} 
[2026-04-28 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:25:03] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:25:03] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:25:05] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:05] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:05] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:25:06] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:06] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:06] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:25:08] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:08] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ec6068012d7fab0005afe3f80000001b29..."} 
[2026-04-28 17:25:08] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:25:08] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ec"} 
[2026-04-28 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95413240,"longitude_deg":76.3341568,"latitude_deg":9.541324,"altitude":0,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe3f8","is_valid_coordinates":true} 
[2026-04-28 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008505600001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515981824,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777376977000,"timestamp_ms":1777376977000,"timestamp_seconds":1777376977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ec6068"} 
[2026-04-28 17:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 17:25:08] 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-04-28 17: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-04-28 17:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008505600001,"66":27691,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199376319515981824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008505600001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:25:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515981824,"description":"Unknown IO ID 45"} 
[2026-04-28 17:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008505600001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515981824}} 
[2026-04-28 17:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:25:08] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:25:08] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:25:08] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:08] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:08] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:25:11] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:11] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:25:11] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:25:12] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f09a70012d19ae000720af30002f006c22..."} 
[2026-04-28 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f09a70012d19ae000720af30002f006c22..."} 
[2026-04-28 17:25:12] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f09a70012d19ae000720af30002f006c22..."} 
[2026-04-28 17:25:12] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f0"} 
[2026-04-28 17:25:12] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f0"} 
[2026-04-28 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119582512,"longitude_deg":75.6657664,"latitude_deg":11.9582512,"altitude":47,"angle":108,"satellites":34,"speed":39,"hex_longitude":"2d19ae00","hex_latitude":"0720af30","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008575488001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115662966770106368,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843590759323987968,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777377254000,"timestamp_ms":1777377254000,"timestamp_seconds":1777377254,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f09a70"} 
[2026-04-28 17:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 17:25:12] 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-04-28 17: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-04-28 17:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008575488001,"66":14363,"106":206,"83":41984,"24":39,"16":115662966770106368,"45":1843590759323987968},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008575488001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115662966770106368,"km_value":115662966770106.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843590759323987968,"description":"Unknown IO ID 45"} 
[2026-04-28 17:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008575488001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1843590759323987968}} 
[2026-04-28 17:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:25:12] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:25:12] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:25:49] local.INFO: TCP Data received {"connection_id":57512,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:25:49] local.INFO: Processing buffer {"connection_id":57512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:25:49] local.INFO: IMEI packet received {"connection_id":57512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":57512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:25:49] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f14a38012d19cec0072016d00028009023..."} 
[2026-04-28 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f14a38012d19cec0072016d00028009023..."} 
[2026-04-28 17:25:49] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f14a38012d19cec0072016d00028009023..."} 
[2026-04-28 17:25:49] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:25:49] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543504,"longitude_deg":75.6666048,"latitude_deg":11.9543504,"altitude":40,"angle":144,"satellites":35,"speed":31,"hex_longitude":"2d19cec0","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-04-28 17:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008588544001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115665088483950592,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986263552,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777377299000,"timestamp_ms":1777377299000,"timestamp_seconds":1777377299,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f14a38"} 
[2026-04-28 17:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 17:25:49] 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-04-28 17:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008588544001,"66":14048,"106":206,"83":41984,"24":31,"16":115665088483950592,"45":1859634832986263552},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008588544001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115665088483950592,"km_value":115665088483950.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986263552,"description":"Unknown IO ID 45"} 
[2026-04-28 17:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008588544001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1859634832986263552}} 
[2026-04-28 17:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:25:49] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:25:49] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:25:53] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:53] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:53] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:25:58] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:58] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:25:58] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:25:59] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:25:59] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:25:59] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:25:59] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:25:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:25:59] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:25:59] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:03] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:03] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:03] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:03] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:03] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:03] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:09] local.INFO: TCP Data received {"connection_id":57513,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 17:26:09] local.INFO: Processing buffer {"connection_id":57513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 17:26:09] local.INFO: IMEI packet received {"connection_id":57513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":57513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:26:10] local.INFO: TCP Data received {"connection_id":57513,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57513,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 17:26:10] local.INFO: Processing buffer {"connection_id":57513,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 17:26:10] local.INFO: IMEI packet received {"connection_id":57513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":57513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:26:15] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:15] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:15] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:26:16] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:16] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:26:16] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:26:17] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f1b3b0012d19cac0071ff3c0002700d524..."} 
[2026-04-28 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f1b3b0012d19cac0071ff3c0002700d524..."} 
[2026-04-28 17:26:17] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f1b3b0012d19cac0071ff3c0002700d524..."} 
[2026-04-28 17:26:17] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:17] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534528,"longitude_deg":75.6665024,"latitude_deg":11.9534528,"altitude":39,"angle":213,"satellites":36,"speed":14,"hex_longitude":"2d19cac0","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008594944001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115665719844143104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542367232,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777377326000,"timestamp_ms":1777377326000,"timestamp_seconds":1777377326,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f1b3b0"} 
[2026-04-28 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-04-28 17:26: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-04-28 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 17:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008594944001,"66":13820,"106":206,"83":41984,"24":14,"16":115665719844143104,"45":1858931145542367232},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008594944001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115665719844143104,"km_value":115665719844143.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542367232,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008594944001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858931145542367232}} 
[2026-04-28 17:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:17] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:17] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:18] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f1b798012d19ca00071ff2b8002700e524..."} 
[2026-04-28 17:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f1b798012d19ca00071ff2b8002700e524..."} 
[2026-04-28 17:26:18] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f1b798012d19ca00071ff2b8002700e524..."} 
[2026-04-28 17:26:18] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:18] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534264,"longitude_deg":75.6664832,"latitude_deg":11.9534264,"altitude":39,"angle":229,"satellites":36,"speed":14,"hex_longitude":"2d19ca00","hex_latitude":"071ff2b8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008595456001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115665737024012288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077123072,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777377327000,"timestamp_ms":1777377327000,"timestamp_seconds":1777377327,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f1b798"} 
[2026-04-28 17:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:26: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-04-28 17: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":252,"data_length":795,"current_offset":136} 
[2026-04-28 17:26: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-04-28 17: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-04-28 17:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008595456001,"66":13852,"106":206,"83":41984,"24":14,"16":115665737024012288,"45":1858508933077123072},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008595456001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115665737024012288,"km_value":115665737024012.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077123072,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008595456001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858508933077123072}} 
[2026-04-28 17:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:18] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:18] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:34] local.INFO: TCP Data received {"connection_id":56803,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:26:34] local.INFO: Processing buffer {"connection_id":56803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:26:34] local.INFO: IMEI packet received {"connection_id":56803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":56803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:26:36] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:36] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:36] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:36] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:36] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:36] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:49] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f1bb80012d19c8c0071ff1f0002700f524..."} 
[2026-04-28 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f1bb80012d19c8c0071ff1f0002700f524..."} 
[2026-04-28 17:26:49] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f1bb80012d19c8c0071ff1f0002700f524..."} 
[2026-04-28 17:26:49] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:49] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534064,"longitude_deg":75.6664512,"latitude_deg":11.9534064,"altitude":39,"angle":245,"satellites":36,"speed":16,"hex_longitude":"2d19c8c0","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-04-28 17:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008595712001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115665754203881472,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844522496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777377328000,"timestamp_ms":1777377328000,"timestamp_seconds":1777377328,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f1bb80"} 
[2026-04-28 17:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 17:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008595712001,"66":13852,"106":206,"83":41984,"24":16,"16":115665754203881472,"45":1858297826844522496},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008595712001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115665754203881472,"km_value":115665754203881.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844522496,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008595712001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858297826844522496}} 
[2026-04-28 17:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:49] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:49] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:26:53] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:53] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:53] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:26:58] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:58] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:26:58] local.INFO: IMEI packet received {"connection_id":56613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":56613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:26:59] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:59] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:26:59] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:59] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:26:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:26:59] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:26:59] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:27:04] local.INFO: TCP Data received {"connection_id":57514,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:04] local.INFO: Processing buffer {"connection_id":57514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:04] local.INFO: IMEI packet received {"connection_id":57514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":57514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:27:05] local.INFO: TCP Data received {"connection_id":57514,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:05] local.INFO: Processing buffer {"connection_id":57514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:05] local.INFO: IMEI packet received {"connection_id":57514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":57514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:27:06] local.INFO: TCP Data received {"connection_id":57514,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:06] local.INFO: Processing buffer {"connection_id":57514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:06] local.INFO: IMEI packet received {"connection_id":57514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":57514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:27:08] local.INFO: TCP Data received {"connection_id":57514,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:08] local.INFO: Processing buffer {"connection_id":57514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:27:08] local.INFO: IMEI packet received {"connection_id":57514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":57514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:27:31] local.INFO: TCP Data received {"connection_id":56613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:31] local.INFO: Processing buffer {"connection_id":56613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:31] local.INFO: Packet analysis {"connection_id":56613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:27:31] local.INFO: Extracted packet for processing {"connection_id":56613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:27:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":56613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:27:31] local.INFO: GPS data processed {"connection_id":56613,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:27:31] local.INFO: Acknowledgment sent {"connection_id":56613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:27:53] local.INFO: TCP Data received {"connection_id":57515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:53] local.INFO: Processing buffer {"connection_id":57515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:53] local.INFO: IMEI packet received {"connection_id":57515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":57515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:27:58] local.INFO: TCP Data received {"connection_id":57515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:58] local.INFO: Processing buffer {"connection_id":57515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:27:58] local.INFO: IMEI packet received {"connection_id":57515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":57515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:27:59] local.INFO: TCP Data received {"connection_id":57515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:59] local.INFO: Processing buffer {"connection_id":57515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:27:59] local.INFO: Packet analysis {"connection_id":57515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:27:59] local.INFO: Extracted packet for processing {"connection_id":57515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:27:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":57515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:27:59] local.INFO: GPS data processed {"connection_id":57515,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:27:59] local.INFO: Acknowledgment sent {"connection_id":57515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:28:31] local.INFO: TCP Data received {"connection_id":57515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:31] local.INFO: Processing buffer {"connection_id":57515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:31] local.INFO: Packet analysis {"connection_id":57515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:28:31] local.INFO: Extracted packet for processing {"connection_id":57515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:28:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":57515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:28:31] local.INFO: GPS data processed {"connection_id":57515,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:28:31] local.INFO: Acknowledgment sent {"connection_id":57515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:28:53] local.INFO: TCP Data received {"connection_id":57516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:53] local.INFO: Processing buffer {"connection_id":57516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:53] local.INFO: IMEI packet received {"connection_id":57516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":57516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:28:58] local.INFO: TCP Data received {"connection_id":57516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:58] local.INFO: Processing buffer {"connection_id":57516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:28:58] local.INFO: IMEI packet received {"connection_id":57516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":57516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:28:58] local.INFO: TCP Data received {"connection_id":57516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:58] local.INFO: Processing buffer {"connection_id":57516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:28:58] local.INFO: Packet analysis {"connection_id":57516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:28:58] local.INFO: Extracted packet for processing {"connection_id":57516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 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-04-28 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:28:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":57516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:28:58] local.INFO: GPS data processed {"connection_id":57516,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:28:58] local.INFO: Acknowledgment sent {"connection_id":57516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:29:29] local.INFO: TCP Data received {"connection_id":57516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:29] local.INFO: Processing buffer {"connection_id":57516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:29] local.INFO: Packet analysis {"connection_id":57516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:29:29] local.INFO: Extracted packet for processing {"connection_id":57516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 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-04-28 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:29:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":57516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:29:30] local.INFO: GPS data processed {"connection_id":57516,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:29:30] local.INFO: Acknowledgment sent {"connection_id":57516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:29:53] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:53] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:53] local.INFO: IMEI packet received {"connection_id":56805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":56805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:29:58] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:58] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:29:58] local.INFO: IMEI packet received {"connection_id":56805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":56805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:29:59] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:59] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f103e8012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:29:59] local.INFO: Packet analysis {"connection_id":56805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:29:59] local.INFO: Extracted packet for processing {"connection_id":56805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f1"} 
[2026-04-28 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008506112001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688260159488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377281000,"timestamp_ms":1777377281000,"timestamp_seconds":1777377281,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f103e8"} 
[2026-04-28 17:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 17:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008506112001,"66":26006,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199446688260159488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008506112001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:29:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688260159488,"description":"Unknown IO ID 45"} 
[2026-04-28 17:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008506112001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688260159488}} 
[2026-04-28 17:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":56805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:29:59] local.INFO: GPS data processed {"connection_id":56805,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:29:59] local.INFO: Acknowledgment sent {"connection_id":56805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:30:30] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:30:30] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:30:30] local.INFO: Packet analysis {"connection_id":56805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:30:30] local.INFO: Extracted packet for processing {"connection_id":56805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 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-04-28 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:30:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":56805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:30:30] local.INFO: GPS data processed {"connection_id":56805,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:30:30] local.INFO: Acknowledgment sent {"connection_id":56805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:30:58] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:30:58] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:30:58] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:31:03] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:03] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:03] local.INFO: IMEI packet received {"connection_id":56617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":56617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:31:04] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:04] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:04] local.INFO: Packet analysis {"connection_id":56617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:04] local.INFO: Extracted packet for processing {"connection_id":56617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:31:04] 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-04-28 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:31:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":56617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:31:04] local.INFO: GPS data processed {"connection_id":56617,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:31:04] local.INFO: Acknowledgment sent {"connection_id":56617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:31:08] local.INFO: TCP Data received {"connection_id":56617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:08] local.INFO: Processing buffer {"connection_id":56617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:08] local.INFO: Packet analysis {"connection_id":56617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:08] local.INFO: Extracted packet for processing {"connection_id":56617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:31:08] 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-04-28 17: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-04-28 17:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:31:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":56617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:31:08] local.INFO: GPS data processed {"connection_id":56617,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:31:08] local.INFO: Acknowledgment sent {"connection_id":56617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:31:53] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:53] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:53] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:31:54] local.INFO: TCP Data received {"connection_id":56618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:31:54] local.INFO: Processing buffer {"connection_id":56618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:31:54] local.INFO: IMEI packet received {"connection_id":56618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":56618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:31:58] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:58] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:31:58] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:31:59] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:59] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:31:59] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:59] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:31:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:31:59] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:31:59] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:32:13] local.INFO: TCP Data received {"connection_id":57517,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:13] local.INFO: Processing buffer {"connection_id":57517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:13] local.INFO: IMEI packet received {"connection_id":57517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":57517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:32:20] local.INFO: TCP Data received {"connection_id":57517,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:20] local.INFO: Processing buffer {"connection_id":57517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:32:20] local.INFO: IMEI packet received {"connection_id":57517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":57517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:32:21] local.INFO: TCP Data received {"connection_id":57517,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f5f588012d1970c0071feb680039011625..."} 
[2026-04-28 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f5f588012d1970c0071feb680039011625..."} 
[2026-04-28 17:32:21] local.INFO: Processing buffer {"connection_id":57517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f5f588012d1970c0071feb680039011625..."} 
[2026-04-28 17:32:21] local.INFO: Packet analysis {"connection_id":57517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:21] local.INFO: Extracted packet for processing {"connection_id":57517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756641984,"raw_latitude":119532392,"longitude_deg":75.6641984,"latitude_deg":11.9532392,"altitude":57,"angle":278,"satellites":37,"speed":17,"hex_longitude":"2d1970c0","hex_latitude":"071feb68","is_valid_coordinates":true} 
[2026-04-28 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008665856001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669177292816384,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835427984986253312,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:21] 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-04-28 17:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777377605000,"timestamp_ms":1777377605000,"timestamp_seconds":1777377605,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f5f588"} 
[2026-04-28 17:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:32: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-04-28 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 17:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008665856001,"66":12972,"106":206,"83":41984,"24":17,"16":115669177292816384,"45":1835427984986253312},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008665856001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:32:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669177292816384,"km_value":115669177292816.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835427984986253312,"description":"Unknown IO ID 45"} 
[2026-04-28 17:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008665856001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1835427984986253312}} 
[2026-04-28 17:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":57517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:32:21] local.INFO: GPS data processed {"connection_id":57517,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:32:21] local.INFO: Acknowledgment sent {"connection_id":57517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:32:30] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:30] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:30] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:30] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:32:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:32:30] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:32:30] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:32:39] local.INFO: TCP Data received {"connection_id":57518,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:32:39] local.INFO: Processing buffer {"connection_id":57518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:32:39] local.INFO: IMEI packet received {"connection_id":57518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":57518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:32:51] local.INFO: TCP Data received {"connection_id":57517,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f64790012d196880071fedc0003b011823..."} 
[2026-04-28 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f64790012d196880071fedc0003b011823..."} 
[2026-04-28 17:32:51] local.INFO: Processing buffer {"connection_id":57517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f64790012d196880071fedc0003b011823..."} 
[2026-04-28 17:32:51] local.INFO: Packet analysis {"connection_id":57517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:32:51] local.INFO: Extracted packet for processing {"connection_id":57517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008666880001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833176185172617216,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777377626000,"timestamp_ms":1777377626000,"timestamp_seconds":1777377626,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f64790"} 
[2026-04-28 17:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 17:32:51] 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-04-28 17: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-04-28 17:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008666880001,"66":12950,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1833176185172617216},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008666880001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:32:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833176185172617216,"description":"Unknown IO ID 45"} 
[2026-04-28 17:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008666880001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1833176185172617216}} 
[2026-04-28 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":57517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:32:51] local.INFO: GPS data processed {"connection_id":57517,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:32:51] local.INFO: Acknowledgment sent {"connection_id":57517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:32:53] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:53] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:53] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:32:58] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:58] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:32:58] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:32:59] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:59] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:32:59] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:59] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:32:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:32:59] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:32:59] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:33:08] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:08] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:08] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:33:11] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:11] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:11] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:33:14] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:14] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:33:14] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:33:14] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f69998012d196880071fedc0003b011825..."} 
[2026-04-28 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f69998012d196880071fedc0003b011825..."} 
[2026-04-28 17:33:14] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f69998012d196880071fedc0003b011825..."} 
[2026-04-28 17:33:14] local.INFO: Packet analysis {"connection_id":56806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:33:14] local.INFO: Extracted packet for processing {"connection_id":56806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008672256001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:14] 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-04-28 17:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377647000,"timestamp_ms":1777377647000,"timestamp_seconds":1777377647,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f69998"} 
[2026-04-28 17:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:33:14] 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-04-28 17:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008672256001,"66":12950,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008672256001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:33:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008672256001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":56806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:33:14] local.INFO: GPS data processed {"connection_id":56806,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:33:14] local.INFO: Acknowledgment sent {"connection_id":56806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:33:30] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:30] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:30] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:33:30] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:33:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:33:30] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:33:30] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:33:45] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f6eba0012d196880071fedc0003b011824..."} 
[2026-04-28 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f6eba0012d196880071fedc0003b011824..."} 
[2026-04-28 17:33:45] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f6eba0012d196880071fedc0003b011824..."} 
[2026-04-28 17:33:45] local.INFO: Packet analysis {"connection_id":56806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:33:45] local.INFO: Extracted packet for processing {"connection_id":56806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f6"} 
[2026-04-28 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008677632001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:45] 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-04-28 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777377668000,"timestamp_ms":1777377668000,"timestamp_seconds":1777377668,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f6eba0"} 
[2026-04-28 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:33: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-04-28 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:33:45] 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-04-28 17: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-04-28 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008677632001,"66":12939,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008677632001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008677632001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":56806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:33:45] local.INFO: GPS data processed {"connection_id":56806,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:33:45] local.INFO: Acknowledgment sent {"connection_id":56806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:33:53] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:53] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:53] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:33:58] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:58] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:33:58] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:33:58] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:58] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:33:58] local.INFO: Packet analysis {"connection_id":56807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:33:58] local.INFO: Extracted packet for processing {"connection_id":56807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:33:58] 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-04-28 17: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-04-28 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:33:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":56807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:33:58] local.INFO: GPS data processed {"connection_id":56807,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:33:58] local.INFO: Acknowledgment sent {"connection_id":56807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:34:14] local.INFO: TCP Data received {"connection_id":56619,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:34:14] local.INFO: TCP Data received {"connection_id":56619,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:14] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:34:19] local.INFO: TCP Data received {"connection_id":56619,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:19] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:34:19] local.INFO: IMEI packet received {"connection_id":56619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":56619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:34:19] local.INFO: TCP Data received {"connection_id":56619,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f73da8012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f73da8012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:19] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f73da8012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:19] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:34:19] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008683008001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777377689000,"timestamp_ms":1777377689000,"timestamp_seconds":1777377689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f73da8"} 
[2026-04-28 17:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:34: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-04-28 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 17:34: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-04-28 17: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-04-28 17:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008683008001,"66":12874,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008683008001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008683008001,"power":12874,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:34:19] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:34:19] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:34:24] local.INFO: TCP Data received {"connection_id":56619,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f78fb0012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f78fb0012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:24] local.INFO: Processing buffer {"connection_id":56619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f78fb0012d196880071fedc0003b011825..."} 
[2026-04-28 17:34:24] local.INFO: Packet analysis {"connection_id":56619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:34:24] local.INFO: Extracted packet for processing {"connection_id":56619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008688384001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777377710000,"timestamp_ms":1777377710000,"timestamp_seconds":1777377710,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f78fb0"} 
[2026-04-28 17:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-28 17:34:24] 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-04-28 17: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-04-28 17:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008688384001,"66":12917,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008688384001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:34:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008688384001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":56619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:34:24] local.INFO: GPS data processed {"connection_id":56619,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:34:24] local.INFO: Acknowledgment sent {"connection_id":56619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:34:30] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:30] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:30] local.INFO: Packet analysis {"connection_id":56807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:34:30] local.INFO: Extracted packet for processing {"connection_id":56807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:34:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":56807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:34:30] local.INFO: GPS data processed {"connection_id":56807,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:34:30] local.INFO: Acknowledgment sent {"connection_id":56807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:34:53] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:53] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:53] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:34:58] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:58] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:34:58] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:34:59] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:59] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f59bb0012d7fabc005afe3d80000001828..."} 
[2026-04-28 17:34:59] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:34:59] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f5"} 
[2026-04-28 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":40,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008583936001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377582000,"timestamp_ms":1777377582000,"timestamp_seconds":1777377582,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f59bb0"} 
[2026-04-28 17:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 17:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008583936001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008583936001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:34:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008583936001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:34:59] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:34:59] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:35:09] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:09] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:09] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:35:14] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:14] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:35:14] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:35:14] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f7e1b8012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f7e1b8012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:14] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f7e1b8012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:14] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:35:14] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f7"} 
[2026-04-28 17:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008693760001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:14] 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-04-28 17:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377731000,"timestamp_ms":1777377731000,"timestamp_seconds":1777377731,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f7e1b8"} 
[2026-04-28 17:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 17:35:14] 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-04-28 17:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008693760001,"66":12863,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008693760001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:35:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008693760001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:35:14] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:35:14] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:35:30] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:35:30] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:35:30] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:35:30] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:35:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:35:30] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:35:30] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:35:45] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f833c0012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f833c0012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:45] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f833c0012d196880071fedc0003b011826..."} 
[2026-04-28 17:35:45] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:35:45] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008699136001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:35:45] 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-04-28 17:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777377752000,"timestamp_ms":1777377752000,"timestamp_seconds":1777377752,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f833c0"} 
[2026-04-28 17:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:35: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-04-28 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 17:35:45] 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-04-28 17: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-04-28 17:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008699136001,"66":12841,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008699136001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:35:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008699136001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:35:45] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:35:45] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:35:58] local.INFO: TCP Data received {"connection_id":57521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:35:58] local.INFO: Processing buffer {"connection_id":57521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:35:58] local.INFO: IMEI packet received {"connection_id":57521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":57521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:36:03] local.INFO: TCP Data received {"connection_id":57521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:03] local.INFO: Processing buffer {"connection_id":57521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:03] local.INFO: IMEI packet received {"connection_id":57521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":57521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:36:04] local.INFO: TCP Data received {"connection_id":57521,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:04] local.INFO: Processing buffer {"connection_id":57521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:04] local.INFO: Packet analysis {"connection_id":57521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:04] local.INFO: Extracted packet for processing {"connection_id":57521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 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-04-28 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 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-04-28 17:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:36:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":57521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:36:04] local.INFO: GPS data processed {"connection_id":57521,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:36:04] local.INFO: Acknowledgment sent {"connection_id":57521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:36:09] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:09] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:09] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:36:09] local.INFO: TCP Data received {"connection_id":57521,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:09] local.INFO: Processing buffer {"connection_id":57521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:09] local.INFO: Packet analysis {"connection_id":57521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:09] local.INFO: Extracted packet for processing {"connection_id":57521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":57521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:36:09] local.INFO: GPS data processed {"connection_id":57521,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:36:09] local.INFO: Acknowledgment sent {"connection_id":57521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:36:14] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:14] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:36:14] local.INFO: IMEI packet received {"connection_id":56621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":56621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:36:14] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f885c8012d196880071fedc0003b011824..."} 
[2026-04-28 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f885c8012d196880071fedc0003b011824..."} 
[2026-04-28 17:36:14] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f885c8012d196880071fedc0003b011824..."} 
[2026-04-28 17:36:14] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:36:14] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008704512001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:14] 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-04-28 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377773000,"timestamp_ms":1777377773000,"timestamp_seconds":1777377773,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f885c8"} 
[2026-04-28 17:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 17:36:14] 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-04-28 17:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008704512001,"66":12841,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008704512001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008704512001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:36:14] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:36:14] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:36:45] local.INFO: TCP Data received {"connection_id":56621,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f8d7d0012d196880071fedc0003b011825..."} 
[2026-04-28 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f8d7d0012d196880071fedc0003b011825..."} 
[2026-04-28 17:36:45] local.INFO: Processing buffer {"connection_id":56621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f8d7d0012d196880071fedc0003b011825..."} 
[2026-04-28 17:36:45] local.INFO: Packet analysis {"connection_id":56621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:36:45] local.INFO: Extracted packet for processing {"connection_id":56621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f8"} 
[2026-04-28 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008709888001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:45] 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-04-28 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777377794000,"timestamp_ms":1777377794000,"timestamp_seconds":1777377794,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f8d7d0"} 
[2026-04-28 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:36: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-04-28 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 17:36:45] 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-04-28 17: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-04-28 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008709888001,"66":12819,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008709888001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:36:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008709888001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":56621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:36:46] local.INFO: GPS data processed {"connection_id":56621,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:36:46] local.INFO: Acknowledgment sent {"connection_id":56621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:36:53] local.INFO: TCP Data received {"connection_id":57523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:53] local.INFO: Processing buffer {"connection_id":57523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:53] local.INFO: IMEI packet received {"connection_id":57523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":57523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:36:58] local.INFO: TCP Data received {"connection_id":57523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:58] local.INFO: Processing buffer {"connection_id":57523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:36:58] local.INFO: IMEI packet received {"connection_id":57523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":57523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:36:59] local.INFO: TCP Data received {"connection_id":57523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:59] local.INFO: Processing buffer {"connection_id":57523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:36:59] local.INFO: Packet analysis {"connection_id":57523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:59] local.INFO: Extracted packet for processing {"connection_id":57523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:36:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":57523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:36:59] local.INFO: GPS data processed {"connection_id":57523,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:36:59] local.INFO: Acknowledgment sent {"connection_id":57523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:37:09] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:09] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:09] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:37:14] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:14] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:37:14] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:37:14] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f92dc0012d196880071fedc0003b011824..."} 
[2026-04-28 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f92dc0012d196880071fedc0003b011824..."} 
[2026-04-28 17:37:14] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f92dc0012d196880071fedc0003b011824..."} 
[2026-04-28 17:37:14] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:37:14] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008715264001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] 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-04-28 17:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377816000,"timestamp_ms":1777377816000,"timestamp_seconds":1777377816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f92dc0"} 
[2026-04-28 17:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:37: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-04-28 17:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556174752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505364600520704,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-677343138123519872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":16608226803974144,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645508903341,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300706091878651941,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84751904605151213,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,240,133,45,128,237,59,36,10,66,51,38,225,1,63,227,211,31,4,113,205,61,104,192,37,239,50,2,154,7,164,153,69,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-28 17:37:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706070407315456,"timestamp_seconds":4251706070407315.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008715264001,"66":12809,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008715264001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:37:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008715264001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:37:14] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:37:14] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:37:30] local.INFO: TCP Data received {"connection_id":57523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:30] local.INFO: Processing buffer {"connection_id":57523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:30] local.INFO: Packet analysis {"connection_id":57523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:37:30] local.INFO: Extracted packet for processing {"connection_id":57523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:37:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":57523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:37:30] local.INFO: GPS data processed {"connection_id":57523,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:37:30] local.INFO: Acknowledgment sent {"connection_id":57523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:37:45] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f97be0012d196880071fedc0003b011823..."} 
[2026-04-28 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f97be0012d196880071fedc0003b011823..."} 
[2026-04-28 17:37:45] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f97be0012d196880071fedc0003b011823..."} 
[2026-04-28 17:37:45] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:37:45] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008720896001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] 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-04-28 17:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777377836000,"timestamp_ms":1777377836000,"timestamp_seconds":1777377836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f97be0"} 
[2026-04-28 17:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:37: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-04-28 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556195752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-654253393940223872,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487815735332435,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300706091878651940,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,240,215,45,128,237,59,37,10,66,133,36,51,1,41,227,211,31,4,113,205,143,104,192,239,50,2,154,7,164,153],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:37:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706066112348160,"timestamp_seconds":4251706066112348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008720896001,"66":12798,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008720896001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008720896001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:37:45] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:37:45] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:37:53] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:53] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:53] local.INFO: IMEI packet received {"connection_id":56809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:37:58] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:58] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:37:58] local.INFO: IMEI packet received {"connection_id":56809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":56809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:37:59] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:59] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:37:59] local.INFO: Packet analysis {"connection_id":56809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:37:59] local.INFO: Extracted packet for processing {"connection_id":56809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:37:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":56809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:37:59] local.INFO: GPS data processed {"connection_id":56809,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:37:59] local.INFO: Acknowledgment sent {"connection_id":56809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:38:02] local.INFO: TCP Data received {"connection_id":57524,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:02] local.INFO: Processing buffer {"connection_id":57524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:02] local.INFO: IMEI packet received {"connection_id":57524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":57524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:38:09] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:09] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:09] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:38:14] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:14] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:38:14] local.INFO: IMEI packet received {"connection_id":56622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":56622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:38:14] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3f9cde8012d196880071fedc0003b011824..."} 
[2026-04-28 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3f9cde8012d196880071fedc0003b011824..."} 
[2026-04-28 17:38:14] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3f9cde8012d196880071fedc0003b011824..."} 
[2026-04-28 17:38:14] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:38:14] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3f9"} 
[2026-04-28 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008726016001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:14] 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-04-28 17:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377857000,"timestamp_ms":1777377857000,"timestamp_seconds":1777377857,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3f9cde8"} 
[2026-04-28 17:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 17:38:14] 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-04-28 17:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008726016001,"66":12765,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008726016001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008726016001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:38:14] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:38:14] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:38:30] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:30] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:30] local.INFO: Packet analysis {"connection_id":56809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:30] local.INFO: Extracted packet for processing {"connection_id":56809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:38:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":56809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:38:30] local.INFO: GPS data processed {"connection_id":56809,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:38:30] local.INFO: Acknowledgment sent {"connection_id":56809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:38:34] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:34] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:38:34] local.INFO: IMEI packet received {"connection_id":56859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":56859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:38:46] local.INFO: TCP Data received {"connection_id":56622,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa1ff0012d196880071fedc0003b011826..."} 
[2026-04-28 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa1ff0012d196880071fedc0003b011826..."} 
[2026-04-28 17:38:46] local.INFO: Processing buffer {"connection_id":56622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa1ff0012d196880071fedc0003b011826..."} 
[2026-04-28 17:38:46] local.INFO: Packet analysis {"connection_id":56622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:46] local.INFO: Extracted packet for processing {"connection_id":56622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008731392001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777377878000,"timestamp_ms":1777377878000,"timestamp_seconds":1777377878,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa1ff0"} 
[2026-04-28 17:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:38: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-04-28 17:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-28 17:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008731392001,"66":12743,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008731392001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:38:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008731392001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":56622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:38:46] local.INFO: GPS data processed {"connection_id":56622,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:38:46] local.INFO: Acknowledgment sent {"connection_id":56622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:38:53] local.INFO: TCP Data received {"connection_id":57525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:53] local.INFO: Processing buffer {"connection_id":57525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:53] local.INFO: IMEI packet received {"connection_id":57525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":57525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:38:58] local.INFO: TCP Data received {"connection_id":57525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:58] local.INFO: Processing buffer {"connection_id":57525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:38:58] local.INFO: IMEI packet received {"connection_id":57525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":57525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:38:59] local.INFO: TCP Data received {"connection_id":57525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:59] local.INFO: Processing buffer {"connection_id":57525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:38:59] local.INFO: Packet analysis {"connection_id":57525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:59] local.INFO: Extracted packet for processing {"connection_id":57525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:38:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":57525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:38:59] local.INFO: GPS data processed {"connection_id":57525,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:38:59] local.INFO: Acknowledgment sent {"connection_id":57525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:39:04] local.INFO: TCP Data received {"connection_id":57525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:04] local.INFO: Processing buffer {"connection_id":57525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:04] local.INFO: Packet analysis {"connection_id":57525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:04] local.INFO: Extracted packet for processing {"connection_id":57525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":57525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:39:04] local.INFO: GPS data processed {"connection_id":57525,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:39:04] local.INFO: Acknowledgment sent {"connection_id":57525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:39:07] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:07] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:07] local.INFO: IMEI packet received {"connection_id":56810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":56810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:39:08] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:08] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:08] local.INFO: IMEI packet received {"connection_id":56810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":56810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:39:14] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:14] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:39:14] local.INFO: IMEI packet received {"connection_id":56810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":56810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:39:14] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa71f8012d196880071fedc0003b011826..."} 
[2026-04-28 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa71f8012d196880071fedc0003b011826..."} 
[2026-04-28 17:39:14] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa71f8012d196880071fedc0003b011826..."} 
[2026-04-28 17:39:14] local.INFO: Packet analysis {"connection_id":56810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:14] local.INFO: Extracted packet for processing {"connection_id":56810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008736768001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:14] 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-04-28 17:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377899000,"timestamp_ms":1777377899000,"timestamp_seconds":1777377899,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa71f8"} 
[2026-04-28 17:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-28 17:39:14] 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-04-28 17:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008736768001,"66":12722,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008736768001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:39:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008736768001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":56810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:39:14] local.INFO: GPS data processed {"connection_id":56810,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:39:14] local.INFO: Acknowledgment sent {"connection_id":56810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:39:35] local.INFO: TCP Data received {"connection_id":57525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:35] local.INFO: Processing buffer {"connection_id":57525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:39:35] local.INFO: Packet analysis {"connection_id":57525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:35] local.INFO: Extracted packet for processing {"connection_id":57525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:39:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":57525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:39:35] local.INFO: GPS data processed {"connection_id":57525,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:39:35] local.INFO: Acknowledgment sent {"connection_id":57525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:39:46] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fac400012d196880071fedc0003b011825..."} 
[2026-04-28 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fac400012d196880071fedc0003b011825..."} 
[2026-04-28 17:39:46] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fac400012d196880071fedc0003b011825..."} 
[2026-04-28 17:39:46] local.INFO: Packet analysis {"connection_id":56810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:46] local.INFO: Extracted packet for processing {"connection_id":56810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008742144001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777377920000,"timestamp_ms":1777377920000,"timestamp_seconds":1777377920,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fac400"} 
[2026-04-28 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-04-28 17:39: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-04-28 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 17:39:46] 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-04-28 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-04-28 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-04-28 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008742144001,"66":12711,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008742144001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008742144001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":56810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:39:47] local.INFO: GPS data processed {"connection_id":56810,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:39:47] local.INFO: Acknowledgment sent {"connection_id":56810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:39:58] local.INFO: TCP Data received {"connection_id":57526,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:39:58] local.INFO: Processing buffer {"connection_id":57526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:39:58] local.INFO: IMEI packet received {"connection_id":57526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":57526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:40:03] local.INFO: TCP Data received {"connection_id":57526,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:03] local.INFO: Processing buffer {"connection_id":57526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:03] local.INFO: IMEI packet received {"connection_id":57526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":57526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:40:04] local.INFO: TCP Data received {"connection_id":57526,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:04] local.INFO: Processing buffer {"connection_id":57526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:04] local.INFO: Packet analysis {"connection_id":57526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:40:04] local.INFO: Extracted packet for processing {"connection_id":57526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:40:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":57526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:40:04] local.INFO: GPS data processed {"connection_id":57526,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:40:04] local.INFO: Acknowledgment sent {"connection_id":57526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:40:08] local.INFO: TCP Data received {"connection_id":57526,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:08] local.INFO: Processing buffer {"connection_id":57526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fa3f30012d7fabc005afe3d80002001824..."} 
[2026-04-28 17:40:08] local.INFO: Packet analysis {"connection_id":57526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:40:08] local.INFO: Extracted packet for processing {"connection_id":57526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fa"} 
[2026-04-28 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":2,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:40: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-04-28 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008660992001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777377886000,"timestamp_ms":1777377886000,"timestamp_seconds":1777377886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fa3f30"} 
[2026-04-28 17:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:40: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-04-28 17:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008660992001,"66":25832,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008660992001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:40:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 17:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008660992001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":57526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:40:08] local.INFO: GPS data processed {"connection_id":57526,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:40:08] local.INFO: Acknowledgment sent {"connection_id":57526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:40:08] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:08] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:08] local.INFO: IMEI packet received {"connection_id":56624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":56624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:40:11] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:11] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:11] local.INFO: IMEI packet received {"connection_id":56624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":56624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:40:14] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:14] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:40:14] local.INFO: IMEI packet received {"connection_id":56624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":56624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:40:14] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fb1608012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fb1608012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:14] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fb1608012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:14] local.INFO: Packet analysis {"connection_id":56624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fb"} 
[2026-04-28 17:40:14] local.INFO: Extracted packet for processing {"connection_id":56624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fb"} 
[2026-04-28 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008747520001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:14] 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-04-28 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777377941000,"timestamp_ms":1777377941000,"timestamp_seconds":1777377941,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fb1608"} 
[2026-04-28 17:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:40: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-04-28 17:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 17:40:14] 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-04-28 17:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008747520001,"66":12711,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008747520001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008747520001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":56624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:40:14] local.INFO: GPS data processed {"connection_id":56624,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:40:14] local.INFO: Acknowledgment sent {"connection_id":56624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:40:46] local.INFO: TCP Data received {"connection_id":56624,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fb6810012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fb6810012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:46] local.INFO: Processing buffer {"connection_id":56624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fb6810012d196880071fedc0003b011824..."} 
[2026-04-28 17:40:46] local.INFO: Packet analysis {"connection_id":56624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fb"} 
[2026-04-28 17:40:46] local.INFO: Extracted packet for processing {"connection_id":56624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fb"} 
[2026-04-28 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008752896001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777377962000,"timestamp_ms":1777377962000,"timestamp_seconds":1777377962,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fb6810"} 
[2026-04-28 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-04-28 17:40: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-04-28 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 17:40:46] 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-04-28 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-04-28 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-04-28 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008752896001,"66":12711,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008752896001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:40:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008752896001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":56624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:40:46] local.INFO: GPS data processed {"connection_id":56624,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:40:46] local.INFO: Acknowledgment sent {"connection_id":56624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:40:53] local.INFO: TCP Data received {"connection_id":57528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:53] local.INFO: Processing buffer {"connection_id":57528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:53] local.INFO: IMEI packet received {"connection_id":57528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":57528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:40:58] local.INFO: TCP Data received {"connection_id":57528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:58] local.INFO: Processing buffer {"connection_id":57528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:40:58] local.INFO: IMEI packet received {"connection_id":57528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":57528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:41:04] local.INFO: TCP Data received {"connection_id":57528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:04] local.INFO: Processing buffer {"connection_id":57528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:04] local.INFO: Packet analysis {"connection_id":57528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:04] local.INFO: Extracted packet for processing {"connection_id":57528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:04] 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-04-28 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:41:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":57528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:41:04] local.INFO: GPS data processed {"connection_id":57528,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:41:04] local.INFO: Acknowledgment sent {"connection_id":57528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:41:14] local.INFO: TCP Data received {"connection_id":57529,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:14] local.INFO: Processing buffer {"connection_id":57529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:14] local.INFO: IMEI packet received {"connection_id":57529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":57529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:41:15] local.INFO: TCP Data received {"connection_id":57529,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:15] local.INFO: Processing buffer {"connection_id":57529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:15] local.INFO: IMEI packet received {"connection_id":57529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":57529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:41:19] local.INFO: TCP Data received {"connection_id":57529,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:19] local.INFO: Processing buffer {"connection_id":57529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:41:19] local.INFO: IMEI packet received {"connection_id":57529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":57529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:41:19] local.INFO: TCP Data received {"connection_id":57529,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3feee68012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3feee68012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:19] local.INFO: Processing buffer {"connection_id":57529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3feee68012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:19] local.INFO: Packet analysis {"connection_id":57529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:19] local.INFO: Extracted packet for processing {"connection_id":57529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008812032001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777378193000,"timestamp_ms":1777378193000,"timestamp_seconds":1777378193,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3feee68"} 
[2026-04-28 17:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:41: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-04-28 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:41:19] 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-04-28 17: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-04-28 17:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008812032001,"66":12558,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008812032001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:41:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008812032001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":57529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:41:19] local.INFO: GPS data processed {"connection_id":57529,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:41:19] local.INFO: Acknowledgment sent {"connection_id":57529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:41:24] local.INFO: TCP Data received {"connection_id":57529,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ff4070012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ff4070012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:24] local.INFO: Processing buffer {"connection_id":57529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ff4070012d196880071fedc0003b011826..."} 
[2026-04-28 17:41:24] local.INFO: Packet analysis {"connection_id":57529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:41:24] local.INFO: Extracted packet for processing {"connection_id":57529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008817408001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777378214000,"timestamp_ms":1777378214000,"timestamp_seconds":1777378214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ff4070"} 
[2026-04-28 17:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556573752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4255789057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:24] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,240,156,45,128,237,59,35,10,66,78,36,248,1,47,227,211,31,4,113,205,84,104,192,38,239,49,2,154,7,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:41:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706074702282752,"timestamp_seconds":4251706074702283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008817408001,"66":12558,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008817408001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:41:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008817408001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":57529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:41:24] local.INFO: GPS data processed {"connection_id":57529,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:41:24] local.INFO: Acknowledgment sent {"connection_id":57529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:41:35] local.INFO: TCP Data received {"connection_id":57528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:35] local.INFO: Processing buffer {"connection_id":57528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:35] local.INFO: Packet analysis {"connection_id":57528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:35] local.INFO: Extracted packet for processing {"connection_id":57528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:41:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":57528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:41:35] local.INFO: GPS data processed {"connection_id":57528,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:41:35] local.INFO: Acknowledgment sent {"connection_id":57528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:41:53] local.INFO: TCP Data received {"connection_id":56625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:53] local.INFO: Processing buffer {"connection_id":56625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:53] local.INFO: IMEI packet received {"connection_id":56625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:41:58] local.INFO: TCP Data received {"connection_id":56625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:58] local.INFO: Processing buffer {"connection_id":56625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:41:58] local.INFO: IMEI packet received {"connection_id":56625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":56625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:41:59] local.INFO: TCP Data received {"connection_id":56625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:59] local.INFO: Processing buffer {"connection_id":56625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:41:59] local.INFO: Packet analysis {"connection_id":56625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:59] local.INFO: Extracted packet for processing {"connection_id":56625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:41:59] 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-04-28 17:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:41:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":56625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:41:59] local.INFO: GPS data processed {"connection_id":56625,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:41:59] local.INFO: Acknowledgment sent {"connection_id":56625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:42:08] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:08] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:08] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:42:14] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:14] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:42:14] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:42:14] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ff9278012d196880071fedc0003b011827..."} 
[2026-04-28 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ff9278012d196880071fedc0003b011827..."} 
[2026-04-28 17:42:14] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ff9278012d196880071fedc0003b011827..."} 
[2026-04-28 17:42:14] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:42:14] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008822784001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] 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-04-28 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777378235000,"timestamp_ms":1777378235000,"timestamp_seconds":1777378235,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ff9278"} 
[2026-04-28 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556594752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4260909057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,240,238,45,128,237,59,38,10,66,156,35,78,1,47,227,211,31,4,113,205,170,104,192,34,239,49,2,154,7,93,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:42:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706074702282752,"timestamp_seconds":4251706074702283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008822784001,"66":12558,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008822784001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008822784001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:42:14] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:42:14] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:42:30] local.INFO: TCP Data received {"connection_id":56625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:30] local.INFO: Processing buffer {"connection_id":56625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:30] local.INFO: Packet analysis {"connection_id":56625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:42:30] local.INFO: Extracted packet for processing {"connection_id":56625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:30] 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-04-28 17:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:42:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":56625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:42:30] local.INFO: GPS data processed {"connection_id":56625,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:42:30] local.INFO: Acknowledgment sent {"connection_id":56625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:42:45] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3ffe480012d196880071fedc0003b011826..."} 
[2026-04-28 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3ffe480012d196880071fedc0003b011826..."} 
[2026-04-28 17:42:45] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3ffe480012d196880071fedc0003b011826..."} 
[2026-04-28 17:42:45] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:42:45] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3ff"} 
[2026-04-28 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008828160001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] 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-04-28 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777378256000,"timestamp_ms":1777378256000,"timestamp_seconds":1777378256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3ffe480"} 
[2026-04-28 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-04-28 17:42: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-04-28 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556616752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159104,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4266541057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,240,64,45,128,237,59,38,10,66,238,156,1,47,227,211,31,4,113,205,248,104,192,36,239,49,2,154,7,92,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:42:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706078997250048,"timestamp_seconds":4251706078997250.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008828160001,"66":12548,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008828160001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:42:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008828160001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:42:45] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:42:45] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:42:53] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:53] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:53] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:42:58] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:58] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:42:58] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:42:59] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:59] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:42:59] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:42:59] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:42:59] 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-04-28 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:42:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:42:59] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:42:59] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:43:08] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:08] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:08] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:43:15] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:15] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:43:15] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:43:15] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4003688012d196880071fedc0003b011826..."} 
[2026-04-28 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4003688012d196880071fedc0003b011826..."} 
[2026-04-28 17:43:15] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4003688012d196880071fedc0003b011826..."} 
[2026-04-28 17:43:15] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:43:15] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008833536001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777378277000,"timestamp_ms":1777378277000,"timestamp_seconds":1777378277,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4003688"} 
[2026-04-28 17:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3556636752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4271661057,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988783163,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4036558848,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,240,146,45,128,237,59,39,10,66,64,38,238,1,14,227,211,31,4,113,205,78,104,192,36,239,49,2,154,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 17:43:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251706074702282752,"timestamp_seconds":4251706074702283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 17:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008833536001,"66":12526,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008833536001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008833536001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:43:15] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:43:15] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:43:30] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:43:30] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:43:30] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:43:30] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:30] 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-04-28 17:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:43:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:43:30] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:43:30] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:43:46] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4008890012d196880071fedc0003b011827..."} 
[2026-04-28 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4008890012d196880071fedc0003b011827..."} 
[2026-04-28 17:43:46] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4008890012d196880071fedc0003b011827..."} 
[2026-04-28 17:43:46] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:43:46] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008838912001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777378298000,"timestamp_ms":1777378298000,"timestamp_seconds":1777378298,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4008890"} 
[2026-04-28 17:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:43: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-04-28 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 17:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008838912001,"66":12504,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008838912001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:43:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008838912001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:43:47] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:43:47] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:43:49] local.INFO: TCP Data received {"connection_id":56862,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:43:49] local.INFO: Processing buffer {"connection_id":56862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:43:49] local.INFO: IMEI packet received {"connection_id":56862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":56862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:43:58] local.INFO: TCP Data received {"connection_id":57531,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:43:58] local.INFO: Processing buffer {"connection_id":57531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:43:58] local.INFO: IMEI packet received {"connection_id":57531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":57531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:44:03] local.INFO: TCP Data received {"connection_id":57531,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:03] local.INFO: Processing buffer {"connection_id":57531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:03] local.INFO: IMEI packet received {"connection_id":57531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":57531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:44:04] local.INFO: TCP Data received {"connection_id":57531,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:04] local.INFO: Processing buffer {"connection_id":57531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:04] local.INFO: Packet analysis {"connection_id":57531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:04] local.INFO: Extracted packet for processing {"connection_id":57531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:04] 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-04-28 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:44:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":57531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:44:04] local.INFO: GPS data processed {"connection_id":57531,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:44:04] local.INFO: Acknowledgment sent {"connection_id":57531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:44:08] local.INFO: TCP Data received {"connection_id":57531,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:08] local.INFO: Processing buffer {"connection_id":57531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:08] local.INFO: Packet analysis {"connection_id":57531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:08] local.INFO: Extracted packet for processing {"connection_id":57531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:08] 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-04-28 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:44:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":57531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:44:08] local.INFO: GPS data processed {"connection_id":57531,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:44:08] local.INFO: Acknowledgment sent {"connection_id":57531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:44:14] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:14] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:14] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:44:19] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:19] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:19] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:44:23] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:23] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:44:23] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:44:24] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd400da98012d196880071fedc0003b011827..."} 
[2026-04-28 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd400da98012d196880071fedc0003b011827..."} 
[2026-04-28 17:44:24] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd400da98012d196880071fedc0003b011827..."} 
[2026-04-28 17:44:24] local.INFO: Packet analysis {"connection_id":56863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:44:24] local.INFO: Extracted packet for processing {"connection_id":56863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd400"} 
[2026-04-28 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008844288001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777378319000,"timestamp_ms":1777378319000,"timestamp_seconds":1777378319,"priority":1,"record_length":96,"hex_timestamp":"0000019dd400da98"} 
[2026-04-28 17:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 17:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008844288001,"66":12537,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008844288001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:44:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008844288001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":56863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:44:24] local.INFO: GPS data processed {"connection_id":56863,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:44:24] local.INFO: Acknowledgment sent {"connection_id":56863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:44:34] local.INFO: TCP Data received {"connection_id":56626,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:44:34] local.INFO: Processing buffer {"connection_id":56626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:44:34] local.INFO: IMEI packet received {"connection_id":56626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":56626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:44:53] local.INFO: TCP Data received {"connection_id":56813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:53] local.INFO: Processing buffer {"connection_id":56813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:53] local.INFO: IMEI packet received {"connection_id":56813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:44:58] local.INFO: TCP Data received {"connection_id":56813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:58] local.INFO: Processing buffer {"connection_id":56813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:44:58] local.INFO: IMEI packet received {"connection_id":56813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":56813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:44:59] local.INFO: TCP Data received {"connection_id":56813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:59] local.INFO: Processing buffer {"connection_id":56813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd3fed310012d7fabc005afe3d80001001827..."} 
[2026-04-28 17:44:59] local.INFO: Packet analysis {"connection_id":56813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:59] local.INFO: Extracted packet for processing {"connection_id":56813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd3fe"} 
[2026-04-28 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":39,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008738816001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:44:59] 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-04-28 17:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378186000,"timestamp_ms":1777378186000,"timestamp_seconds":1777378186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd3fed310"} 
[2026-04-28 17:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 17:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008738816001,"66":25712,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008738816001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:44:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008738816001,"power":25712,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":56813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:44:59] local.INFO: GPS data processed {"connection_id":56813,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:44:59] local.INFO: Acknowledgment sent {"connection_id":56813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:45:09] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:09] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:09] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:45:14] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:14] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:45:14] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:45:14] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4012ca0012d196880071fedc0003b011828..."} 
[2026-04-28 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4012ca0012d196880071fedc0003b011828..."} 
[2026-04-28 17:45:14] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4012ca0012d196880071fedc0003b011828..."} 
[2026-04-28 17:45:14] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:45:14] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008849664001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:14] 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-04-28 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777378340000,"timestamp_ms":1777378340000,"timestamp_seconds":1777378340,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4012ca0"} 
[2026-04-28 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:45: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-04-28 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 17:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008849664001,"66":12526,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008849664001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:45:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008849664001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:45:14] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:45:14] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:45:29] local.INFO: TCP Data received {"connection_id":56813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:29] local.INFO: Processing buffer {"connection_id":56813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:29] local.INFO: Packet analysis {"connection_id":56813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:45:29] local.INFO: Extracted packet for processing {"connection_id":56813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:29] 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-04-28 17:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:45:29] 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-04-28 17:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:45:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":56813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:45:29] local.INFO: GPS data processed {"connection_id":56813,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:45:29] local.INFO: Acknowledgment sent {"connection_id":56813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:45:45] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4017ea8012d196880071fedc0003b011826..."} 
[2026-04-28 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4017ea8012d196880071fedc0003b011826..."} 
[2026-04-28 17:45:45] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4017ea8012d196880071fedc0003b011826..."} 
[2026-04-28 17:45:45] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:45:45] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008855040001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:45] 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-04-28 17:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777378361000,"timestamp_ms":1777378361000,"timestamp_seconds":1777378361,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4017ea8"} 
[2026-04-28 17:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:45: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-04-28 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 17:45:45] 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-04-28 17: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-04-28 17:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008855040001,"66":12526,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008855040001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:45:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008855040001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:45:45] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:45:45] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:45:53] local.INFO: TCP Data received {"connection_id":56627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:53] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:53] local.INFO: IMEI packet received {"connection_id":56627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:45:58] local.INFO: TCP Data received {"connection_id":56627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:58] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:45:58] local.INFO: IMEI packet received {"connection_id":56627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":56627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:45:59] local.INFO: TCP Data received {"connection_id":56627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:59] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:45:59] local.INFO: Packet analysis {"connection_id":56627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:45:59] local.INFO: Extracted packet for processing {"connection_id":56627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:45:59] 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-04-28 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:45:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":56627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:45:59] local.INFO: GPS data processed {"connection_id":56627,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:45:59] local.INFO: Acknowledgment sent {"connection_id":56627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:46:08] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:08] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:08] local.INFO: IMEI packet received {"connection_id":56628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":56628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:46:14] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:14] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:46:14] local.INFO: IMEI packet received {"connection_id":56628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":56628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:46:14] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd401d0b0012d196880071fedc0003b011826..."} 
[2026-04-28 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd401d0b0012d196880071fedc0003b011826..."} 
[2026-04-28 17:46:14] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd401d0b0012d196880071fedc0003b011826..."} 
[2026-04-28 17:46:14] local.INFO: Packet analysis {"connection_id":56628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:46:14] local.INFO: Extracted packet for processing {"connection_id":56628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd401"} 
[2026-04-28 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008860416001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:14] 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-04-28 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777378382000,"timestamp_ms":1777378382000,"timestamp_seconds":1777378382,"priority":1,"record_length":96,"hex_timestamp":"0000019dd401d0b0"} 
[2026-04-28 17:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 17:46:14] 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-04-28 17:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008860416001,"66":12504,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008860416001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008860416001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":56628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:46:14] local.INFO: GPS data processed {"connection_id":56628,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:46:14] local.INFO: Acknowledgment sent {"connection_id":56628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:46:30] local.INFO: TCP Data received {"connection_id":56627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:46:30] local.INFO: Processing buffer {"connection_id":56627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:46:30] local.INFO: Packet analysis {"connection_id":56627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:46:30] local.INFO: Extracted packet for processing {"connection_id":56627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:30] 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-04-28 17:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:46:30] 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-04-28 17: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-04-28 17:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:46:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":56627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:46:30] local.INFO: GPS data processed {"connection_id":56627,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:46:30] local.INFO: Acknowledgment sent {"connection_id":56627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:46:45] local.INFO: TCP Data received {"connection_id":56628,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40226a0012d196880071fedc0003b011828..."} 
[2026-04-28 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40226a0012d196880071fedc0003b011828..."} 
[2026-04-28 17:46:45] local.INFO: Processing buffer {"connection_id":56628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40226a0012d196880071fedc0003b011828..."} 
[2026-04-28 17:46:45] local.INFO: Packet analysis {"connection_id":56628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:46:45] local.INFO: Extracted packet for processing {"connection_id":56628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008865792001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:46:45] 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-04-28 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777378404000,"timestamp_ms":1777378404000,"timestamp_seconds":1777378404,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40226a0"} 
[2026-04-28 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:46: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-04-28 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 17:46:45] 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-04-28 17: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-04-28 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008865792001,"66":12461,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008865792001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008865792001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":56628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:46:46] local.INFO: GPS data processed {"connection_id":56628,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:46:46] local.INFO: Acknowledgment sent {"connection_id":56628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:46:58] local.INFO: TCP Data received {"connection_id":56865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:46:58] local.INFO: Processing buffer {"connection_id":56865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:46:58] local.INFO: IMEI packet received {"connection_id":56865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":56865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:47:03] local.INFO: TCP Data received {"connection_id":56865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:03] local.INFO: Processing buffer {"connection_id":56865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:03] local.INFO: IMEI packet received {"connection_id":56865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":56865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:47:04] local.INFO: TCP Data received {"connection_id":56865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:04] local.INFO: Processing buffer {"connection_id":56865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:04] local.INFO: Packet analysis {"connection_id":56865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:04] local.INFO: Extracted packet for processing {"connection_id":56865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:04] 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-04-28 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:47:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":56865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:47:04] local.INFO: GPS data processed {"connection_id":56865,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:47:04] local.INFO: Acknowledgment sent {"connection_id":56865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:47:08] local.INFO: TCP Data received {"connection_id":56865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:08] local.INFO: Processing buffer {"connection_id":56865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:08] local.INFO: Packet analysis {"connection_id":56865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:08] local.INFO: Extracted packet for processing {"connection_id":56865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:47: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-04-28 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:08] 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-04-28 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:47:08] 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-04-28 17:47: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-04-28 17:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:47:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":56865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:47:08] local.INFO: GPS data processed {"connection_id":56865,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:47:08] local.INFO: Acknowledgment sent {"connection_id":56865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:47:10] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:10] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:10] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:47:13] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:13] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:13] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:47:19] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:19] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:47:19] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:47:19] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40274c0012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40274c0012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:19] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40274c0012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:19] local.INFO: Packet analysis {"connection_id":56866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:47:19] local.INFO: Extracted packet for processing {"connection_id":56866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008871424001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777378424000,"timestamp_ms":1777378424000,"timestamp_seconds":1777378424,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40274c0"} 
[2026-04-28 17:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:47: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-04-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 17:47:19] 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-04-28 17: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-04-28 17:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008871424001,"66":12504,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008871424001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:47:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008871424001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":56866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:47:20] local.INFO: GPS data processed {"connection_id":56866,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:47:20] local.INFO: Acknowledgment sent {"connection_id":56866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:47:23] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd402c6c8012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd402c6c8012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:23] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd402c6c8012d196880071fedc0003b011827..."} 
[2026-04-28 17:47:23] local.INFO: Packet analysis {"connection_id":56866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:47:23] local.INFO: Extracted packet for processing {"connection_id":56866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd402"} 
[2026-04-28 17:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008876544001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777378445000,"timestamp_ms":1777378445000,"timestamp_seconds":1777378445,"priority":1,"record_length":96,"hex_timestamp":"0000019dd402c6c8"} 
[2026-04-28 17:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:47: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-04-28 17:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 17:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008876544001,"66":12461,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008876544001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:47:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008876544001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":56866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:47:24] local.INFO: GPS data processed {"connection_id":56866,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:47:24] local.INFO: Acknowledgment sent {"connection_id":56866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:47:53] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:53] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:53] local.INFO: IMEI packet received {"connection_id":56816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":56816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:47:58] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:58] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:47:58] local.INFO: IMEI packet received {"connection_id":56816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":56816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:47:59] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:59] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:47:59] local.INFO: Packet analysis {"connection_id":56816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:59] local.INFO: Extracted packet for processing {"connection_id":56816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:47:59] 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-04-28 17:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:47:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":56816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:47:59] local.INFO: GPS data processed {"connection_id":56816,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:47:59] local.INFO: Acknowledgment sent {"connection_id":56816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:48:03] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:03] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:03] local.INFO: Packet analysis {"connection_id":56816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:03] local.INFO: Extracted packet for processing {"connection_id":56816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:03] 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-04-28 17:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:48:03] 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-04-28 17:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:48:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":56816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:48:03] local.INFO: GPS data processed {"connection_id":56816,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:48:03] local.INFO: Acknowledgment sent {"connection_id":56816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:48:08] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:08] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:08] local.INFO: IMEI packet received {"connection_id":56629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":56629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:48:18] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:18] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:48:18] local.INFO: IMEI packet received {"connection_id":56629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":56629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:48:21] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40318d0012d196880071fedc0003b011826..."} 
[2026-04-28 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40318d0012d196880071fedc0003b011826..."} 
[2026-04-28 17:48:21] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40318d0012d196880071fedc0003b011826..."} 
[2026-04-28 17:48:21] local.INFO: Packet analysis {"connection_id":56629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:21] local.INFO: Extracted packet for processing {"connection_id":56629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008881920001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:21] 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-04-28 17:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777378466000,"timestamp_ms":1777378466000,"timestamp_seconds":1777378466,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40318d0"} 
[2026-04-28 17:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:48: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-04-28 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 17:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008881920001,"66":12504,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008881920001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:48:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008881920001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":56629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:48:21] local.INFO: GPS data processed {"connection_id":56629,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:48:21] local.INFO: Acknowledgment sent {"connection_id":56629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:48:35] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:35] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:48:35] local.INFO: Packet analysis {"connection_id":56816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:35] local.INFO: Extracted packet for processing {"connection_id":56816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:48:35] 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-04-28 17:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:48:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":56816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:48:35] local.INFO: GPS data processed {"connection_id":56816,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:48:35] local.INFO: Acknowledgment sent {"connection_id":56816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:48:52] local.INFO: TCP Data received {"connection_id":56629,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4036ad8012d196880071fedc0003b011828..."} 
[2026-04-28 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4036ad8012d196880071fedc0003b011828..."} 
[2026-04-28 17:48:52] local.INFO: Processing buffer {"connection_id":56629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4036ad8012d196880071fedc0003b011828..."} 
[2026-04-28 17:48:52] local.INFO: Packet analysis {"connection_id":56629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:52] local.INFO: Extracted packet for processing {"connection_id":56629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008887296001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777378487000,"timestamp_ms":1777378487000,"timestamp_seconds":1777378487,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4036ad8"} 
[2026-04-28 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-04-28 17:48: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-04-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 17:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008887296001,"66":12504,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008887296001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:48:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008887296001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":56629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:48:52] local.INFO: GPS data processed {"connection_id":56629,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:48:52] local.INFO: Acknowledgment sent {"connection_id":56629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:48:58] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:48:58] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:48:58] local.INFO: IMEI packet received {"connection_id":56817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":56817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:49:03] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:03] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:03] local.INFO: IMEI packet received {"connection_id":56817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":56817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:49:06] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:06] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:06] local.INFO: Packet analysis {"connection_id":56817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:06] local.INFO: Extracted packet for processing {"connection_id":56817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:06] 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-04-28 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:49:06] 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-04-28 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:49: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-04-28 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":56817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:49:06] local.INFO: GPS data processed {"connection_id":56817,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:49:06] local.INFO: Acknowledgment sent {"connection_id":56817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:49:08] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:08] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:08] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:49:14] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:14] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:49:14] local.INFO: IMEI packet received {"connection_id":56630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":56630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:49:14] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd403bce0012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd403bce0012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:14] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd403bce0012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:14] local.INFO: Packet analysis {"connection_id":56630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:14] local.INFO: Extracted packet for processing {"connection_id":56630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008892672001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:14] 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-04-28 17:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777378508000,"timestamp_ms":1777378508000,"timestamp_seconds":1777378508,"priority":1,"record_length":96,"hex_timestamp":"0000019dd403bce0"} 
[2026-04-28 17:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:49: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-04-28 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 17:49:14] 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-04-28 17: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-04-28 17:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008892672001,"66":12439,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008892672001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:49:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008892672001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":56630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:49:14] local.INFO: GPS data processed {"connection_id":56630,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:49:14] local.INFO: Acknowledgment sent {"connection_id":56630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:49:37] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:37] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:49:37] local.INFO: Packet analysis {"connection_id":56817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:37] local.INFO: Extracted packet for processing {"connection_id":56817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:49:37] 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-04-28 17: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-04-28 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:49:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":56817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:49:37] local.INFO: GPS data processed {"connection_id":56817,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:49:37] local.INFO: Acknowledgment sent {"connection_id":56817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:49:45] local.INFO: TCP Data received {"connection_id":56630,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4040ee8012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4040ee8012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:45] local.INFO: Processing buffer {"connection_id":56630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4040ee8012d196880071fedc0003b011827..."} 
[2026-04-28 17:49:45] local.INFO: Packet analysis {"connection_id":56630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:49:45] local.INFO: Extracted packet for processing {"connection_id":56630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008898048001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:49:45] 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-04-28 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777378529000,"timestamp_ms":1777378529000,"timestamp_seconds":1777378529,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4040ee8"} 
[2026-04-28 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-04-28 17:49: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-04-28 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 17:49:45] 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-04-28 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-04-28 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-04-28 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008898048001,"66":12461,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008898048001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008898048001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":56630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:49:45] local.INFO: GPS data processed {"connection_id":56630,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:49:45] local.INFO: Acknowledgment sent {"connection_id":56630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:49:58] local.INFO: TCP Data received {"connection_id":57534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:58] local.INFO: Processing buffer {"connection_id":57534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:49:58] local.INFO: IMEI packet received {"connection_id":57534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":57534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:50:04] local.INFO: TCP Data received {"connection_id":56631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:04] local.INFO: Processing buffer {"connection_id":56631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:04] local.INFO: IMEI packet received {"connection_id":56631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":56631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:50:05] local.INFO: TCP Data received {"connection_id":57534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:05] local.INFO: Processing buffer {"connection_id":57534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:05] local.INFO: IMEI packet received {"connection_id":57534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":57534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:50:06] local.INFO: TCP Data received {"connection_id":57534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:06] local.INFO: Processing buffer {"connection_id":57534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4037690012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:06] local.INFO: Packet analysis {"connection_id":57534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:50:06] local.INFO: Extracted packet for processing {"connection_id":57534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd403"} 
[2026-04-28 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008815616001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:06] 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-04-28 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777378490000,"timestamp_ms":1777378490000,"timestamp_seconds":1777378490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4037690"} 
[2026-04-28 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-28 17:50:06] 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-04-28 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50: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-04-28 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008815616001,"66":25702,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008815616001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008815616001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":57534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:06] local.INFO: GPS data processed {"connection_id":57534,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:06] local.INFO: Acknowledgment sent {"connection_id":57534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:50:14] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:14] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:14] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:50:18] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:18] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:50:18] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:50:19] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40460f0012d196880071fedc0003b011827..."} 
[2026-04-28 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40460f0012d196880071fedc0003b011827..."} 
[2026-04-28 17:50:19] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40460f0012d196880071fedc0003b011827..."} 
[2026-04-28 17:50:19] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:50:19] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008903424001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777378550000,"timestamp_ms":1777378550000,"timestamp_seconds":1777378550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40460f0"} 
[2026-04-28 17:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:50: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-04-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 17:50:19] 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-04-28 17: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-04-28 17:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008903424001,"66":12461,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008903424001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008903424001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:19] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:19] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:50:20] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd404b2f8012d196880071fedc0003b011828..."} 
[2026-04-28 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd404b2f8012d196880071fedc0003b011828..."} 
[2026-04-28 17:50:20] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd404b2f8012d196880071fedc0003b011828..."} 
[2026-04-28 17:50:20] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:50:20] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd404"} 
[2026-04-28 17:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008908800001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669280372031488,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777378571000,"timestamp_ms":1777378571000,"timestamp_seconds":1777378571,"priority":1,"record_length":96,"hex_timestamp":"0000019dd404b2f8"} 
[2026-04-28 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-04-28 17:50: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-04-28 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 17:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008908800001,"66":12461,"106":206,"83":41984,"24":0,"16":115669280372031488,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008908800001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669280372031488,"km_value":115669280372031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008908800001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:20] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:20] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:50:34] local.INFO: TCP Data received {"connection_id":57535,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:34] local.INFO: Processing buffer {"connection_id":57535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:50:34] local.INFO: IMEI packet received {"connection_id":57535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":57535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:50:37] local.INFO: TCP Data received {"connection_id":57534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:37] local.INFO: Processing buffer {"connection_id":57534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:37] local.INFO: Packet analysis {"connection_id":57534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:37] local.INFO: Extracted packet for processing {"connection_id":57534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":57534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":57534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":57534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":57534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:37] local.INFO: GPS data processed {"connection_id":57534,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:37] local.INFO: Acknowledgment sent {"connection_id":57534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:50:52] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4083d38012d196900071fee080038006426..."} 
[2026-04-28 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4083d38012d196900071fee080038006426..."} 
[2026-04-28 17:50:52] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4083d38012d196900071fee080038006426..."} 
[2026-04-28 17:50:52] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:52] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533064,"longitude_deg":75.664,"latitude_deg":11.9533064,"altitude":56,"angle":100,"satellites":38,"speed":3,"hex_longitude":"2d196900","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008973312001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669288961966080,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777378803000,"timestamp_ms":1777378803000,"timestamp_seconds":1777378803,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4083d38"} 
[2026-04-28 17:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:50: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-04-28 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 17:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008973312001,"66":13722,"106":206,"83":41984,"24":3,"16":115669288961966080,"45":1830854016614907904},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008973312001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669288961966080,"km_value":115669288961966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008973312001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-04-28 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:52] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:52] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:50:53] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:53] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:53] local.INFO: IMEI packet received {"connection_id":56868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":56868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:50:58] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:58] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:50:58] local.INFO: IMEI packet received {"connection_id":56868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":56868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:50:58] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:58] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:50:58] local.INFO: Packet analysis {"connection_id":56868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:58] local.INFO: Extracted packet for processing {"connection_id":56868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:50:58] 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-04-28 17:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:50: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-04-28 17:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:50: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-04-28 17: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-04-28 17:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:50:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":56868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:50:58] local.INFO: GPS data processed {"connection_id":56868,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:50:58] local.INFO: Acknowledgment sent {"connection_id":56868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:51:04] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:04] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:04] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:51:09] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:51:09] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:09] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:51:12] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:12] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:51:12] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:51:12] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40848f0012d196a40071fed900038007a26..."} 
[2026-04-28 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40848f0012d196a40071fed900038007a26..."} 
[2026-04-28 17:51:12] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40848f0012d196a40071fed900038007a26..."} 
[2026-04-28 17:51:12] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:12] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532944,"longitude_deg":75.664032,"latitude_deg":11.9532944,"altitude":56,"angle":122,"satellites":38,"speed":3,"hex_longitude":"2d196a40","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008973568001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669306141835264,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103281664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777378806000,"timestamp_ms":1777378806000,"timestamp_seconds":1777378806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40848f0"} 
[2026-04-28 17:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 17:51:12] 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-04-28 17: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-04-28 17:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008973568001,"66":13798,"106":206,"83":41984,"24":3,"16":115669306141835264,"45":1830994754103281664},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008973568001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669306141835264,"km_value":115669306141835.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103281664,"description":"Unknown IO ID 45"} 
[2026-04-28 17:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008973568001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830994754103281664}} 
[2026-04-28 17:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:51:12] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:51:12] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:51:13] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40850c0012d196a40071fed400038008b25..."} 
[2026-04-28 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40850c0012d196a40071fed400038008b25..."} 
[2026-04-28 17:51:13] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40850c0012d196a40071fed400038008b25..."} 
[2026-04-28 17:51:13] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:13] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532864,"longitude_deg":75.664032,"latitude_deg":11.9532864,"altitude":56,"angle":139,"satellites":37,"speed":2,"hex_longitude":"2d196a40","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-04-28 17:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008974336001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115669310436802560,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824139264,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777378808000,"timestamp_ms":1777378808000,"timestamp_seconds":1777378808,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40850c0"} 
[2026-04-28 17:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 17:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008974336001,"66":14135,"106":206,"83":41984,"24":2,"16":115669310436802560,"45":1831346597824139264},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008974336001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:51:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115669310436802560,"km_value":115669310436802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824139264,"description":"Unknown IO ID 45"} 
[2026-04-28 17:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008974336001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1831346597824139264}} 
[2026-04-28 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:51:14] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:51:14] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:51:29] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:29] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:29] local.INFO: Packet analysis {"connection_id":56868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:29] local.INFO: Extracted packet for processing {"connection_id":56868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:29] 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-04-28 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 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-04-28 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:51:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":56868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:51:29] local.INFO: GPS data processed {"connection_id":56868,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:51:29] local.INFO: Acknowledgment sent {"connection_id":56868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:51:44] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4092b80012d19ca80071ff3a80032003127..."} 
[2026-04-28 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4092b80012d19ca80071ff3a80032003127..."} 
[2026-04-28 17:51:44] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4092b80012d19ca80071ff3a80032003127..."} 
[2026-04-28 17:51:44] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd409"} 
[2026-04-28 17:51:44] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd409"} 
[2026-04-28 17:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119534504,"longitude_deg":75.666496,"latitude_deg":11.9534504,"altitude":50,"angle":49,"satellites":39,"speed":14,"hex_longitude":"2d19ca80","hex_latitude":"071ff3a8","is_valid_coordinates":true} 
[2026-04-28 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008987136001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115670513027645440,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433542694912,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777378864000,"timestamp_ms":1777378864000,"timestamp_seconds":1777378864,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4092b80"} 
[2026-04-28 17:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:51: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-04-28 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-28 17:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008987136001,"66":13678,"106":206,"83":41984,"24":14,"16":115670513027645440,"45":1852879433542694912},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008987136001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:51:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115670513027645440,"km_value":115670513027645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433542694912,"description":"Unknown IO ID 45"} 
[2026-04-28 17:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008987136001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1852879433542694912}} 
[2026-04-28 17:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:51:44] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:51:44] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:51:53] local.INFO: TCP Data received {"connection_id":57537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:53] local.INFO: Processing buffer {"connection_id":57537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:53] local.INFO: IMEI packet received {"connection_id":57537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":57537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:51:58] local.INFO: TCP Data received {"connection_id":57537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:58] local.INFO: Processing buffer {"connection_id":57537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:51:58] local.INFO: IMEI packet received {"connection_id":57537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":57537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:51:59] local.INFO: TCP Data received {"connection_id":57537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:59] local.INFO: Processing buffer {"connection_id":57537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:51:59] local.INFO: Packet analysis {"connection_id":57537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:59] local.INFO: Extracted packet for processing {"connection_id":57537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:51:59] 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-04-28 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:51: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-04-28 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:51:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":57537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:51:59] local.INFO: GPS data processed {"connection_id":57537,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:51:59] local.INFO: Acknowledgment sent {"connection_id":57537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:52:08] local.INFO: TCP Data received {"connection_id":57538,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:08] local.INFO: Processing buffer {"connection_id":57538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:08] local.INFO: IMEI packet received {"connection_id":57538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":57538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:52:30] local.INFO: TCP Data received {"connection_id":57537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:30] local.INFO: Processing buffer {"connection_id":57537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:30] local.INFO: Packet analysis {"connection_id":57537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:52:30] local.INFO: Extracted packet for processing {"connection_id":57537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:30] 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-04-28 17:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:52:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":57537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:52:30] local.INFO: GPS data processed {"connection_id":57537,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:52:30] local.INFO: Acknowledgment sent {"connection_id":57537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:52:48] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:48] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:48] local.INFO: IMEI packet received {"connection_id":56632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":56632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:52:49] local.INFO: TCP Data received {"connection_id":56632,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:49] local.INFO: Processing buffer {"connection_id":56632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:52:49] local.INFO: IMEI packet received {"connection_id":56632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":56632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:52:53] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:53] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:53] local.INFO: IMEI packet received {"connection_id":56820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":56820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:52:58] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:58] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:52:58] local.INFO: IMEI packet received {"connection_id":56820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":56820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:52:59] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:59] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:52:59] local.INFO: Packet analysis {"connection_id":56820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:52:59] local.INFO: Extracted packet for processing {"connection_id":56820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:52:59] 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-04-28 17:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 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-04-28 17:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:52: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-04-28 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-04-28 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-04-28 17:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:52:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":56820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:52:59] local.INFO: GPS data processed {"connection_id":56820,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:52:59] local.INFO: Acknowledgment sent {"connection_id":56820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:53:30] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:30] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:30] local.INFO: Packet analysis {"connection_id":56820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:53:30] local.INFO: Extracted packet for processing {"connection_id":56820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:30] 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-04-28 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:53:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":56820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:53:30] local.INFO: GPS data processed {"connection_id":56820,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:53:30] local.INFO: Acknowledgment sent {"connection_id":56820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:53:40] local.INFO: TCP Data received {"connection_id":56821,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:53:40] local.INFO: Processing buffer {"connection_id":56821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:53:40] local.INFO: IMEI packet received {"connection_id":56821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":56821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:53:53] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:53] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:53] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:53:58] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:58] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:53:58] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:53:59] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:59] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:53:59] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:53:59] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:53:59] 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-04-28 17:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:53: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-04-28 17: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-04-28 17:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:53:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:53:59] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:53:59] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:54:30] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:30] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:30] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:54:30] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:30] 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-04-28 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:54:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:54:30] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:54:30] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:54:53] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:53] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:53] local.INFO: IMEI packet received {"connection_id":56871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:54:58] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:58] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:54:58] local.INFO: IMEI packet received {"connection_id":56871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":56871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:54:59] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:59] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40821e0012d7fabc005afe3d80001001822..."} 
[2026-04-28 17:54:59] local.INFO: Packet analysis {"connection_id":56871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:54:59] local.INFO: Extracted packet for processing {"connection_id":56871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd408"} 
[2026-04-28 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008893440001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:54:59] 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-04-28 17:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777378796000,"timestamp_ms":1777378796000,"timestamp_seconds":1777378796,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40821e0"} 
[2026-04-28 17:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":102,"data_length":795,"current_offset":136} 
[2026-04-28 17:54: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-04-28 17: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-04-28 17:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008893440001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008893440001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:54:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008893440001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":56871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:54:59] local.INFO: GPS data processed {"connection_id":56871,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:54:59] local.INFO: Acknowledgment sent {"connection_id":56871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:55:30] local.INFO: TCP Data received {"connection_id":56871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:55:30] local.INFO: Processing buffer {"connection_id":56871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:55:30] local.INFO: Packet analysis {"connection_id":56871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:55:30] local.INFO: Extracted packet for processing {"connection_id":56871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:55:30] 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-04-28 17:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:55:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":56871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:55:30] local.INFO: GPS data processed {"connection_id":56871,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:55:30] local.INFO: Acknowledgment sent {"connection_id":56871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:55:58] local.INFO: TCP Data received {"connection_id":56823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:55:58] local.INFO: Processing buffer {"connection_id":56823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:55:58] local.INFO: IMEI packet received {"connection_id":56823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":56823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:55:59] local.INFO: TCP Data received {"connection_id":56822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:55:59] local.INFO: Processing buffer {"connection_id":56822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:55:59] local.INFO: IMEI packet received {"connection_id":56822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":56822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:56:03] local.INFO: TCP Data received {"connection_id":56823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:03] local.INFO: Processing buffer {"connection_id":56823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:03] local.INFO: IMEI packet received {"connection_id":56823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":56823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:56:04] local.INFO: TCP Data received {"connection_id":56823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:04] local.INFO: Processing buffer {"connection_id":56823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:04] local.INFO: Packet analysis {"connection_id":56823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:04] local.INFO: Extracted packet for processing {"connection_id":56823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:04] 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-04-28 17:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:56:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":56823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:56:04] local.INFO: GPS data processed {"connection_id":56823,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:56:04] local.INFO: Acknowledgment sent {"connection_id":56823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:56:34] local.INFO: TCP Data received {"connection_id":57542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:56:34] local.INFO: Processing buffer {"connection_id":57542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 17:56:34] local.INFO: IMEI packet received {"connection_id":57542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":57542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:56:35] local.INFO: TCP Data received {"connection_id":56823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:35] local.INFO: Processing buffer {"connection_id":56823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:35] local.INFO: Packet analysis {"connection_id":56823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:35] local.INFO: Extracted packet for processing {"connection_id":56823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:56:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":56823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:56:35] local.INFO: GPS data processed {"connection_id":56823,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:56:35] local.INFO: Acknowledgment sent {"connection_id":56823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:56:53] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:53] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:53] local.INFO: IMEI packet received {"connection_id":56872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:56:58] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:58] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:56:58] local.INFO: IMEI packet received {"connection_id":56872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":56872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:56:59] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:59] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:56:59] local.INFO: Packet analysis {"connection_id":56872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:59] local.INFO: Extracted packet for processing {"connection_id":56872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:56:59] 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-04-28 17:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:56: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-04-28 17: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-04-28 17:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:56:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":56872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:56:59] local.INFO: GPS data processed {"connection_id":56872,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:56:59] local.INFO: Acknowledgment sent {"connection_id":56872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:57:30] local.INFO: TCP Data received {"connection_id":56872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:30] local.INFO: Processing buffer {"connection_id":56872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:30] local.INFO: Packet analysis {"connection_id":56872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:57:30] local.INFO: Extracted packet for processing {"connection_id":56872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:30] 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-04-28 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:57:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":56872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:57:30] local.INFO: GPS data processed {"connection_id":56872,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:57:30] local.INFO: Acknowledgment sent {"connection_id":56872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:57:53] local.INFO: TCP Data received {"connection_id":56824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:53] local.INFO: Processing buffer {"connection_id":56824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:53] local.INFO: IMEI packet received {"connection_id":56824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":56824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:57:58] local.INFO: TCP Data received {"connection_id":56824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:58] local.INFO: Processing buffer {"connection_id":56824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:57:58] local.INFO: IMEI packet received {"connection_id":56824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":56824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:57:59] local.INFO: TCP Data received {"connection_id":56824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:59] local.INFO: Processing buffer {"connection_id":56824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:57:59] local.INFO: Packet analysis {"connection_id":56824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:57:59] local.INFO: Extracted packet for processing {"connection_id":56824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:57:59] 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-04-28 17:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:57: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-04-28 17: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-04-28 17:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:57:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":56824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:57:59] local.INFO: GPS data processed {"connection_id":56824,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:57:59] local.INFO: Acknowledgment sent {"connection_id":56824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:58:18] local.INFO: TCP Data received {"connection_id":56874,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:58:18] local.INFO: Processing buffer {"connection_id":56874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:58:18] local.INFO: IMEI packet received {"connection_id":56874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":56874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:58:19] local.INFO: TCP Data received {"connection_id":56874,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40e6758012d1817800721a1d0004c012625..."} 
[2026-04-28 17:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40e6758012d1817800721a1d0004c012625..."} 
[2026-04-28 17:58:19] local.INFO: Processing buffer {"connection_id":56874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40e6758012d1817800721a1d0004c012625..."} 
[2026-04-28 17:58:19] local.INFO: Packet analysis {"connection_id":56874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40e"} 
[2026-04-28 17:58:19] local.INFO: Extracted packet for processing {"connection_id":56874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40e"} 
[2026-04-28 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119644624,"longitude_deg":75.65536,"latitude_deg":11.9644624,"altitude":76,"angle":294,"satellites":37,"speed":4,"hex_longitude":"2d181780","hex_latitude":"0721a1d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 17:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009076224001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115679863171448832,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736137686980337664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 17:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777379207000,"timestamp_ms":1777379207000,"timestamp_seconds":1777379207,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40e6758"} 
[2026-04-28 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-04-28 17:58: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-04-28 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 17:58: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-04-28 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-04-28 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-04-28 17:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009076224001,"66":13798,"105":206,"83":41984,"24":4,"16":115679863171448832,"45":1736137686980337664},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 17:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009076224001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:58:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 17:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115679863171448832,"km_value":115679863171448.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736137686980337664,"description":"Unknown IO ID 45"} 
[2026-04-28 17:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009076224001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1736137686980337664}} 
[2026-04-28 17:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":56874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:58:19] local.INFO: GPS data processed {"connection_id":56874,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:58:19] local.INFO: Acknowledgment sent {"connection_id":56874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:58:30] local.INFO: TCP Data received {"connection_id":56824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:30] local.INFO: Processing buffer {"connection_id":56824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:30] local.INFO: Packet analysis {"connection_id":56824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:58:30] local.INFO: Extracted packet for processing {"connection_id":56824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:30] 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-04-28 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:58:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":56824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:58:30] local.INFO: GPS data processed {"connection_id":56824,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:58:30] local.INFO: Acknowledgment sent {"connection_id":56824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:58:50] local.INFO: TCP Data received {"connection_id":56874,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40f8480012d18538007218a800052007321..."} 
[2026-04-28 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40f8480012d18538007218a800052007321..."} 
[2026-04-28 17:58:50] local.INFO: Processing buffer {"connection_id":56874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40f8480012d18538007218a800052007321..."} 
[2026-04-28 17:58:50] local.INFO: Packet analysis {"connection_id":56874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:58:50] local.INFO: Extracted packet for processing {"connection_id":56874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756568960,"raw_latitude":119638656,"longitude_deg":75.656896,"latitude_deg":11.9638656,"altitude":82,"angle":115,"satellites":33,"speed":31,"hex_longitude":"2d185380","hex_latitude":"07218a80","is_valid_coordinates":true} 
[2026-04-28 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009092352001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115680773704515584,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773862522880,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:50] 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-04-28 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777379280000,"timestamp_ms":1777379280000,"timestamp_seconds":1777379280,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40f8480"} 
[2026-04-28 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-28 17:58:50] 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-04-28 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009092352001,"66":12526,"106":206,"83":41984,"24":31,"16":115680773704515584,"45":1743596773862522880},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009092352001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:58:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115680773704515584,"km_value":115680773704515.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773862522880,"description":"Unknown IO ID 45"} 
[2026-04-28 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009092352001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1743596773862522880}} 
[2026-04-28 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":56874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:58:50] local.INFO: GPS data processed {"connection_id":56874,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:58:50] local.INFO: Acknowledgment sent {"connection_id":56874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:58:53] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:53] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:53] local.INFO: IMEI packet received {"connection_id":56875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":56875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:58:58] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:58] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:58:58] local.INFO: IMEI packet received {"connection_id":56875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":56875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:58:59] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:59] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:58:59] local.INFO: Packet analysis {"connection_id":56875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:58:59] local.INFO: Extracted packet for processing {"connection_id":56875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:58:59] 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-04-28 17:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:58:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":56875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:58:59] local.INFO: GPS data processed {"connection_id":56875,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:58:59] local.INFO: Acknowledgment sent {"connection_id":56875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:59:08] local.INFO: TCP Data received {"connection_id":56635,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:08] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:08] local.INFO: IMEI packet received {"connection_id":56635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":56635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 17:59:13] local.INFO: TCP Data received {"connection_id":56635,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:13] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 17:59:13] local.INFO: IMEI packet received {"connection_id":56635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":56635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 17:59:14] local.INFO: TCP Data received {"connection_id":56635,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40f9bf0012d186640072182a00052006422..."} 
[2026-04-28 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40f9bf0012d186640072182a00052006422..."} 
[2026-04-28 17:59:14] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40f9bf0012d186640072182a00052006422..."} 
[2026-04-28 17:59:14] local.INFO: Packet analysis {"connection_id":56635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:59:14] local.INFO: Extracted packet for processing {"connection_id":56635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756573760,"raw_latitude":119636640,"longitude_deg":75.657376,"latitude_deg":11.963664,"altitude":82,"angle":100,"satellites":34,"speed":36,"hex_longitude":"2d186640","hex_latitude":"072182a0","is_valid_coordinates":true} 
[2026-04-28 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009095680001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681022812618752,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752885448093106176,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:14] 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-04-28 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379286000,"timestamp_ms":1777379286000,"timestamp_seconds":1777379286,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40f9bf0"} 
[2026-04-28 17:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:59: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-04-28 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 17:59:14] 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-04-28 17:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 17:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009095680001,"66":12885,"106":206,"83":41984,"24":36,"16":115681022812618752,"45":1752885448093106176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009095680001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681022812618752,"km_value":115681022812618.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752885448093106176,"description":"Unknown IO ID 45"} 
[2026-04-28 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009095680001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1752885448093106176}} 
[2026-04-28 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":56635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:59:14] local.INFO: GPS data processed {"connection_id":56635,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:59:14] local.INFO: Acknowledgment sent {"connection_id":56635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:59:30] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:59:30] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 17:59:30] local.INFO: Packet analysis {"connection_id":56875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:59:30] local.INFO: Extracted packet for processing {"connection_id":56875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:30] 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-04-28 17:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 17:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 17:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 17: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-04-28 17:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 17:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 17:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 17:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 17:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 17:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 17:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:59:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 17:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 17:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 17:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 17:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":56875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:59:30] local.INFO: GPS data processed {"connection_id":56875,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:59:30] local.INFO: Acknowledgment sent {"connection_id":56875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:59:45] local.INFO: TCP Data received {"connection_id":56635,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40fa7a8012d187040072182280052005626..."} 
[2026-04-28 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40fa7a8012d187040072182280052005626..."} 
[2026-04-28 17:59:45] local.INFO: Processing buffer {"connection_id":56635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40fa7a8012d187040072182280052005626..."} 
[2026-04-28 17:59:45] local.INFO: Packet analysis {"connection_id":56635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:59:45] local.INFO: Extracted packet for processing {"connection_id":56635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119636520,"longitude_deg":75.657632,"latitude_deg":11.963652,"altitude":82,"angle":86,"satellites":38,"speed":27,"hex_longitude":"2d187040","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-04-28 17: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-04-28 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009097216001,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681143071703040,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758163103905914880,"note":"Value kept but may cause issues"} 
[2026-04-28 17:59:45] 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-04-28 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777379289000,"timestamp_ms":1777379289000,"timestamp_seconds":1777379289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40fa7a8"} 
[2026-04-28 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 17:59: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-04-28 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-28 17:59:45] 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-04-28 17: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-04-28 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009097216001,"66":12841,"106":206,"83":41984,"24":27,"16":115681143071703040,"45":1758163103905914880},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009097216001,"description":"Unknown IO ID 0"} 
[2026-04-28 17:59:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 17:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681143071703040,"km_value":115681143071703.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758163103905914880,"description":"Unknown IO ID 45"} 
[2026-04-28 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009097216001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1758163103905914880}} 
[2026-04-28 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":56635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 17:59:46] local.INFO: GPS data processed {"connection_id":56635,"processed":1,"errors":0,"total":1} 
[2026-04-28 17:59:46] local.INFO: Acknowledgment sent {"connection_id":56635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 17:59:58] local.INFO: TCP Data received {"connection_id":56826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:59:58] local.INFO: Processing buffer {"connection_id":56826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 17:59:58] local.INFO: IMEI packet received {"connection_id":56826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":56826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:00:03] local.INFO: TCP Data received {"connection_id":56826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:03] local.INFO: Processing buffer {"connection_id":56826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:03] local.INFO: IMEI packet received {"connection_id":56826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":56826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:00:05] local.INFO: TCP Data received {"connection_id":56826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 18:00:05] local.INFO: Processing buffer {"connection_id":56826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40cc560012d7fabc005afe3d80000001822..."} 
[2026-04-28 18:00:05] local.INFO: Packet analysis {"connection_id":56826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 18:00:05] local.INFO: Extracted packet for processing {"connection_id":56826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40c"} 
[2026-04-28 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":0,"angle":24,"satellites":34,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455008971776001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:05] 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-04-28 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777379100000,"timestamp_ms":1777379100000,"timestamp_seconds":1777379100,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40cc560"} 
[2026-04-28 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:00: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-04-28 18:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455008971776001,"66":25647,"199":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-28 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455008971776001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-28 18:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455008971776001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:05] local.INFO: GPS data processed {"connection_id":56826,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:05] local.INFO: Acknowledgment sent {"connection_id":56826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:00:13] local.INFO: TCP Data received {"connection_id":57545,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:13] local.INFO: Processing buffer {"connection_id":57545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:13] local.INFO: IMEI packet received {"connection_id":57545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":57545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:00:19] local.INFO: TCP Data received {"connection_id":57545,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:19] local.INFO: Processing buffer {"connection_id":57545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:00:19] local.INFO: IMEI packet received {"connection_id":57545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":57545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:00:20] local.INFO: TCP Data received {"connection_id":57545,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40fc6e8012d188380072181d80051006122..."} 
[2026-04-28 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40fc6e8012d188380072181d80051006122..."} 
[2026-04-28 18:00:20] local.INFO: Processing buffer {"connection_id":57545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40fc6e8012d188380072181d80051006122..."} 
[2026-04-28 18:00:20] local.INFO: Packet analysis {"connection_id":57545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 18:00:20] local.INFO: Extracted packet for processing {"connection_id":57545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636440,"longitude_deg":75.6581248,"latitude_deg":11.963644,"altitude":81,"angle":97,"satellites":34,"speed":29,"hex_longitude":"2d188380","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-04-28 18:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009097984001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681374999937024,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760977853672990720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777379297000,"timestamp_ms":1777379297000,"timestamp_seconds":1777379297,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40fc6e8"} 
[2026-04-28 18:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00: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-04-28 18:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:00:20] 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-04-28 18:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009097984001,"66":12841,"106":206,"83":41984,"24":29,"16":115681374999937024,"45":1760977853672990720},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009097984001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681374999937024,"km_value":115681374999937.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760977853672990720,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009097984001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1760977853672990720}} 
[2026-04-28 18:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":57545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:20] local.INFO: GPS data processed {"connection_id":57545,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:20] local.INFO: Acknowledgment sent {"connection_id":57545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:00:20] local.INFO: TCP Data received {"connection_id":57545,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd40fd2a0012d188d8007217f700051007122..."} 
[2026-04-28 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd40fd2a0012d188d8007217f700051007122..."} 
[2026-04-28 18:00:20] local.INFO: Processing buffer {"connection_id":57545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd40fd2a0012d188d8007217f700051007122..."} 
[2026-04-28 18:00:20] local.INFO: Packet analysis {"connection_id":57545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 18:00:20] local.INFO: Extracted packet for processing {"connection_id":57545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd40f"} 
[2026-04-28 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756583808,"raw_latitude":119635824,"longitude_deg":75.6583808,"latitude_deg":11.9635824,"altitude":81,"angle":113,"satellites":34,"speed":35,"hex_longitude":"2d188d80","hex_latitude":"07217f70","is_valid_coordinates":true} 
[2026-04-28 18:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009100032001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681499553988608,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974650368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777379300000,"timestamp_ms":1777379300000,"timestamp_seconds":1777379300,"priority":1,"record_length":96,"hex_timestamp":"0000019dd40fd2a0"} 
[2026-04-28 18:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00: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-04-28 18:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:00:20] 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-04-28 18:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009100032001,"66":12809,"106":206,"83":41984,"24":35,"16":115681499553988608,"45":1766396246974650368},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009100032001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681499553988608,"km_value":115681499553988.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974650368,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009100032001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1766396246974650368}} 
[2026-04-28 18:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":57545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:20] local.INFO: GPS data processed {"connection_id":57545,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:20] local.INFO: Acknowledgment sent {"connection_id":57545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:00:36] local.INFO: TCP Data received {"connection_id":56826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:36] local.INFO: Processing buffer {"connection_id":56826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:36] local.INFO: Packet analysis {"connection_id":56826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:00:36] local.INFO: Extracted packet for processing {"connection_id":56826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:36] 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-04-28 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":56826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:36] local.INFO: GPS data processed {"connection_id":56826,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:36] local.INFO: Acknowledgment sent {"connection_id":56826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:00:51] local.INFO: TCP Data received {"connection_id":57545,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4102890012d18a98007217278004f007725..."} 
[2026-04-28 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4102890012d18a98007217278004f007725..."} 
[2026-04-28 18:00:51] local.INFO: Processing buffer {"connection_id":57545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4102890012d18a98007217278004f007725..."} 
[2026-04-28 18:00:51] local.INFO: Packet analysis {"connection_id":57545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd410"} 
[2026-04-28 18:00:51] local.INFO: Extracted packet for processing {"connection_id":57545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd410"} 
[2026-04-28 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632504,"longitude_deg":75.6590976,"latitude_deg":11.9632504,"altitude":79,"angle":119,"satellites":37,"speed":0,"hex_longitude":"2d18a980","hex_latitude":"07217278","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009100800001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681881806077952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769210996741599232,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777379322000,"timestamp_ms":1777379322000,"timestamp_seconds":1777379322,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4102890"} 
[2026-04-28 18:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3557773752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":212,"raw_value":1080775954690220480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2323644498,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147950999,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-2737962716529373613,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4205314048,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424212034305425444,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:51] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,251,198,45,128,129,81,34,10,66,167,64,130,82,38,155,1,240,85,227,212,33,4,113,205,31,50,192,35,239,55,105,2,154,7,78,17,164,168],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 18:00:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836789507917283328,"timestamp_seconds":5836789507917283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009100800001,"66":12548,"106":206,"83":41984,"24":0,"16":115681881806077952,"45":1769210996741599232},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009100800001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681881806077952,"km_value":115681881806077.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769210996741599232,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009100800001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1769210996741599232}} 
[2026-04-28 18:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":57545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:51] local.INFO: GPS data processed {"connection_id":57545,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:51] local.INFO: Acknowledgment sent {"connection_id":57545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:00:53] local.INFO: TCP Data received {"connection_id":56636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:53] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:53] local.INFO: IMEI packet received {"connection_id":56636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:00:58] local.INFO: TCP Data received {"connection_id":56636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:58] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:00:58] local.INFO: IMEI packet received {"connection_id":56636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":56636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:00:59] local.INFO: TCP Data received {"connection_id":56636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:59] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:00:59] local.INFO: Packet analysis {"connection_id":56636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:00:59] local.INFO: Extracted packet for processing {"connection_id":56636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:00: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-04-28 18: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-04-28 18:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:00:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":56636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:00:59] local.INFO: GPS data processed {"connection_id":56636,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:00:59] local.INFO: Acknowledgment sent {"connection_id":56636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:01:08] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:08] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:08] local.INFO: IMEI packet received {"connection_id":56637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":56637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:01:14] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:14] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:01:14] local.INFO: IMEI packet received {"connection_id":56637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":56637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:01:14] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4107a98012d18a98007217278004f007724..."} 
[2026-04-28 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4107a98012d18a98007217278004f007724..."} 
[2026-04-28 18:01:14] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4107a98012d18a98007217278004f007724..."} 
[2026-04-28 18:01:14] local.INFO: Packet analysis {"connection_id":56637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd410"} 
[2026-04-28 18:01:14] local.INFO: Extracted packet for processing {"connection_id":56637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd410"} 
[2026-04-28 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632504,"longitude_deg":75.6590976,"latitude_deg":11.9632504,"altitude":79,"angle":119,"satellites":36,"speed":0,"hex_longitude":"2d18a980","hex_latitude":"07217278","is_valid_coordinates":true} 
[2026-04-28 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009106432001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115681881806077952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088647680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] 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-04-28 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379343000,"timestamp_ms":1777379343000,"timestamp_seconds":1777379343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4107a98"} 
[2026-04-28 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:01: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-04-28 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147950986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3557773752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184311718093,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4211933184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.WARNING: Large IO value detected {"io_id":17,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,252,210,45,128,127,81,34,10,66,251,198,129,167,64,1,240,41,227,212,33,4,113,205,36,132,239,48,2,154,7,78,17],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 18:01:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692680929793802240,"timestamp_seconds":5692680929793802.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009106432001,"66":12537,"106":206,"83":41984,"24":0,"16":115681881806077952,"45":1777092296088647680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009106432001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:01:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115681881806077952,"km_value":115681881806077.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088647680,"description":"Unknown IO ID 45"} 
[2026-04-28 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009106432001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777092296088647680}} 
[2026-04-28 18:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":56637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:01:15] local.INFO: GPS data processed {"connection_id":56637,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:01:15] local.INFO: Acknowledgment sent {"connection_id":56637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:01:31] local.INFO: TCP Data received {"connection_id":56636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:31] local.INFO: Processing buffer {"connection_id":56636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:31] local.INFO: Packet analysis {"connection_id":56636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:01:31] local.INFO: Extracted packet for processing {"connection_id":56636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:01:31] 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-04-28 18:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":56636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:01:31] local.INFO: GPS data processed {"connection_id":56636,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:01:31] local.INFO: Acknowledgment sent {"connection_id":56636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:01:46] local.INFO: TCP Data received {"connection_id":56637,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4126ab0012d18c4c0072148c8004c00b127..."} 
[2026-04-28 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4126ab0012d18c4c0072148c8004c00b127..."} 
[2026-04-28 18:01:46] local.INFO: Processing buffer {"connection_id":56637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4126ab0012d18c4c0072148c8004c00b127..."} 
[2026-04-28 18:01:46] local.INFO: Packet analysis {"connection_id":56637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:01:46] local.INFO: Extracted packet for processing {"connection_id":56637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119621832,"longitude_deg":75.6597952,"latitude_deg":11.9621832,"altitude":76,"angle":177,"satellites":39,"speed":35,"hex_longitude":"2d18c4c0","hex_latitude":"072148c8","is_valid_coordinates":true} 
[2026-04-28 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009143808001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115682551820976128,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969198592,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777379470000,"timestamp_ms":1777379470000,"timestamp_seconds":1777379470,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4126ab0"} 
[2026-04-28 18:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:01: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-04-28 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 18:01:46] 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-04-28 18: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-04-28 18:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009143808001,"66":12711,"106":206,"83":41984,"24":35,"16":115682551820976128,"45":1784551382969198592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009143808001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:01:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115682551820976128,"km_value":115682551820976.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969198592,"description":"Unknown IO ID 45"} 
[2026-04-28 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009143808001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784551382969198592}} 
[2026-04-28 18:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":56637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:01:46] local.INFO: GPS data processed {"connection_id":56637,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:01:46] local.INFO: Acknowledgment sent {"connection_id":56637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:01:53] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:53] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:53] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:01:54] local.INFO: TCP Data received {"connection_id":56828,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:01:54] local.INFO: Processing buffer {"connection_id":56828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:01:54] local.INFO: IMEI packet received {"connection_id":56828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":56828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:01:58] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:58] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:01:58] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:01:59] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:59] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:01:59] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:01:59] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:01: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-04-28 18: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-04-28 18:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:01:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:01:59] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:01:59] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:02:06] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:06] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:06] local.INFO: IMEI packet received {"connection_id":57546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":57546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:02:10] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:10] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:10] local.INFO: IMEI packet received {"connection_id":57546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":57546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:02:14] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:14] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:02:14] local.INFO: IMEI packet received {"connection_id":57546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":57546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:02:14] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4127668012d18c64007213e58004a00a527..."} 
[2026-04-28 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4127668012d18c64007213e58004a00a527..."} 
[2026-04-28 18:02:14] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4127668012d18c64007213e58004a00a527..."} 
[2026-04-28 18:02:14] local.INFO: Packet analysis {"connection_id":57546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:14] local.INFO: Extracted packet for processing {"connection_id":57546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119619160,"longitude_deg":75.6598336,"latitude_deg":11.961916,"altitude":74,"angle":165,"satellites":39,"speed":34,"hex_longitude":"2d18c640","hex_latitude":"07213e58","is_valid_coordinates":true} 
[2026-04-28 18:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009144320001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115682684964962304,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201281024,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:14] 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-04-28 18:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379473000,"timestamp_ms":1777379473000,"timestamp_seconds":1777379473,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4127668"} 
[2026-04-28 18:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:02: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-04-28 18:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 18:02:14] 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-04-28 18:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009144320001,"66":12722,"106":206,"83":41984,"24":34,"16":115682684964962304,"45":1784762489201281024},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009144320001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:02:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115682684964962304,"km_value":115682684964962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201281024,"description":"Unknown IO ID 45"} 
[2026-04-28 18:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009144320001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784762489201281024}} 
[2026-04-28 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":57546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:02:15] local.INFO: GPS data processed {"connection_id":57546,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:02:15] local.INFO: Acknowledgment sent {"connection_id":57546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:02:15] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4127e38012d18c940072138180049009427..."} 
[2026-04-28 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4127e38012d18c940072138180049009427..."} 
[2026-04-28 18:02:15] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4127e38012d18c940072138180049009427..."} 
[2026-04-28 18:02:15] local.INFO: Packet analysis {"connection_id":57546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:15] local.INFO: Extracted packet for processing {"connection_id":57546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617560,"longitude_deg":75.6599104,"latitude_deg":11.961756,"altitude":73,"angle":148,"satellites":39,"speed":34,"hex_longitude":"2d18c940","hex_latitude":"07213818","is_valid_coordinates":true} 
[2026-04-28 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009145088001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115682770864308224,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665662976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777379475000,"timestamp_ms":1777379475000,"timestamp_seconds":1777379475,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4127e38"} 
[2026-04-28 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 18:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009145088001,"66":12711,"106":206,"83":41984,"24":34,"16":115682770864308224,"45":1785184701665662976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009145088001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:02:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115682770864308224,"km_value":115682770864308.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665662976,"description":"Unknown IO ID 45"} 
[2026-04-28 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009145088001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785184701665662976}} 
[2026-04-28 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":57546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:02:15] local.INFO: GPS data processed {"connection_id":57546,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:02:15] local.INFO: Acknowledgment sent {"connection_id":57546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:02:30] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:30] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:30] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:02:30] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:02:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:02:30] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:02:30] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:02:39] local.INFO: TCP Data received {"connection_id":56830,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:02:39] local.INFO: Processing buffer {"connection_id":56830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:02:39] local.INFO: IMEI packet received {"connection_id":56830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":56830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:02:46] local.INFO: TCP Data received {"connection_id":57546,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41295a8012d18d2c007212628004600a726..."} 
[2026-04-28 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41295a8012d18d2c007212628004600a726..."} 
[2026-04-28 18:02:46] local.INFO: Processing buffer {"connection_id":57546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41295a8012d18d2c007212628004600a726..."} 
[2026-04-28 18:02:46] local.INFO: Packet analysis {"connection_id":57546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:46] local.INFO: Extracted packet for processing {"connection_id":57546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd412"} 
[2026-04-28 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612968,"longitude_deg":75.6601536,"latitude_deg":11.9612968,"altitude":70,"angle":167,"satellites":38,"speed":34,"hex_longitude":"2d18d2c0","hex_latitude":"07212628","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009145600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115683024267378688,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595385344,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777379481000,"timestamp_ms":1777379481000,"timestamp_seconds":1777379481,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41295a8"} 
[2026-04-28 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-04-28 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-04-28 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":167,"data_length":795,"current_offset":136} 
[2026-04-28 18:02:46] 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-04-28 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-04-28 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-04-28 18:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009145600001,"66":12689,"106":206,"83":41984,"24":34,"16":115683024267378688,"45":1786029126595385344},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009145600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:02:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115683024267378688,"km_value":115683024267378.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595385344,"description":"Unknown IO ID 45"} 
[2026-04-28 18:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009145600001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1786029126595385344}} 
[2026-04-28 18:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":57546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:02:46] local.INFO: GPS data processed {"connection_id":57546,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:02:46] local.INFO: Acknowledgment sent {"connection_id":57546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:02:53] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:53] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:53] local.INFO: IMEI packet received {"connection_id":56876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":56876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:02:58] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:58] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:02:58] local.INFO: IMEI packet received {"connection_id":56876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":56876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:02:59] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:59] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:02:59] local.INFO: Packet analysis {"connection_id":56876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:02:59] local.INFO: Extracted packet for processing {"connection_id":56876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:02: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-04-28 18: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-04-28 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:02:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":56876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:02:59] local.INFO: GPS data processed {"connection_id":56876,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:02:59] local.INFO: Acknowledgment sent {"connection_id":56876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:09] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:09] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:09] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:03:13] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:13] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:13] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:03:14] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:14] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:03:14] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:03:15] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd4..."} 
[2026-04-28 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd4..."} 
[2026-04-28 18:03:15] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd4..."} 
[2026-04-28 18:03:15] local.INFO: IMEI packet received {"connection_id":56638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":56638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:03:16] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41383f0012d196e800720ad580027004920..."} 
[2026-04-28 18:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41383f0012d196e800720ad580027004920..."} 
[2026-04-28 18:03:16] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd41360c8012d1959800720aa40002700581f..."} 
[2026-04-28 18:03:16] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:16] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756636032,"raw_latitude":119581248,"longitude_deg":75.6636032,"latitude_deg":11.9581248,"altitude":39,"angle":88,"satellites":31,"speed":28,"hex_longitude":"2d195980","hex_latitude":"0720aa40","is_valid_coordinates":true} 
[2026-04-28 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009159936001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115685485283639296,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042116333568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777379533000,"timestamp_ms":1777379533000,"timestamp_seconds":1777379533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41360c8"} 
[2026-04-28 18:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-28 18:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009159936001,"66":14048,"106":206,"83":41984,"24":28,"16":115685485283639296,"45":1824943042116333568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009159936001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115685485283639296,"km_value":115685485283639.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042116333568,"description":"Unknown IO ID 45"} 
[2026-04-28 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009159936001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1824943042116333568}} 
[2026-04-28 18:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:03:16] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:03:16] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:16] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:16] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119582040,"longitude_deg":75.6641408,"latitude_deg":11.958204,"altitude":39,"angle":73,"satellites":32,"speed":26,"hex_longitude":"2d196e80","hex_latitude":"0720ad58","is_valid_coordinates":true} 
[2026-04-28 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009160448001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115685738686709760,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826631891976601600,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777379542000,"timestamp_ms":1777379542000,"timestamp_seconds":1777379542,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41383f0"} 
[2026-04-28 18:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:03: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-04-28 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 18:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009160448001,"66":13906,"106":206,"83":41984,"24":26,"16":115685738686709760,"45":1826631891976601600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009160448001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115685738686709760,"km_value":115685738686709.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826631891976601600,"description":"Unknown IO ID 45"} 
[2026-04-28 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009160448001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1826631891976601600}} 
[2026-04-28 18:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:03:16] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:03:16] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:17] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd413ab00012d198b000720b418002a005622..."} 
[2026-04-28 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd413ab00012d198b000720b418002a005622..."} 
[2026-04-28 18:03:17] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd413ab00012d198b000720b418002a005622..."} 
[2026-04-28 18:03:17] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:17] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd413"} 
[2026-04-28 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583768,"longitude_deg":75.6648704,"latitude_deg":11.9583768,"altitude":42,"angle":86,"satellites":34,"speed":30,"hex_longitude":"2d198b00","hex_latitude":"0720b418","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009162752001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115686099463962624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866487728128,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777379552000,"timestamp_ms":1777379552000,"timestamp_seconds":1777379552,"priority":1,"record_length":96,"hex_timestamp":"0000019dd413ab00"} 
[2026-04-28 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-04-28 18:03: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-04-28 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 18:03:17] 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-04-28 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-04-28 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-04-28 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009162752001,"66":14211,"106":206,"83":41984,"24":30,"16":115686099463962624,"45":1832542866487728128},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009162752001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:03:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115686099463962624,"km_value":115686099463962.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866487728128,"description":"Unknown IO ID 45"} 
[2026-04-28 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009162752001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1832542866487728128}} 
[2026-04-28 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:03:17] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:03:17] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:30] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:03:30] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4115940012d7fabc005afe3d80001001823..."} 
[2026-04-28 18:03:30] local.INFO: Packet analysis {"connection_id":56876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:03:30] local.INFO: Extracted packet for processing {"connection_id":56876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd411"} 
[2026-04-28 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":35,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009049600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379400000,"timestamp_ms":1777379400000,"timestamp_seconds":1777379400,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4115940"} 
[2026-04-28 18:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 18:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009049600001,"66":25625,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009049600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:03:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009049600001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":56876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:03:30] local.INFO: GPS data processed {"connection_id":56876,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:03:30] local.INFO: Acknowledgment sent {"connection_id":56876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:48] local.INFO: TCP Data received {"connection_id":56638,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4142800012d19b10007207960002d00a423..."} 
[2026-04-28 18:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4142800012d19b10007207960002d00a423..."} 
[2026-04-28 18:03:48] local.INFO: Processing buffer {"connection_id":56638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4142800012d19b10007207960002d00a423..."} 
[2026-04-28 18:03:48] local.INFO: Packet analysis {"connection_id":56638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:03:48] local.INFO: Extracted packet for processing {"connection_id":56638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119568736,"longitude_deg":75.6658432,"latitude_deg":11.9568736,"altitude":45,"angle":164,"satellites":35,"speed":45,"hex_longitude":"2d19b100","hex_latitude":"07207960","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009172480001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115687375069249536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273997312,"note":"Value kept but may cause issues"} 
[2026-04-28 18:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777379584000,"timestamp_ms":1777379584000,"timestamp_seconds":1777379584,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4142800"} 
[2026-04-28 18:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:03: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-04-28 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-28 18:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009172480001,"66":13917,"106":206,"83":41984,"24":45,"16":115687375069249536,"45":1850205421273997312},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009172480001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:03:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115687375069249536,"km_value":115687375069249.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273997312,"description":"Unknown IO ID 45"} 
[2026-04-28 18:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009172480001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1850205421273997312}} 
[2026-04-28 18:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":56638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:03:48] local.INFO: GPS data processed {"connection_id":56638,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:03:48] local.INFO: Acknowledgment sent {"connection_id":56638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:03:58] local.INFO: TCP Data received {"connection_id":57547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:03:58] local.INFO: Processing buffer {"connection_id":57547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:03:58] local.INFO: IMEI packet received {"connection_id":57547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":57547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:04:00] local.INFO: TCP Data received {"connection_id":57547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:00] local.INFO: Processing buffer {"connection_id":57547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:00] local.INFO: IMEI packet received {"connection_id":57547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":57547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:04:01] local.INFO: TCP Data received {"connection_id":57547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4142800012d7fabc005afe3d80001001824..."} 
[2026-04-28 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4142800012d7fabc005afe3d80001001824..."} 
[2026-04-28 18:04:01] local.INFO: Processing buffer {"connection_id":57547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4142800012d7fabc005afe3d80001001824..."} 
[2026-04-28 18:04:01] local.INFO: Packet analysis {"connection_id":57547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:01] local.INFO: Extracted packet for processing {"connection_id":57547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95413208,"longitude_deg":76.334176,"latitude_deg":9.5413208,"altitude":1,"angle":24,"satellites":36,"speed":0,"hex_longitude":"2d7fabc0","hex_latitude":"05afe3d8","is_valid_coordinates":true} 
[2026-04-28 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009126400001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777379584000,"timestamp_ms":1777379584000,"timestamp_seconds":1777379584,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4142800"} 
[2026-04-28 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 18:04: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-04-28 18:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009126400001,"66":25615,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009126400001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009126400001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":57547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:04:01] local.INFO: GPS data processed {"connection_id":57547,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:04:01] local.INFO: Acknowledgment sent {"connection_id":57547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:04:08] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:08] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:08] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:04:13] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:13] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:04:13] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:04:14] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4144740012d19bb0007205698002900ad23..."} 
[2026-04-28 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4144740012d19bb0007205698002900ad23..."} 
[2026-04-28 18:04:14] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4144740012d19bb0007205698002900ad23..."} 
[2026-04-28 18:04:14] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:14] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119559832,"longitude_deg":75.6660992,"latitude_deg":11.9559832,"altitude":41,"angle":173,"satellites":35,"speed":43,"hex_longitude":"2d19bb00","hex_latitude":"07205698","is_valid_coordinates":true} 
[2026-04-28 18:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009173504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115687826040815616,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952435580928,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:14] 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-04-28 18:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379592000,"timestamp_ms":1777379592000,"timestamp_seconds":1777379592,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4144740"} 
[2026-04-28 18:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-28 18:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009173504001,"66":13917,"106":206,"83":41984,"24":43,"16":115687826040815616,"45":1851260952435580928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009173504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:04:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115687826040815616,"km_value":115687826040815.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952435580928,"description":"Unknown IO ID 45"} 
[2026-04-28 18:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009173504001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1851260952435580928}} 
[2026-04-28 18:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:04:14] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:04:14] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:04:32] local.INFO: TCP Data received {"connection_id":57547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41433b8012d7fad8005afe560000100af24..."} 
[2026-04-28 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41433b8012d7fad8005afe560000100af24..."} 
[2026-04-28 18:04:32] local.INFO: Processing buffer {"connection_id":57547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41433b8012d7fad8005afe560000100af24..."} 
[2026-04-28 18:04:32] local.INFO: Packet analysis {"connection_id":57547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:32] local.INFO: Extracted packet for processing {"connection_id":57547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009173504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492684288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777379587000,"timestamp_ms":1777379587000,"timestamp_seconds":1777379587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41433b8"} 
[2026-04-28 18:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:04: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-04-28 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009173504001,"66":23092,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9199657794492684288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009173504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492684288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009173504001,"power":23092,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492684288}} 
[2026-04-28 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":57547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:04:32] local.INFO: GPS data processed {"connection_id":57547,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:04:32] local.INFO: Acknowledgment sent {"connection_id":57547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:04:45] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4146a68012d19bfc007203590002a00a121..."} 
[2026-04-28 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4146a68012d19bfc007203590002a00a121..."} 
[2026-04-28 18:04:45] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4146a68012d19bfc007203590002a00a121..."} 
[2026-04-28 18:04:45] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:45] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119551376,"longitude_deg":75.6662208,"latitude_deg":11.9551376,"altitude":42,"angle":161,"satellites":33,"speed":31,"hex_longitude":"2d19bfc0","hex_latitude":"07203590","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009175552001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688242652643328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702200408064,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:45] 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-04-28 18:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777379601000,"timestamp_ms":1777379601000,"timestamp_seconds":1777379601,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4146a68"} 
[2026-04-28 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-04-28 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-28 18:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009175552001,"66":12809,"106":206,"83":41984,"24":31,"16":115688242652643328,"45":1854075702200408064},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009175552001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:04:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688242652643328,"km_value":115688242652643.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702200408064,"description":"Unknown IO ID 45"} 
[2026-04-28 18:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009175552001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1854075702200408064}} 
[2026-04-28 18:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:04:45] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:04:45] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:04:53] local.INFO: TCP Data received {"connection_id":57548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:53] local.INFO: Processing buffer {"connection_id":57548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:53] local.INFO: IMEI packet received {"connection_id":57548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":57548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:04:58] local.INFO: TCP Data received {"connection_id":57548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:58] local.INFO: Processing buffer {"connection_id":57548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:04:58] local.INFO: IMEI packet received {"connection_id":57548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":57548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:04:59] local.INFO: TCP Data received {"connection_id":57548,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41481d8012d7fad8005afe560000100af26..."} 
[2026-04-28 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41481d8012d7fad8005afe560000100af26..."} 
[2026-04-28 18:04:59] local.INFO: Processing buffer {"connection_id":57548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41481d8012d7fad8005afe560000100af26..."} 
[2026-04-28 18:04:59] local.INFO: Packet analysis {"connection_id":57548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:59] local.INFO: Extracted packet for processing {"connection_id":57548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009174272001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379607000,"timestamp_ms":1777379607000,"timestamp_seconds":1777379607,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41481d8"} 
[2026-04-28 18:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:04: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-04-28 18: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":90,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-28 18:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009174272001,"66":27767,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009174272001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:04:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009174272001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":57548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:04:59] local.INFO: GPS data processed {"connection_id":57548,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:04:59] local.INFO: Acknowledgment sent {"connection_id":57548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:05:09] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:09] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:09] local.INFO: IMEI packet received {"connection_id":56640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":56640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:05:10] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:10] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:10] local.INFO: IMEI packet received {"connection_id":56640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":56640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:05:13] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:13] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:05:13] local.INFO: IMEI packet received {"connection_id":56640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":56640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:05:14] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41489a8012d19c540072024e0002900b023..."} 
[2026-04-28 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41489a8012d19c540072024e0002900b023..."} 
[2026-04-28 18:05:14] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41489a8012d19c540072024e0002900b023..."} 
[2026-04-28 18:05:14] local.INFO: Packet analysis {"connection_id":56640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:14] local.INFO: Extracted packet for processing {"connection_id":56640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119547104,"longitude_deg":75.6663616,"latitude_deg":11.9547104,"altitude":41,"angle":176,"satellites":35,"speed":10,"hex_longitude":"2d19c540","hex_latitude":"072024e0","is_valid_coordinates":true} 
[2026-04-28 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009177856001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688461695975424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855412708337618944,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] 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-04-28 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379609000,"timestamp_ms":1777379609000,"timestamp_seconds":1777379609,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41489a8"} 
[2026-04-28 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3558083752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":212,"raw_value":1440316256973076480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2372403246,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147950736,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2350544754707586594,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4323681499204341331,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,1,71,45,86,41,35,10,66,40,121,64,240,104,227,212,32,4,113,205,33,173,168,34,239,54,2,155,7,46,56,164,191],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 18:05:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026596112700997632,"timestamp_seconds":3026596112700997.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009177856001,"66":12678,"106":206,"83":41984,"24":10,"16":115688461695975424,"45":1855412708337618944},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009177856001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:05:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688461695975424,"km_value":115688461695975.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855412708337618944,"description":"Unknown IO ID 45"} 
[2026-04-28 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009177856001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1855412708337618944}} 
[2026-04-28 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":56640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:05:14] local.INFO: GPS data processed {"connection_id":56640,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:05:14] local.INFO: Acknowledgment sent {"connection_id":56640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:05:19] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd414b4a0012d19c60007202270002700d423..."} 
[2026-04-28 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd414b4a0012d19c60007202270002700d423..."} 
[2026-04-28 18:05:19] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd414b4a0012d19c60007202270002700d423..."} 
[2026-04-28 18:05:19] local.INFO: Packet analysis {"connection_id":56640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:19] local.INFO: Extracted packet for processing {"connection_id":56640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546480,"longitude_deg":75.6663808,"latitude_deg":11.954648,"altitude":39,"angle":212,"satellites":35,"speed":1,"hex_longitude":"2d19c600","hex_latitude":"07202270","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179904001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688496055713792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820708433920,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777379620000,"timestamp_ms":1777379620000,"timestamp_seconds":1777379620,"priority":1,"record_length":96,"hex_timestamp":"0000019dd414b4a0"} 
[2026-04-28 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:05: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-04-28 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 18:05:19] 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-04-28 18: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-04-28 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179904001,"66":12819,"106":206,"83":41984,"24":1,"16":115688496055713792,"45":1856960820708433920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179904001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688496055713792,"km_value":115688496055713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820708433920,"description":"Unknown IO ID 45"} 
[2026-04-28 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179904001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1856960820708433920}} 
[2026-04-28 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":56640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:05:19] local.INFO: GPS data processed {"connection_id":56640,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:05:19] local.INFO: Acknowledgment sent {"connection_id":56640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:05:30] local.INFO: TCP Data received {"connection_id":57548,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:30] local.INFO: Processing buffer {"connection_id":57548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:30] local.INFO: Packet analysis {"connection_id":57548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:30] local.INFO: Extracted packet for processing {"connection_id":57548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:05: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-04-28 18:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:05:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":57548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:05:30] local.INFO: GPS data processed {"connection_id":57548,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:05:30] local.INFO: Acknowledgment sent {"connection_id":57548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:05:50] local.INFO: TCP Data received {"connection_id":56640,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4150a90012d19c5c007202230002700d020..."} 
[2026-04-28 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4150a90012d19c5c007202230002700d020..."} 
[2026-04-28 18:05:50] local.INFO: Processing buffer {"connection_id":56640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4150a90012d19c5c007202230002700d020..."} 
[2026-04-28 18:05:50] local.INFO: Packet analysis {"connection_id":56640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:05:50] local.INFO: Extracted packet for processing {"connection_id":56640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":32,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009182720001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940807168,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] 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-04-28 18:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777379642000,"timestamp_ms":1777379642000,"timestamp_seconds":1777379642,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4150a90"} 
[2026-04-28 18:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3558085752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505364872101888,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":212,"raw_value":1445813815111953792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5908948568038755923,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2346560124585297442,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195295232,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752206326603924,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,2,137,45,64,36,41,35,10,66,192,53,42,33,1,71,240,93,227,212,32,4,113,205,173,224,34,239,54,155,7,46,164,211,69,168],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-28 18:05:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810479414268198912,"timestamp_seconds":2810479414268199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009182720001,"66":12798,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857171926940807168},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009182720001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:05:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940807168,"description":"Unknown IO ID 45"} 
[2026-04-28 18:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009182720001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857171926940807168}} 
[2026-04-28 18:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":56640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:05:50] local.INFO: GPS data processed {"connection_id":56640,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:05:50] local.INFO: Acknowledgment sent {"connection_id":56640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:05:53] local.INFO: TCP Data received {"connection_id":56833,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:53] local.INFO: Processing buffer {"connection_id":56833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:53] local.INFO: IMEI packet received {"connection_id":56833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":56833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:05:58] local.INFO: TCP Data received {"connection_id":56833,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:58] local.INFO: Processing buffer {"connection_id":56833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:05:58] local.INFO: IMEI packet received {"connection_id":56833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":56833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:05:59] local.INFO: TCP Data received {"connection_id":56833,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:59] local.INFO: Processing buffer {"connection_id":56833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:05:59] local.INFO: Packet analysis {"connection_id":56833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:59] local.INFO: Extracted packet for processing {"connection_id":56833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:05: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-04-28 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:05:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":56833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:05:59] local.INFO: GPS data processed {"connection_id":56833,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:05:59] local.INFO: Acknowledgment sent {"connection_id":56833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:06:11] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:11] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:11] local.INFO: IMEI packet received {"connection_id":57550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":57550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:06:12] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:12] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:12] local.INFO: IMEI packet received {"connection_id":57550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":57550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:06:13] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:13] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:06:13] local.INFO: IMEI packet received {"connection_id":57550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":57550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:06:14] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4156080012d19c5c007202230002700d025..."} 
[2026-04-28 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4156080012d19c5c007202230002700d025..."} 
[2026-04-28 18:06:14] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4156080012d19c5c007202230002700d025..."} 
[2026-04-28 18:06:14] local.INFO: Packet analysis {"connection_id":57550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:06:14] local.INFO: Extracted packet for processing {"connection_id":57550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":37,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009188352001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196613120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:14] 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-04-28 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379664000,"timestamp_ms":1777379664000,"timestamp_seconds":1777379664,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4156080"} 
[2026-04-28 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-28 18:06:14] 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-04-28 18:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009188352001,"66":12689,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857101558196613120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009188352001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:06:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196613120,"description":"Unknown IO ID 45"} 
[2026-04-28 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009188352001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196613120}} 
[2026-04-28 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":57550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:06:14] local.INFO: GPS data processed {"connection_id":57550,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:06:14] local.INFO: Acknowledgment sent {"connection_id":57550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:06:19] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd415b670012d19c5c007202230002700d023..."} 
[2026-04-28 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd415b670012d19c5c007202230002700d023..."} 
[2026-04-28 18:06:19] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd415b670012d19c5c007202230002700d023..."} 
[2026-04-28 18:06:19] local.INFO: Packet analysis {"connection_id":57550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:06:19] local.INFO: Extracted packet for processing {"connection_id":57550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd415"} 
[2026-04-28 18:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":35,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009193984001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196613120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777379686000,"timestamp_ms":1777379686000,"timestamp_seconds":1777379686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd415b670"} 
[2026-04-28 18:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:06: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-04-28 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-28 18:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009193984001,"66":12645,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857101558196613120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009193984001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:06:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196613120,"description":"Unknown IO ID 45"} 
[2026-04-28 18:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009193984001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196613120}} 
[2026-04-28 18:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":57550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:06:19] local.INFO: GPS data processed {"connection_id":57550,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:06:19] local.INFO: Acknowledgment sent {"connection_id":57550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:06:30] local.INFO: TCP Data received {"connection_id":56833,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:30] local.INFO: Processing buffer {"connection_id":56833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:30] local.INFO: Packet analysis {"connection_id":56833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:06:30] local.INFO: Extracted packet for processing {"connection_id":56833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:06: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-04-28 18:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:06:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":56833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:06:30] local.INFO: GPS data processed {"connection_id":56833,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:06:30] local.INFO: Acknowledgment sent {"connection_id":56833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:06:50] local.INFO: TCP Data received {"connection_id":57550,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4160c60012d19c5c007202230002700d026..."} 
[2026-04-28 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4160c60012d19c5c007202230002700d026..."} 
[2026-04-28 18:06:50] local.INFO: Processing buffer {"connection_id":57550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4160c60012d19c5c007202230002700d026..."} 
[2026-04-28 18:06:50] local.INFO: Packet analysis {"connection_id":57550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:06:50] local.INFO: Extracted packet for processing {"connection_id":57550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":38,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009199616001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196613120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:50] 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-04-28 18:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777379708000,"timestamp_ms":1777379708000,"timestamp_seconds":1777379708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4160c60"} 
[2026-04-28 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-04-28 18:06: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-04-28 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 18:06:50] 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-04-28 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-04-28 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-04-28 18:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009199616001,"66":12678,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857101558196613120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009199616001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:06:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196613120,"description":"Unknown IO ID 45"} 
[2026-04-28 18:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009199616001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196613120}} 
[2026-04-28 18:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":57550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:06:51] local.INFO: GPS data processed {"connection_id":57550,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:06:51] local.INFO: Acknowledgment sent {"connection_id":57550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:06:53] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:53] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:53] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:06:58] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:58] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:06:58] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:06:59] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:59] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:06:59] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:06:59] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:06: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-04-28 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:06:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:06:59] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:06:59] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:08] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:08] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:08] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:07:10] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:10] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:10] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:07:12] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:12] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:07:12] local.INFO: IMEI packet received {"connection_id":56641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":56641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:07:13] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4165a80012d19c5c007202230002700d026..."} 
[2026-04-28 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4165a80012d19c5c007202230002700d026..."} 
[2026-04-28 18:07:13] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4165a80012d19c5c007202230002700d026..."} 
[2026-04-28 18:07:13] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:07:13] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":38,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009205248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196613120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777379728000,"timestamp_ms":1777379728000,"timestamp_seconds":1777379728,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4165a80"} 
[2026-04-28 18:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:07: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-04-28 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 18:07:13] 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-04-28 18:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009205248001,"66":12613,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857101558196613120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009205248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196613120,"description":"Unknown IO ID 45"} 
[2026-04-28 18:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009205248001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196613120}} 
[2026-04-28 18:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:07:13] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:07:13] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:14] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd416ac88012d19c5c007202230002700d023..."} 
[2026-04-28 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd416ac88012d19c5c007202230002700d023..."} 
[2026-04-28 18:07:14] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd416ac88012d19c5c007202230002700d023..."} 
[2026-04-28 18:07:14] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:07:14] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd416"} 
[2026-04-28 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546416,"longitude_deg":75.6663744,"latitude_deg":11.9546416,"altitude":39,"angle":208,"satellites":35,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-04-28 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009210368001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115688500350681088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196613120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:14] 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-04-28 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777379749000,"timestamp_ms":1777379749000,"timestamp_seconds":1777379749,"priority":1,"record_length":96,"hex_timestamp":"0000019dd416ac88"} 
[2026-04-28 18:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:07: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-04-28 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:07:14] 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-04-28 18:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009210368001,"66":12558,"106":206,"83":41984,"24":0,"16":115688500350681088,"45":1857101558196613120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009210368001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:07:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115688500350681088,"km_value":115688500350681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196613120,"description":"Unknown IO ID 45"} 
[2026-04-28 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009210368001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196613120}} 
[2026-04-28 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:07:14] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:07:14] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:30] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:30] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:30] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:07:30] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:07: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-04-28 18:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:07:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:07:30] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:07:30] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:52] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:52] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:52] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:07:58] local.INFO: TCP Data received {"connection_id":56641,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd417f890012d19ca00071ff2d8002c00e621..."} 
[2026-04-28 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd417f890012d19ca00071ff2d8002c00e621..."} 
[2026-04-28 18:07:58] local.INFO: Processing buffer {"connection_id":56641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd417f890012d19ca00071ff2d8002c00e621..."} 
[2026-04-28 18:07:58] local.INFO: Packet analysis {"connection_id":56641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd417"} 
[2026-04-28 18:07:58] local.INFO: Extracted packet for processing {"connection_id":56641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd417"} 
[2026-04-28 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534296,"longitude_deg":75.6664832,"latitude_deg":11.9534296,"altitude":44,"angle":230,"satellites":33,"speed":16,"hex_longitude":"2d19ca00","hex_latitude":"071ff2d8","is_valid_coordinates":true} 
[2026-04-28 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009236736001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115689346459238400,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514286587904,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:58] 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-04-28 18:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777379834000,"timestamp_ms":1777379834000,"timestamp_seconds":1777379834,"priority":1,"record_length":96,"hex_timestamp":"0000019dd417f890"} 
[2026-04-28 18:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 18:07: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-04-28 18: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-04-28 18:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009236736001,"66":14211,"106":206,"83":41984,"24":16,"16":115689346459238400,"45":1859001514286587904},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009236736001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:07:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115689346459238400,"km_value":115689346459238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514286587904,"description":"Unknown IO ID 45"} 
[2026-04-28 18:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009236736001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859001514286587904}} 
[2026-04-28 18:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":56641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:07:58] local.INFO: GPS data processed {"connection_id":56641,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:07:58] local.INFO: Acknowledgment sent {"connection_id":56641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:58] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:58] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:07:58] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:07:59] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:59] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:07:59] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:07:59] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:07:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:07:59] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:07:59] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:07:59] local.INFO: TCP Data received {"connection_id":56834,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:07:59] local.INFO: Processing buffer {"connection_id":56834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:07:59] local.INFO: IMEI packet received {"connection_id":56834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":56834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:08:08] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:08] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:08] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:08:10] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:10] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:10] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:08:12] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:12] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:08:12] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:08:13] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd417fc78012d19c880071ff1e8002d00f621..."} 
[2026-04-28 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd417fc78012d19c880071ff1e8002d00f621..."} 
[2026-04-28 18:08:13] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd417fc78012d19c880071ff1e8002d00f621..."} 
[2026-04-28 18:08:13] local.INFO: Packet analysis {"connection_id":56878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd417"} 
[2026-04-28 18:08:13] local.INFO: Extracted packet for processing {"connection_id":56878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd417"} 
[2026-04-28 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534056,"longitude_deg":75.6664448,"latitude_deg":11.9534056,"altitude":45,"angle":246,"satellites":33,"speed":18,"hex_longitude":"2d19c880","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-04-28 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009237504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115689367934074880,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844530688,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777379835000,"timestamp_ms":1777379835000,"timestamp_seconds":1777379835,"priority":1,"record_length":96,"hex_timestamp":"0000019dd417fc78"} 
[2026-04-28 18:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:08: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-04-28 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 18:08:13] 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-04-28 18:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009237504001,"66":14211,"106":206,"83":41984,"24":18,"16":115689367934074880,"45":1858297826844530688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009237504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:08:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115689367934074880,"km_value":115689367934074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844530688,"description":"Unknown IO ID 45"} 
[2026-04-28 18:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009237504001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858297826844530688}} 
[2026-04-28 18:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":56878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:08:13] local.INFO: GPS data processed {"connection_id":56878,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:08:13] local.INFO: Acknowledgment sent {"connection_id":56878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:08:30] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:08:30] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:08:30] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:08:30] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:08: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-04-28 18:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:08:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:08:30] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:08:30] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:08:34] local.INFO: TCP Data received {"connection_id":57552,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:08:34] local.INFO: Processing buffer {"connection_id":57552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:08:34] local.INFO: IMEI packet received {"connection_id":57552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":57552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:08:44] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4180060012d19c700071ff180002d010320..."} 
[2026-04-28 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4180060012d19c700071ff180002d010320..."} 
[2026-04-28 18:08:44] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4180060012d19c700071ff180002d010320..."} 
[2026-04-28 18:08:44] local.INFO: Packet analysis {"connection_id":56878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd418"} 
[2026-04-28 18:08:44] local.INFO: Extracted packet for processing {"connection_id":56878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd418"} 
[2026-04-28 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119533952,"longitude_deg":75.6664064,"latitude_deg":11.9533952,"altitude":45,"angle":259,"satellites":32,"speed":19,"hex_longitude":"2d19c700","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009237760001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115689389408911360,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379403264,"note":"Value kept but may cause issues"} 
[2026-04-28 18:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777379836000,"timestamp_ms":1777379836000,"timestamp_seconds":1777379836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4180060"} 
[2026-04-28 18:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:08: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-04-28 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 18:08:44] 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-04-28 18: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-04-28 18:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009237760001,"66":14233,"106":206,"83":41984,"24":19,"16":115689389408911360,"45":1857875614379403264},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009237760001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:08:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115689389408911360,"km_value":115689389408911.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379403264,"description":"Unknown IO ID 45"} 
[2026-04-28 18:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009237760001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1857875614379403264}} 
[2026-04-28 18:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":56878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:08:44] local.INFO: GPS data processed {"connection_id":56878,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:08:44] local.INFO: Acknowledgment sent {"connection_id":56878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:08:58] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:08:58] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:08:58] local.INFO: IMEI packet received {"connection_id":56642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":56642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:09:02] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:02] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:02] local.INFO: IMEI packet received {"connection_id":56642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":56642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:09:03] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:09:03] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4149560012d7fad8005afe560000100af28..."} 
[2026-04-28 18:09:03] local.INFO: Packet analysis {"connection_id":56642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:09:03] local.INFO: Extracted packet for processing {"connection_id":56642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd414"} 
[2026-04-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95413600,"longitude_deg":76.3342208,"latitude_deg":9.54136,"altitude":1,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-28 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009179392001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777379612000,"timestamp_ms":1777379612000,"timestamp_seconds":1777379612,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4149560"} 
[2026-04-28 18:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009179392001,"66":27843,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009179392001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009179392001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":56642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:03] local.INFO: GPS data processed {"connection_id":56642,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:03] local.INFO: Acknowledgment sent {"connection_id":56642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:09:08] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:08] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:08] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:09:18] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:09:18] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:09:18] local.INFO: IMEI packet received {"connection_id":56643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":56643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:09:19] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd418c3b0012d196a00071fec480037010320..."} 
[2026-04-28 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd418c3b0012d196a00071fec480037010320..."} 
[2026-04-28 18:09:19] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd418c3b0012d196a00071fec480037010320..."} 
[2026-04-28 18:09:19] local.INFO: Packet analysis {"connection_id":56643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd418"} 
[2026-04-28 18:09:19] local.INFO: Extracted packet for processing {"connection_id":56643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd418"} 
[2026-04-28 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532616,"longitude_deg":75.6640256,"latitude_deg":11.9532616,"altitude":55,"angle":259,"satellites":32,"speed":8,"hex_longitude":"2d196a00","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009250048001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690544755113984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022754174976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777379886000,"timestamp_ms":1777379886000,"timestamp_seconds":1777379886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd418c3b0"} 
[2026-04-28 18:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009250048001,"66":14374,"106":206,"83":41984,"24":8,"16":115690544755113984,"45":1832191022754174976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009250048001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690544755113984,"km_value":115690544755113.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022754174976,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009250048001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1832191022754174976}} 
[2026-04-28 18:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":56643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:20] local.INFO: GPS data processed {"connection_id":56643,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:20] local.INFO: Acknowledgment sent {"connection_id":56643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:09:20] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41915b8012d1967c0071fed10003800ff23..."} 
[2026-04-28 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41915b8012d1967c0071fed10003800ff23..."} 
[2026-04-28 18:09:20] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41915b8012d1967c0071fed10003800ff23..."} 
[2026-04-28 18:09:20] local.INFO: Packet analysis {"connection_id":56643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:20] local.INFO: Extracted packet for processing {"connection_id":56643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532816,"longitude_deg":75.663968,"latitude_deg":11.9532816,"altitude":56,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-04-28 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009250816001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690613474590720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079877632,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777379907000,"timestamp_ms":1777379907000,"timestamp_seconds":1777379907,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41915b8"} 
[2026-04-28 18:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09: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-04-28 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:20] 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-04-28 18:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009250816001,"66":13993,"106":206,"83":41984,"24":0,"16":115690613474590720,"45":1831276229079877632},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009250816001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690613474590720,"km_value":115690613474590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079877632,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009250816001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079877632}} 
[2026-04-28 18:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":56643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:20] local.INFO: GPS data processed {"connection_id":56643,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:20] local.INFO: Acknowledgment sent {"connection_id":56643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:09:34] local.INFO: TCP Data received {"connection_id":56642,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:34] local.INFO: Processing buffer {"connection_id":56642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:34] local.INFO: Packet analysis {"connection_id":56642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:34] local.INFO: Extracted packet for processing {"connection_id":56642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412224,"longitude_deg":76.3340992,"latitude_deg":9.5412224,"altitude":1,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-04-28 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009180672001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777379911000,"timestamp_ms":1777379911000,"timestamp_seconds":1777379911,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4192558"} 
[2026-04-28 18:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009180672001,"66":25756,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009180672001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009180672001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":56642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:34] local.INFO: GPS data processed {"connection_id":56642,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:34] local.INFO: Acknowledgment sent {"connection_id":56642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:09:51] local.INFO: TCP Data received {"connection_id":56643,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd419e8a8012d19c880071ff1c80035004924..."} 
[2026-04-28 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd419e8a8012d19c880071ff1c80035004924..."} 
[2026-04-28 18:09:51] local.INFO: Processing buffer {"connection_id":56643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd419e8a8012d19c880071ff1c80035004924..."} 
[2026-04-28 18:09:51] local.INFO: Packet analysis {"connection_id":56643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:51] local.INFO: Extracted packet for processing {"connection_id":56643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534024,"longitude_deg":75.6664448,"latitude_deg":11.9534024,"altitude":53,"angle":73,"satellites":36,"speed":25,"hex_longitude":"2d19c880","hex_latitude":"071ff1c8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115691816065433600,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851401689914873856,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777379961000,"timestamp_ms":1777379961000,"timestamp_seconds":1777379961,"priority":1,"record_length":96,"hex_timestamp":"0000019dd419e8a8"} 
[2026-04-28 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09: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-04-28 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009268224001,"66":13961,"106":206,"83":41984,"24":25,"16":115691816065433600,"45":1851401689914873856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115691816065433600,"km_value":115691816065433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851401689914873856,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009268224001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1851401689914873856}} 
[2026-04-28 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":56643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:51] local.INFO: GPS data processed {"connection_id":56643,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:51] local.INFO: Acknowledgment sent {"connection_id":56643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:09:53] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:53] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:53] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:09:58] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:58] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:09:58] local.INFO: IMEI packet received {"connection_id":56644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":56644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:09:59] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:59] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:09:59] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:59] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412224,"longitude_deg":76.3340992,"latitude_deg":9.5412224,"altitude":1,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-04-28 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009180672001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379911000,"timestamp_ms":1777379911000,"timestamp_seconds":1777379911,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4192558"} 
[2026-04-28 18:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009180672001,"66":25756,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009180672001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:09:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009180672001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:09:59] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:09:59] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:10:11] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:11] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:11] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:10:12] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:12] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:12] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:10:13] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:13] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:13] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:10:18] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:18] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:10:18] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:10:19] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd419f078012d19cbc0071ff3f80034002926..."} 
[2026-04-28 18:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd419f078012d19cbc0071ff3f80034002926..."} 
[2026-04-28 18:10:19] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd419f078012d19cbc0071ff3f80034002926..."} 
[2026-04-28 18:10:19] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:19] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119534584,"longitude_deg":75.666528,"latitude_deg":11.9534584,"altitude":52,"angle":41,"satellites":38,"speed":17,"hex_longitude":"2d19cbc0","hex_latitude":"071ff3f8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009270016001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115691863310073856,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379395072,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777379963000,"timestamp_ms":1777379963000,"timestamp_seconds":1777379963,"priority":1,"record_length":96,"hex_timestamp":"0000019dd419f078"} 
[2026-04-28 18:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:10: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-04-28 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 18:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009270016001,"66":13820,"106":206,"83":41984,"24":17,"16":115691863310073856,"45":1857875614379395072},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009270016001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:10:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115691863310073856,"km_value":115691863310073.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379395072,"description":"Unknown IO ID 45"} 
[2026-04-28 18:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009270016001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1857875614379395072}} 
[2026-04-28 18:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:10:19] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:10:19] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:10:23] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd419f460012d19cc40071ff5980034001224..."} 
[2026-04-28 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd419f460012d19cc40071ff5980034001224..."} 
[2026-04-28 18:10:23] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd419f460012d19cc40071ff5980034001224..."} 
[2026-04-28 18:10:23] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:23] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535000,"longitude_deg":75.6665408,"latitude_deg":11.9535,"altitude":52,"angle":18,"satellites":36,"speed":17,"hex_longitude":"2d19cc40","hex_latitude":"071ff598","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009270528001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115691884784910336,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408053848064,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777379964000,"timestamp_ms":1777379964000,"timestamp_seconds":1777379964,"priority":1,"record_length":96,"hex_timestamp":"0000019dd419f460"} 
[2026-04-28 18:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:10: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-04-28 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 18:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009270528001,"66":13863,"106":206,"83":41984,"24":17,"16":115691884784910336,"45":1858790408053848064},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009270528001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:10:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115691884784910336,"km_value":115691884784910.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408053848064,"description":"Unknown IO ID 45"} 
[2026-04-28 18:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009270528001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858790408053848064}} 
[2026-04-28 18:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:10:23] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:10:23] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:10:30] local.INFO: TCP Data received {"connection_id":56644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:30] local.INFO: Processing buffer {"connection_id":56644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:30] local.INFO: Packet analysis {"connection_id":56644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:30] local.INFO: Extracted packet for processing {"connection_id":56644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412224,"longitude_deg":76.3340992,"latitude_deg":9.5412224,"altitude":1,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-04-28 18:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009180672001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777379911000,"timestamp_ms":1777379911000,"timestamp_seconds":1777379911,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4192558"} 
[2026-04-28 18:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009180672001,"66":25756,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009180672001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:10:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009180672001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":56644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:10:30] local.INFO: GPS data processed {"connection_id":56644,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:10:30] local.INFO: Acknowledgment sent {"connection_id":56644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:10:53] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:53] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:53] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:10:58] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:58] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:10:58] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:10:59] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:59] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4192558012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:10:59] local.INFO: Packet analysis {"connection_id":56879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:59] local.INFO: Extracted packet for processing {"connection_id":56879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd419"} 
[2026-04-28 18:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412224,"longitude_deg":76.3340992,"latitude_deg":9.5412224,"altitude":1,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009180672001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375702028288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777379911000,"timestamp_ms":1777379911000,"timestamp_seconds":1777379911,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4192558"} 
[2026-04-28 18:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009180672001,"66":25756,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9200150375702028288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009180672001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:10:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375702028288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009180672001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375702028288}} 
[2026-04-28 18:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":56879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:10:59] local.INFO: GPS data processed {"connection_id":56879,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:10:59] local.INFO: Acknowledgment sent {"connection_id":56879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:11:08] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:08] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:08] local.INFO: IMEI packet received {"connection_id":57555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":57555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:11:10] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:10] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:10] local.INFO: IMEI packet received {"connection_id":57555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":57555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:11:13] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:13] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:11:13] local.INFO: IMEI packet received {"connection_id":57555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":57555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:11:14] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41ac750012d19c44007202a880030015b20..."} 
[2026-04-28 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41ac750012d19c44007202a880030015b20..."} 
[2026-04-28 18:11:14] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41ac750012d19c44007202a880030015b20..."} 
[2026-04-28 18:11:14] local.INFO: Packet analysis {"connection_id":57555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41a"} 
[2026-04-28 18:11:14] local.INFO: Extracted packet for processing {"connection_id":57555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41a"} 
[2026-04-28 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119548552,"longitude_deg":75.666336,"latitude_deg":11.9548552,"altitude":48,"angle":347,"satellites":32,"speed":26,"hex_longitude":"2d19c440","hex_latitude":"07202a88","is_valid_coordinates":true} 
[2026-04-28 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009281792001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115692782433075200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195591438336,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:14] 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-04-28 18:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380018000,"timestamp_ms":1777380018000,"timestamp_seconds":1777380018,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41ac750"} 
[2026-04-28 18:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:11: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-04-28 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-28 18:11:14] 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-04-28 18:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009281792001,"66":14374,"106":206,"83":41984,"24":26,"16":115692782433075200,"45":1858368195591438336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009281792001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:11:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115692782433075200,"km_value":115692782433075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195591438336,"description":"Unknown IO ID 45"} 
[2026-04-28 18:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009281792001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1858368195591438336}} 
[2026-04-28 18:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":57555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:11:14] local.INFO: GPS data processed {"connection_id":57555,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:11:14] local.INFO: Acknowledgment sent {"connection_id":57555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:11:15] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41af248012d19bc4007204ed8002c016224..."} 
[2026-04-28 18:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41af248012d19bc4007204ed8002c016224..."} 
[2026-04-28 18:11:15] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41af248012d19bc4007204ed8002c016224..."} 
[2026-04-28 18:11:15] local.INFO: Packet analysis {"connection_id":57555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41a"} 
[2026-04-28 18:11:15] local.INFO: Extracted packet for processing {"connection_id":57555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41a"} 
[2026-04-28 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119557848,"longitude_deg":75.6661312,"latitude_deg":11.9557848,"altitude":44,"angle":354,"satellites":36,"speed":39,"hex_longitude":"2d19bc40","hex_latitude":"07204ed8","is_valid_coordinates":true} 
[2026-04-28 18:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009284608001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115693250584510464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345732093952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777380029000,"timestamp_ms":1777380029000,"timestamp_seconds":1777380029,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41af248"} 
[2026-04-28 18:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 18:11:15] 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-04-28 18:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009284608001,"66":13820,"106":206,"83":41984,"24":39,"16":115693250584510464,"45":1856679345732093952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009284608001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115693250584510464,"km_value":115693250584510.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345732093952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009284608001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1856679345732093952}} 
[2026-04-28 18:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":57555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:11:15] local.INFO: GPS data processed {"connection_id":57555,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:11:15] local.INFO: Acknowledgment sent {"connection_id":57555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:11:29] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41b4068012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41b4068012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:11:29] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41b4068012d7fa8c005afe000000100af2b..."} 
[2026-04-28 18:11:29] local.INFO: Packet analysis {"connection_id":56879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:11:29] local.INFO: Extracted packet for processing {"connection_id":56879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412224,"longitude_deg":76.3340992,"latitude_deg":9.5412224,"altitude":1,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe000","is_valid_coordinates":true} 
[2026-04-28 18:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009257216001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562300416,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777380049000,"timestamp_ms":1777380049000,"timestamp_seconds":1777380049,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41b4068"} 
[2026-04-28 18:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 18:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009257216001,"66":25702,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9198813369562300416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009257216001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:11:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562300416,"description":"Unknown IO ID 45"} 
[2026-04-28 18:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009257216001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562300416}} 
[2026-04-28 18:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":56879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:11:29] local.INFO: GPS data processed {"connection_id":56879,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:11:29] local.INFO: Acknowledgment sent {"connection_id":56879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:11:53] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:53] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:53] local.INFO: IMEI packet received {"connection_id":56837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":56837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:11:58] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:58] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:11:58] local.INFO: IMEI packet received {"connection_id":56837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":56837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:11:59] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41b4838012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41b4838012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:11:59] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41b4838012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:11:59] local.INFO: Packet analysis {"connection_id":56837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:11:59] local.INFO: Extracted packet for processing {"connection_id":56837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95411360,"longitude_deg":76.3341056,"latitude_deg":9.541136,"altitude":1,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afdca0","is_valid_coordinates":true} 
[2026-04-28 18:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009292544001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562300416,"note":"Value kept but may cause issues"} 
[2026-04-28 18:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380051000,"timestamp_ms":1777380051000,"timestamp_seconds":1777380051,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41b4838"} 
[2026-04-28 18:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 18:11: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-04-28 18:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009292544001,"66":25615,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9198813369562300416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009292544001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:11:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562300416,"description":"Unknown IO ID 45"} 
[2026-04-28 18:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009292544001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562300416}} 
[2026-04-28 18:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":56837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:11:59] local.INFO: GPS data processed {"connection_id":56837,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:11:59] local.INFO: Acknowledgment sent {"connection_id":56837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:12:12] local.INFO: TCP Data received {"connection_id":57555,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41b09b8012d19b8c007206598002b015425..."} 
[2026-04-28 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41b09b8012d19b8c007206598002b015425..."} 
[2026-04-28 18:12:12] local.INFO: Processing buffer {"connection_id":57555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41b09b8012d19b8c007206598002b015425..."} 
[2026-04-28 18:12:12] local.INFO: Packet analysis {"connection_id":57555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:12] local.INFO: Extracted packet for processing {"connection_id":57555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119563672,"longitude_deg":75.6660416,"latitude_deg":11.9563672,"altitude":43,"angle":340,"satellites":37,"speed":40,"hex_longitude":"2d19b8c0","hex_latitude":"07206598","is_valid_coordinates":true} 
[2026-04-28 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009287424001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115693538347319296,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545920788480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777380035000,"timestamp_ms":1777380035000,"timestamp_seconds":1777380035,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41b09b8"} 
[2026-04-28 18:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 18:12:12] 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-04-28 18:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":57555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":57555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009287424001,"66":13961,"106":206,"83":41984,"24":40,"16":115693538347319296,"45":1854427545920788480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009287424001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115693538347319296,"km_value":115693538347319.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545920788480,"description":"Unknown IO ID 45"} 
[2026-04-28 18:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009287424001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1854427545920788480}} 
[2026-04-28 18:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":57555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:12:13] local.INFO: GPS data processed {"connection_id":57555,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:12:13] local.INFO: Acknowledgment sent {"connection_id":57555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:12:15] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:15] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:15] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:12:18] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:18] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:18] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:12:19] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:19] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:12:19] local.INFO: IMEI packet received {"connection_id":56646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":56646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:12:20] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41bb1b0012d19b7c00720a9680032013424..."} 
[2026-04-28 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41bb1b0012d19b7c00720a9680032013424..."} 
[2026-04-28 18:12:20] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41bb1b0012d19b7c00720a9680032013424..."} 
[2026-04-28 18:12:20] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:20] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581032,"longitude_deg":75.666016,"latitude_deg":11.9581032,"altitude":50,"angle":308,"satellites":36,"speed":12,"hex_longitude":"2d19b7c0","hex_latitude":"0720a968","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009299712001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115694470355222528,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508185088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777380078000,"timestamp_ms":1777380078000,"timestamp_seconds":1777380078,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41bb1b0"} 
[2026-04-28 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-04-28 18:12: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-04-28 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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 18:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009299712001,"66":14298,"106":206,"83":41984,"24":12,"16":115694470355222528,"45":1853442383508185088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009299712001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115694470355222528,"km_value":115694470355222.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508185088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009299712001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1853442383508185088}} 
[2026-04-28 18:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:12:20] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:12:20] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:12:30] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41b9a40012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41b9a40012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:12:30] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41b9a40012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:12:30] local.INFO: Packet analysis {"connection_id":56837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:30] local.INFO: Extracted packet for processing {"connection_id":56837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95411360,"longitude_deg":76.3341056,"latitude_deg":9.541136,"altitude":1,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afdca0","is_valid_coordinates":true} 
[2026-04-28 18:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009293056001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306256896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380072000,"timestamp_ms":1777380072000,"timestamp_seconds":1777380072,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41b9a40"} 
[2026-04-28 18:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 18:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:12:30] 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-04-28 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009293056001,"66":25430,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9198883738306256896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009293056001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:12:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306256896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009293056001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306256896}} 
[2026-04-28 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":56837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:12:30] local.INFO: GPS data processed {"connection_id":56837,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:12:30] local.INFO: Acknowledgment sent {"connection_id":56837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:12:51] local.INFO: TCP Data received {"connection_id":56646,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41bb980012d19b5000720aac80032012624..."} 
[2026-04-28 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41bb980012d19b5000720aac80032012624..."} 
[2026-04-28 18:12:51] local.INFO: Processing buffer {"connection_id":56646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41bb980012d19b5000720aac80032012624..."} 
[2026-04-28 18:12:51] local.INFO: Packet analysis {"connection_id":56646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:51] local.INFO: Extracted packet for processing {"connection_id":56646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119581384,"longitude_deg":75.6659456,"latitude_deg":11.9581384,"altitude":50,"angle":294,"satellites":36,"speed":16,"hex_longitude":"2d19b500","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009299968001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115694509009928192,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531525632,"note":"Value kept but may cause issues"} 
[2026-04-28 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777380080000,"timestamp_ms":1777380080000,"timestamp_seconds":1777380080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41bb980"} 
[2026-04-28 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-28 18:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009299968001,"66":14374,"106":206,"83":41984,"24":16,"16":115694509009928192,"45":1853160908531525632},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009299968001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:12:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115694509009928192,"km_value":115694509009928.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531525632,"description":"Unknown IO ID 45"} 
[2026-04-28 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009299968001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853160908531525632}} 
[2026-04-28 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":56646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:12:51] local.INFO: GPS data processed {"connection_id":56646,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:12:51] local.INFO: Acknowledgment sent {"connection_id":56646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:12:54] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:54] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:54] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:12:58] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:12:58] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:12:58] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:13:00] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41bec48012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41bec48012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:00] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41bec48012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:00] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:13:00] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41b"} 
[2026-04-28 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95411360,"longitude_deg":76.3341056,"latitude_deg":9.541136,"altitude":1,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afdca0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009298432001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306256896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777380093000,"timestamp_ms":1777380093000,"timestamp_seconds":1777380093,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41bec48"} 
[2026-04-28 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-04-28 18:13: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-04-28 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:00] 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-04-28 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-04-28 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-04-28 18:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13: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-04-28 18:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009298432001,"66":27800,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9198883738306256896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009298432001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306256896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009298432001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306256896}} 
[2026-04-28 18:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:00] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:00] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:04] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41c3e50012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41c3e50012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:04] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41c3e50012d7fa90005afdca0000100a32b..."} 
[2026-04-28 18:13:04] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:04] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95411360,"longitude_deg":76.3341056,"latitude_deg":9.541136,"altitude":1,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d7fa900","hex_latitude":"05afdca0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009303808001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347430597361664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306256896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777380114000,"timestamp_ms":1777380114000,"timestamp_seconds":1777380114,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41c3e50"} 
[2026-04-28 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:04] 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-04-28 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009303808001,"66":27767,"250":206,"85":12544,"24":0,"16":282347430597361664,"45":9198883738306256896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009303808001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347430597361664,"km_value":282347430597361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306256896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009303808001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198883738306256896}} 
[2026-04-28 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:04] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:04] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:08] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:13:08] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:08] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:13:09] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:09] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:09] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:13:13] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:13] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:13:13] local.INFO: IMEI packet received {"connection_id":56838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":56838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:13:14] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41cda90012d18dfc00720f6a8003e013a22..."} 
[2026-04-28 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41cda90012d18dfc00720f6a8003e013a22..."} 
[2026-04-28 18:13:14] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41cda90012d18dfc00720f6a8003e013a22..."} 
[2026-04-28 18:13:14] local.INFO: Packet analysis {"connection_id":56838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:14] local.INFO: Extracted packet for processing {"connection_id":56838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756604864,"raw_latitude":119600808,"longitude_deg":75.6604864,"latitude_deg":11.9600808,"altitude":62,"angle":314,"satellites":34,"speed":33,"hex_longitude":"2d18dfc0","hex_latitude":"0720f6a8","is_valid_coordinates":true} 
[2026-04-28 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009317376001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115697472537362432,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796302963239618560,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:14] 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-04-28 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380154000,"timestamp_ms":1777380154000,"timestamp_seconds":1777380154,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41cda90"} 
[2026-04-28 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:13: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-04-28 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:14] 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-04-28 18:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009317376001,"66":14048,"106":206,"83":41984,"24":33,"16":115697472537362432,"45":1796302963239618560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009317376001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115697472537362432,"km_value":115697472537362.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796302963239618560,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009317376001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1796302963239618560}} 
[2026-04-28 18:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":56838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:15] local.INFO: GPS data processed {"connection_id":56838,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:15] local.INFO: Acknowledgment sent {"connection_id":56838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:15] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41cea30012d18d6c007210068003d014921..."} 
[2026-04-28 18:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41cea30012d18d6c007210068003d014921..."} 
[2026-04-28 18:13:15] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41cea30012d18d6c007210068003d014921..."} 
[2026-04-28 18:13:15] local.INFO: Packet analysis {"connection_id":56838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:15] local.INFO: Extracted packet for processing {"connection_id":56838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603304,"longitude_deg":75.660256,"latitude_deg":11.9603304,"altitude":61,"angle":329,"satellites":33,"speed":33,"hex_longitude":"2d18d6c0","hex_latitude":"07210068","is_valid_coordinates":true} 
[2026-04-28 18:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009319424001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115697635746119680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792362313567086592,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777380158000,"timestamp_ms":1777380158000,"timestamp_seconds":1777380158,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41cea30"} 
[2026-04-28 18:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009319424001,"66":14004,"106":206,"83":41984,"24":33,"16":115697635746119680,"45":1792362313567086592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009319424001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115697635746119680,"km_value":115697635746119.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792362313567086592,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009319424001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1792362313567086592}} 
[2026-04-28 18:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":56838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:15] local.INFO: GPS data processed {"connection_id":56838,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:15] local.INFO: Acknowledgment sent {"connection_id":56838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:35] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41c51d8012d7fa74005afda50000b00af2b..."} 
[2026-04-28 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41c51d8012d7fa74005afda50000b00af2b..."} 
[2026-04-28 18:13:35] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41c51d8012d7fa74005afda50000b00af2b..."} 
[2026-04-28 18:13:35] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:35] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410768,"longitude_deg":76.3340608,"latitude_deg":9.5410768,"altitude":11,"angle":175,"satellites":43,"speed":4,"hex_longitude":"2d7fa740","hex_latitude":"05afda50","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009309184001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347469252067328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738306256896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777380119000,"timestamp_ms":1777380119000,"timestamp_seconds":1777380119,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41c51d8"} 
[2026-04-28 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:35] 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-04-28 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009309184001,"66":27865,"250":206,"85":12544,"24":4,"16":282347469252067328,"45":9198883738306256896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009309184001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347469252067328,"km_value":282347469252067.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738306256896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009309184001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198883738306256896}} 
[2026-04-28 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:35] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:35] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:46] local.INFO: TCP Data received {"connection_id":56838,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41cf200012d18d44007210678003d015521..."} 
[2026-04-28 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41cf200012d18d44007210678003d015521..."} 
[2026-04-28 18:13:46] local.INFO: Processing buffer {"connection_id":56838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41cf200012d18d44007210678003d015521..."} 
[2026-04-28 18:13:46] local.INFO: Packet analysis {"connection_id":56838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:46] local.INFO: Extracted packet for processing {"connection_id":56838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604856,"longitude_deg":75.660192,"latitude_deg":11.9604856,"altitude":61,"angle":341,"satellites":33,"speed":32,"hex_longitude":"2d18d440","hex_latitude":"07210678","is_valid_coordinates":true} 
[2026-04-28 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009320448001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115697713055531008,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777329664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777380160000,"timestamp_ms":1777380160000,"timestamp_seconds":1777380160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41cf200"} 
[2026-04-28 18:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:13: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-04-28 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009320448001,"66":13972,"106":206,"83":41984,"24":32,"16":115697713055531008,"45":1789829038777329664},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009320448001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115697713055531008,"km_value":115697713055531.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777329664,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009320448001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1789829038777329664}} 
[2026-04-28 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":56838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:46] local.INFO: GPS data processed {"connection_id":56838,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:46] local.INFO: Acknowledgment sent {"connection_id":56838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:13:53] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:53] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:53] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:13:54] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:13:54] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:13:54] local.INFO: IMEI packet received {"connection_id":56839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":56839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:13:58] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:58] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:13:58] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:13:59] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41c59a8012d7fa74005afd8e8000b00c12b..."} 
[2026-04-28 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41c59a8012d7fa74005afd8e8000b00c12b..."} 
[2026-04-28 18:13:59] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41c59a8012d7fa74005afd8e8000b00c12b..."} 
[2026-04-28 18:13:59] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:59] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41c"} 
[2026-04-28 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410408,"longitude_deg":76.3340608,"latitude_deg":9.5410408,"altitude":11,"angle":193,"satellites":43,"speed":9,"hex_longitude":"2d7fa740","hex_latitude":"05afd8e8","is_valid_coordinates":true} 
[2026-04-28 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009310464001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347486431936512,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096861696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380121000,"timestamp_ms":1777380121000,"timestamp_seconds":1777380121,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41c59a8"} 
[2026-04-28 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18: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-04-28 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009310464001,"66":27908,"250":206,"85":12544,"24":9,"16":282347486431936512,"45":9198391157096861696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009310464001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:13:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347486431936512,"km_value":282347486431936.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096861696,"description":"Unknown IO ID 45"} 
[2026-04-28 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009310464001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9198391157096861696}} 
[2026-04-28 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:13:59] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:13:59] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:14:08] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:08] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:08] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:14:09] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:09] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:09] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:14:13] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:13] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:14:13] local.INFO: IMEI packet received {"connection_id":56648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":56648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:14:14] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:14] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:14] local.INFO: Packet analysis {"connection_id":56648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:14] local.INFO: Extracted packet for processing {"connection_id":56648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756581056,"raw_latitude":119636392,"longitude_deg":75.6581056,"latitude_deg":11.9636392,"altitude":72,"angle":280,"satellites":35,"speed":39,"hex_longitude":"2d1882c0","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009331200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115699723100225536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502414514176,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:14] 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-04-28 18:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380210000,"timestamp_ms":1777380210000,"timestamp_seconds":1777380210,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41db550"} 
[2026-04-28 18:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18: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-04-28 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 18:14:14] 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-04-28 18: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-04-28 18:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009331200001,"66":13722,"106":206,"83":41984,"24":39,"16":115699723100225536,"45":1776177502414514176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009331200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115699723100225536,"km_value":115699723100225.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502414514176,"description":"Unknown IO ID 45"} 
[2026-04-28 18:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009331200001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1776177502414514176}} 
[2026-04-28 18:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":56648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:14:14] local.INFO: GPS data processed {"connection_id":56648,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:14:14] local.INFO: Acknowledgment sent {"connection_id":56648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:14:30] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41dff88012d7f9e0005afb798000900f52d..."} 
[2026-04-28 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41dff88012d7f9e0005afb798000900f52d..."} 
[2026-04-28 18:14:30] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41dff88012d7f9e0005afb798000900f52d..."} 
[2026-04-28 18:14:30] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:30] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95401880,"longitude_deg":76.333824,"latitude_deg":9.540188,"altitude":9,"angle":245,"satellites":45,"speed":9,"hex_longitude":"2d7f9e00","hex_latitude":"05afb798","is_valid_coordinates":true} 
[2026-04-28 18:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009338368001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347933108535296,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988536748032,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380229000,"timestamp_ms":1777380229000,"timestamp_seconds":1777380229,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41dff88"} 
[2026-04-28 18:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 18:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009338368001,"66":27658,"250":206,"85":12544,"24":9,"16":282347933108535296,"45":9196068988536748032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009338368001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:14:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347933108535296,"km_value":282347933108535.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988536748032,"description":"Unknown IO ID 45"} 
[2026-04-28 18:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009338368001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9196068988536748032}} 
[2026-04-28 18:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:14:30] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:14:30] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:14:34] local.INFO: TCP Data received {"connection_id":57556,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:14:34] local.INFO: Processing buffer {"connection_id":57556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:14:34] local.INFO: IMEI packet received {"connection_id":57556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":57556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:14:45] local.INFO: TCP Data received {"connection_id":56648,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:45] local.INFO: Processing buffer {"connection_id":56648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41db550012d1882c0072181a80048011823..."} 
[2026-04-28 18:14:45] local.INFO: Packet analysis {"connection_id":56648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:45] local.INFO: Extracted packet for processing {"connection_id":56648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756581056,"raw_latitude":119636392,"longitude_deg":75.6581056,"latitude_deg":11.9636392,"altitude":72,"angle":280,"satellites":35,"speed":39,"hex_longitude":"2d1882c0","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009333760001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115699723100225536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766185140742105088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:14:45] 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-04-28 18:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380210000,"timestamp_ms":1777380210000,"timestamp_seconds":1777380210,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41db550"} 
[2026-04-28 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-04-28 18:14: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-04-28 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 18:14:45] 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-04-28 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-04-28 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-04-28 18:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009333760001,"66":13722,"106":206,"83":41984,"24":39,"16":115699723100225536,"45":1766185140742105088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009333760001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:14:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115699723100225536,"km_value":115699723100225.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766185140742105088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009333760001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1766185140742105088}} 
[2026-04-28 18:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":56648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:14:45] local.INFO: GPS data processed {"connection_id":56648,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:14:45] local.INFO: Acknowledgment sent {"connection_id":56648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:14:53] local.INFO: TCP Data received {"connection_id":57557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: Processing buffer {"connection_id":57557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: IMEI packet received {"connection_id":57557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":57557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:14:53] local.INFO: TCP Data received {"connection_id":57557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: Processing buffer {"connection_id":57557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:14:53] local.INFO: IMEI packet received {"connection_id":57557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":57557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:15:00] local.INFO: TCP Data received {"connection_id":57557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:00] local.INFO: Processing buffer {"connection_id":57557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:00] local.INFO: IMEI packet received {"connection_id":57557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":57557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:15:00] local.INFO: TCP Data received {"connection_id":57557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41e0370012d7f9d0005afb760000901072d..."} 
[2026-04-28 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41e0370012d7f9d0005afb760000901072d..."} 
[2026-04-28 18:15:00] local.INFO: Processing buffer {"connection_id":57557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41e0370012d7f9d0005afb760000901072d..."} 
[2026-04-28 18:15:00] local.INFO: Packet analysis {"connection_id":57557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41e"} 
[2026-04-28 18:15:00] local.INFO: Extracted packet for processing {"connection_id":57557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41e"} 
[2026-04-28 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95401824,"longitude_deg":76.3337984,"latitude_deg":9.5401824,"altitude":9,"angle":263,"satellites":45,"speed":11,"hex_longitude":"2d7f9d00","hex_latitude":"05afb760","is_valid_coordinates":true} 
[2026-04-28 18:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009338624001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347945993437184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513560012800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777380230000,"timestamp_ms":1777380230000,"timestamp_seconds":1777380230,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41e0370"} 
[2026-04-28 18:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:15: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-04-28 18:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 18:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009338624001,"66":27626,"250":206,"85":12544,"24":11,"16":282347945993437184,"45":9195787513560012800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009338624001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:15:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347945993437184,"km_value":282347945993437.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513560012800,"description":"Unknown IO ID 45"} 
[2026-04-28 18:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009338624001,"power":27626,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9195787513560012800}} 
[2026-04-28 18:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":57557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:15:00] local.INFO: GPS data processed {"connection_id":57557,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:15:00] local.INFO: Acknowledgment sent {"connection_id":57557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:15:09] local.INFO: TCP Data received {"connection_id":57558,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:09] local.INFO: Processing buffer {"connection_id":57558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:09] local.INFO: IMEI packet received {"connection_id":57558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":57558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:15:13] local.INFO: TCP Data received {"connection_id":57558,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:13] local.INFO: Processing buffer {"connection_id":57558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:15:13] local.INFO: IMEI packet received {"connection_id":57558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":57558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:15:14] local.INFO: TCP Data received {"connection_id":57558,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41dc4f0012d187340072182280048010922..."} 
[2026-04-28 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41dc4f0012d187340072182280048010922..."} 
[2026-04-28 18:15:14] local.INFO: Processing buffer {"connection_id":57558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41dc4f0012d187340072182280048010922..."} 
[2026-04-28 18:15:14] local.INFO: Packet analysis {"connection_id":57558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:15:14] local.INFO: Extracted packet for processing {"connection_id":57558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41d"} 
[2026-04-28 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756577088,"raw_latitude":119636520,"longitude_deg":75.6577088,"latitude_deg":11.963652,"altitude":72,"angle":265,"satellites":34,"speed":39,"hex_longitude":"2d187340","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-04-28 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009333760001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115699912078786560,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766185140742105088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:14] 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-04-28 18:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380214000,"timestamp_ms":1777380214000,"timestamp_seconds":1777380214,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41dc4f0"} 
[2026-04-28 18:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:15: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-04-28 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-28 18:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009333760001,"66":13678,"106":206,"83":41984,"24":39,"16":115699912078786560,"45":1766185140742105088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009333760001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:15:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115699912078786560,"km_value":115699912078786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766185140742105088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009333760001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1766185140742105088}} 
[2026-04-28 18:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":57558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:15:14] local.INFO: GPS data processed {"connection_id":57558,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:15:14] local.INFO: Acknowledgment sent {"connection_id":57558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:15:31] local.INFO: TCP Data received {"connection_id":57557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41e0758012d7f9c0005afb778000901172c..."} 
[2026-04-28 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41e0758012d7f9c0005afb778000901172c..."} 
[2026-04-28 18:15:31] local.INFO: Processing buffer {"connection_id":57557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41e0758012d7f9c0005afb778000901172c..."} 
[2026-04-28 18:15:31] local.INFO: Packet analysis {"connection_id":57557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41e"} 
[2026-04-28 18:15:31] local.INFO: Extracted packet for processing {"connection_id":57557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41e"} 
[2026-04-28 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95401848,"longitude_deg":76.3337728,"latitude_deg":9.5401848,"altitude":9,"angle":279,"satellites":44,"speed":12,"hex_longitude":"2d7f9c00","hex_latitude":"05afb778","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009338880001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282347958878339072,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038583287808,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777380231000,"timestamp_ms":1777380231000,"timestamp_seconds":1777380231,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41e0758"} 
[2026-04-28 18:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009338880001,"66":27626,"250":206,"85":12544,"24":12,"16":282347958878339072,"45":9195506038583287808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-28 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009338880001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:15:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-28 18:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282347958878339072,"km_value":282347958878339.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038583287808,"description":"Unknown IO ID 45"} 
[2026-04-28 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009338880001,"power":27626,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9195506038583287808}} 
[2026-04-28 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":57557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:15:31] local.INFO: GPS data processed {"connection_id":57557,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:15:31] local.INFO: Acknowledgment sent {"connection_id":57557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:15:45] local.INFO: TCP Data received {"connection_id":57558,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41f2868012d1823400721b6d0004900ab27..."} 
[2026-04-28 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41f2868012d1823400721b6d0004900ab27..."} 
[2026-04-28 18:15:45] local.INFO: Processing buffer {"connection_id":57558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41f2868012d1823400721b6d0004900ab27..."} 
[2026-04-28 18:15:45] local.INFO: Packet analysis {"connection_id":57558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:15:45] local.INFO: Extracted packet for processing {"connection_id":57558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650000,"longitude_deg":75.6556608,"latitude_deg":11.965,"altitude":73,"angle":171,"satellites":39,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009357824001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701372367667200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725590528,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380305000,"timestamp_ms":1777380305000,"timestamp_seconds":1777380305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41f2868"} 
[2026-04-28 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-04-28 18:15: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-04-28 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009357824001,"66":13015,"105":206,"83":41984,"24":6,"16":115701372367667200,"45":1739233911725590528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009357824001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701372367667200,"km_value":115701372367667.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725590528,"description":"Unknown IO ID 45"} 
[2026-04-28 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009357824001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725590528}} 
[2026-04-28 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":57558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:15:45] local.INFO: GPS data processed {"connection_id":57558,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:15:45] local.INFO: Acknowledgment sent {"connection_id":57558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:15:52] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:52] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:52] local.INFO: IMEI packet received {"connection_id":56840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":56840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:15:57] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:57] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:15:57] local.INFO: IMEI packet received {"connection_id":56840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":56840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:15:58] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41f2868012d7f34c005af75a8000500c32d..."} 
[2026-04-28 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41f2868012d7f34c005af75a8000500c32d..."} 
[2026-04-28 18:15:58] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41f2868012d7f34c005af75a8000500c32d..."} 
[2026-04-28 18:15:58] local.INFO: Packet analysis {"connection_id":56840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:15:58] local.INFO: Extracted packet for processing {"connection_id":56840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763311296,"raw_latitude":95385000,"longitude_deg":76.3311296,"latitude_deg":9.5385,"altitude":5,"angle":195,"satellites":45,"speed":11,"hex_longitude":"2d7f34c0","hex_latitude":"05af75a8","is_valid_coordinates":true} 
[2026-04-28 18:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009355008001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282349968923033600,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166654853467725824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:15:58] 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-04-28 18:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777380305000,"timestamp_ms":1777380305000,"timestamp_seconds":1777380305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41f2868"} 
[2026-04-28 18:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009355008001,"66":27800,"28":206,"85":12544,"24":11,"16":282349968923033600,"45":9166654853467725824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009355008001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282349968923033600,"km_value":282349968923033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166654853467725824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009355008001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9166654853467725824}} 
[2026-04-28 18:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":56840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:15:58] local.INFO: GPS data processed {"connection_id":56840,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:15:58] local.INFO: Acknowledgment sent {"connection_id":56840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:16:08] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:08] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:08] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:16:13] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:13] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:16:13] local.INFO: IMEI packet received {"connection_id":56650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":56650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:16:14] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41f2c50012d1823400721b628004900b927..."} 
[2026-04-28 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41f2c50012d1823400721b628004900b927..."} 
[2026-04-28 18:16:14] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41f2c50012d1823400721b628004900b927..."} 
[2026-04-28 18:16:14] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:14] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649832,"longitude_deg":75.6556608,"latitude_deg":11.9649832,"altitude":73,"angle":185,"satellites":39,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b628","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009358080001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701380957601792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469721088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380306000,"timestamp_ms":1777380306000,"timestamp_seconds":1777380306,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41f2c50"} 
[2026-04-28 18:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:16: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-04-28 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:16:14] 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-04-28 18: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-04-28 18:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009358080001,"66":12993,"105":206,"83":41984,"24":6,"16":115701380957601792,"45":1739304280469721088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009358080001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701380957601792,"km_value":115701380957601.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469721088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009358080001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469721088}} 
[2026-04-28 18:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:16:14] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:16:14] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:16:30] local.INFO: TCP Data received {"connection_id":56840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41fb508012d7f1e8005af72c00006012c2e..."} 
[2026-04-28 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41fb508012d7f1e8005af72c00006012c2e..."} 
[2026-04-28 18:16:30] local.INFO: Processing buffer {"connection_id":56840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41fb508012d7f1e8005af72c00006012c2e..."} 
[2026-04-28 18:16:30] local.INFO: Packet analysis {"connection_id":56840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:30] local.INFO: Extracted packet for processing {"connection_id":56840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763305600,"raw_latitude":95384256,"longitude_deg":76.33056,"latitude_deg":9.5384256,"altitude":6,"angle":300,"satellites":46,"speed":28,"hex_longitude":"2d7f1e80","hex_latitude":"05af72c0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009366784001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282350836506427392,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161236460164040704,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:30] 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-04-28 18:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380341000,"timestamp_ms":1777380341000,"timestamp_seconds":1777380341,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41fb508"} 
[2026-04-28 18:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:16: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-04-28 18:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 18:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009366784001,"66":27767,"28":206,"85":12544,"24":28,"16":282350836506427392,"45":9161236460164040704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009366784001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282350836506427392,"km_value":282350836506427.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161236460164040704,"description":"Unknown IO ID 45"} 
[2026-04-28 18:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009366784001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9161236460164040704}} 
[2026-04-28 18:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":56840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:16:30] local.INFO: GPS data processed {"connection_id":56840,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:16:30] local.INFO: Acknowledgment sent {"connection_id":56840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:16:45] local.INFO: TCP Data received {"connection_id":56650,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41f3420012d1822c00721b4f8004900ce28..."} 
[2026-04-28 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41f3420012d1822c00721b4f8004900ce28..."} 
[2026-04-28 18:16:45] local.INFO: Processing buffer {"connection_id":56650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41f3420012d1822c00721b4f8004900ce28..."} 
[2026-04-28 18:16:45] local.INFO: Packet analysis {"connection_id":56650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:45] local.INFO: Extracted packet for processing {"connection_id":56650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649528,"longitude_deg":75.655648,"latitude_deg":11.9649528,"altitude":73,"angle":206,"satellites":40,"speed":6,"hex_longitude":"2d1822c0","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009358336001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701393842503680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469678080,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380308000,"timestamp_ms":1777380308000,"timestamp_seconds":1777380308,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41f3420"} 
[2026-04-28 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-04-28 18:16: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-04-28 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-28 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009358336001,"66":13015,"105":206,"83":41984,"24":6,"16":115701393842503680,"45":1739304280469678080},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009358336001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701393842503680,"km_value":115701393842503.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469678080,"description":"Unknown IO ID 45"} 
[2026-04-28 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009358336001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469678080}} 
[2026-04-28 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":56650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:16:45] local.INFO: GPS data processed {"connection_id":56650,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:16:45] local.INFO: Acknowledgment sent {"connection_id":56650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:16:52] local.INFO: TCP Data received {"connection_id":57560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: Processing buffer {"connection_id":57560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: IMEI packet received {"connection_id":57560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":57560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:16:52] local.INFO: TCP Data received {"connection_id":57560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: Processing buffer {"connection_id":57560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:52] local.INFO: IMEI packet received {"connection_id":57560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":57560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:16:58] local.INFO: TCP Data received {"connection_id":57560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:58] local.INFO: Processing buffer {"connection_id":57560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:16:58] local.INFO: IMEI packet received {"connection_id":57560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":57560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:16:59] local.INFO: TCP Data received {"connection_id":57560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41fc0c0012d7f16c005af76200005012029..."} 
[2026-04-28 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41fc0c0012d7f16c005af76200005012029..."} 
[2026-04-28 18:16:59] local.INFO: Processing buffer {"connection_id":57560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41fc0c0012d7f16c005af76200005012029..."} 
[2026-04-28 18:16:59] local.INFO: Packet analysis {"connection_id":57560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:59] local.INFO: Extracted packet for processing {"connection_id":57560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763303616,"raw_latitude":95385120,"longitude_deg":76.3303616,"latitude_deg":9.538512,"altitude":5,"angle":288,"satellites":41,"speed":26,"hex_longitude":"2d7f16c0","hex_latitude":"05af7620","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009367296001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282350939585642496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159899454024892416,"note":"Value kept but may cause issues"} 
[2026-04-28 18:16:59] 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-04-28 18:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380344000,"timestamp_ms":1777380344000,"timestamp_seconds":1777380344,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41fc0c0"} 
[2026-04-28 18:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:16: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-04-28 18:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009367296001,"66":27800,"28":206,"85":12544,"24":26,"16":282350939585642496,"45":9159899454024892416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009367296001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282350939585642496,"km_value":282350939585642.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159899454024892416,"description":"Unknown IO ID 45"} 
[2026-04-28 18:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009367296001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9159899454024892416}} 
[2026-04-28 18:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":57560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:16:59] local.INFO: GPS data processed {"connection_id":57560,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:16:59] local.INFO: Acknowledgment sent {"connection_id":57560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:17:13] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:13] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:13] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:17:18] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:18] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:17:18] local.INFO: IMEI packet received {"connection_id":56841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":56841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:17:19] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41f8240012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41f8240012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:17:19] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41f8240012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:17:19] local.INFO: Packet analysis {"connection_id":56841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:19] local.INFO: Extracted packet for processing {"connection_id":56841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009358848001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981244928,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777380328000,"timestamp_ms":1777380328000,"timestamp_seconds":1777380328,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41f8240"} 
[2026-04-28 18:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:17: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-04-28 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009358848001,"66":13004,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739163542981244928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009358848001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981244928,"description":"Unknown IO ID 45"} 
[2026-04-28 18:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009358848001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981244928}} 
[2026-04-28 18:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":56841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:17:19] local.INFO: GPS data processed {"connection_id":56841,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:17:19] local.INFO: Acknowledgment sent {"connection_id":56841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:17:23] local.INFO: TCP Data received {"connection_id":56841,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41fd060012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41fd060012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:17:23] local.INFO: Processing buffer {"connection_id":56841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41fd060012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:17:23] local.INFO: Packet analysis {"connection_id":56841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:23] local.INFO: Extracted packet for processing {"connection_id":56841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009363968001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777380348000,"timestamp_ms":1777380348000,"timestamp_seconds":1777380348,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41fd060"} 
[2026-04-28 18:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:17: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-04-28 18:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-28 18:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009363968001,"66":12939,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009363968001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:17:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009363968001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":56841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:17:23] local.INFO: GPS data processed {"connection_id":56841,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:17:23] local.INFO: Acknowledgment sent {"connection_id":56841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:17:30] local.INFO: TCP Data received {"connection_id":57560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41fd830012d7f080005af79580006011427..."} 
[2026-04-28 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41fd830012d7f080005af79580006011427..."} 
[2026-04-28 18:17:30] local.INFO: Processing buffer {"connection_id":57560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41fd830012d7f080005af79580006011427..."} 
[2026-04-28 18:17:30] local.INFO: Packet analysis {"connection_id":57560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:30] local.INFO: Extracted packet for processing {"connection_id":57560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763299840,"raw_latitude":95385944,"longitude_deg":76.329984,"latitude_deg":9.5385944,"altitude":6,"angle":276,"satellites":39,"speed":24,"hex_longitude":"2d7f0800","hex_latitude":"05af7958","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009368064001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282351124269236224,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157718022955606016,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:30] 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-04-28 18:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380350000,"timestamp_ms":1777380350000,"timestamp_seconds":1777380350,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41fd830"} 
[2026-04-28 18:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009368064001,"66":27843,"28":206,"85":12544,"24":24,"16":282351124269236224,"45":9157718022955606016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009368064001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282351124269236224,"km_value":282351124269236.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157718022955606016,"description":"Unknown IO ID 45"} 
[2026-04-28 18:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009368064001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9157718022955606016}} 
[2026-04-28 18:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":57560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:17:30] local.INFO: GPS data processed {"connection_id":57560,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:17:30] local.INFO: Acknowledgment sent {"connection_id":57560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:17:52] local.INFO: TCP Data received {"connection_id":56651,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:52] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:52] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:17:58] local.INFO: TCP Data received {"connection_id":56651,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:58] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:17:58] local.INFO: IMEI packet received {"connection_id":56651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":56651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:17:59] local.INFO: TCP Data received {"connection_id":56651,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd41fe3e8012d7f000005af79b80007010729..."} 
[2026-04-28 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd41fe3e8012d7f000005af79b80007010729..."} 
[2026-04-28 18:17:59] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd41fe3e8012d7f000005af79b80007010729..."} 
[2026-04-28 18:17:59] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:59] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd41f"} 
[2026-04-28 18:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763297792,"raw_latitude":95386040,"longitude_deg":76.3297792,"latitude_deg":9.538604,"altitude":7,"angle":263,"satellites":41,"speed":28,"hex_longitude":"2d7f0000","hex_latitude":"05af79b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009369600001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282351223053484032,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153566267049334784,"note":"Value kept but may cause issues"} 
[2026-04-28 18:17:59] 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-04-28 18:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380353000,"timestamp_ms":1777380353000,"timestamp_seconds":1777380353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd41fe3e8"} 
[2026-04-28 18:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:17: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-04-28 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009369600001,"66":27843,"28":206,"85":12544,"24":28,"16":282351223053484032,"45":9153566267049334784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009369600001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282351223053484032,"km_value":282351223053484.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153566267049334784,"description":"Unknown IO ID 45"} 
[2026-04-28 18:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009369600001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9153566267049334784}} 
[2026-04-28 18:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:17:59] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:17:59] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:18:09] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:18:09] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:09] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:18:13] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:13] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:18:13] local.INFO: IMEI packet received {"connection_id":56652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":56652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:18:14] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4201e80012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4201e80012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:18:14] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4201e80012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:18:14] local.INFO: Packet analysis {"connection_id":56652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:14] local.INFO: Extracted packet for processing {"connection_id":56652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009369088001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380368000,"timestamp_ms":1777380368000,"timestamp_seconds":1777380368,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4201e80"} 
[2026-04-28 18:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:18: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-04-28 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-28 18:18:14] 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-04-28 18:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009369088001,"66":12950,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009369088001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:18:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009369088001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":56652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:18:14] local.INFO: GPS data processed {"connection_id":56652,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:18:14] local.INFO: Acknowledgment sent {"connection_id":56652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:18:19] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4206ca0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4206ca0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:18:19] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4206ca0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:18:19] local.INFO: Packet analysis {"connection_id":56652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:19] local.INFO: Extracted packet for processing {"connection_id":56652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009374208001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777380388000,"timestamp_ms":1777380388000,"timestamp_seconds":1777380388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4206ca0"} 
[2026-04-28 18:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:18: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-04-28 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 18:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009374208001,"66":12928,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009374208001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009374208001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":56652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:18:19] local.INFO: GPS data processed {"connection_id":56652,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:18:19] local.INFO: Acknowledgment sent {"connection_id":56652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:18:29] local.INFO: TCP Data received {"connection_id":56651,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4217640012d7e9f0005aebf88000b015b2c..."} 
[2026-04-28 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4217640012d7e9f0005aebf88000b015b2c..."} 
[2026-04-28 18:18:29] local.INFO: Processing buffer {"connection_id":56651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4217640012d7e9f0005aebf88000b015b2c..."} 
[2026-04-28 18:18:29] local.INFO: Packet analysis {"connection_id":56651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:18:29] local.INFO: Extracted packet for processing {"connection_id":56651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763272960,"raw_latitude":95338376,"longitude_deg":76.327296,"latitude_deg":9.5338376,"altitude":11,"angle":347,"satellites":44,"speed":15,"hex_longitude":"2d7e9f00","hex_latitude":"05aebf88","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009396480001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282354817941110784,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152131970809856,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:29] 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-04-28 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777380456000,"timestamp_ms":1777380456000,"timestamp_seconds":1777380456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4217640"} 
[2026-04-28 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-04-28 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009396480001,"66":27908,"29":206,"85":12544,"24":15,"16":282354817941110784,"45":9124152131970809856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-28 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009396480001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:18:29] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-28 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282354817941110784,"km_value":282354817941110.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152131970809856,"description":"Unknown IO ID 45"} 
[2026-04-28 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009396480001,"power":27908,"unknown_29":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9124152131970809856}} 
[2026-04-28 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":56651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:18:29] local.INFO: GPS data processed {"connection_id":56651,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:18:29] local.INFO: Acknowledgment sent {"connection_id":56651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:18:50] local.INFO: TCP Data received {"connection_id":56652,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd420bac0012d1822400721b3d0004a00d125..."} 
[2026-04-28 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd420bac0012d1822400721b3d0004a00d125..."} 
[2026-04-28 18:18:50] local.INFO: Processing buffer {"connection_id":56652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd420bac0012d1822400721b3d0004a00d125..."} 
[2026-04-28 18:18:50] local.INFO: Packet analysis {"connection_id":56652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:50] local.INFO: Extracted packet for processing {"connection_id":56652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd420"} 
[2026-04-28 18:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009379328001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777380408000,"timestamp_ms":1777380408000,"timestamp_seconds":1777380408,"priority":1,"record_length":96,"hex_timestamp":"0000019dd420bac0"} 
[2026-04-28 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-04-28 18:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-28 18:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009379328001,"66":12863,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009379328001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:18:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009379328001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":56652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:18:50] local.INFO: GPS data processed {"connection_id":56652,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:18:50] local.INFO: Acknowledgment sent {"connection_id":56652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:18:53] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:53] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:53] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:18:57] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:18:57] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:18:57] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:18:58] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4217e10012d7e9e8005aec308000b01672d..."} 
[2026-04-28 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4217e10012d7e9e8005aec308000b01672d..."} 
[2026-04-28 18:18:58] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4217e10012d7e9e8005aec308000b01672d..."} 
[2026-04-28 18:18:58] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:18:58] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763272832,"raw_latitude":95339272,"longitude_deg":76.3272832,"latitude_deg":9.5339272,"altitude":11,"angle":359,"satellites":45,"speed":20,"hex_longitude":"2d7e9e80","hex_latitude":"05aec308","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009396736001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282354865185751040,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394482538496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:18:58] 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-04-28 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777380458000,"timestamp_ms":1777380458000,"timestamp_seconds":1777380458,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4217e10"} 
[2026-04-28 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:18: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-04-28 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 18:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009396736001,"66":27843,"29":206,"85":12544,"24":20,"16":282354865185751040,"45":9124011394482538496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-28 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009396736001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282354865185751040,"km_value":282354865185751.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394482538496,"description":"Unknown IO ID 45"} 
[2026-04-28 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009396736001,"power":27843,"unknown_29":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9124011394482538496}} 
[2026-04-28 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:18:58] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:18:58] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:19:04] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd421b0d8012d7e9f0005aee610000a00032c..."} 
[2026-04-28 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd421b0d8012d7e9f0005aee610000a00032c..."} 
[2026-04-28 18:19:04] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd421b0d8012d7e9f0005aee610000a00032c..."} 
[2026-04-28 18:19:04] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:04] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763272960,"raw_latitude":95348240,"longitude_deg":76.327296,"latitude_deg":9.534824,"altitude":10,"angle":3,"satellites":44,"speed":20,"hex_longitude":"2d7e9f00","hex_latitude":"05aee610","is_valid_coordinates":true} 
[2026-04-28 18:19: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-04-28 18:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009397248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282355298977447936,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123870656994412544,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:04] 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-04-28 18:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777380471000,"timestamp_ms":1777380471000,"timestamp_seconds":1777380471,"priority":1,"record_length":96,"hex_timestamp":"0000019dd421b0d8"} 
[2026-04-28 18:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:19: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-04-28 18:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009397248001,"66":27876,"28":206,"85":12544,"24":20,"16":282355298977447936,"45":9123870656994412544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009397248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282355298977447936,"km_value":282355298977447.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123870656994412544,"description":"Unknown IO ID 45"} 
[2026-04-28 18:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009397248001,"power":27876,"unknown_28":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9123870656994412544}} 
[2026-04-28 18:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:19:04] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:19:04] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:19:08] local.INFO: TCP Data received {"connection_id":57562,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:08] local.INFO: Processing buffer {"connection_id":57562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:08] local.INFO: IMEI packet received {"connection_id":57562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":57562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:19:12] local.INFO: TCP Data received {"connection_id":57562,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:12] local.INFO: Processing buffer {"connection_id":57562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:19:12] local.INFO: IMEI packet received {"connection_id":57562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":57562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:19:12] local.INFO: TCP Data received {"connection_id":57562,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4210cc8012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4210cc8012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:19:12] local.INFO: Processing buffer {"connection_id":57562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4210cc8012d1822400721b3d0004a00d127..."} 
[2026-04-28 18:19:12] local.INFO: Packet analysis {"connection_id":57562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:12] local.INFO: Extracted packet for processing {"connection_id":57562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009384448001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777380429000,"timestamp_ms":1777380429000,"timestamp_seconds":1777380429,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4210cc8"} 
[2026-04-28 18:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 18:19:12] 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-04-28 18:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":57562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":57562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":57562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009384448001,"66":12863,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009384448001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009384448001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":57562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:19:12] local.INFO: GPS data processed {"connection_id":57562,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:19:12] local.INFO: Acknowledgment sent {"connection_id":57562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:19:36] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd421bc90012d7e9fc005aeea80000a00102b..."} 
[2026-04-28 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd421bc90012d7e9fc005aeea80000a00102b..."} 
[2026-04-28 18:19:36] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd421bc90012d7e9fc005aeea80000a00102b..."} 
[2026-04-28 18:19:36] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:36] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763273152,"raw_latitude":95349376,"longitude_deg":76.3273152,"latitude_deg":9.5349376,"altitude":10,"angle":16,"satellites":43,"speed":13,"hex_longitude":"2d7e9fc0","hex_latitude":"05aeea80","is_valid_coordinates":true} 
[2026-04-28 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009400576001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282355354812022784,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394485063680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:36] 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-04-28 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777380474000,"timestamp_ms":1777380474000,"timestamp_seconds":1777380474,"priority":1,"record_length":96,"hex_timestamp":"0000019dd421bc90"} 
[2026-04-28 18:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009400576001,"66":27800,"28":206,"85":12544,"24":13,"16":282355354812022784,"45":9124011394485063680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009400576001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282355354812022784,"km_value":282355354812022.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394485063680,"description":"Unknown IO ID 45"} 
[2026-04-28 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009400576001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9124011394485063680}} 
[2026-04-28 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:19:36] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:19:36] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:19:43] local.INFO: TCP Data received {"connection_id":57562,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4215ed0012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4215ed0012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:19:43] local.INFO: Processing buffer {"connection_id":57562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4215ed0012d1822400721b3d0004a00d126..."} 
[2026-04-28 18:19:43] local.INFO: Packet analysis {"connection_id":57562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:43] local.INFO: Extracted packet for processing {"connection_id":57562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009389824001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777380450000,"timestamp_ms":1777380450000,"timestamp_seconds":1777380450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4215ed0"} 
[2026-04-28 18:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:19: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-04-28 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 18:19:43] 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-04-28 18:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009389824001,"66":12863,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009389824001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:19:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009389824001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":57562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:19:43] local.INFO: GPS data processed {"connection_id":57562,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:19:43] local.INFO: Acknowledgment sent {"connection_id":57562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:19:57] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:57] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:57] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:19:59] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:59] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:19:59] local.INFO: IMEI packet received {"connection_id":56842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":56842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:19:59] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd421cc30012d7ea10005aef180000a00012e..."} 
[2026-04-28 18:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd421cc30012d7ea10005aef180000a00012e..."} 
[2026-04-28 18:19:59] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd421cc30012d7ea10005aef180000a00012e..."} 
[2026-04-28 18:19:59] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:59] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95351168,"longitude_deg":76.3273472,"latitude_deg":9.5351168,"altitude":10,"angle":1,"satellites":46,"speed":23,"hex_longitude":"2d7ea100","hex_latitude":"05aef180","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009401344001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282355445006336000,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500717887488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:19:59] 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-04-28 18:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380478000,"timestamp_ms":1777380478000,"timestamp_seconds":1777380478,"priority":1,"record_length":96,"hex_timestamp":"0000019dd421cc30"} 
[2026-04-28 18:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:19: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-04-28 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009401344001,"66":27865,"28":206,"85":12544,"24":23,"16":282355445006336000,"45":9124222500717887488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-28 18:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009401344001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-28 18:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282355445006336000,"km_value":282355445006336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500717887488,"description":"Unknown IO ID 45"} 
[2026-04-28 18:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009401344001,"power":27865,"unknown_28":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9124222500717887488}} 
[2026-04-28 18:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:19:59] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:19:59] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:20:03] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd421fb10012d7ea00005af15c0000b01652c..."} 
[2026-04-28 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd421fb10012d7ea00005af15c0000b01652c..."} 
[2026-04-28 18:20:03] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd421fb10012d7ea00005af15c0000b01652c..."} 
[2026-04-28 18:20:03] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:20:03] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95360448,"longitude_deg":76.3273216,"latitude_deg":9.5360448,"altitude":11,"angle":357,"satellites":44,"speed":37,"hex_longitude":"2d7ea000","hex_latitude":"05af15c0","is_valid_coordinates":true} 
[2026-04-28 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009402368001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282355895977902080,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344439234560,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:03] 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-04-28 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777380490000,"timestamp_ms":1777380490000,"timestamp_seconds":1777380490,"priority":1,"record_length":96,"hex_timestamp":"0000019dd421fb10"} 
[2026-04-28 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009402368001,"66":27930,"27":206,"85":12544,"24":37,"16":282355895977902080,"45":9124574344439234560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-28 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009402368001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:20:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-28 18:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282355895977902080,"km_value":282355895977902.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344439234560,"description":"Unknown IO ID 45"} 
[2026-04-28 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009402368001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9124574344439234560}} 
[2026-04-28 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:20:03] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:20:03] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:20:04] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:04] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:04] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:20:08] local.INFO: TCP Data received {"connection_id":57563,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:08] local.INFO: Processing buffer {"connection_id":57563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:08] local.INFO: IMEI packet received {"connection_id":57563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":57563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:20:13] local.INFO: TCP Data received {"connection_id":57563,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:13] local.INFO: Processing buffer {"connection_id":57563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:20:13] local.INFO: IMEI packet received {"connection_id":57563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":57563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:20:14] local.INFO: TCP Data received {"connection_id":57563,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd421b0d8012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd421b0d8012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:14] local.INFO: Processing buffer {"connection_id":57563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd421b0d8012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:14] local.INFO: Packet analysis {"connection_id":57563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:20:14] local.INFO: Extracted packet for processing {"connection_id":57563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd421"} 
[2026-04-28 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009395200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380471000,"timestamp_ms":1777380471000,"timestamp_seconds":1777380471,"priority":1,"record_length":96,"hex_timestamp":"0000019dd421b0d8"} 
[2026-04-28 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:20: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-04-28 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-28 18:20:14] 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-04-28 18:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009395200001,"66":12841,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009395200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:20:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009395200001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":57563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:20:14] local.INFO: GPS data processed {"connection_id":57563,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:20:14] local.INFO: Acknowledgment sent {"connection_id":57563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:20:34] local.INFO: TCP Data received {"connection_id":56842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:34] local.INFO: Processing buffer {"connection_id":56842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:34] local.INFO: Packet analysis {"connection_id":56842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:20:34] local.INFO: Extracted packet for processing {"connection_id":56842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95473968,"longitude_deg":76.3273216,"latitude_deg":9.5473968,"altitude":9,"angle":347,"satellites":45,"speed":31,"hex_longitude":"2d7ea000","hex_latitude":"05b0d130","is_valid_coordinates":true} 
[2026-04-28 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009428224001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282361406420942848,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124855819444946944,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:34] 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-04-28 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777380590000,"timestamp_ms":1777380590000,"timestamp_seconds":1777380590,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42381b0"} 
[2026-04-28 18:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009428224001,"66":27974,"92":206,"85":12544,"24":31,"16":282361406420942848,"45":9124855819444946944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-28 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009428224001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:20:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-28 18:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282361406420942848,"km_value":282361406420942.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124855819444946944,"description":"Unknown IO ID 45"} 
[2026-04-28 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009428224001,"power":27974,"unknown_92":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9124855819444946944}} 
[2026-04-28 18:20:34] local.INFO: TCP Data received {"connection_id":56654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:34] local.INFO: Processing buffer {"connection_id":56654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:20:34] local.INFO: IMEI packet received {"connection_id":56654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":56654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":56842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:20:34] local.INFO: GPS data processed {"connection_id":56842,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:20:34] local.INFO: Acknowledgment sent {"connection_id":56842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:20:45] local.INFO: TCP Data received {"connection_id":57563,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42202e0012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42202e0012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:45] local.INFO: Processing buffer {"connection_id":57563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42202e0012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:20:45] local.INFO: Packet analysis {"connection_id":57563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:20:45] local.INFO: Extracted packet for processing {"connection_id":57563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009400576001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380492000,"timestamp_ms":1777380492000,"timestamp_seconds":1777380492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42202e0"} 
[2026-04-28 18:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:20: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-04-28 18:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:20:45] 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-04-28 18:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009400576001,"66":12841,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009400576001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:20:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009400576001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":57563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:20:45] local.INFO: GPS data processed {"connection_id":57563,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:20:45] local.INFO: Acknowledgment sent {"connection_id":57563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:20:51] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:51] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:51] local.INFO: IMEI packet received {"connection_id":56655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":56655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:20:52] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:52] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:52] local.INFO: IMEI packet received {"connection_id":56655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":56655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:20:58] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:58] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:20:58] local.INFO: IMEI packet received {"connection_id":56655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":56655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:20:59] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:59] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42381b0012d7ea00005b0d1300009015b2d..."} 
[2026-04-28 18:20:59] local.INFO: Packet analysis {"connection_id":56655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:20:59] local.INFO: Extracted packet for processing {"connection_id":56655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95473968,"longitude_deg":76.3273216,"latitude_deg":9.5473968,"altitude":9,"angle":347,"satellites":45,"speed":31,"hex_longitude":"2d7ea000","hex_latitude":"05b0d130","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009431040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282361406420942848,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869493960704,"note":"Value kept but may cause issues"} 
[2026-04-28 18:20:59] 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-04-28 18:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380590000,"timestamp_ms":1777380590000,"timestamp_seconds":1777380590,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42381b0"} 
[2026-04-28 18:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-28 18:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009431040001,"66":27974,"92":206,"85":12544,"24":31,"16":282361406420942848,"45":9124292869493960704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-28 18:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009431040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:20:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-28 18:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282361406420942848,"km_value":282361406420942.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869493960704,"description":"Unknown IO ID 45"} 
[2026-04-28 18:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009431040001,"power":27974,"unknown_92":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9124292869493960704}} 
[2026-04-28 18:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":56655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:20:59] local.INFO: GPS data processed {"connection_id":56655,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:20:59] local.INFO: Acknowledgment sent {"connection_id":56655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:21:08] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:08] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:08] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:21:13] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:13] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:21:13] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:21:14] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42254e8012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42254e8012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:14] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42254e8012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:14] local.INFO: Packet analysis {"connection_id":56884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:21:14] local.INFO: Extracted packet for processing {"connection_id":56884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009405952001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380513000,"timestamp_ms":1777380513000,"timestamp_seconds":1777380513,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42254e8"} 
[2026-04-28 18:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:21: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-04-28 18:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:21:14] 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-04-28 18:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009405952001,"66":12819,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009405952001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:21:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009405952001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":56884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:21:14] local.INFO: GPS data processed {"connection_id":56884,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:21:14] local.INFO: Acknowledgment sent {"connection_id":56884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:21:30] local.INFO: TCP Data received {"connection_id":56655,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4239150012d7e9dc005b0dd70000801672d..."} 
[2026-04-28 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4239150012d7e9dc005b0dd70000801672d..."} 
[2026-04-28 18:21:30] local.INFO: Processing buffer {"connection_id":56655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4239150012d7e9dc005b0dd70000801672d..."} 
[2026-04-28 18:21:30] local.INFO: Packet analysis {"connection_id":56655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:21:30] local.INFO: Extracted packet for processing {"connection_id":56655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763272640,"raw_latitude":95477104,"longitude_deg":76.327264,"latitude_deg":9.5477104,"altitude":8,"angle":359,"satellites":45,"speed":34,"hex_longitude":"2d7e9dc0","hex_latitude":"05b0dd70","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009431040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282361561039765504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869493960704,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:30] 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-04-28 18:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380594000,"timestamp_ms":1777380594000,"timestamp_seconds":1777380594,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4239150"} 
[2026-04-28 18:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-28 18:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009431040001,"66":27767,"92":206,"85":12544,"24":34,"16":282361561039765504,"45":9124292869493960704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-28 18:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009431040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:21:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-28 18:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282361561039765504,"km_value":282361561039765.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869493960704,"description":"Unknown IO ID 45"} 
[2026-04-28 18:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009431040001,"power":27767,"unknown_92":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9124292869493960704}} 
[2026-04-28 18:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":56655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:21:30] local.INFO: GPS data processed {"connection_id":56655,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:21:30] local.INFO: Acknowledgment sent {"connection_id":56655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:21:45] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd422a6f0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd422a6f0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:45] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd422a6f0012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:21:45] local.INFO: Packet analysis {"connection_id":56884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:21:45] local.INFO: Extracted packet for processing {"connection_id":56884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009411328001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380534000,"timestamp_ms":1777380534000,"timestamp_seconds":1777380534,"priority":1,"record_length":96,"hex_timestamp":"0000019dd422a6f0"} 
[2026-04-28 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-04-28 18:21: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-04-28 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3558894752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505365090861056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2314428001054892608,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3016753226,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":208,"raw_value":20830046579064832,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428513323742974246,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750503372071347,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,13,2,45,64,179,74,40,10,66,176,94,1,240,63,227,212,33,4,113,205,186,34,208,37,239,50,155,7,164,211,69,96],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-04-28 18:21:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332491932830531584,"timestamp_seconds":5332491932830532.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 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-04-28 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009411328001,"66":12809,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009411328001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:21:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009411328001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":56884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:21:45] local.INFO: GPS data processed {"connection_id":56884,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:21:45] local.INFO: Acknowledgment sent {"connection_id":56884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:21:51] local.INFO: TCP Data received {"connection_id":57564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:51] local.INFO: Processing buffer {"connection_id":57564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:51] local.INFO: IMEI packet received {"connection_id":57564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":57564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:21:52] local.INFO: TCP Data received {"connection_id":57564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:52] local.INFO: Processing buffer {"connection_id":57564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:52] local.INFO: IMEI packet received {"connection_id":57564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":57564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:21:58] local.INFO: TCP Data received {"connection_id":57564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:58] local.INFO: Processing buffer {"connection_id":57564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:21:58] local.INFO: IMEI packet received {"connection_id":57564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":57564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:21:59] local.INFO: TCP Data received {"connection_id":57564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd423b478012d7e9f0005b10038000900012d..."} 
[2026-04-28 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd423b478012d7e9f0005b10038000900012d..."} 
[2026-04-28 18:21:59] local.INFO: Processing buffer {"connection_id":57564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd423b478012d7e9f0005b10038000900012d..."} 
[2026-04-28 18:21:59] local.INFO: Packet analysis {"connection_id":57564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:21:59] local.INFO: Extracted packet for processing {"connection_id":57564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763272960,"raw_latitude":95486008,"longitude_deg":76.327296,"latitude_deg":9.5486008,"altitude":9,"angle":1,"satellites":45,"speed":41,"hex_longitude":"2d7e9f00","hex_latitude":"05b10038","is_valid_coordinates":true} 
[2026-04-28 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009432064001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282361990536495104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123659550797164544,"note":"Value kept but may cause issues"} 
[2026-04-28 18:21:59] 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-04-28 18:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380603000,"timestamp_ms":1777380603000,"timestamp_seconds":1777380603,"priority":1,"record_length":96,"hex_timestamp":"0000019dd423b478"} 
[2026-04-28 18:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:21: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-04-28 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009432064001,"66":27919,"92":206,"85":12544,"24":41,"16":282361990536495104,"45":9123659550797164544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-28 18:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009432064001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:21:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-28 18:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282361990536495104,"km_value":282361990536495.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123659550797164544,"description":"Unknown IO ID 45"} 
[2026-04-28 18:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009432064001,"power":27919,"unknown_92":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9123659550797164544}} 
[2026-04-28 18:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":57564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:21:59] local.INFO: GPS data processed {"connection_id":57564,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:21:59] local.INFO: Acknowledgment sent {"connection_id":57564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:22:08] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:08] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:08] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:22:13] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:13] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:22:13] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:22:14] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd422f8f8012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd422f8f8012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:22:14] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd422f8f8012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:22:14] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:22:14] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd422"} 
[2026-04-28 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009416704001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380555000,"timestamp_ms":1777380555000,"timestamp_seconds":1777380555,"priority":1,"record_length":96,"hex_timestamp":"0000019dd422f8f8"} 
[2026-04-28 18:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:22: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-04-28 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3558914752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2336418233610412608,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3016753226,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428513323742974249,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,84,45,64,179,74,41,10,66,2,40,176,1,240,227,212,33,4,113,205,12,34,208,39,239,50,155,7,164,211],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 18:22:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332491932830531584,"timestamp_seconds":5332491932830532.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009416704001,"66":12776,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009416704001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:22:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009416704001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:22:14] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:22:14] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:22:30] local.INFO: TCP Data received {"connection_id":57564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd423db88012d7e9f8005b123d0000800002d..."} 
[2026-04-28 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd423db88012d7e9f8005b123d0000800002d..."} 
[2026-04-28 18:22:30] local.INFO: Processing buffer {"connection_id":57564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd423db88012d7e9f8005b123d0000800002d..."} 
[2026-04-28 18:22:30] local.INFO: Packet analysis {"connection_id":57564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:22:30] local.INFO: Extracted packet for processing {"connection_id":57564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95495120,"longitude_deg":76.3273088,"latitude_deg":9.549512,"altitude":8,"angle":0,"satellites":45,"speed":36,"hex_longitude":"2d7e9f80","hex_latitude":"05b123d0","is_valid_coordinates":true} 
[2026-04-28 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009434368001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282362432918126592,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394520332288,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:30] 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-04-28 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380613000,"timestamp_ms":1777380613000,"timestamp_seconds":1777380613,"priority":1,"record_length":96,"hex_timestamp":"0000019dd423db88"} 
[2026-04-28 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 18:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009434368001,"66":27767,"92":206,"85":12544,"24":36,"16":282362432918126592,"45":9124011394520332288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-28 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009434368001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:22:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-28 18:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282362432918126592,"km_value":282362432918126.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394520332288,"description":"Unknown IO ID 45"} 
[2026-04-28 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009434368001,"power":27767,"unknown_92":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9124011394520332288}} 
[2026-04-28 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":57564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:22:30] local.INFO: GPS data processed {"connection_id":57564,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:22:30] local.INFO: Acknowledgment sent {"connection_id":57564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:22:45] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4234b00012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4234b00012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:22:45] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4234b00012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:22:45] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:22:45] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009422080001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380576000,"timestamp_ms":1777380576000,"timestamp_seconds":1777380576,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4234b00"} 
[2026-04-28 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-04-28 18:22: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-04-28 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 18:22:45] 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-04-28 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-04-28 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-04-28 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009422080001,"66":12776,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009422080001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009422080001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:22:45] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:22:45] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:22:52] local.INFO: TCP Data received {"connection_id":57565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:52] local.INFO: Processing buffer {"connection_id":57565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:52] local.INFO: IMEI packet received {"connection_id":57565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":57565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:22:53] local.INFO: TCP Data received {"connection_id":57565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:53] local.INFO: Processing buffer {"connection_id":57565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:53] local.INFO: IMEI packet received {"connection_id":57565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":57565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:22:58] local.INFO: TCP Data received {"connection_id":57565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:58] local.INFO: Processing buffer {"connection_id":57565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:22:58] local.INFO: IMEI packet received {"connection_id":57565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":57565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:22:58] local.INFO: TCP Data received {"connection_id":57565,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4257d80012d7ebb4005b29348000b01672d..."} 
[2026-04-28 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4257d80012d7ebb4005b29348000b01672d..."} 
[2026-04-28 18:22:58] local.INFO: Processing buffer {"connection_id":57565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4257d80012d7ebb4005b29348000b01672d..."} 
[2026-04-28 18:22:58] local.INFO: Packet analysis {"connection_id":57565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:22:58] local.INFO: Extracted packet for processing {"connection_id":57565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":95589192,"longitude_deg":76.3280192,"latitude_deg":9.5589192,"altitude":11,"angle":359,"satellites":45,"speed":51,"hex_longitude":"2d7ebb40","hex_latitude":"05b29348","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009462272001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282367015648231424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892693892104192,"note":"Value kept but may cause issues"} 
[2026-04-28 18:22:58] 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-04-28 18:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777380720000,"timestamp_ms":1777380720000,"timestamp_seconds":1777380720,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4257d80"} 
[2026-04-28 18:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:22: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-04-28 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-28 18:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009462272001,"66":27876,"58":206,"85":12544,"24":51,"16":282367015648231424,"45":9131892693892104192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-28 18:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009462272001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:22:58] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-28 18:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282367015648231424,"km_value":282367015648231.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892693892104192,"description":"Unknown IO ID 45"} 
[2026-04-28 18:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009462272001,"power":27876,"unknown_58":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9131892693892104192}} 
[2026-04-28 18:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":57565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:22:59] local.INFO: GPS data processed {"connection_id":57565,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:22:59] local.INFO: Acknowledgment sent {"connection_id":57565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:23:08] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:08] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:08] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:23:13] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:13] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:23:13] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:23:14] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4239d08012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4239d08012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:23:14] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4239d08012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:23:14] local.INFO: Packet analysis {"connection_id":56886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:23:14] local.INFO: Extracted packet for processing {"connection_id":56886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009427456001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380597000,"timestamp_ms":1777380597000,"timestamp_seconds":1777380597,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4239d08"} 
[2026-04-28 18:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 18:23:14] 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-04-28 18:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009427456001,"66":12722,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009427456001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:23:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009427456001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":56886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:23:14] local.INFO: GPS data processed {"connection_id":56886,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:23:14] local.INFO: Acknowledgment sent {"connection_id":56886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:23:34] local.INFO: TCP Data received {"connection_id":57565,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42598d8012d7eba0005b2b7d8000b01662e..."} 
[2026-04-28 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42598d8012d7eba0005b2b7d8000b01662e..."} 
[2026-04-28 18:23:34] local.INFO: Processing buffer {"connection_id":57565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42598d8012d7eba0005b2b7d8000b01662e..."} 
[2026-04-28 18:23:34] local.INFO: Packet analysis {"connection_id":57565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:23:34] local.INFO: Extracted packet for processing {"connection_id":57565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763279872,"raw_latitude":95598552,"longitude_deg":76.3279872,"latitude_deg":9.5598552,"altitude":11,"angle":358,"satellites":46,"speed":55,"hex_longitude":"2d7eba00","hex_latitude":"05b2b7d8","is_valid_coordinates":true} 
[2026-04-28 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009464320001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282367470914764800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062638823424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:34] 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-04-28 18:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777380727000,"timestamp_ms":1777380727000,"timestamp_seconds":1777380727,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42598d8"} 
[2026-04-28 18:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009464320001,"66":27919,"58":206,"85":12544,"24":55,"16":282367470914764800,"45":9131963062638823424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-28 18:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009464320001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:23:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-28 18:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282367470914764800,"km_value":282367470914764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062638823424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009464320001,"power":27919,"unknown_58":206,"unknown_85":12544,"ignition":55,"odometer":null,"unknown_45":9131963062638823424}} 
[2026-04-28 18:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":57565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:23:34] local.INFO: GPS data processed {"connection_id":57565,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:23:34] local.INFO: Acknowledgment sent {"connection_id":57565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:23:45] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd423ef10012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd423ef10012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:23:45] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd423ef10012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:23:45] local.INFO: Packet analysis {"connection_id":56886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:23:45] local.INFO: Extracted packet for processing {"connection_id":56886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd423"} 
[2026-04-28 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009432832001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380618000,"timestamp_ms":1777380618000,"timestamp_seconds":1777380618,"priority":1,"record_length":96,"hex_timestamp":"0000019dd423ef10"} 
[2026-04-28 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:23: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-04-28 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 18:23:45] 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-04-28 18: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-04-28 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009432832001,"66":12613,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009432832001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009432832001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":56886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:23:45] local.INFO: GPS data processed {"connection_id":56886,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:23:45] local.INFO: Acknowledgment sent {"connection_id":56886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:23:53] local.INFO: TCP Data received {"connection_id":57566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:53] local.INFO: Processing buffer {"connection_id":57566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:53] local.INFO: IMEI packet received {"connection_id":57566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":57566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:23:58] local.INFO: TCP Data received {"connection_id":57566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:58] local.INFO: Processing buffer {"connection_id":57566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:23:58] local.INFO: IMEI packet received {"connection_id":57566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":57566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:23:59] local.INFO: TCP Data received {"connection_id":57566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd425b430012d7eb90005b2df78000a01662e..."} 
[2026-04-28 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd425b430012d7eb90005b2df78000a01662e..."} 
[2026-04-28 18:23:59] local.INFO: Processing buffer {"connection_id":57566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd425b430012d7eb90005b2df78000a01662e..."} 
[2026-04-28 18:23:59] local.INFO: Packet analysis {"connection_id":57566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:23:59] local.INFO: Extracted packet for processing {"connection_id":57566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":95608696,"longitude_deg":76.3279616,"latitude_deg":9.5608696,"altitude":10,"angle":358,"satellites":46,"speed":59,"hex_longitude":"2d7eb900","hex_latitude":"05b2df78","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009466112001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282367960541036544,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131611218920331264,"note":"Value kept but may cause issues"} 
[2026-04-28 18:23:59] 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-04-28 18:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380734000,"timestamp_ms":1777380734000,"timestamp_seconds":1777380734,"priority":1,"record_length":96,"hex_timestamp":"0000019dd425b430"} 
[2026-04-28 18:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:23: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-04-28 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 18:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009466112001,"66":27658,"58":206,"85":12544,"24":59,"16":282367960541036544,"45":9131611218920331264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-28 18:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009466112001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:23:59] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-28 18:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282367960541036544,"km_value":282367960541036.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131611218920331264,"description":"Unknown IO ID 45"} 
[2026-04-28 18:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009466112001,"power":27658,"unknown_58":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9131611218920331264}} 
[2026-04-28 18:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":57566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:23:59] local.INFO: GPS data processed {"connection_id":57566,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:23:59] local.INFO: Acknowledgment sent {"connection_id":57566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:24:13] local.INFO: TCP Data received {"connection_id":57567,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:13] local.INFO: Processing buffer {"connection_id":57567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:13] local.INFO: IMEI packet received {"connection_id":57567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":57567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:24:18] local.INFO: TCP Data received {"connection_id":57567,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:18] local.INFO: Processing buffer {"connection_id":57567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:24:18] local.INFO: IMEI packet received {"connection_id":57567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":57567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:24:19] local.INFO: TCP Data received {"connection_id":57567,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4244118012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4244118012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:24:19] local.INFO: Processing buffer {"connection_id":57567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4244118012d1822400721b3d0004a00d12a..."} 
[2026-04-28 18:24:19] local.INFO: Packet analysis {"connection_id":57567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:24:19] local.INFO: Extracted packet for processing {"connection_id":57567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009438208001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777380639000,"timestamp_ms":1777380639000,"timestamp_seconds":1777380639,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4244118"} 
[2026-04-28 18:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:24:19] 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-04-28 18:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009438208001,"66":12558,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009438208001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:24:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009438208001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":57567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:24:19] local.INFO: GPS data processed {"connection_id":57567,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:24:19] local.INFO: Acknowledgment sent {"connection_id":57567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:24:23] local.INFO: TCP Data received {"connection_id":57567,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4249320012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4249320012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:24:23] local.INFO: Processing buffer {"connection_id":57567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4249320012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:24:23] local.INFO: Packet analysis {"connection_id":57567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:24:23] local.INFO: Extracted packet for processing {"connection_id":57567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009443584001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777380660000,"timestamp_ms":1777380660000,"timestamp_seconds":1777380660,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4249320"} 
[2026-04-28 18:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:24: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-04-28 18:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559019752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3016753226,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,239,45,64,179,74,42,10,66,41,75,1,240,232,227,212,33,4,113,205,166,34,208,50,2,155,7,106,93,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 18:24:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332491937125498880,"timestamp_seconds":5332491937125499.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009443584001,"66":12558,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009443584001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:24:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009443584001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":57567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:24:23] local.INFO: GPS data processed {"connection_id":57567,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:24:23] local.INFO: Acknowledgment sent {"connection_id":57567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:24:29] local.INFO: TCP Data received {"connection_id":57566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd425cba0012d7eb80005b302f8000a01672d..."} 
[2026-04-28 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd425cba0012d7eb80005b302f8000a01672d..."} 
[2026-04-28 18:24:29] local.INFO: Processing buffer {"connection_id":57566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd425cba0012d7eb80005b302f8000a01672d..."} 
[2026-04-28 18:24:29] local.INFO: Packet analysis {"connection_id":57566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:24:29] local.INFO: Extracted packet for processing {"connection_id":57566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95617784,"longitude_deg":76.327936,"latitude_deg":9.5617784,"altitude":10,"angle":359,"satellites":45,"speed":60,"hex_longitude":"2d7eb800","hex_latitude":"05b302f8","is_valid_coordinates":true} 
[2026-04-28 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009467904001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282368402922668032,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329743946217472,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:29] 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-04-28 18:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777380740000,"timestamp_ms":1777380740000,"timestamp_seconds":1777380740,"priority":1,"record_length":96,"hex_timestamp":"0000019dd425cba0"} 
[2026-04-28 18:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 18:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009467904001,"66":27843,"58":206,"85":12544,"24":60,"16":282368402922668032,"45":9131329743946217472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-28 18:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009467904001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:24:29] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-28 18:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282368402922668032,"km_value":282368402922668.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329743946217472,"description":"Unknown IO ID 45"} 
[2026-04-28 18:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009467904001,"power":27843,"unknown_58":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9131329743946217472}} 
[2026-04-28 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":57566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:24:29] local.INFO: GPS data processed {"connection_id":57566,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:24:29] local.INFO: Acknowledgment sent {"connection_id":57566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:24:52] local.INFO: TCP Data received {"connection_id":57568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:52] local.INFO: Processing buffer {"connection_id":57568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:52] local.INFO: IMEI packet received {"connection_id":57568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":57568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:24:58] local.INFO: TCP Data received {"connection_id":57568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:58] local.INFO: Processing buffer {"connection_id":57568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:24:58] local.INFO: IMEI packet received {"connection_id":57568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":57568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:24:58] local.INFO: TCP Data received {"connection_id":57568,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd425e310012d7eb7c005b32668000a01672e..."} 
[2026-04-28 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd425e310012d7eb7c005b32668000a01672e..."} 
[2026-04-28 18:24:58] local.INFO: Processing buffer {"connection_id":57568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd425e310012d7eb7c005b32668000a01672e..."} 
[2026-04-28 18:24:58] local.INFO: Packet analysis {"connection_id":57568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:24:58] local.INFO: Extracted packet for processing {"connection_id":57568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95626856,"longitude_deg":76.3279296,"latitude_deg":9.5626856,"altitude":10,"angle":359,"satellites":46,"speed":60,"hex_longitude":"2d7eb7c0","hex_latitude":"05b32668","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009469440001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282368845304299520,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048268971833344,"note":"Value kept but may cause issues"} 
[2026-04-28 18:24:58] 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-04-28 18:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777380746000,"timestamp_ms":1777380746000,"timestamp_seconds":1777380746,"priority":1,"record_length":96,"hex_timestamp":"0000019dd425e310"} 
[2026-04-28 18:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:24: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-04-28 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009469440001,"66":27865,"58":206,"85":12544,"24":60,"16":282368845304299520,"45":9131048268971833344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-28 18:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009469440001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:24:59] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-28 18:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282368845304299520,"km_value":282368845304299.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048268971833344,"description":"Unknown IO ID 45"} 
[2026-04-28 18:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009469440001,"power":27865,"unknown_58":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9131048268971833344}} 
[2026-04-28 18:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":57568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:24:59] local.INFO: GPS data processed {"connection_id":57568,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:24:59] local.INFO: Acknowledgment sent {"connection_id":57568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:25:09] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:25:09] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:09] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:25:13] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:13] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:25:13] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:25:14] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd424e528012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd424e528012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:25:14] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd424e528012d1822400721b3d0004a00d129..."} 
[2026-04-28 18:25:14] local.INFO: Packet analysis {"connection_id":56846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:25:14] local.INFO: Extracted packet for processing {"connection_id":56846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd424"} 
[2026-04-28 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009448960001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380681000,"timestamp_ms":1777380681000,"timestamp_seconds":1777380681,"priority":1,"record_length":96,"hex_timestamp":"0000019dd424e528"} 
[2026-04-28 18:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559040752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3016753226,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:14] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,13,65,45,64,179,74,42,10,66,239,1,240,178,227,212,33,4,113,205,248,34,208,49,2,155,7,106,93,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-28 18:25:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332491928535564288,"timestamp_seconds":5332491928535564.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009448960001,"66":12526,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009448960001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:25:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009448960001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":56846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:25:14] local.INFO: GPS data processed {"connection_id":56846,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:25:14] local.INFO: Acknowledgment sent {"connection_id":56846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:25:30] local.INFO: TCP Data received {"connection_id":57568,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd427cb58012d7ea44005b4b9b80008016429..."} 
[2026-04-28 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd427cb58012d7ea44005b4b9b80008016429..."} 
[2026-04-28 18:25:30] local.INFO: Processing buffer {"connection_id":57568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd427cb58012d7ea44005b4b9b80008016429..."} 
[2026-04-28 18:25:30] local.INFO: Packet analysis {"connection_id":57568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd427"} 
[2026-04-28 18:25:30] local.INFO: Extracted packet for processing {"connection_id":57568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd427"} 
[2026-04-28 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95730104,"longitude_deg":76.3274304,"latitude_deg":9.5730104,"altitude":8,"angle":356,"satellites":41,"speed":40,"hex_longitude":"2d7ea440","hex_latitude":"05b4b9b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009500416001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282373861826101248,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719417346048,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:30] 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-04-28 18:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380871000,"timestamp_ms":1777380871000,"timestamp_seconds":1777380871,"priority":1,"record_length":96,"hex_timestamp":"0000019dd427cb58"} 
[2026-04-28 18:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009500416001,"66":27865,"59":206,"85":12544,"24":40,"16":282373861826101248,"45":9125981719417346048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-28 18:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009500416001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:25:30] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-28 18:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282373861826101248,"km_value":282373861826101.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719417346048,"description":"Unknown IO ID 45"} 
[2026-04-28 18:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009500416001,"power":27865,"unknown_59":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9125981719417346048}} 
[2026-04-28 18:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":57568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:25:30] local.INFO: GPS data processed {"connection_id":57568,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:25:30] local.INFO: Acknowledgment sent {"connection_id":57568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:25:45] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4253730012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4253730012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:25:45] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4253730012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:25:45] local.INFO: Packet analysis {"connection_id":56846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:25:45] local.INFO: Extracted packet for processing {"connection_id":56846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009454336001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777380702000,"timestamp_ms":1777380702000,"timestamp_seconds":1777380702,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4253730"} 
[2026-04-28 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-04-28 18:25: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-04-28 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 18:25:45] 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-04-28 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-04-28 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-04-28 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009454336001,"66":12461,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009454336001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:25:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009454336001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":56846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:25:45] local.INFO: GPS data processed {"connection_id":56846,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:25:45] local.INFO: Acknowledgment sent {"connection_id":56846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:25:49] local.INFO: TCP Data received {"connection_id":56657,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:25:49] local.INFO: Processing buffer {"connection_id":56657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:25:49] local.INFO: IMEI packet received {"connection_id":56657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":56657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:25:53] local.INFO: TCP Data received {"connection_id":57569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:53] local.INFO: Processing buffer {"connection_id":57569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:53] local.INFO: IMEI packet received {"connection_id":57569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":57569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:25:54] local.INFO: TCP Data received {"connection_id":57569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:54] local.INFO: Processing buffer {"connection_id":57569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:54] local.INFO: IMEI packet received {"connection_id":57569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":57569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:25:58] local.INFO: TCP Data received {"connection_id":57569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:58] local.INFO: Processing buffer {"connection_id":57569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:25:58] local.INFO: IMEI packet received {"connection_id":57569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":57569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:25:59] local.INFO: TCP Data received {"connection_id":57569,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd427f268012d7ea28005b4dfe8000801652b..."} 
[2026-04-28 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd427f268012d7ea28005b4dfe8000801652b..."} 
[2026-04-28 18:25:59] local.INFO: Processing buffer {"connection_id":57569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd427f268012d7ea28005b4dfe8000801652b..."} 
[2026-04-28 18:25:59] local.INFO: Packet analysis {"connection_id":57569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd427"} 
[2026-04-28 18:25:59] local.INFO: Extracted packet for processing {"connection_id":57569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd427"} 
[2026-04-28 18:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":95739880,"longitude_deg":76.3273856,"latitude_deg":9.573988,"altitude":8,"angle":357,"satellites":43,"speed":37,"hex_longitude":"2d7ea280","hex_latitude":"05b4dfe8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009502976001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282374338567471104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138210551808,"note":"Value kept but may cause issues"} 
[2026-04-28 18:25:59] 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-04-28 18:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777380881000,"timestamp_ms":1777380881000,"timestamp_seconds":1777380881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd427f268"} 
[2026-04-28 18:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009502976001,"66":27843,"59":206,"85":12544,"24":37,"16":282374338567471104,"45":9125489138210551808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-28 18:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009502976001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:25:59] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-28 18:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282374338567471104,"km_value":282374338567471.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138210551808,"description":"Unknown IO ID 45"} 
[2026-04-28 18:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009502976001,"power":27843,"unknown_59":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9125489138210551808}} 
[2026-04-28 18:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":57569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:25:59] local.INFO: GPS data processed {"connection_id":57569,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:25:59] local.INFO: Acknowledgment sent {"connection_id":57569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:26:08] local.INFO: TCP Data received {"connection_id":57570,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:08] local.INFO: Processing buffer {"connection_id":57570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:08] local.INFO: IMEI packet received {"connection_id":57570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":57570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:26:12] local.INFO: TCP Data received {"connection_id":57570,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:12] local.INFO: Processing buffer {"connection_id":57570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:26:12] local.INFO: IMEI packet received {"connection_id":57570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":57570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:26:12] local.INFO: TCP Data received {"connection_id":57570,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4258938012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4258938012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:26:12] local.INFO: Processing buffer {"connection_id":57570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4258938012d1822400721b3d0004a00d128..."} 
[2026-04-28 18:26:12] local.INFO: Packet analysis {"connection_id":57570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:26:12] local.INFO: Extracted packet for processing {"connection_id":57570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649232,"longitude_deg":75.6556352,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-04-28 18:26: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-04-28 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009459712001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701415317340160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777380723000,"timestamp_ms":1777380723000,"timestamp_seconds":1777380723,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4258938"} 
[2026-04-28 18:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:26: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-04-28 18:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":57570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":57570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":57570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009459712001,"66":12461,"105":206,"83":41984,"24":0,"16":115701415317340160,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009459712001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:26:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701415317340160,"km_value":115701415317340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009459712001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":57570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:26:12] local.INFO: GPS data processed {"connection_id":57570,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:26:12] local.INFO: Acknowledgment sent {"connection_id":57570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:26:30] local.INFO: TCP Data received {"connection_id":57569,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42805f0012d7ea2c005b4f1800009000a2c..."} 
[2026-04-28 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42805f0012d7ea2c005b4f1800009000a2c..."} 
[2026-04-28 18:26:30] local.INFO: Processing buffer {"connection_id":57569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42805f0012d7ea2c005b4f1800009000a2c..."} 
[2026-04-28 18:26:30] local.INFO: Packet analysis {"connection_id":57569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:26:30] local.INFO: Extracted packet for processing {"connection_id":57569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763273920,"raw_latitude":95744384,"longitude_deg":76.327392,"latitude_deg":9.5744384,"altitude":9,"angle":10,"satellites":44,"speed":32,"hex_longitude":"2d7ea2c0","hex_latitude":"05b4f180","is_valid_coordinates":true} 
[2026-04-28 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009505536001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282374557610803200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996557003810816,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:30] 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-04-28 18:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777380886000,"timestamp_ms":1777380886000,"timestamp_seconds":1777380886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42805f0"} 
[2026-04-28 18:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:26: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-04-28 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009505536001,"66":27745,"59":206,"85":12544,"24":32,"16":282374557610803200,"45":9124996557003810816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-28 18:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009505536001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:26:30] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-28 18:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282374557610803200,"km_value":282374557610803.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996557003810816,"description":"Unknown IO ID 45"} 
[2026-04-28 18:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009505536001,"power":27745,"unknown_59":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9124996557003810816}} 
[2026-04-28 18:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":57569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:26:30] local.INFO: GPS data processed {"connection_id":57569,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:26:30] local.INFO: Acknowledgment sent {"connection_id":57569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:26:34] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:26:34] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:26:34] local.INFO: IMEI packet received {"connection_id":56887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":56887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:26:43] local.INFO: TCP Data received {"connection_id":57570,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd425db40012d181f800721b0a0004b00d927..."} 
[2026-04-28 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd425db40012d181f800721b0a0004b00d927..."} 
[2026-04-28 18:26:43] local.INFO: Processing buffer {"connection_id":57570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd425db40012d181f800721b0a0004b00d927..."} 
[2026-04-28 18:26:43] local.INFO: Packet analysis {"connection_id":57570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:26:43] local.INFO: Extracted packet for processing {"connection_id":57570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd425"} 
[2026-04-28 18:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648416,"longitude_deg":75.6555648,"latitude_deg":11.9648416,"altitude":75,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009465088001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701471151915008,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492813824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777380744000,"timestamp_ms":1777380744000,"timestamp_seconds":1777380744,"priority":1,"record_length":96,"hex_timestamp":"0000019dd425db40"} 
[2026-04-28 18:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18: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-04-28 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009465088001,"66":12461,"105":206,"83":41984,"24":0,"16":115701471151915008,"45":1739022805492813824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009465088001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:26:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701471151915008,"km_value":115701471151915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492813824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009465088001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492813824}} 
[2026-04-28 18:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":57570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:26:43] local.INFO: GPS data processed {"connection_id":57570,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:26:43] local.INFO: Acknowledgment sent {"connection_id":57570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:26:58] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:26:58] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:26:58] local.INFO: IMEI packet received {"connection_id":56888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":56888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:27:00] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:00] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:00] local.INFO: IMEI packet received {"connection_id":56888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":56888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:27:02] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4282530012d7ea58005b50e80000a01672c..."} 
[2026-04-28 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4282530012d7ea58005b50e80000a01672c..."} 
[2026-04-28 18:27:02] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4282530012d7ea58005b50e80000a01672c..."} 
[2026-04-28 18:27:02] local.INFO: Packet analysis {"connection_id":56888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:27:02] local.INFO: Extracted packet for processing {"connection_id":56888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95751808,"longitude_deg":76.3274624,"latitude_deg":9.5751808,"altitude":10,"angle":359,"satellites":44,"speed":40,"hex_longitude":"2d7ea580","hex_latitude":"05b50e80","is_valid_coordinates":true} 
[2026-04-28 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009506816001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282374918388056064,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125066925749141504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:02] 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-04-28 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777380894000,"timestamp_ms":1777380894000,"timestamp_seconds":1777380894,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4282530"} 
[2026-04-28 18:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:27: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-04-28 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009506816001,"66":27767,"59":206,"85":12544,"24":40,"16":282374918388056064,"45":9125066925749141504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-28 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009506816001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:02] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-28 18:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282374918388056064,"km_value":282374918388056.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125066925749141504,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009506816001,"power":27767,"unknown_59":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9125066925749141504}} 
[2026-04-28 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":56888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:02] local.INFO: GPS data processed {"connection_id":56888,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:02] local.INFO: Acknowledgment sent {"connection_id":56888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:27:03] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4284858012d7ea44005b53538000901662e..."} 
[2026-04-28 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4284858012d7ea44005b53538000901662e..."} 
[2026-04-28 18:27:03] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4284858012d7ea44005b53538000901662e..."} 
[2026-04-28 18:27:03] local.INFO: Packet analysis {"connection_id":56888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:27:03] local.INFO: Extracted packet for processing {"connection_id":56888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd428"} 
[2026-04-28 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95761720,"longitude_deg":76.3274304,"latitude_deg":9.576172,"altitude":9,"angle":358,"satellites":46,"speed":44,"hex_longitude":"2d7ea440","hex_latitude":"05b53538","is_valid_coordinates":true} 
[2026-04-28 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009508864001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282375399424393216,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981936996352,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:03] 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-04-28 18:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777380903000,"timestamp_ms":1777380903000,"timestamp_seconds":1777380903,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4284858"} 
[2026-04-28 18:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009508864001,"66":27789,"59":206,"85":12544,"24":44,"16":282375399424393216,"45":9125840981936996352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-28 18:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009508864001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-28 18:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282375399424393216,"km_value":282375399424393.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981936996352,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009508864001,"power":27789,"unknown_59":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9125840981936996352}} 
[2026-04-28 18:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":56888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:03] local.INFO: GPS data processed {"connection_id":56888,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:03] local.INFO: Acknowledgment sent {"connection_id":56888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:27:08] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:08] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:08] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:27:13] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:13] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:27:13] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:27:14] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4262d48012d181f800721b0a0004b00d926..."} 
[2026-04-28 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4262d48012d181f800721b0a0004b00d926..."} 
[2026-04-28 18:27:14] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4262d48012d181f800721b0a0004b00d926..."} 
[2026-04-28 18:27:14] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd426"} 
[2026-04-28 18:27:14] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd426"} 
[2026-04-28 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648416,"longitude_deg":75.6555648,"latitude_deg":11.9648416,"altitude":75,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-28 18:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009470464001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701471151915008,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306650624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777380765000,"timestamp_ms":1777380765000,"timestamp_seconds":1777380765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4262d48"} 
[2026-04-28 18:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009470464001,"66":12406,"105":206,"83":41984,"24":0,"16":115701471151915008,"45":1738248749306650624},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009470464001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701471151915008,"km_value":115701471151915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306650624,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009470464001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306650624}} 
[2026-04-28 18:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:14] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:14] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:27:35] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd429bf58012d7ea5c005b67810000b00012d..."} 
[2026-04-28 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd429bf58012d7ea5c005b67810000b00012d..."} 
[2026-04-28 18:27:35] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd429bf58012d7ea5c005b67810000b00012d..."} 
[2026-04-28 18:27:35] local.INFO: Packet analysis {"connection_id":56888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:27:35] local.INFO: Extracted packet for processing {"connection_id":56888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95844368,"longitude_deg":76.3274688,"latitude_deg":9.5844368,"altitude":11,"angle":1,"satellites":45,"speed":44,"hex_longitude":"2d7ea5c0","hex_latitude":"05b67810","is_valid_coordinates":true} 
[2026-04-28 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009533696001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282379423808749568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350702600192,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777380999000,"timestamp_ms":1777380999000,"timestamp_seconds":1777380999,"priority":1,"record_length":96,"hex_timestamp":"0000019dd429bf58"} 
[2026-04-28 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009533696001,"66":27984,"122":206,"85":12544,"24":44,"16":282379423808749568,"45":9125911350702600192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-28 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009533696001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-28 18:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282379423808749568,"km_value":282379423808749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350702600192,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009533696001,"power":27984,"unknown_122":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9125911350702600192}} 
[2026-04-28 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":56888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:35] local.INFO: GPS data processed {"connection_id":56888,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:35] local.INFO: Acknowledgment sent {"connection_id":56888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:27:46] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4267f50012d181f800721b0a0004b00d929..."} 
[2026-04-28 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4267f50012d181f800721b0a0004b00d929..."} 
[2026-04-28 18:27:46] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4267f50012d181f800721b0a0004b00d929..."} 
[2026-04-28 18:27:46] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd426"} 
[2026-04-28 18:27:46] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd426"} 
[2026-04-28 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648416,"longitude_deg":75.6555648,"latitude_deg":11.9648416,"altitude":75,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009475840001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701471151915008,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306650624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777380786000,"timestamp_ms":1777380786000,"timestamp_seconds":1777380786,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4267f50"} 
[2026-04-28 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-04-28 18:27: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-04-28 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009475840001,"66":12385,"105":206,"83":41984,"24":0,"16":115701471151915008,"45":1738248749306650624},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009475840001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701471151915008,"km_value":115701471151915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306650624,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009475840001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306650624}} 
[2026-04-28 18:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:46] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:46] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:27:51] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:51] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:51] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:27:53] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:53] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:53] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:27:58] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:58] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:27:58] local.INFO: IMEI packet received {"connection_id":56659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":56659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:27:59] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd429de98012d7ea6c005b69b68000b00022c..."} 
[2026-04-28 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd429de98012d7ea6c005b69b68000b00022c..."} 
[2026-04-28 18:27:59] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd429de98012d7ea6c005b69b68000b00022c..."} 
[2026-04-28 18:27:59] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:27:59] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95853416,"longitude_deg":76.3274944,"latitude_deg":9.5853416,"altitude":11,"angle":2,"satellites":44,"speed":46,"hex_longitude":"2d7ea6c0","hex_latitude":"05b69b68","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009535744001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282379861895413760,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350704869376,"note":"Value kept but may cause issues"} 
[2026-04-28 18:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381007000,"timestamp_ms":1777381007000,"timestamp_seconds":1777381007,"priority":1,"record_length":96,"hex_timestamp":"0000019dd429de98"} 
[2026-04-28 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:27: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-04-28 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 18:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009535744001,"66":27843,"122":206,"85":12544,"24":46,"16":282379861895413760,"45":9125911350704869376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-28 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009535744001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:27:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-28 18:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282379861895413760,"km_value":282379861895413.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350704869376,"description":"Unknown IO ID 45"} 
[2026-04-28 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009535744001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9125911350704869376}} 
[2026-04-28 18:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:27:59] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:27:59] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:28:08] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:08] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:08] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:28:09] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:09] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:09] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:28:13] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:13] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:28:13] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:28:14] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a05a8012d181e000721add0004d00ce27..."} 
[2026-04-28 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a05a8012d181e000721add0004d00ce27..."} 
[2026-04-28 18:28:14] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a05a8012d181e000721add0004d00ce27..."} 
[2026-04-28 18:28:14] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:14] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647696,"longitude_deg":75.6555264,"latitude_deg":11.9647696,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009534976001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701518396555264,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777381017000,"timestamp_ms":1777381017000,"timestamp_seconds":1777381017,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a05a8"} 
[2026-04-28 18:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 18:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009534976001,"66":14070,"105":206,"83":41984,"24":0,"16":115701518396555264,"45":1737826536841400320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009534976001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:28:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701518396555264,"km_value":115701518396555.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-04-28 18:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009534976001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-04-28 18:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:28:14] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:28:14] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:28:30] local.INFO: TCP Data received {"connection_id":56659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd429fdd8012d7ea7c005b6c148000b00022b..."} 
[2026-04-28 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd429fdd8012d7ea7c005b6c148000b00022b..."} 
[2026-04-28 18:28:30] local.INFO: Processing buffer {"connection_id":56659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd429fdd8012d7ea7c005b6c148000b00022b..."} 
[2026-04-28 18:28:30] local.INFO: Packet analysis {"connection_id":56659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:28:30] local.INFO: Extracted packet for processing {"connection_id":56659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd429"} 
[2026-04-28 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763275200,"raw_latitude":95863112,"longitude_deg":76.32752,"latitude_deg":9.5863112,"altitude":11,"angle":2,"satellites":43,"speed":49,"hex_longitude":"2d7ea7c0","hex_latitude":"05b6c148","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009537792001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282380334341816320,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825683896320,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381015000,"timestamp_ms":1777381015000,"timestamp_seconds":1777381015,"priority":1,"record_length":96,"hex_timestamp":"0000019dd429fdd8"} 
[2026-04-28 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009537792001,"66":27930,"122":206,"85":12544,"24":49,"16":282380334341816320,"45":9126192825683896320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-28 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009537792001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:28:30] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-28 18:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282380334341816320,"km_value":282380334341816.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825683896320,"description":"Unknown IO ID 45"} 
[2026-04-28 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009537792001,"power":27930,"unknown_122":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9126192825683896320}} 
[2026-04-28 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":56659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:28:30] local.INFO: GPS data processed {"connection_id":56659,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:28:30] local.INFO: Acknowledgment sent {"connection_id":56659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:28:45] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a57b0012d1818800721a340004c00ca29..."} 
[2026-04-28 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a57b0012d1818800721a340004c00ca29..."} 
[2026-04-28 18:28:45] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a57b0012d1818800721a340004c00ca29..."} 
[2026-04-28 18:28:45] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:45] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119644992,"longitude_deg":75.6553856,"latitude_deg":11.9644992,"altitude":76,"angle":202,"satellites":41,"speed":10,"hex_longitude":"2d181880","hex_latitude":"0721a340","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009540352001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701664425443328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841400320,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777381038000,"timestamp_ms":1777381038000,"timestamp_seconds":1777381038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a57b0"} 
[2026-04-28 18:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:28: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-04-28 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-28 18:28:45] 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-04-28 18: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-04-28 18:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009540352001,"66":13820,"107":206,"83":41984,"24":10,"16":115701664425443328,"45":1737826536841400320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009540352001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:28:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701664425443328,"km_value":115701664425443.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841400320,"description":"Unknown IO ID 45"} 
[2026-04-28 18:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009540352001,"power":13820,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536841400320}} 
[2026-04-28 18:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:28:45] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:28:45] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:28:53] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:53] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:53] local.INFO: IMEI packet received {"connection_id":57573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":57573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:28:55] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:55] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:55] local.INFO: IMEI packet received {"connection_id":57573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":57573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:28:58] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:58] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:28:58] local.INFO: IMEI packet received {"connection_id":57573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":57573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:28:59] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a1d18012d7ea90005b6e578000a00022c..."} 
[2026-04-28 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a1d18012d7ea90005b6e578000a00022c..."} 
[2026-04-28 18:28:59] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a1d18012d7ea90005b6e578000a00022c..."} 
[2026-04-28 18:28:59] local.INFO: Packet analysis {"connection_id":57573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:59] local.INFO: Extracted packet for processing {"connection_id":57573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95872376,"longitude_deg":76.327552,"latitude_deg":9.5872376,"altitude":10,"angle":2,"satellites":44,"speed":42,"hex_longitude":"2d7ea900","hex_latitude":"05b6e578","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009539840001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282380785313382400,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474300663089152,"note":"Value kept but may cause issues"} 
[2026-04-28 18:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381023000,"timestamp_ms":1777381023000,"timestamp_seconds":1777381023,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a1d18"} 
[2026-04-28 18:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:28: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-04-28 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-28 18:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009539840001,"66":27865,"122":206,"85":12544,"24":42,"16":282380785313382400,"45":9126474300663089152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-28 18:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009539840001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:28:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-28 18:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282380785313382400,"km_value":282380785313382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474300663089152,"description":"Unknown IO ID 45"} 
[2026-04-28 18:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009539840001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9126474300663089152}} 
[2026-04-28 18:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":57573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:28:59] local.INFO: GPS data processed {"connection_id":57573,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:28:59] local.INFO: Acknowledgment sent {"connection_id":57573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:29:03] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a4428012d7eaa0005b70a40000a01662e..."} 
[2026-04-28 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a4428012d7eaa0005b70a40000a01662e..."} 
[2026-04-28 18:29:03] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a4428012d7eaa0005b70a40000a01662e..."} 
[2026-04-28 18:29:03] local.INFO: Packet analysis {"connection_id":57573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:03] local.INFO: Extracted packet for processing {"connection_id":57573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95881792,"longitude_deg":76.3275776,"latitude_deg":9.5881792,"altitude":10,"angle":358,"satellites":46,"speed":30,"hex_longitude":"2d7eaa00","hex_latitude":"05b70a40","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009541888001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282381240579915776,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144386349056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:03] 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-04-28 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777381033000,"timestamp_ms":1777381033000,"timestamp_seconds":1777381033,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a4428"} 
[2026-04-28 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009541888001,"66":27876,"121":206,"85":12544,"24":30,"16":282381240579915776,"45":9126826144386349056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009541888001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282381240579915776,"km_value":282381240579915.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144386349056,"description":"Unknown IO ID 45"} 
[2026-04-28 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009541888001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9126826144386349056}} 
[2026-04-28 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":57573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:29:03] local.INFO: GPS data processed {"connection_id":57573,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:29:03] local.INFO: Acknowledgment sent {"connection_id":57573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:29:08] local.INFO: TCP Data received {"connection_id":57574,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:08] local.INFO: Processing buffer {"connection_id":57574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:08] local.INFO: IMEI packet received {"connection_id":57574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":57574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:29:13] local.INFO: TCP Data received {"connection_id":57574,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:13] local.INFO: Processing buffer {"connection_id":57574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:29:13] local.INFO: IMEI packet received {"connection_id":57574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":57574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:29:14] local.INFO: TCP Data received {"connection_id":57574,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a7308012d181140072195c0004c00d729..."} 
[2026-04-28 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a7308012d181140072195c0004c00d729..."} 
[2026-04-28 18:29:14] local.INFO: Processing buffer {"connection_id":57574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a7308012d181140072195c0004c00d729..."} 
[2026-04-28 18:29:14] local.INFO: Packet analysis {"connection_id":57574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:14] local.INFO: Extracted packet for processing {"connection_id":57574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756552000,"raw_latitude":119641536,"longitude_deg":75.6552,"latitude_deg":11.9641536,"altitude":76,"angle":215,"satellites":41,"speed":28,"hex_longitude":"2d181140","hex_latitude":"072195c0","is_valid_coordinates":true} 
[2026-04-28 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009545728001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701857698971648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468799488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777381045000,"timestamp_ms":1777381045000,"timestamp_seconds":1777381045,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a7308"} 
[2026-04-28 18:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-28 18:29:14] 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-04-28 18:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009545728001,"66":12841,"107":206,"83":41984,"24":28,"16":115701857698971648,"45":1736278424468799488},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009545728001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:29:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701857698971648,"km_value":115701857698971.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468799488,"description":"Unknown IO ID 45"} 
[2026-04-28 18:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009545728001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1736278424468799488}} 
[2026-04-28 18:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":57574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:29:14] local.INFO: GPS data processed {"connection_id":57574,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:29:14] local.INFO: Acknowledgment sent {"connection_id":57574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:29:34] local.INFO: TCP Data received {"connection_id":57573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a6f20012d7eab0005b72f70000900012d..."} 
[2026-04-28 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a6f20012d7eab0005b72f70000900012d..."} 
[2026-04-28 18:29:34] local.INFO: Processing buffer {"connection_id":57573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a6f20012d7eab0005b72f70000900012d..."} 
[2026-04-28 18:29:34] local.INFO: Packet analysis {"connection_id":57573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:34] local.INFO: Extracted packet for processing {"connection_id":57573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95891312,"longitude_deg":76.3276032,"latitude_deg":9.5891312,"altitude":9,"angle":1,"satellites":45,"speed":39,"hex_longitude":"2d7eab00","hex_latitude":"05b72f70","is_valid_coordinates":true} 
[2026-04-28 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009544448001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282381704436383744,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619365470208,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:34] 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-04-28 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777381044000,"timestamp_ms":1777381044000,"timestamp_seconds":1777381044,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a6f20"} 
[2026-04-28 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009544448001,"66":27745,"121":206,"85":12544,"24":39,"16":282381704436383744,"45":9127107619365470208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009544448001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:29:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282381704436383744,"km_value":282381704436383.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619365470208,"description":"Unknown IO ID 45"} 
[2026-04-28 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009544448001,"power":27745,"unknown_121":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9127107619365470208}} 
[2026-04-28 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":57573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:29:34] local.INFO: GPS data processed {"connection_id":57573,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:29:34] local.INFO: Acknowledgment sent {"connection_id":57573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:29:45] local.INFO: TCP Data received {"connection_id":57574,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a8690012d18080007218b50004b00e428..."} 
[2026-04-28 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a8690012d18080007218b50004b00e428..."} 
[2026-04-28 18:29:45] local.INFO: Processing buffer {"connection_id":57574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a8690012d18080007218b50004b00e428..."} 
[2026-04-28 18:29:45] local.INFO: Packet analysis {"connection_id":57574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:45] local.INFO: Extracted packet for processing {"connection_id":57574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756549632,"raw_latitude":119638864,"longitude_deg":75.6549632,"latitude_deg":11.9638864,"altitude":75,"angle":228,"satellites":40,"speed":26,"hex_longitude":"2d180800","hex_latitude":"07218b50","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009547520001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702029497663488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734237730886762496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777381050000,"timestamp_ms":1777381050000,"timestamp_seconds":1777381050,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a8690"} 
[2026-04-28 18:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:29: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-04-28 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:29:45] 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-04-28 18: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-04-28 18:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009547520001,"66":12776,"107":206,"83":41984,"24":26,"16":115702029497663488,"45":1734237730886762496},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009547520001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:29:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702029497663488,"km_value":115702029497663.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734237730886762496,"description":"Unknown IO ID 45"} 
[2026-04-28 18:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009547520001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1734237730886762496}} 
[2026-04-28 18:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":57574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:29:45] local.INFO: GPS data processed {"connection_id":57574,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:29:45] local.INFO: Acknowledgment sent {"connection_id":57574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:29:52] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:52] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:52] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:29:57] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:57] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:29:57] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:30:00] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42a9a18012d7eab8005b75468000a01642a..."} 
[2026-04-28 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42a9a18012d7eab8005b75468000a01642a..."} 
[2026-04-28 18:30:00] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42a9a18012d7eab8005b75468000a01642a..."} 
[2026-04-28 18:30:00] local.INFO: Packet analysis {"connection_id":56889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:00] local.INFO: Extracted packet for processing {"connection_id":56889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95900776,"longitude_deg":76.327616,"latitude_deg":9.5900776,"altitude":10,"angle":356,"satellites":42,"speed":25,"hex_longitude":"2d7eab80","hex_latitude":"05b75468","is_valid_coordinates":true} 
[2026-04-28 18:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009547264001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282382163997884416,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094344617984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:00] 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-04-28 18:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777381055000,"timestamp_ms":1777381055000,"timestamp_seconds":1777381055,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42a9a18"} 
[2026-04-28 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-04-28 18:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009547264001,"66":27974,"121":206,"85":12544,"24":25,"16":282382163997884416,"45":9127389094344617984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009547264001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282382163997884416,"km_value":282382163997884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094344617984,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009547264001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9127389094344617984}} 
[2026-04-28 18:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":56889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:00] local.INFO: GPS data processed {"connection_id":56889,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:00] local.INFO: Acknowledgment sent {"connection_id":56889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:30:14] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:14] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:14] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:30:18] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:18] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:30:18] local.INFO: IMEI packet received {"connection_id":56660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":56660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:30:19] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ad898012d17ef40072175f0004b00e127..."} 
[2026-04-28 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ad898012d17ef40072175f0004b00e127..."} 
[2026-04-28 18:30:19] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ad898012d17ef40072175f0004b00e127..."} 
[2026-04-28 18:30:19] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:19] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119633392,"longitude_deg":75.6543296,"latitude_deg":11.9633392,"altitude":75,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d17ef40","hex_latitude":"072175f0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009548800001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702433224589312,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1731634087351504896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777381071000,"timestamp_ms":1777381071000,"timestamp_seconds":1777381071,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ad898"} 
[2026-04-28 18:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:30: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-04-28 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009548800001,"66":12841,"107":206,"83":41984,"24":0,"16":115702433224589312,"45":1731634087351504896},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009548800001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702433224589312,"km_value":115702433224589.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1731634087351504896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009548800001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1731634087351504896}} 
[2026-04-28 18:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:19] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:19] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:30:20] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42adc80012d17ee8007217638004b012e29..."} 
[2026-04-28 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42adc80012d17ee8007217638004b012e29..."} 
[2026-04-28 18:30:20] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42adc80012d17ee8007217638004b012e29..."} 
[2026-04-28 18:30:20] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:20] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119633464,"longitude_deg":75.6543104,"latitude_deg":11.9633464,"altitude":75,"angle":302,"satellites":41,"speed":6,"hex_longitude":"2d17ee80","hex_latitude":"07217638","is_valid_coordinates":true} 
[2026-04-28 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009554176001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702441814523904,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676515328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777381072000,"timestamp_ms":1777381072000,"timestamp_seconds":1777381072,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42adc80"} 
[2026-04-28 18:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:30: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-04-28 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:20] 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-04-28 18:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009554176001,"66":12841,"107":206,"83":41984,"24":6,"16":115702441814523904,"45":1724667581676515328},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009554176001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702441814523904,"km_value":115702441814523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676515328,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009554176001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1724667581676515328}} 
[2026-04-28 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:20] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:20] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:30:31] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ad4b0012d7eab8005b77920000e00012c..."} 
[2026-04-28 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ad4b0012d7eab8005b77920000e00012c..."} 
[2026-04-28 18:30:31] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ad4b0012d7eab8005b77920000e00012c..."} 
[2026-04-28 18:30:31] local.INFO: Packet analysis {"connection_id":56889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:31] local.INFO: Extracted packet for processing {"connection_id":56889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95910176,"longitude_deg":76.327616,"latitude_deg":9.5910176,"altitude":14,"angle":1,"satellites":44,"speed":33,"hex_longitude":"2d7eab80","hex_latitude":"05b77920","is_valid_coordinates":true} 
[2026-04-28 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009550080001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282382619264417792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831835396096,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:31] 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-04-28 18:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777381070000,"timestamp_ms":1777381070000,"timestamp_seconds":1777381070,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ad4b0"} 
[2026-04-28 18:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009550080001,"66":27865,"121":206,"85":12544,"24":33,"16":282382619264417792,"45":9127529831835396096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009550080001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282382619264417792,"km_value":282382619264417.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831835396096,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009550080001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9127529831835396096}} 
[2026-04-28 18:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":56889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:31] local.INFO: GPS data processed {"connection_id":56889,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:31] local.INFO: Acknowledgment sent {"connection_id":56889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:30:51] local.INFO: TCP Data received {"connection_id":56660,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ae068012d17ee40072176b8004b014d29..."} 
[2026-04-28 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ae068012d17ee40072176b8004b014d29..."} 
[2026-04-28 18:30:51] local.INFO: Processing buffer {"connection_id":56660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ae068012d17ee40072176b8004b014d29..."} 
[2026-04-28 18:30:51] local.INFO: Packet analysis {"connection_id":56660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:51] local.INFO: Extracted packet for processing {"connection_id":56660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756543040,"raw_latitude":119633592,"longitude_deg":75.654304,"latitude_deg":11.9633592,"altitude":75,"angle":333,"satellites":41,"speed":7,"hex_longitude":"2d17ee40","hex_latitude":"072176b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009554432001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702450404458496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475444000768,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777381073000,"timestamp_ms":1777381073000,"timestamp_seconds":1777381073,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ae068"} 
[2026-04-28 18:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009554432001,"66":12809,"107":206,"83":41984,"24":7,"16":115702450404458496,"45":1724456475444000768},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009554432001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702450404458496,"km_value":115702450404458.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475444000768,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009554432001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724456475444000768}} 
[2026-04-28 18:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":56660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:51] local.INFO: GPS data processed {"connection_id":56660,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:51] local.INFO: Acknowledgment sent {"connection_id":56660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:30:52] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:52] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:52] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:30:55] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:55] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:55] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:30:58] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:58] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:30:58] local.INFO: IMEI packet received {"connection_id":56661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":56661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:30:58] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ca970012d7ec64005b907d0000b00072c..."} 
[2026-04-28 18:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ca970012d7ec64005b907d0000b00072c..."} 
[2026-04-28 18:30:58] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ca970012d7ec64005b907d0000b00072c..."} 
[2026-04-28 18:30:58] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:30:58] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763283008,"raw_latitude":96012240,"longitude_deg":76.3283008,"latitude_deg":9.601224,"altitude":11,"angle":7,"satellites":44,"speed":40,"hex_longitude":"2d7ec640","hex_latitude":"05b907d0","is_valid_coordinates":true} 
[2026-04-28 18:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009582336001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282387584246611968,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133722281349240832,"note":"Value kept but may cause issues"} 
[2026-04-28 18:30:58] 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-04-28 18:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381190000,"timestamp_ms":1777381190000,"timestamp_seconds":1777381190,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ca970"} 
[2026-04-28 18:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009582336001,"66":27843,"127":206,"85":12544,"24":40,"16":282387584246611968,"45":9133722281349240832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-28 18:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009582336001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:30:58] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-28 18:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282387584246611968,"km_value":282387584246611.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133722281349240832,"description":"Unknown IO ID 45"} 
[2026-04-28 18:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009582336001,"power":27843,"unknown_127":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9133722281349240832}} 
[2026-04-28 18:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:30:59] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:30:59] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:31:07] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:07] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:07] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:31:07] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:07] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:07] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:31:08] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:08] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:08] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:31:08] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:08] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:08] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:31:12] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:12] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:31:12] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:31:13] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:13] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:31:13] local.INFO: IMEI packet received {"connection_id":56662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":56662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:31:14] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ae450012d17ee0007217750004a01642a..."} 
[2026-04-28 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ae450012d17ee0007217750004a01642a..."} 
[2026-04-28 18:31:14] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ae450012d17ee0007217750004a01642a..."} 
[2026-04-28 18:31:14] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:31:14] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42a"} 
[2026-04-28 18:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633744,"longitude_deg":75.6542976,"latitude_deg":11.9633744,"altitude":74,"angle":356,"satellites":42,"speed":7,"hex_longitude":"2d17ee00","hex_latitude":"07217750","is_valid_coordinates":true} 
[2026-04-28 18:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009554688001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702458994393088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106699855872,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777381074000,"timestamp_ms":1777381074000,"timestamp_seconds":1777381074,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ae450"} 
[2026-04-28 18:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147951011,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559523752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3004921303298219520,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2512388172,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2426824473933041192,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-720350083467391405,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,14,220,45,128,118,75,41,10,66,216,64,117,39,134,1,240,232,227,212,33,4,113,205,28,87,239,53,2,155,7,77,54,164,235],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-04-28 18:31:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404685866310762496,"timestamp_seconds":5404685866310762.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009554688001,"66":12809,"107":206,"83":41984,"24":7,"16":115702458994393088,"45":1724386106699855872},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009554688001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:31:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702458994393088,"km_value":115702458994393.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106699855872,"description":"Unknown IO ID 45"} 
[2026-04-28 18:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009554688001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724386106699855872}} 
[2026-04-28 18:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:31:14] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:31:14] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:31:17] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 18:31:17] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-28 18:31:17] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 18:31:17] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-28 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455001830912001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794756041315563520,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:17] 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-04-28 18:31:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 18:31:17] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 18:31:17] local.ERROR: GPS data processing failed {"connection_id":56849,"error":"No valid data to process"} 
[2026-04-28 18:31:17] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 18:31:34] local.INFO: TCP Data received {"connection_id":56661,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ccc98012d7eca8005b92bf8000b00072a..."} 
[2026-04-28 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ccc98012d7eca8005b92bf8000b00072a..."} 
[2026-04-28 18:31:34] local.INFO: Processing buffer {"connection_id":56661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ccc98012d7eca8005b92bf8000b00072a..."} 
[2026-04-28 18:31:34] local.INFO: Packet analysis {"connection_id":56661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:31:34] local.INFO: Extracted packet for processing {"connection_id":56661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763284096,"raw_latitude":96021496,"longitude_deg":76.3284096,"latitude_deg":9.6021496,"altitude":11,"angle":7,"satellites":42,"speed":41,"hex_longitude":"2d7eca80","hex_latitude":"05b92bf8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009584640001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282388039513145344,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135059287490940928,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:34] 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-04-28 18:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777381199000,"timestamp_ms":1777381199000,"timestamp_seconds":1777381199,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ccc98"} 
[2026-04-28 18:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009584640001,"66":27713,"127":206,"85":12544,"24":41,"16":282388039513145344,"45":9135059287490940928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-28 18:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009584640001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:31:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-28 18:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282388039513145344,"km_value":282388039513145.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135059287490940928,"description":"Unknown IO ID 45"} 
[2026-04-28 18:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009584640001,"power":27713,"unknown_127":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9135059287490940928}} 
[2026-04-28 18:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":56661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:31:34] local.INFO: GPS data processed {"connection_id":56661,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:31:34] local.INFO: Acknowledgment sent {"connection_id":56661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:31:46] local.INFO: TCP Data received {"connection_id":56662,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42dc698012d181c800721a6b0004a005325..."} 
[2026-04-28 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42dc698012d181c800721a6b0004a005325..."} 
[2026-04-28 18:31:46] local.INFO: Processing buffer {"connection_id":56662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42dc698012d181c800721a6b0004a005325..."} 
[2026-04-28 18:31:46] local.INFO: Packet analysis {"connection_id":56662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:31:46] local.INFO: Extracted packet for processing {"connection_id":56662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645872,"longitude_deg":75.655488,"latitude_deg":11.9645872,"altitude":74,"angle":83,"satellites":37,"speed":14,"hex_longitude":"2d181c80","hex_latitude":"0721a6b0","is_valid_coordinates":true} 
[2026-04-28 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009603072001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115703292218048512,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654954496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777381263000,"timestamp_ms":1777381263000,"timestamp_seconds":1777381263,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42dc698"} 
[2026-04-28 18:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:31: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-04-28 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 18:31:46] 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-04-28 18:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009603072001,"66":14233,"105":206,"83":41984,"24":14,"16":115703292218048512,"45":1737052480654954496},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009603072001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:31:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115703292218048512,"km_value":115703292218048.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654954496,"description":"Unknown IO ID 45"} 
[2026-04-28 18:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009603072001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737052480654954496}} 
[2026-04-28 18:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":56662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:31:46] local.INFO: GPS data processed {"connection_id":56662,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:31:46] local.INFO: Acknowledgment sent {"connection_id":56662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:31:48] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":327,"data_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-04-28 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":327,"packet_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-04-28 18:31:48] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":327,"buffer_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-04-28 18:31:48] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000000000001"} 
[2026-04-28 18:31:48] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000000000001"} 
[2026-04-28 18:31:48] 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-04-28 18: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":327,"current_offset":40} 
[2026-04-28 18:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76921266543525888,"note":"Value kept but may cause issues"} 
[2026-04-28 18:31:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 18:31:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:31:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":4,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:31:48] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 18:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":0,"avl_records_expected":4,"crc_valid":false} 
[2026-04-28 18:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 18:31:48] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 18:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 18:31:48] local.ERROR: GPS data processing failed {"connection_id":56849,"error":"No valid data to process"} 
[2026-04-28 18:31:48] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":0,"records_expected":4,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 18:31:54] local.INFO: TCP Data received {"connection_id":56890,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:31:54] local.INFO: Processing buffer {"connection_id":56890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:31:54] local.INFO: IMEI packet received {"connection_id":56890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":56890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:31:58] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:31:58] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:31:58] local.INFO: IMEI packet received {"connection_id":56850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":56850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:32:03] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:03] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:03] local.INFO: IMEI packet received {"connection_id":56850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":56850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:32:04] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42cefc0012d7ecf8005b95000000b000929..."} 
[2026-04-28 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42cefc0012d7ecf8005b95000000b000929..."} 
[2026-04-28 18:32:04] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42cefc0012d7ecf8005b95000000b000929..."} 
[2026-04-28 18:32:04] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:32:04] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42c"} 
[2026-04-28 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":96030720,"longitude_deg":76.3285376,"latitude_deg":9.603072,"altitude":11,"angle":9,"satellites":41,"speed":42,"hex_longitude":"2d7ecf80","hex_latitude":"05b95000","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009586944001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282388490484711424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136255556144330752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:04] 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-04-28 18:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777381208000,"timestamp_ms":1777381208000,"timestamp_seconds":1777381208,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42cefc0"} 
[2026-04-28 18:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009586944001,"66":27843,"127":206,"85":12544,"24":42,"16":282388490484711424,"45":9136255556144330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-28 18:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009586944001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:04] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-28 18:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282388490484711424,"km_value":282388490484711.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136255556144330752,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009586944001,"power":27843,"unknown_127":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9136255556144330752}} 
[2026-04-28 18:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:04] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:04] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:05] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42d12e8012d7ed58005b97450000b000a28..."} 
[2026-04-28 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42d12e8012d7ed58005b97450000b000a28..."} 
[2026-04-28 18:32:05] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42d12e8012d7ed58005b97450000b000a28..."} 
[2026-04-28 18:32:05] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:05] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763286912,"raw_latitude":96040016,"longitude_deg":76.3286912,"latitude_deg":9.6040016,"altitude":11,"angle":10,"satellites":40,"speed":42,"hex_longitude":"2d7ed580","hex_latitude":"05b97450","is_valid_coordinates":true} 
[2026-04-28 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009589248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282388945751244800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662931030245376,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:05] 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-04-28 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777381217000,"timestamp_ms":1777381217000,"timestamp_seconds":1777381217,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42d12e8"} 
[2026-04-28 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009589248001,"66":27800,"127":206,"85":12544,"24":42,"16":282388945751244800,"45":9137662931030245376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-28 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009589248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:05] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-28 18:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282388945751244800,"km_value":282388945751244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662931030245376,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009589248001,"power":27800,"unknown_127":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9137662931030245376}} 
[2026-04-28 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:05] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:05] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:07] local.INFO: TCP Data received {"connection_id":57577,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:07] local.INFO: Processing buffer {"connection_id":57577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:07] local.INFO: IMEI packet received {"connection_id":57577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":57577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:32:08] local.INFO: TCP Data received {"connection_id":57577,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:08] local.INFO: Processing buffer {"connection_id":57577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:08] local.INFO: IMEI packet received {"connection_id":57577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":57577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:32:13] local.INFO: TCP Data received {"connection_id":57577,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:13] local.INFO: Processing buffer {"connection_id":57577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:32:13] local.INFO: IMEI packet received {"connection_id":57577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":57577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:32:13] local.INFO: TCP Data received {"connection_id":57577,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42dca80012d181e000721a6b0004a006125..."} 
[2026-04-28 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42dca80012d181e000721a6b0004a006125..."} 
[2026-04-28 18:32:13] local.INFO: Processing buffer {"connection_id":57577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42dca80012d181e000721a6b0004a006125..."} 
[2026-04-28 18:32:13] local.INFO: Packet analysis {"connection_id":57577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:13] local.INFO: Extracted packet for processing {"connection_id":57577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645872,"longitude_deg":75.6555264,"latitude_deg":11.9645872,"altitude":74,"angle":97,"satellites":37,"speed":13,"hex_longitude":"2d181e00","hex_latitude":"0721a6b0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009603328001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115703313692884992,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375867392,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777381264000,"timestamp_ms":1777381264000,"timestamp_seconds":1777381264,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42dca80"} 
[2026-04-28 18:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:13] 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-04-28 18: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-04-28 18:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009603328001,"66":14233,"105":206,"83":41984,"24":13,"16":115703313692884992,"45":1737404324375867392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009603328001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115703313692884992,"km_value":115703313692884.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375867392,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009603328001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737404324375867392}} 
[2026-04-28 18:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":57577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:13] local.INFO: GPS data processed {"connection_id":57577,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:13] local.INFO: Acknowledgment sent {"connection_id":57577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:19] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019dd42ed038012d7a24c005e0e8c0000e015606..."} 
[2026-04-28 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":93,"packet_hex":"00000000000000518e010000019dd42ed038012d7a24c005e0e8c0000e015606..."} 
[2026-04-28 18:32:19] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd42ed038012d7a24c005e0e8c0000e015606..."} 
[2026-04-28 18:32:19] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd42e"} 
[2026-04-28 18:32:19] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd42e"} 
[2026-04-28 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":762979520,"raw_latitude":98625728,"longitude_deg":76.297952,"latitude_deg":9.8625728,"altitude":14,"angle":342,"satellites":6,"speed":1,"hex_longitude":"2d7a24c0","hex_latitude":"05e0e8c0","is_valid_coordinates":true} 
[2026-04-28 18: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":93,"current_offset":40} 
[2026-04-28 18:32: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-04-28 18:32: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-04-28 18:32:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 18:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 18:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 18:32:19] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 18:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 18:32:19] local.ERROR: GPS data processing failed {"connection_id":56849,"error":"No valid data to process"} 
[2026-04-28 18:32:19] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 18:32:34] local.INFO: TCP Data received {"connection_id":56851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:32:34] local.INFO: Processing buffer {"connection_id":56851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:32:34] local.INFO: IMEI packet received {"connection_id":56851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":56851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:32:35] local.INFO: TCP Data received {"connection_id":56850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42d3610012d7edbc005b997d8000b000a28..."} 
[2026-04-28 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42d3610012d7edbc005b997d8000b000a28..."} 
[2026-04-28 18:32:35] local.INFO: Processing buffer {"connection_id":56850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42d3610012d7edbc005b997d8000b000a28..."} 
[2026-04-28 18:32:35] local.INFO: Packet analysis {"connection_id":56850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:35] local.INFO: Extracted packet for processing {"connection_id":56850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763288512,"raw_latitude":96049112,"longitude_deg":76.3288512,"latitude_deg":9.6049112,"altitude":11,"angle":10,"satellites":40,"speed":39,"hex_longitude":"2d7edbc0","hex_latitude":"05b997d8","is_valid_coordinates":true} 
[2026-04-28 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009591552001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282389392427843584,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139351780892889088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:35] 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-04-28 18:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777381226000,"timestamp_ms":1777381226000,"timestamp_seconds":1777381226,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42d3610"} 
[2026-04-28 18:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009591552001,"66":27767,"127":206,"85":12544,"24":39,"16":282389392427843584,"45":9139351780892889088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-28 18:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009591552001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282389392427843584,"km_value":282389392427843.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139351780892889088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009591552001,"power":27767,"unknown_127":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9139351780892889088}} 
[2026-04-28 18:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":56850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:35] local.INFO: GPS data processed {"connection_id":56850,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:35] local.INFO: Acknowledgment sent {"connection_id":56850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:44] local.INFO: TCP Data received {"connection_id":57577,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42dce68012d181f400721a678004a006c26..."} 
[2026-04-28 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42dce68012d181f400721a678004a006c26..."} 
[2026-04-28 18:32:44] local.INFO: Processing buffer {"connection_id":57577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42dce68012d181f400721a678004a006c26..."} 
[2026-04-28 18:32:44] local.INFO: Packet analysis {"connection_id":57577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:44] local.INFO: Extracted packet for processing {"connection_id":57577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42d"} 
[2026-04-28 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645816,"longitude_deg":75.6555584,"latitude_deg":11.9645816,"altitude":74,"angle":108,"satellites":38,"speed":10,"hex_longitude":"2d181f40","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-04-28 18:32: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-04-28 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009603584001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115703326577786880,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840933376,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777381265000,"timestamp_ms":1777381265000,"timestamp_seconds":1777381265,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42dce68"} 
[2026-04-28 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:44] 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-04-28 18:32: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-04-28 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009603584001,"66":14243,"105":206,"83":41984,"24":10,"16":115703326577786880,"45":1737826536840933376},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-28 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009603584001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-28 18:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115703326577786880,"km_value":115703326577786.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840933376,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009603584001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536840933376}} 
[2026-04-28 18:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":57577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:44] local.INFO: GPS data processed {"connection_id":57577,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:44] local.INFO: Acknowledgment sent {"connection_id":57577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:50] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019dd42ed808012d7a250005e0e8c0000e005706..."} 
[2026-04-28 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":93,"packet_hex":"00000000000000518e010000019dd42ed808012d7a250005e0e8c0000e005706..."} 
[2026-04-28 18:32:50] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dd42ed808012d7a250005e0e8c0000e005706..."} 
[2026-04-28 18:32:50] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dd42e"} 
[2026-04-28 18:32:50] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dd42e"} 
[2026-04-28 18:32:50] local.INFO: GPS Element Parsed {"raw_longitude":762979584,"raw_latitude":98625728,"longitude_deg":76.2979584,"latitude_deg":9.8625728,"altitude":14,"angle":87,"satellites":6,"speed":2,"hex_longitude":"2d7a2500","hex_latitude":"05e0e8c0","is_valid_coordinates":true} 
[2026-04-28 18: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":93,"current_offset":40} 
[2026-04-28 18:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:32:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:50] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-28 18:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-28 18:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-28 18:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-28 18:32:50] local.WARNING: DEBUG: No valid data to process  
[2026-04-28 18:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-28 18:32:50] local.ERROR: GPS data processing failed {"connection_id":56849,"error":"No valid data to process"} 
[2026-04-28 18:32:50] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-28 18:32:53] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:53] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:53] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:32:54] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:54] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:54] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:32:56] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:56] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:32:56] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:32:57] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42eb8c8012d7f108005badb98000b000929..."} 
[2026-04-28 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42eb8c8012d7f108005badb98000b000929..."} 
[2026-04-28 18:32:57] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42eb8c8012d7f108005badb98000b000929..."} 
[2026-04-28 18:32:57] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:32:57] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763302016,"raw_latitude":96131992,"longitude_deg":76.3302016,"latitude_deg":9.6131992,"altitude":11,"angle":9,"satellites":41,"speed":41,"hex_longitude":"2d7f1080","hex_latitude":"05badb98","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009617152001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282393468351807488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154129217191471104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:57] 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-04-28 18:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381325000,"timestamp_ms":1777381325000,"timestamp_seconds":1777381325,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42eb8c8"} 
[2026-04-28 18:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32: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-04-28 18:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009617152001,"66":27876,"120":206,"85":12544,"24":41,"16":282393468351807488,"45":9154129217191471104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009617152001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282393468351807488,"km_value":282393468351807.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154129217191471104,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009617152001,"power":27876,"unknown_120":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9154129217191471104}} 
[2026-04-28 18:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:57] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:57] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:32:58] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ee3c0012d7f170005bafd88000c001129..."} 
[2026-04-28 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ee3c0012d7f170005bafd88000c001129..."} 
[2026-04-28 18:32:58] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ee3c0012d7f170005bafd88000c001129..."} 
[2026-04-28 18:32:58] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:32:58] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763303680,"raw_latitude":96140680,"longitude_deg":76.330368,"latitude_deg":9.614068,"altitude":12,"angle":17,"satellites":41,"speed":22,"hex_longitude":"2d7f1700","hex_latitude":"05bafd88","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009619200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282393897848537088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155958804542363648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:32:58] 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-04-28 18:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381336000,"timestamp_ms":1777381336000,"timestamp_seconds":1777381336,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ee3c0"} 
[2026-04-28 18:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:32: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-04-28 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009619200001,"66":27767,"120":206,"85":12544,"24":22,"16":282393897848537088,"45":9155958804542363648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009619200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:32:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282393897848537088,"km_value":282393897848537.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155958804542363648,"description":"Unknown IO ID 45"} 
[2026-04-28 18:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009619200001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9155958804542363648}} 
[2026-04-28 18:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:32:58] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:32:58] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:07] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:07] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:07] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:33:08] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:08] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:08] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:09] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:09] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:09] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:13] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:13] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:33:13] local.INFO: IMEI packet received {"connection_id":56663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":56663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:14] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ec868012d18c54007214b88004200ac24..."} 
[2026-04-28 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ec868012d18c54007214b88004200ac24..."} 
[2026-04-28 18:33:14] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ec868012d18c54007214b88004200ac24..."} 
[2026-04-28 18:33:14] local.INFO: Packet analysis {"connection_id":56663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:14] local.INFO: Extracted packet for processing {"connection_id":56663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622536,"longitude_deg":75.659808,"latitude_deg":11.9622536,"altitude":66,"angle":172,"satellites":36,"speed":31,"hex_longitude":"2d18c540","hex_latitude":"07214b88","is_valid_coordinates":true} 
[2026-04-28 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009619200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115705770414178304,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589295329280,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:14] 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-04-28 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777381329000,"timestamp_ms":1777381329000,"timestamp_seconds":1777381329,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ec868"} 
[2026-04-28 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 18:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009619200001,"66":13906,"106":206,"83":41984,"24":31,"16":115705770414178304,"45":1783636589295329280},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009619200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115705770414178304,"km_value":115705770414178.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589295329280,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009619200001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1783636589295329280}} 
[2026-04-28 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":56663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:14] local.INFO: GPS data processed {"connection_id":56663,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:14] local.INFO: Acknowledgment sent {"connection_id":56663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:22] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.44","data_length":171,"data_hex":"000000000000009f8e020000019dd42faaf8012d7a65c005e108200000002c06..."} 
[2026-04-28 18:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":171,"packet_hex":"000000000000009f8e020000019dd42faaf8012d7a65c005e108200000002c06..."} 
[2026-04-28 18:33:22] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019dd42faaf8012d7a65c005e108200000002c06..."} 
[2026-04-28 18:33:22] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019dd42f"} 
[2026-04-28 18:33:22] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019dd42f"} 
[2026-04-28 18:33:22] local.INFO: GPS Element Parsed {"raw_longitude":762996160,"raw_latitude":98633760,"longitude_deg":76.299616,"latitude_deg":9.863376,"altitude":0,"angle":44,"satellites":6,"speed":12,"hex_longitude":"2d7a65c0","hex_latitude":"05e10820","is_valid_coordinates":true} 
[2026-04-28 18:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-04-28 18:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009634048001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76922580803518464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676850683904,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777381387000,"timestamp_ms":1777381387000,"timestamp_seconds":1777381387,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42faaf8"} 
[2026-04-28 18:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":171,"current_offset":136} 
[2026-04-28 18:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:33:22] 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-04-28 18:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:22] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-04-28 18:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:33: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-04-28 18:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009634048001,"66":13493,"83":206,"87":12288,"24":12,"16":76922580803518464,"45":8818540676850683904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-28 18:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009634048001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-28 18:33:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-28 18:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76922580803518464,"km_value":76922580803518.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676850683904,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009634048001,"power":13493,"unknown_83":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8818540676850683904}} 
[2026-04-28 18:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:22] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:22] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:28] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42eeb90012d7f18c005bb0158000c002229..."} 
[2026-04-28 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42eeb90012d7f18c005bb0158000c002229..."} 
[2026-04-28 18:33:28] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42eeb90012d7f18c005bb0158000c002229..."} 
[2026-04-28 18:33:28] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:28] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763304128,"raw_latitude":96141656,"longitude_deg":76.3304128,"latitude_deg":9.6141656,"altitude":12,"angle":34,"satellites":41,"speed":22,"hex_longitude":"2d7f18c0","hex_latitude":"05bb0158","is_valid_coordinates":true} 
[2026-04-28 18:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009622016001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282393949388144640,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157788391893207040,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:28] 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-04-28 18:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777381338000,"timestamp_ms":1777381338000,"timestamp_seconds":1777381338,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42eeb90"} 
[2026-04-28 18:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-28 18:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009622016001,"66":27865,"120":206,"85":12544,"24":22,"16":282393949388144640,"45":9157788391893207040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009622016001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282393949388144640,"km_value":282393949388144.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157788391893207040,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009622016001,"power":27865,"unknown_120":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9157788391893207040}} 
[2026-04-28 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:29] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:29] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:45] local.INFO: TCP Data received {"connection_id":56663,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42edbf0012d18c74007213ba00040009e23..."} 
[2026-04-28 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42edbf0012d18c74007213ba00040009e23..."} 
[2026-04-28 18:33:45] local.INFO: Processing buffer {"connection_id":56663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42edbf0012d18c74007213ba00040009e23..."} 
[2026-04-28 18:33:45] local.INFO: Packet analysis {"connection_id":56663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:45] local.INFO: Extracted packet for processing {"connection_id":56663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618464,"longitude_deg":75.6598592,"latitude_deg":11.9618464,"altitude":64,"angle":158,"satellites":35,"speed":36,"hex_longitude":"2d18c740","hex_latitude":"07213ba0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009620224001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115705972277641216,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689816576,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:45] 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-04-28 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777381334000,"timestamp_ms":1777381334000,"timestamp_seconds":1777381334,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42edbf0"} 
[2026-04-28 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33: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-04-28 18: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-28 18:33:45] 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-04-28 18: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-04-28 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009620224001,"66":13820,"106":206,"83":41984,"24":36,"16":115705972277641216,"45":1784903226689816576},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009620224001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115705972277641216,"km_value":115705972277641.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689816576,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009620224001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1784903226689816576}} 
[2026-04-28 18:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":56663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:45] local.INFO: GPS data processed {"connection_id":56663,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:45] local.INFO: Acknowledgment sent {"connection_id":56663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:51] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:51] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:51] local.INFO: IMEI packet received {"connection_id":57578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":57578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:33:52] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:52] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:52] local.INFO: IMEI packet received {"connection_id":56852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":56852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:33:53] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:53] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:53] local.INFO: IMEI packet received {"connection_id":56852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":56852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:57] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:57] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:33:57] local.INFO: IMEI packet received {"connection_id":57578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":57578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:57] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":171,"data_hex":"000000000000009f8e020000019dd4301858012d7a8ec005e10e900000002e06..."} 
[2026-04-28 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":171,"packet_hex":"000000000000009f8e020000019dd4301858012d7a8ec005e10e900000002e06..."} 
[2026-04-28 18:33:57] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019dd4301858012d7a8ec005e10e900000002e06..."} 
[2026-04-28 18:33:57] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019dd430"} 
[2026-04-28 18:33:57] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019dd430"} 
[2026-04-28 18:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763006656,"raw_latitude":98635408,"longitude_deg":76.3006656,"latitude_deg":9.8635408,"altitude":0,"angle":46,"satellites":6,"speed":15,"hex_longitude":"2d7a8ec0","hex_latitude":"05e10e90","is_valid_coordinates":true} 
[2026-04-28 18: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":171,"current_offset":40} 
[2026-04-28 18:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009639936001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76923109084495872,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827688613594109952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381415000,"timestamp_ms":1777381415000,"timestamp_seconds":1777381415,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4301858"} 
[2026-04-28 18:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33:57] 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-04-28 18: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":53,"n8_eight_byte":110,"data_length":171,"current_offset":136} 
[2026-04-28 18:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:33:57] 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-04-28 18:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:57] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-04-28 18:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:33:57] 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-04-28 18:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009639936001,"66":13798,"170":206,"85":15104,"24":15,"16":76923109084495872,"45":8827688613594109952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009639936001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76923109084495872,"km_value":76923109084495.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827688613594109952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009639936001,"power":13798,"unknown_170":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8827688613594109952}} 
[2026-04-28 18:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:57] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:57] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:33:58] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:58] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:33:58] local.INFO: IMEI packet received {"connection_id":56852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:33:59] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42ef748012d7f1c4005bb0778000c001629..."} 
[2026-04-28 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42ef748012d7f1c4005bb0778000c001629..."} 
[2026-04-28 18:33:59] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42ef748012d7f1c4005bb0778000c001629..."} 
[2026-04-28 18:33:59] local.INFO: Packet analysis {"connection_id":56852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:59] local.INFO: Extracted packet for processing {"connection_id":56852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42e"} 
[2026-04-28 18:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763305024,"raw_latitude":96143224,"longitude_deg":76.3305024,"latitude_deg":9.6143224,"altitude":12,"angle":22,"satellites":41,"speed":26,"hex_longitude":"2d7f1c40","hex_latitude":"05bb0778","is_valid_coordinates":true} 
[2026-04-28 18:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009622528001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282394039582457856,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158280973102700544,"note":"Value kept but may cause issues"} 
[2026-04-28 18:33:59] 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-04-28 18:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381341000,"timestamp_ms":1777381341000,"timestamp_seconds":1777381341,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42ef748"} 
[2026-04-28 18:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:33: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-04-28 18:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009622528001,"66":27876,"120":206,"85":12544,"24":26,"16":282394039582457856,"45":9158280973102700544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009622528001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:33:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282394039582457856,"km_value":282394039582457.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158280973102700544,"description":"Unknown IO ID 45"} 
[2026-04-28 18:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009622528001,"power":27876,"unknown_120":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9158280973102700544}} 
[2026-04-28 18:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":56852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:33:59] local.INFO: GPS data processed {"connection_id":56852,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:33:59] local.INFO: Acknowledgment sent {"connection_id":56852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:09] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: IMEI packet received {"connection_id":57579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":57579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:34:09] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:09] local.INFO: IMEI packet received {"connection_id":57579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":57579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:34:10] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:10] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:10] local.INFO: IMEI packet received {"connection_id":57579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":57579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:34:11] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:11] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:34:11] local.INFO: IMEI packet received {"connection_id":57579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":57579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:34:12] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42fa328012d1951800720ab48002c006325..."} 
[2026-04-28 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42fa328012d1951800720ab48002c006325..."} 
[2026-04-28 18:34:12] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42fa328012d1951800720ab48002c006325..."} 
[2026-04-28 18:34:12] local.INFO: Packet analysis {"connection_id":57579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42f"} 
[2026-04-28 18:34:12] local.INFO: Extracted packet for processing {"connection_id":57579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42f"} 
[2026-04-28 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119581512,"longitude_deg":75.6633984,"latitude_deg":11.9581512,"altitude":44,"angle":99,"satellites":37,"speed":42,"hex_longitude":"2d195180","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-04-28 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009634560001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115708622272462848,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092162983936,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777381385000,"timestamp_ms":1777381385000,"timestamp_seconds":1777381385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42fa328"} 
[2026-04-28 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3332655885435011011,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559855752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":53248,"corrected_to":0} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7272603113691807744,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505365172125696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3990356023,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638895357717098,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147950842,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84751263581282573,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.WARNING: Large IO value detected {"io_id":8,"raw_value":16607737228045312,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:12] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,20,128,45,186,43,39,10,66,19,96,200,48,40,73,1,240,5,227,212,32,4,113,205,41,30,220,37,239,55,2,155,7,57,42,206,208,8],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":200,"original":53248,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-28 18:34:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170643148236521472,"timestamp_seconds":3170643148236521.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":57579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":57579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":57579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009634560001,"66":14352,"106":206,"83":41984,"24":42,"16":115708622272462848,"45":1824380092162983936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009634560001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115708622272462848,"km_value":115708622272462.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092162983936,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009634560001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1824380092162983936}} 
[2026-04-28 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":57579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:12] local.INFO: GPS data processed {"connection_id":57579,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:12] local.INFO: Acknowledgment sent {"connection_id":57579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:28] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":249,"data_hex":"00000000000000ed8e030000019dd4302028012d7a91c005e10ed00000003b06..."} 
[2026-04-28 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":249,"packet_hex":"00000000000000ed8e030000019dd4302028012d7a91c005e10ed00000003b06..."} 
[2026-04-28 18:34:28] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019dd4302028012d7a91c005e10ed00000003b06..."} 
[2026-04-28 18:34:28] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019dd430"} 
[2026-04-28 18:34:28] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019dd430"} 
[2026-04-28 18:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":98635472,"longitude_deg":76.3007424,"latitude_deg":9.8635472,"altitude":0,"angle":59,"satellites":6,"speed":14,"hex_longitude":"2d7a91c0","hex_latitude":"05e10ed0","is_valid_coordinates":true} 
[2026-04-28 18: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":249,"current_offset":40} 
[2026-04-28 18:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009642240001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76923143444234240,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831207050803318784,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777381417000,"timestamp_ms":1777381417000,"timestamp_seconds":1777381417,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4302028"} 
[2026-04-28 18:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34:28] 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-04-28 18: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":53,"n8_eight_byte":230,"data_length":249,"current_offset":136} 
[2026-04-28 18:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:34:28] 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-04-28 18:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:28] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-04-28 18:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:34:28] 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-04-28 18:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009642240001,"66":13798,"170":206,"85":15104,"24":14,"16":76923143444234240,"45":8831207050803318784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009642240001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76923143444234240,"km_value":76923143444234.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831207050803318784,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009642240001,"power":13798,"unknown_170":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8831207050803318784}} 
[2026-04-28 18:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:28] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:28] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:30] local.INFO: TCP Data received {"connection_id":56852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd42f1e58012d7f228005bb19a0000b00242a..."} 
[2026-04-28 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd42f1e58012d7f228005bb19a0000b00242a..."} 
[2026-04-28 18:34:30] local.INFO: Processing buffer {"connection_id":56852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd42f1e58012d7f228005bb19a0000b00242a..."} 
[2026-04-28 18:34:30] local.INFO: Packet analysis {"connection_id":56852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd42f"} 
[2026-04-28 18:34:30] local.INFO: Extracted packet for processing {"connection_id":56852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd42f"} 
[2026-04-28 18:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763306624,"raw_latitude":96147872,"longitude_deg":76.3306624,"latitude_deg":9.6147872,"altitude":11,"angle":36,"satellites":42,"speed":10,"hex_longitude":"2d7f2280","hex_latitude":"05bb19a0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009623296001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282394275805659136,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159266135521589248,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:30] 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-04-28 18:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381351000,"timestamp_ms":1777381351000,"timestamp_seconds":1777381351,"priority":1,"record_length":96,"hex_timestamp":"0000019dd42f1e58"} 
[2026-04-28 18:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 18:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009623296001,"66":27908,"120":206,"85":12544,"24":10,"16":282394275805659136,"45":9159266135521589248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009623296001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282394275805659136,"km_value":282394275805659.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159266135521589248,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009623296001,"power":27908,"unknown_120":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9159266135521589248}} 
[2026-04-28 18:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":56852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:30] local.INFO: GPS data processed {"connection_id":56852,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:30] local.INFO: Acknowledgment sent {"connection_id":56852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:43] local.INFO: TCP Data received {"connection_id":57579,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4303b80012d19ae0007208750002a00aa23..."} 
[2026-04-28 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4303b80012d19ae0007208750002a00aa23..."} 
[2026-04-28 18:34:43] local.INFO: Processing buffer {"connection_id":57579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4303b80012d19ae0007208750002a00aa23..."} 
[2026-04-28 18:34:43] local.INFO: Packet analysis {"connection_id":57579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:34:43] local.INFO: Extracted packet for processing {"connection_id":57579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572304,"longitude_deg":75.6657664,"latitude_deg":11.9572304,"altitude":42,"angle":170,"satellites":35,"speed":38,"hex_longitude":"2d19ae00","hex_latitude":"07208750","is_valid_coordinates":true} 
[2026-04-28 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009644032001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115710413273825280,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274281984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777381424000,"timestamp_ms":1777381424000,"timestamp_seconds":1777381424,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4303b80"} 
[2026-04-28 18:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34: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-04-28 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-28 18:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009644032001,"66":13928,"106":206,"83":41984,"24":38,"16":115710413273825280,"45":1850205421274281984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009644032001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:34:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115710413273825280,"km_value":115710413273825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274281984,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009644032001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1850205421274281984}} 
[2026-04-28 18:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":57579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:43] local.INFO: GPS data processed {"connection_id":57579,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:43] local.INFO: Acknowledgment sent {"connection_id":57579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:53] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:53] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:53] local.INFO: IMEI packet received {"connection_id":56853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":56853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:34:57] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:57] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:34:57] local.INFO: IMEI packet received {"connection_id":56853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":56853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:34:58] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4304738012d7f440005bc0178000c000929..."} 
[2026-04-28 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4304738012d7f440005bc0178000c000929..."} 
[2026-04-28 18:34:58] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4304738012d7f440005bc0178000c000929..."} 
[2026-04-28 18:34:58] local.INFO: Packet analysis {"connection_id":56853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:34:58] local.INFO: Extracted packet for processing {"connection_id":56853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763315200,"raw_latitude":96207224,"longitude_deg":76.33152,"latitude_deg":9.6207224,"altitude":12,"angle":9,"satellites":41,"speed":41,"hex_longitude":"2d7f4400","hex_latitude":"05bc0178","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009643264001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282397226448191488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625178511364096,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] 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-04-28 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381427000,"timestamp_ms":1777381427000,"timestamp_seconds":1777381427,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4304738"} 
[2026-04-28 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34: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-04-28 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-28 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009643264001,"66":27919,"120":206,"85":12544,"24":41,"16":282397226448191488,"45":9168625178511364096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009643264001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282397226448191488,"km_value":282397226448191.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625178511364096,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009643264001,"power":27919,"unknown_120":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9168625178511364096}} 
[2026-04-28 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":56853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:58] local.INFO: GPS data processed {"connection_id":56853,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:58] local.INFO: Acknowledgment sent {"connection_id":56853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:34:58] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":327,"data_hex":"000000000000013b8e040000019dd43027f8012d7a954005e10e600000004606..."} 
[2026-04-28 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":327,"packet_hex":"000000000000013b8e040000019dd43027f8012d7a954005e10e600000004606..."} 
[2026-04-28 18:34:58] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019dd43027f8012d7a954005e10e600000004606..."} 
[2026-04-28 18:34:58] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019dd430"} 
[2026-04-28 18:34:58] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019dd430"} 
[2026-04-28 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763008320,"raw_latitude":98635360,"longitude_deg":76.300832,"latitude_deg":9.863536,"altitude":0,"angle":70,"satellites":6,"speed":14,"hex_longitude":"2d7a9540","hex_latitude":"05e10e60","is_valid_coordinates":true} 
[2026-04-28 18: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":327,"current_offset":40} 
[2026-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009642752001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76923190688874496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832051475733467136,"note":"Value kept but may cause issues"} 
[2026-04-28 18:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381419000,"timestamp_ms":1777381419000,"timestamp_seconds":1777381419,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43027f8"} 
[2026-04-28 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:34:58] 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-04-28 18: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":53,"n8_eight_byte":230,"data_length":327,"current_offset":136} 
[2026-04-28 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-04-28 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:34:58] 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-04-28 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009642752001,"66":13613,"170":206,"85":15104,"24":14,"16":76923190688874496,"45":8832051475733467136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009642752001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76923190688874496,"km_value":76923190688874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832051475733467136,"description":"Unknown IO ID 45"} 
[2026-04-28 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009642752001,"power":13613,"unknown_170":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8832051475733467136}} 
[2026-04-28 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:34:58] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:34:58] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:35:07] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:07] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:07] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:35:08] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:08] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:08] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:35:09] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:35:09] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:35:09] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:35:29] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":405,"data_hex":"00000000000001898e050000019dd4304b20012d7aa48005e112c80000003a06..."} 
[2026-04-28 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":405,"packet_hex":"00000000000001898e050000019dd4304b20012d7aa48005e112c80000003a06..."} 
[2026-04-28 18:35:29] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":405,"buffer_hex":"00000000000001898e050000019dd4304b20012d7aa48005e112c80000003a06..."} 
[2026-04-28 18:35:29] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019dd430"} 
[2026-04-28 18:35:29] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019dd430"} 
[2026-04-28 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763012224,"raw_latitude":98636488,"longitude_deg":76.3012224,"latitude_deg":9.8636488,"altitude":0,"angle":58,"satellites":6,"speed":18,"hex_longitude":"2d7aa480","hex_latitude":"05e112c8","is_valid_coordinates":true} 
[2026-04-28 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":405,"current_offset":40} 
[2026-04-28 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009643264001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76923388257370112,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833036638151925760,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777381428000,"timestamp_ms":1777381428000,"timestamp_seconds":1777381428,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4304b20"} 
[2026-04-28 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:35:29] 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-04-28 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":53,"n8_eight_byte":45,"data_length":405,"current_offset":136} 
[2026-04-28 18:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-04-28 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009643264001,"66":13330,"170":206,"85":15104,"24":18,"16":76923388257370112,"45":8833036638151925760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009643264001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:35:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76923388257370112,"km_value":76923388257370.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833036638151925760,"description":"Unknown IO ID 45"} 
[2026-04-28 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009643264001,"power":13330,"unknown_170":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8833036638151925760}} 
[2026-04-28 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:35:29] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:35:29] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:35:36] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4307230012d7f4a4005bc2420000b000829..."} 
[2026-04-28 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4307230012d7f4a4005bc2420000b000829..."} 
[2026-04-28 18:35:36] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4307230012d7f4a4005bc2420000b000829..."} 
[2026-04-28 18:35:36] local.INFO: Packet analysis {"connection_id":56853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:35:36] local.INFO: Extracted packet for processing {"connection_id":56853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763316800,"raw_latitude":96216096,"longitude_deg":76.33168,"latitude_deg":9.6216096,"altitude":11,"angle":8,"satellites":41,"speed":21,"hex_longitude":"2d7f4a40","hex_latitude":"05bc2420","is_valid_coordinates":true} 
[2026-04-28 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009645312001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282397664534855680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170454765862221824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:36] 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-04-28 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777381438000,"timestamp_ms":1777381438000,"timestamp_seconds":1777381438,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4307230"} 
[2026-04-28 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:35:36] 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-04-28 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009645312001,"66":27821,"120":206,"85":12544,"24":21,"16":282397664534855680,"45":9170454765862221824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-28 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009645312001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282397664534855680,"km_value":282397664534855.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170454765862221824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009645312001,"power":27821,"unknown_120":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9170454765862221824}} 
[2026-04-28 18:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":56853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:35:36] local.INFO: GPS data processed {"connection_id":56853,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:35:36] local.INFO: Acknowledgment sent {"connection_id":56853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:35:53] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:53] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:53] local.INFO: IMEI packet received {"connection_id":56895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:35:58] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:58] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:35:58] local.INFO: IMEI packet received {"connection_id":56895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":56895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:35:59] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd430a110012d7f504005bc49a8000c000829..."} 
[2026-04-28 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd430a110012d7f504005bc49a8000c000829..."} 
[2026-04-28 18:35:59] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd430a110012d7f504005bc49a8000c000829..."} 
[2026-04-28 18:35:59] local.INFO: Packet analysis {"connection_id":56895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:35:59] local.INFO: Extracted packet for processing {"connection_id":56895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763318336,"raw_latitude":96225704,"longitude_deg":76.3318336,"latitude_deg":9.6225704,"altitude":12,"angle":8,"satellites":41,"speed":41,"hex_longitude":"2d7f5040","hex_latitude":"05bc49a8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009648128001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282398136981258240,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172213984468934656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:35:59] 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-04-28 18:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381450000,"timestamp_ms":1777381450000,"timestamp_seconds":1777381450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd430a110"} 
[2026-04-28 18:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:35: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-04-28 18:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009648128001,"66":27865,"121":206,"85":12544,"24":41,"16":282398136981258240,"45":9172213984468934656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009648128001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:35:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282398136981258240,"km_value":282398136981258.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172213984468934656,"description":"Unknown IO ID 45"} 
[2026-04-28 18:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009648128001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9172213984468934656}} 
[2026-04-28 18:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":56895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:35:59] local.INFO: GPS data processed {"connection_id":56895,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:35:59] local.INFO: Acknowledgment sent {"connection_id":56895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:36:01] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd431c9f0012d7b54c005e16da00000001106..."} 
[2026-04-28 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd431c9f0012d7b54c005e16da00000001106..."} 
[2026-04-28 18:36:01] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd431c9f0012d7b54c005e16da00000001106..."} 
[2026-04-28 18:36:01] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd431"} 
[2026-04-28 18:36:01] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd431"} 
[2026-04-28 18:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763057344,"raw_latitude":98659744,"longitude_deg":76.3057344,"latitude_deg":9.8659744,"altitude":0,"angle":17,"satellites":6,"speed":13,"hex_longitude":"2d7b54c0","hex_latitude":"05e16da0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009670144001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76925866453499904,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827546961920,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777381526000,"timestamp_ms":1777381526000,"timestamp_seconds":1777381526,"priority":1,"record_length":96,"hex_timestamp":"0000019dd431c9f0"} 
[2026-04-28 18:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:36:01] 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-04-28 18:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583562,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559980752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1245976472200413184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131306,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004256156299691,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779112960,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-1621289401029492736,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,170,85,24,241,157,16,75,166,45,128,98,6,10,66,116,95,65,1,240,137,227,212,225,4,113,205,21,37,22,239,53,2,17,5,19,122,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-04-28 18:36:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":37409165606912,"timestamp_seconds":37409165606.912,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:36: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-04-28 18:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009670144001,"66":13580,"170":206,"85":15104,"24":13,"16":76925866453499904,"45":8885742827546961920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009670144001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:36:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76925866453499904,"km_value":76925866453499.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827546961920,"description":"Unknown IO ID 45"} 
[2026-04-28 18:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009670144001,"power":13580,"unknown_170":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8885742827546961920}} 
[2026-04-28 18:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:36:01] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:36:01] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:36:30] local.INFO: TCP Data received {"connection_id":56895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd430c438012d7f56c005bc6f38000d000a27..."} 
[2026-04-28 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd430c438012d7f56c005bc6f38000d000a27..."} 
[2026-04-28 18:36:30] local.INFO: Processing buffer {"connection_id":56895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd430c438012d7f56c005bc6f38000d000a27..."} 
[2026-04-28 18:36:30] local.INFO: Packet analysis {"connection_id":56895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:36:30] local.INFO: Extracted packet for processing {"connection_id":56895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763320000,"raw_latitude":96235320,"longitude_deg":76.332,"latitude_deg":9.623532,"altitude":13,"angle":10,"satellites":39,"speed":46,"hex_longitude":"2d7f56c0","hex_latitude":"05bc6f38","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009651200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282398609427660800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173902834331658240,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36: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-04-28 18:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381459000,"timestamp_ms":1777381459000,"timestamp_seconds":1777381459,"priority":1,"record_length":96,"hex_timestamp":"0000019dd430c438"} 
[2026-04-28 18:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009651200001,"66":27843,"121":206,"85":12544,"24":46,"16":282398609427660800,"45":9173902834331658240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009651200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:36:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282398609427660800,"km_value":282398609427660.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173902834331658240,"description":"Unknown IO ID 45"} 
[2026-04-28 18:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009651200001,"power":27843,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9173902834331658240}} 
[2026-04-28 18:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":56895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:36:30] local.INFO: GPS data processed {"connection_id":56895,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:36:30] local.INFO: Acknowledgment sent {"connection_id":56895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:36:31] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd431dd78012d7b5ac005e176800000000506..."} 
[2026-04-28 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd431dd78012d7b5ac005e176800000000506..."} 
[2026-04-28 18:36:31] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd431dd78012d7b5ac005e176800000000506..."} 
[2026-04-28 18:36:31] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd431"} 
[2026-04-28 18:36:31] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd431"} 
[2026-04-28 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":98662016,"longitude_deg":76.305888,"latitude_deg":9.8662016,"altitude":0,"angle":5,"satellites":6,"speed":20,"hex_longitude":"2d7b5ac0","hex_latitude":"05e17680","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009670656001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76925999597486080,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886939096198258688,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777381531000,"timestamp_ms":1777381531000,"timestamp_seconds":1777381531,"priority":1,"record_length":96,"hex_timestamp":"0000019dd431dd78"} 
[2026-04-28 18:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:36:31] 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-04-28 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583562,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3559990752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1246053438014357504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110821802,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3780046848,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":123,"raw_value":198164848615358464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271324990714283,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,170,85,24,241,157,16,75,194,45,128,105,6,10,66,166,98,116,1,240,121,227,212,225,4,113,205,22,49,27,80,239,54,2,17,5,123,53,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-04-28 18:36:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":18717468327936,"timestamp_seconds":18717468327.936,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:36:31] 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-04-28 18:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009670656001,"66":13624,"170":206,"85":15104,"24":20,"16":76925999597486080,"45":8886939096198258688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009670656001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:36:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76925999597486080,"km_value":76925999597486.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886939096198258688,"description":"Unknown IO ID 45"} 
[2026-04-28 18:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009670656001,"power":13624,"unknown_170":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8886939096198258688}} 
[2026-04-28 18:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:36:31] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:36:31] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:36:52] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:52] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:52] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:36:58] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:58] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:36:58] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:36:59] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd430e378012d7f5cc005bc9440000d000827..."} 
[2026-04-28 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd430e378012d7f5cc005bc9440000d000827..."} 
[2026-04-28 18:36:59] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd430e378012d7f5cc005bc9440000d000827..."} 
[2026-04-28 18:36:59] local.INFO: Packet analysis {"connection_id":56896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:36:59] local.INFO: Extracted packet for processing {"connection_id":56896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763321536,"raw_latitude":96244800,"longitude_deg":76.3321536,"latitude_deg":9.62448,"altitude":13,"angle":8,"satellites":39,"speed":50,"hex_longitude":"2d7f5cc0","hex_latitude":"05bc9440","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282399073284128768,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175732421682739200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:36:59] 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-04-28 18:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381467000,"timestamp_ms":1777381467000,"timestamp_seconds":1777381467,"priority":1,"record_length":96,"hex_timestamp":"0000019dd430e378"} 
[2026-04-28 18:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009653504001,"66":27821,"121":206,"85":12544,"24":50,"16":282399073284128768,"45":9175732421682739200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:36:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282399073284128768,"km_value":282399073284128.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175732421682739200,"description":"Unknown IO ID 45"} 
[2026-04-28 18:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009653504001,"power":27821,"unknown_121":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9175732421682739200}} 
[2026-04-28 18:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":56896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:36:59] local.INFO: GPS data processed {"connection_id":56896,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:36:59] local.INFO: Acknowledgment sent {"connection_id":56896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:37:02] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4321bf8012d7b5e4005e19b000000000806..."} 
[2026-04-28 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4321bf8012d7b5e4005e19b000000000806..."} 
[2026-04-28 18:37:02] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4321bf8012d7b5e4005e19b000000000806..."} 
[2026-04-28 18:37:02] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:37:02] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763059776,"raw_latitude":98671360,"longitude_deg":76.3059776,"latitude_deg":9.867136,"altitude":0,"angle":8,"satellites":6,"speed":27,"hex_longitude":"2d7b5e40","hex_latitude":"05e19b00","is_valid_coordinates":true} 
[2026-04-28 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009671936001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76926454864019456,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946059104256,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777381547000,"timestamp_ms":1777381547000,"timestamp_seconds":1777381547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4321bf8"} 
[2026-04-28 18:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:37:02] 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-04-28 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 18:37:02] 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-04-28 18:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:37:02] 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-04-28 18:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009671936001,"66":13537,"170":206,"85":15104,"24":27,"16":76926454864019456,"45":8888627946059104256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009671936001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:37:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76926454864019456,"km_value":76926454864019.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946059104256,"description":"Unknown IO ID 45"} 
[2026-04-28 18:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009671936001,"power":13537,"unknown_170":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8888627946059104256}} 
[2026-04-28 18:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:37:03] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:37:03] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:37:30] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd430fed0012d7f630005bcb750000c000a29..."} 
[2026-04-28 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd430fed0012d7f630005bcb750000c000a29..."} 
[2026-04-28 18:37:30] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd430fed0012d7f630005bcb750000c000a29..."} 
[2026-04-28 18:37:30] local.INFO: Packet analysis {"connection_id":56896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:37:30] local.INFO: Extracted packet for processing {"connection_id":56896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd430"} 
[2026-04-28 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763323136,"raw_latitude":96253776,"longitude_deg":76.3323136,"latitude_deg":9.6253776,"altitude":12,"angle":10,"satellites":41,"speed":50,"hex_longitude":"2d7f6300","hex_latitude":"05bcb750","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009655552001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282399515665760256,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177421271545430016,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37: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-04-28 18:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381474000,"timestamp_ms":1777381474000,"timestamp_seconds":1777381474,"priority":1,"record_length":96,"hex_timestamp":"0000019dd430fed0"} 
[2026-04-28 18:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009655552001,"66":27865,"121":206,"85":12544,"24":50,"16":282399515665760256,"45":9177421271545430016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-28 18:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009655552001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:37:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-28 18:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282399515665760256,"km_value":282399515665760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177421271545430016,"description":"Unknown IO ID 45"} 
[2026-04-28 18:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009655552001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9177421271545430016}} 
[2026-04-28 18:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":56896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:37:30] local.INFO: GPS data processed {"connection_id":56896,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:37:30] local.INFO: Acknowledgment sent {"connection_id":56896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:37:34] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4325a78012d7b600005e1bf100000000d06..."} 
[2026-04-28 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4325a78012d7b600005e1bf100000000d06..."} 
[2026-04-28 18:37:34] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4325a78012d7b600005e1bf100000000d06..."} 
[2026-04-28 18:37:34] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:37:34] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763060224,"raw_latitude":98680592,"longitude_deg":76.3060224,"latitude_deg":9.8680592,"altitude":0,"angle":13,"satellites":6,"speed":25,"hex_longitude":"2d7b6000","hex_latitude":"05e1bf10","is_valid_coordinates":true} 
[2026-04-28 18:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009676032001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76926905835585536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889613108479983616,"note":"Value kept but may cause issues"} 
[2026-04-28 18:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777381563000,"timestamp_ms":1777381563000,"timestamp_seconds":1777381563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4325a78"} 
[2026-04-28 18:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:37:34] 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-04-28 18:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-28 18:37:34] 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-04-28 18:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:37:34] 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-04-28 18:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009676032001,"66":13765,"170":206,"85":15104,"24":25,"16":76926905835585536,"45":8889613108479983616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 18:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009676032001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:37:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 18:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76926905835585536,"km_value":76926905835585.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889613108479983616,"description":"Unknown IO ID 45"} 
[2026-04-28 18:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009676032001,"power":13765,"unknown_170":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8889613108479983616}} 
[2026-04-28 18:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:37:34] local.INFO: GPS data processed {"connection_id":57578,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:37:34] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:37:54] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:54] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:54] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:37:58] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:58] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:37:58] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:37:59] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:37:59] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:37:59] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:38:03] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:03] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:03] local.INFO: IMEI packet received {"connection_id":56667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":56667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:38:04] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4332598012d7fa90005be39b0000c000b2b..."} 
[2026-04-28 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4332598012d7fa90005be39b0000c000b2b..."} 
[2026-04-28 18:38:04] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4332598012d7fa90005be39b0000c000b2b..."} 
[2026-04-28 18:38:04] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:04] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":96352688,"longitude_deg":76.3341056,"latitude_deg":9.6352688,"altitude":12,"angle":11,"satellites":43,"speed":43,"hex_longitude":"2d7fa900","hex_latitude":"05be39b0","is_valid_coordinates":true} 
[2026-04-28 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009691136001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282404394748608512,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054151196125184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:04] 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-04-28 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777381615000,"timestamp_ms":1777381615000,"timestamp_seconds":1777381615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4332598"} 
[2026-04-28 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38: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-04-28 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:04] 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-04-28 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009691136001,"66":27843,"119":206,"85":12544,"24":43,"16":282404394748608512,"45":9197054151196125184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-28 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009691136001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-28 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282404394748608512,"km_value":282404394748608.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054151196125184,"description":"Unknown IO ID 45"} 
[2026-04-28 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009691136001,"power":27843,"unknown_119":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9197054151196125184}} 
[2026-04-28 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:38:04] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:38:04] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:38:08] local.INFO: TCP Data received {"connection_id":56667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4335090012d7fb08005be5ee8000c000a2b..."} 
[2026-04-28 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4335090012d7fb08005be5ee8000c000a2b..."} 
[2026-04-28 18:38:08] local.INFO: Processing buffer {"connection_id":56667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4335090012d7fb08005be5ee8000c000a2b..."} 
[2026-04-28 18:38:08] local.INFO: Packet analysis {"connection_id":56667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:08] local.INFO: Extracted packet for processing {"connection_id":56667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":96362216,"longitude_deg":76.3342976,"latitude_deg":9.6362216,"altitude":12,"angle":10,"satellites":43,"speed":39,"hex_longitude":"2d7fb080","hex_latitude":"05be5ee8","is_valid_coordinates":true} 
[2026-04-28 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009693440001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282404867195011072,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738547236864,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777381626000,"timestamp_ms":1777381626000,"timestamp_seconds":1777381626,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4335090"} 
[2026-04-28 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:08] 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-04-28 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009693440001,"66":27713,"52":206,"85":12288,"24":39,"16":282404867195011072,"45":9198883738547236864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-28 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009693440001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282404867195011072,"km_value":282404867195011.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738547236864,"description":"Unknown IO ID 45"} 
[2026-04-28 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009693440001,"power":27713,"unknown_52":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9198883738547236864}} 
[2026-04-28 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":56667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:38:08] local.INFO: GPS data processed {"connection_id":56667,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:38:08] local.INFO: Acknowledgment sent {"connection_id":56667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:38:09] local.INFO: TCP Data received {"connection_id":57578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43275d00100000000000000000000000000..."} 
[2026-04-28 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43275d00100000000000000000000000000..."} 
[2026-04-28 18:38:09] local.INFO: Processing buffer {"connection_id":57578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43275d00100000000000000000000000000..."} 
[2026-04-28 18:38:09] local.INFO: Packet analysis {"connection_id":57578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:38:09] local.INFO: Extracted packet for processing {"connection_id":57578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd432"} 
[2026-04-28 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-28 18:38:09] 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-04-28 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009680128001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76927060454408192,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890105689691590656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:09] 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-04-28 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777381570000,"timestamp_ms":1777381570000,"timestamp_seconds":1777381570,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43275d0"} 
[2026-04-28 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38:09] 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-04-28 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:09] 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-04-28 18:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":57578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":57578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:38:09] 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-04-28 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":57578,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 18:38:09] local.INFO: GPS data processed {"connection_id":57578,"processed":0,"errors":0,"total":1} 
[2026-04-28 18:38:09] local.INFO: Acknowledgment sent {"connection_id":57578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:38:39] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:38:39] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:38:39] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:38:53] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:53] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:53] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:38:53] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:53] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:53] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:38:56] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:56] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:38:56] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:38:57] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43471a0012d7b9e0005e1d3300000005106..."} 
[2026-04-28 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43471a0012d7b9e0005e1d3300000005106..."} 
[2026-04-28 18:38:57] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43471a0012d7b9e0005e1d3300000005106..."} 
[2026-04-28 18:38:57] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:38:57] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98685744,"longitude_deg":76.3076096,"latitude_deg":9.8685744,"altitude":0,"angle":81,"satellites":6,"speed":24,"hex_longitude":"2d7b9e00","hex_latitude":"05e1d330","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009713664001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76927928037801984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903616488574756864,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] 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-04-28 18:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381700000,"timestamp_ms":1777381700000,"timestamp_seconds":1777381700,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43471a0"} 
[2026-04-28 18:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38:57] 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-04-28 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583564,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3560153752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":10240,"corrected_to":0} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1246583402618945536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807951273,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3221610949,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192829614338475,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,169,85,24,241,157,16,77,70,45,192,203,5,10,66,8,128,199,6,76,252,64,1,240,160,227,212,225,4,113,205,7,89,239,52,2,17,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":203,"original":10240,"validated":0},{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-04-28 18:38:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":73688755404800,"timestamp_seconds":73688755404.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:38:57] 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-04-28 18:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009713664001,"66":13515,"169":206,"85":15104,"24":24,"16":76927928037801984,"45":8903616488574756864},"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-04-28 18:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009713664001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:38:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 18:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76927928037801984,"km_value":76927928037801.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903616488574756864,"description":"Unknown IO ID 45"} 
[2026-04-28 18:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009713664001,"power":13515,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8903616488574756864}} 
[2026-04-28 18:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:38:57] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:38:57] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:38:57] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:57] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:38:57] local.INFO: IMEI packet received {"connection_id":56858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":56858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:38:57] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43377a0012d7fb74005be8220000c000a2b..."} 
[2026-04-28 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43377a0012d7fb74005be8220000c000a2b..."} 
[2026-04-28 18:38:57] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43377a0012d7fb74005be8220000c000a2b..."} 
[2026-04-28 18:38:57] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:57] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763344704,"raw_latitude":96371232,"longitude_deg":76.3344704,"latitude_deg":9.6371232,"altitude":12,"angle":10,"satellites":43,"speed":29,"hex_longitude":"2d7fb740","hex_latitude":"05be8220","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009696256001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282405313871609856,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800875005952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381636000,"timestamp_ms":1777381636000,"timestamp_seconds":1777381636,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43377a0"} 
[2026-04-28 18:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38: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-04-28 18:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009696256001,"66":27745,"52":206,"85":12288,"24":29,"16":282405313871609856,"45":9200994800875005952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009696256001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282405313871609856,"km_value":282405313871609.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800875005952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009696256001,"power":27745,"unknown_52":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9200994800875005952}} 
[2026-04-28 18:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:38:58] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:38:58] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:38:58] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd433ae50012d7fbd0005bea5e0000c00082b..."} 
[2026-04-28 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd433ae50012d7fbd0005bea5e0000c00082b..."} 
[2026-04-28 18:38:58] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd433ae50012d7fbd0005bea5e0000c00082b..."} 
[2026-04-28 18:38:58] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:58] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763346176,"raw_latitude":96380384,"longitude_deg":76.3346176,"latitude_deg":9.6380384,"altitude":12,"angle":8,"satellites":43,"speed":24,"hex_longitude":"2d7fbd00","hex_latitude":"05bea5e0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009698816001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282405760548208640,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202894756970110976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381650000,"timestamp_ms":1777381650000,"timestamp_seconds":1777381650,"priority":1,"record_length":96,"hex_timestamp":"0000019dd433ae50"} 
[2026-04-28 18:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:38: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-04-28 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009698816001,"66":27745,"52":206,"85":12288,"24":24,"16":282405760548208640,"45":9202894756970110976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-28 18:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009698816001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282405760548208640,"km_value":282405760548208.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202894756970110976,"description":"Unknown IO ID 45"} 
[2026-04-28 18:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009698816001,"power":27745,"unknown_52":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9202894756970110976}} 
[2026-04-28 18:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:38:58] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:38:58] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:39:00] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43490e0012d7baa4005e1d3600000003f06..."} 
[2026-04-28 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43490e0012d7baa4005e1d3600000003f06..."} 
[2026-04-28 18:39:00] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43490e0012d7baa4005e1d3600000003f06..."} 
[2026-04-28 18:39:00] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:00] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763079232,"raw_latitude":98685792,"longitude_deg":76.3079232,"latitude_deg":9.8685792,"altitude":0,"angle":63,"satellites":6,"speed":17,"hex_longitude":"2d7baa40","hex_latitude":"05e1d360","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009715200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76928086951591936,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138248970240,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777381708000,"timestamp_ms":1777381708000,"timestamp_seconds":1777381708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43490e0"} 
[2026-04-28 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-04-28 18:39:00] 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-04-28 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 18:39:00] 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-04-28 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-04-28 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-04-28 18:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009715200001,"66":13276,"169":206,"85":15104,"24":17,"16":76928086951591936,"45":8907557138248970240},"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-04-28 18:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009715200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:39:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 18:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76928086951591936,"km_value":76928086951591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138248970240,"description":"Unknown IO ID 45"} 
[2026-04-28 18:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009715200001,"power":13276,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8907557138248970240}} 
[2026-04-28 18:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:39:00] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:39:00] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:39:29] local.INFO: TCP Data received {"connection_id":56858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd433e8e8012d7fc30005bec8a8000b00082b..."} 
[2026-04-28 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd433e8e8012d7fc30005bec8a8000b00082b..."} 
[2026-04-28 18:39:29] local.INFO: Processing buffer {"connection_id":56858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd433e8e8012d7fc30005bec8a8000b00082b..."} 
[2026-04-28 18:39:29] local.INFO: Packet analysis {"connection_id":56858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:39:29] local.INFO: Extracted packet for processing {"connection_id":56858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd433"} 
[2026-04-28 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763347712,"raw_latitude":96389288,"longitude_deg":76.3347712,"latitude_deg":9.6389288,"altitude":11,"angle":8,"satellites":43,"speed":25,"hex_longitude":"2d7fc300","hex_latitude":"05bec8a8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009702400001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282406198634872832,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204513238088540160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:29] 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-04-28 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777381665000,"timestamp_ms":1777381665000,"timestamp_seconds":1777381665,"priority":1,"record_length":96,"hex_timestamp":"0000019dd433e8e8"} 
[2026-04-28 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-04-28 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009702400001,"66":27615,"227":206,"85":12288,"24":25,"16":282406198634872832,"45":9204513238088540160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-04-28 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009702400001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:39:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-28 18:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282406198634872832,"km_value":282406198634872.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204513238088540160,"description":"Unknown IO ID 45"} 
[2026-04-28 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009702400001,"power":27615,"unknown_227":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9204513238088540160}} 
[2026-04-28 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":56858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:39:29] local.INFO: GPS data processed {"connection_id":56858,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:39:29] local.INFO: Acknowledgment sent {"connection_id":56858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:39:31] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd434a080012d7baf8005e1d2b00000004a06..."} 
[2026-04-28 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd434a080012d7baf8005e1d2b00000004a06..."} 
[2026-04-28 18:39:31] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd434a080012d7baf8005e1d2b00000004a06..."} 
[2026-04-28 18:39:31] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:31] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763080576,"raw_latitude":98685616,"longitude_deg":76.3080576,"latitude_deg":9.8685616,"altitude":0,"angle":74,"satellites":6,"speed":18,"hex_longitude":"2d7baf80","hex_latitude":"05e1d2b0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009717248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76928151376101376,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911005206713688064,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:31] 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-04-28 18:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777381712000,"timestamp_ms":1777381712000,"timestamp_seconds":1777381712,"priority":1,"record_length":96,"hex_timestamp":"0000019dd434a080"} 
[2026-04-28 18:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:39:31] 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-04-28 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-28 18:39:31] 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-04-28 18: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-04-28 18:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39:31] 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-04-28 18:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009717248001,"66":13624,"169":206,"85":15104,"24":18,"16":76928151376101376,"45":8911005206713688064},"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-04-28 18:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009717248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:39:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 18:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76928151376101376,"km_value":76928151376101.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911005206713688064,"description":"Unknown IO ID 45"} 
[2026-04-28 18:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009717248001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8911005206713688064}} 
[2026-04-28 18:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:39:31] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:39:31] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:39:45] local.INFO: TCP Data received {"connection_id":57582,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:45] local.INFO: Processing buffer {"connection_id":57582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:45] local.INFO: IMEI packet received {"connection_id":57582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":57582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:39:46] local.INFO: TCP Data received {"connection_id":57582,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:46] local.INFO: Processing buffer {"connection_id":57582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:46] local.INFO: IMEI packet received {"connection_id":57582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":57582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:39:52] local.INFO: TCP Data received {"connection_id":57582,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:52] local.INFO: Processing buffer {"connection_id":57582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:39:52] local.INFO: IMEI packet received {"connection_id":57582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":57582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:39:52] local.INFO: TCP Data received {"connection_id":57582,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd434b7f0012d7bb7c005e1d1500000003c06..."} 
[2026-04-28 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd434b7f0012d7bb7c005e1d1500000003c06..."} 
[2026-04-28 18:39:52] local.INFO: Processing buffer {"connection_id":57582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd434b7f0012d7bb7c005e1d1500000003c06..."} 
[2026-04-28 18:39:52] local.INFO: Packet analysis {"connection_id":57582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:52] local.INFO: Extracted packet for processing {"connection_id":57582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763082688,"raw_latitude":98685264,"longitude_deg":76.3082688,"latitude_deg":9.8685264,"altitude":0,"angle":60,"satellites":6,"speed":20,"hex_longitude":"2d7bb7c0","hex_latitude":"05e1d150","is_valid_coordinates":true} 
[2026-04-28 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009718272001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76928254455316480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912482950341373952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777381718000,"timestamp_ms":1777381718000,"timestamp_seconds":1777381718,"priority":1,"record_length":96,"hex_timestamp":"0000019dd434b7f0"} 
[2026-04-28 18:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:39:52] 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-04-28 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-28 18:39: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-04-28 18:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:39: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-04-28 18:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009718272001,"66":13461,"169":206,"85":15104,"24":20,"16":76928254455316480,"45":8912482950341373952},"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-04-28 18:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009718272001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:39:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 18:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76928254455316480,"km_value":76928254455316.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912482950341373952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009718272001,"power":13461,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8912482950341373952}} 
[2026-04-28 18:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":57582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:39:52] local.INFO: GPS data processed {"connection_id":57582,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:39:52] local.INFO: Acknowledgment sent {"connection_id":57582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:39:53] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:53] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:53] local.INFO: IMEI packet received {"connection_id":56859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":56859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:39:56] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:56] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:39:56] local.INFO: IMEI packet received {"connection_id":56859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":56859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:39:57] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43417c8012d7fc80005beeb98000a00082b..."} 
[2026-04-28 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43417c8012d7fc80005beeb98000a00082b..."} 
[2026-04-28 18:39:57] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43417c8012d7fc80005beeb98000a00082b..."} 
[2026-04-28 18:39:57] local.INFO: Packet analysis {"connection_id":56859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:57] local.INFO: Extracted packet for processing {"connection_id":56859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763348992,"raw_latitude":96398232,"longitude_deg":76.3348992,"latitude_deg":9.6398232,"altitude":10,"angle":8,"satellites":43,"speed":32,"hex_longitude":"2d7fc800","hex_latitude":"05beeb98","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009706240001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282406641016504320,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206202087951083520,"note":"Value kept but may cause issues"} 
[2026-04-28 18:39:57] 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-04-28 18:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381677000,"timestamp_ms":1777381677000,"timestamp_seconds":1777381677,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43417c8"} 
[2026-04-28 18:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-28 18:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:39:57] 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-04-28 18:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009706240001,"66":27626,"227":206,"85":12288,"24":32,"16":282406641016504320,"45":9206202087951083520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-04-28 18:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009706240001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:39:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-28 18:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282406641016504320,"km_value":282406641016504.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206202087951083520,"description":"Unknown IO ID 45"} 
[2026-04-28 18:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009706240001,"power":27626,"unknown_227":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9206202087951083520}} 
[2026-04-28 18:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":56859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:39:57] local.INFO: GPS data processed {"connection_id":56859,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:39:57] local.INFO: Acknowledgment sent {"connection_id":56859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:10] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:10] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:10] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:40:12] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:12] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:12] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:40:13] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:13] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:13] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:40:17] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:17] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:40:17] local.INFO: IMEI packet received {"connection_id":56860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":56860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:40:17] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4356f88012d19afc0071f0c38004a000420..."} 
[2026-04-28 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4356f88012d19afc0071f0c38004a000420..."} 
[2026-04-28 18:40:17] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4356f88012d19afc0071f0c38004a000420..."} 
[2026-04-28 18:40:17] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:17] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119475256,"longitude_deg":75.6658112,"latitude_deg":11.9475256,"altitude":74,"angle":4,"satellites":32,"speed":6,"hex_longitude":"2d19afc0","hex_latitude":"071f0c38","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009731584001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115716688221044736,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108690722816,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777381765000,"timestamp_ms":1777381765000,"timestamp_seconds":1777381765,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4356f88"} 
[2026-04-28 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-04-28 18:40: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-04-28 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 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-04-28 18:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009731584001,"66":14428,"106":206,"83":41984,"24":6,"16":115716688221044736,"45":1850909108690722816},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009731584001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115716688221044736,"km_value":115716688221044.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108690722816,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009731584001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1850909108690722816}} 
[2026-04-28 18:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:17] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:17] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:18] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4357370012d19afc0071f0cc8004a015a21..."} 
[2026-04-28 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4357370012d19afc0071f0cc8004a015a21..."} 
[2026-04-28 18:40:18] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4357370012d19afc0071f0cc8004a015a21..."} 
[2026-04-28 18:40:18] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:18] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119475400,"longitude_deg":75.6658112,"latitude_deg":11.94754,"altitude":74,"angle":346,"satellites":33,"speed":5,"hex_longitude":"2d19afc0","hex_latitude":"071f0cc8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009731840001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115716696810979328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108690761728,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777381766000,"timestamp_ms":1777381766000,"timestamp_seconds":1777381766,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4357370"} 
[2026-04-28 18:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18: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-04-28 18:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009731840001,"66":14428,"106":206,"83":41984,"24":5,"16":115716696810979328,"45":1850909108690761728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009731840001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115716696810979328,"km_value":115716696810979.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108690761728,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009731840001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1850909108690761728}} 
[2026-04-28 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:19] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:19] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:23] local.INFO: TCP Data received {"connection_id":57582,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4361398012d7c4dc005e205d00000003008..."} 
[2026-04-28 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4361398012d7c4dc005e205d00000003008..."} 
[2026-04-28 18:40:23] local.INFO: Processing buffer {"connection_id":57582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4361398012d7c4dc005e205d00000003008..."} 
[2026-04-28 18:40:23] local.INFO: Packet analysis {"connection_id":57582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:23] local.INFO: Extracted packet for processing {"connection_id":57582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763121088,"raw_latitude":98698704,"longitude_deg":76.3121088,"latitude_deg":9.8698704,"altitude":0,"angle":48,"satellites":8,"speed":20,"hex_longitude":"2d7c4dc0","hex_latitude":"05e205d0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009740288001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76930397643997184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954000509408573440,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777381807000,"timestamp_ms":1777381807000,"timestamp_seconds":1777381807,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4361398"} 
[2026-04-28 18:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:40: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-04-28 18:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009740288001,"66":13472,"43":206,"85":15104,"24":20,"16":76930397643997184,"45":8954000509408573440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009740288001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76930397643997184,"km_value":76930397643997.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954000509408573440,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009740288001,"power":13472,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8954000509408573440}} 
[2026-04-28 18:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":57582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:24] local.INFO: GPS data processed {"connection_id":57582,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:24] local.INFO: Acknowledgment sent {"connection_id":57582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:30] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43442c0012d7fcd8005bf0fc8000a00092a..."} 
[2026-04-28 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43442c0012d7fcd8005bf0fc8000a00092a..."} 
[2026-04-28 18:40:30] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43442c0012d7fcd8005bf0fc8000a00092a..."} 
[2026-04-28 18:40:30] local.INFO: Packet analysis {"connection_id":56859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:40:30] local.INFO: Extracted packet for processing {"connection_id":56859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd434"} 
[2026-04-28 18:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763350400,"raw_latitude":96407496,"longitude_deg":76.33504,"latitude_deg":9.6407496,"altitude":10,"angle":9,"satellites":42,"speed":33,"hex_longitude":"2d7fcd80","hex_latitude":"05bf0fc8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009709312001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282407091988070400,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207609462836926464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:30] 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-04-28 18:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381688000,"timestamp_ms":1777381688000,"timestamp_seconds":1777381688,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43442c0"} 
[2026-04-28 18:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009709312001,"66":27767,"227":206,"85":12288,"24":33,"16":282407091988070400,"45":9207609462836926464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-04-28 18:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009709312001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:30] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-28 18:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282407091988070400,"km_value":282407091988070.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207609462836926464,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009709312001,"power":27767,"unknown_227":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9207609462836926464}} 
[2026-04-28 18:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":56859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:30] local.INFO: GPS data processed {"connection_id":56859,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:30] local.INFO: Acknowledgment sent {"connection_id":56859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:46] local.INFO: TCP Data received {"connection_id":57583,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:46] local.INFO: Processing buffer {"connection_id":57583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:46] local.INFO: IMEI packet received {"connection_id":57583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":57583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:40:50] local.INFO: TCP Data received {"connection_id":56860,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43607e0012d19cac0071f23c8004d01591e..."} 
[2026-04-28 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43607e0012d19cac0071f23c8004d01591e..."} 
[2026-04-28 18:40:50] local.INFO: Processing buffer {"connection_id":56860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43607e0012d19cac0071f23c8004d01591e..."} 
[2026-04-28 18:40:50] local.INFO: Packet analysis {"connection_id":56860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:50] local.INFO: Extracted packet for processing {"connection_id":56860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119481288,"longitude_deg":75.6665024,"latitude_deg":11.9481288,"altitude":77,"angle":345,"satellites":30,"speed":5,"hex_longitude":"2d19cac0","hex_latitude":"071f23c8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009741312001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115717173552349184,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564319229952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] 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-04-28 18:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777381804000,"timestamp_ms":1777381804000,"timestamp_seconds":1777381804,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43607e0"} 
[2026-04-28 18:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:40: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-04-28 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009741312001,"66":14070,"106":206,"83":41984,"24":5,"16":115717173552349184,"45":1858438564319229952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009741312001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115717173552349184,"km_value":115717173552349.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564319229952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009741312001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1858438564319229952}} 
[2026-04-28 18:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":56860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:50] local.INFO: GPS data processed {"connection_id":56860,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:50] local.INFO: Acknowledgment sent {"connection_id":56860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:50] local.INFO: TCP Data received {"connection_id":57583,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:50] local.INFO: Processing buffer {"connection_id":57583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:40:50] local.INFO: IMEI packet received {"connection_id":57583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":57583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:40:50] local.INFO: TCP Data received {"connection_id":57583,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43636c0012d7c5bc005e211e80000002308..."} 
[2026-04-28 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43636c0012d7c5bc005e211e80000002308..."} 
[2026-04-28 18:40:50] local.INFO: Processing buffer {"connection_id":57583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43636c0012d7c5bc005e211e80000002308..."} 
[2026-04-28 18:40:50] local.INFO: Packet analysis {"connection_id":57583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:50] local.INFO: Extracted packet for processing {"connection_id":57583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763124672,"raw_latitude":98701800,"longitude_deg":76.3124672,"latitude_deg":9.87018,"altitude":0,"angle":35,"satellites":8,"speed":22,"hex_longitude":"2d7c5bc0","hex_latitude":"05e211e8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009742592001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76930625277263872,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957026365409185792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777381816000,"timestamp_ms":1777381816000,"timestamp_seconds":1777381816,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43636c0"} 
[2026-04-28 18:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:40:50] 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-04-28 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 18:40: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-04-28 18: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-04-28 18:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:40:50] 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-04-28 18:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009742592001,"66":13526,"43":206,"85":15104,"24":22,"16":76930625277263872,"45":8957026365409185792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009742592001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76930625277263872,"km_value":76930625277263.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957026365409185792,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009742592001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8957026365409185792}} 
[2026-04-28 18:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":57583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:50] local.INFO: GPS data processed {"connection_id":57583,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:50] local.INFO: Acknowledgment sent {"connection_id":57583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:40:53] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:53] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:53] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:40:56] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:56] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:40:56] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:40:57] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd435bda8012d800f4005c0a1f8000d000829..."} 
[2026-04-28 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd435bda8012d800f4005c0a1f8000d000829..."} 
[2026-04-28 18:40:57] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd435bda8012d800f4005c0a1f8000d000829..."} 
[2026-04-28 18:40:57] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:57] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763367232,"raw_latitude":96510456,"longitude_deg":76.3367232,"latitude_deg":9.6510456,"altitude":13,"angle":8,"satellites":41,"speed":57,"hex_longitude":"2d800f40","hex_latitude":"05c0a1f8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009735424001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282412151459545088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220557262383247360,"note":"Value kept but may cause issues"} 
[2026-04-28 18:40:57] 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-04-28 18:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777381785000,"timestamp_ms":1777381785000,"timestamp_seconds":1777381785,"priority":1,"record_length":96,"hex_timestamp":"0000019dd435bda8"} 
[2026-04-28 18:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:40: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-04-28 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:40:57] 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-04-28 18:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009735424001,"66":27745,"225":206,"85":12288,"24":57,"16":282412151459545088,"45":-9220557262383247360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-28 18:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009735424001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:40:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 18:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282412151459545088,"km_value":282412151459545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220557262383247360,"description":"Unknown IO ID 45"} 
[2026-04-28 18:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009735424001,"power":27745,"unknown_225":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9220557262383247360}} 
[2026-04-28 18:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:40:57] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:40:57] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:08] local.INFO: TCP Data received {"connection_id":57584,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:08] local.INFO: Processing buffer {"connection_id":57584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:08] local.INFO: IMEI packet received {"connection_id":57584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":57584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:41:11] local.INFO: TCP Data received {"connection_id":57584,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:11] local.INFO: Processing buffer {"connection_id":57584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:41:11] local.INFO: IMEI packet received {"connection_id":57584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":57584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:41:12] local.INFO: TCP Data received {"connection_id":57584,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4360bc8012d19ca80071f2468004d014c1f..."} 
[2026-04-28 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4360bc8012d19ca80071f2468004d014c1f..."} 
[2026-04-28 18:41:12] local.INFO: Processing buffer {"connection_id":57584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4360bc8012d19ca80071f2468004d014c1f..."} 
[2026-04-28 18:41:12] local.INFO: Packet analysis {"connection_id":57584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:12] local.INFO: Extracted packet for processing {"connection_id":57584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119481448,"longitude_deg":75.666496,"latitude_deg":11.9481448,"altitude":77,"angle":332,"satellites":31,"speed":7,"hex_longitude":"2d19ca80","hex_latitude":"071f2468","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009741824001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115717182142283776,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933063493632,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777381805000,"timestamp_ms":1777381805000,"timestamp_seconds":1777381805,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4360bc8"} 
[2026-04-28 18:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-28 18:41:12] 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-04-28 18: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-04-28 18:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":57584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":57584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":57584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009741824001,"66":14265,"106":206,"83":41984,"24":7,"16":115717182142283776,"45":1858508933063493632},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009741824001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115717182142283776,"km_value":115717182142283.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933063493632,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009741824001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858508933063493632}} 
[2026-04-28 18:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":57584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:12] local.INFO: GPS data processed {"connection_id":57584,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:12] local.INFO: Acknowledgment sent {"connection_id":57584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:22] local.INFO: TCP Data received {"connection_id":57583,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4364a48012d7c628005e21cf00000001808..."} 
[2026-04-28 18:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4364a48012d7c628005e21cf00000001808..."} 
[2026-04-28 18:41:22] local.INFO: Processing buffer {"connection_id":57583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4364a48012d7c628005e21cf00000001808..."} 
[2026-04-28 18:41:22] local.INFO: Packet analysis {"connection_id":57583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:22] local.INFO: Extracted packet for processing {"connection_id":57583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763126400,"raw_latitude":98704624,"longitude_deg":76.31264,"latitude_deg":9.8704624,"altitude":0,"angle":24,"satellites":8,"speed":21,"hex_longitude":"2d7c6280","hex_latitude":"05e21cf0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009744896001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76930784191053824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960967015083927552,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777381821000,"timestamp_ms":1777381821000,"timestamp_seconds":1777381821,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4364a48"} 
[2026-04-28 18:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:41:22] 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-04-28 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 18:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:41: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-04-28 18:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009744896001,"66":13602,"43":206,"85":15104,"24":21,"16":76930784191053824,"45":8960967015083927552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009744896001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76930784191053824,"km_value":76930784191053.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960967015083927552,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009744896001,"power":13602,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8960967015083927552}} 
[2026-04-28 18:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":57583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:22] local.INFO: GPS data processed {"connection_id":57583,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:22] local.INFO: Acknowledgment sent {"connection_id":57583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:29] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd435d900012d80158005c0c920000d000929..."} 
[2026-04-28 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd435d900012d80158005c0c920000d000929..."} 
[2026-04-28 18:41:29] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd435d900012d80158005c0c920000d000929..."} 
[2026-04-28 18:41:29] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:41:29] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763368832,"raw_latitude":96520480,"longitude_deg":76.3368832,"latitude_deg":9.652048,"altitude":13,"angle":9,"satellites":41,"speed":57,"hex_longitude":"2d801580","hex_latitude":"05c0c920","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009736960001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282412645380784128,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219079518753261568,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:29] 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-04-28 18:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777381792000,"timestamp_ms":1777381792000,"timestamp_seconds":1777381792,"priority":1,"record_length":96,"hex_timestamp":"0000019dd435d900"} 
[2026-04-28 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-04-28 18:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 18:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009736960001,"66":27800,"225":206,"85":12288,"24":57,"16":282412645380784128,"45":-9219079518753261568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-28 18:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009736960001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 18:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282412645380784128,"km_value":282412645380784.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219079518753261568,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009736960001,"power":27800,"unknown_225":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9219079518753261568}} 
[2026-04-28 18:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:29] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:29] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:43] local.INFO: TCP Data received {"connection_id":57584,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd436ea70012d19c340071f8740003901311d..."} 
[2026-04-28 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd436ea70012d19c340071f8740003901311d..."} 
[2026-04-28 18:41:43] local.INFO: Processing buffer {"connection_id":57584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd436ea70012d19c340071f8740003901311d..."} 
[2026-04-28 18:41:43] local.INFO: Packet analysis {"connection_id":57584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:43] local.INFO: Extracted packet for processing {"connection_id":57584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119506752,"longitude_deg":75.6663104,"latitude_deg":11.9506752,"altitude":57,"angle":305,"satellites":29,"speed":16,"hex_longitude":"2d19c340","hex_latitude":"071f8740","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009756416001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115718560826785792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714465507328,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777381862000,"timestamp_ms":1777381862000,"timestamp_seconds":1777381862,"priority":1,"record_length":96,"hex_timestamp":"0000019dd436ea70"} 
[2026-04-28 18:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:41: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-04-28 18: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-28 18:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":57584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":57584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":57584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009756416001,"66":14494,"106":206,"83":41984,"24":16,"16":115718560826785792,"45":1856749714465507328},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009756416001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115718560826785792,"km_value":115718560826785.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714465507328,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009756416001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1856749714465507328}} 
[2026-04-28 18:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":57584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:43] local.INFO: GPS data processed {"connection_id":57584,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:43] local.INFO: Acknowledgment sent {"connection_id":57584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:47] local.INFO: TCP Data received {"connection_id":56862,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:47] local.INFO: Processing buffer {"connection_id":56862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:47] local.INFO: IMEI packet received {"connection_id":56862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":56862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:41:52] local.INFO: TCP Data received {"connection_id":56862,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:52] local.INFO: Processing buffer {"connection_id":56862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:41:52] local.INFO: IMEI packet received {"connection_id":56862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":56862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:41:53] local.INFO: TCP Data received {"connection_id":56862,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4365dd0012d7c664005e224480000002608..."} 
[2026-04-28 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4365dd0012d7c664005e224480000002608..."} 
[2026-04-28 18:41:53] local.INFO: Processing buffer {"connection_id":56862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4365dd0012d7c664005e224480000002608..."} 
[2026-04-28 18:41:53] local.INFO: Packet analysis {"connection_id":56862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:53] local.INFO: Extracted packet for processing {"connection_id":56862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":763127360,"raw_latitude":98706504,"longitude_deg":76.312736,"latitude_deg":9.8706504,"altitude":0,"angle":38,"satellites":8,"speed":13,"hex_longitude":"2d7c6640","hex_latitude":"05e22448","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009746176001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76930887270268928,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962866971177447424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777381826000,"timestamp_ms":1777381826000,"timestamp_seconds":1777381826,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4365dd0"} 
[2026-04-28 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-04-28 18:41:53] 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-04-28 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-28 18:41: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-04-28 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-04-28 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-04-28 18:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:41: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-04-28 18:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009746176001,"66":13526,"43":206,"85":15104,"24":13,"16":76930887270268928,"45":8962866971177447424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009746176001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76930887270268928,"km_value":76930887270268.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962866971177447424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009746176001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8962866971177447424}} 
[2026-04-28 18:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":56862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:53] local.INFO: GPS data processed {"connection_id":56862,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:53] local.INFO: Acknowledgment sent {"connection_id":56862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:41:53] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:41:53] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:53] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:41:58] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:58] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:41:58] local.INFO: IMEI packet received {"connection_id":56669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":56669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:41:59] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd435f458012d801b0005c0ede8000d00072a..."} 
[2026-04-28 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd435f458012d801b0005c0ede8000d00072a..."} 
[2026-04-28 18:41:59] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd435f458012d801b0005c0ede8000d00072a..."} 
[2026-04-28 18:41:59] local.INFO: Packet analysis {"connection_id":56669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:41:59] local.INFO: Extracted packet for processing {"connection_id":56669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd435"} 
[2026-04-28 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763370240,"raw_latitude":96529896,"longitude_deg":76.337024,"latitude_deg":9.6529896,"altitude":13,"angle":7,"satellites":42,"speed":49,"hex_longitude":"2d801b00","hex_latitude":"05c0ede8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009738752001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282413104942284800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217320300146253824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:41:59] 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-04-28 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777381799000,"timestamp_ms":1777381799000,"timestamp_seconds":1777381799,"priority":1,"record_length":96,"hex_timestamp":"0000019dd435f458"} 
[2026-04-28 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-04-28 18:41: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-04-28 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 18:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009738752001,"66":27821,"225":206,"85":12288,"24":49,"16":282413104942284800,"45":-9217320300146253824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-28 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009738752001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:41:59] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 18:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282413104942284800,"km_value":282413104942284.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217320300146253824,"description":"Unknown IO ID 45"} 
[2026-04-28 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009738752001,"power":27821,"unknown_225":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":-9217320300146253824}} 
[2026-04-28 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":56669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:41:59] local.INFO: GPS data processed {"connection_id":56669,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:41:59] local.INFO: Acknowledgment sent {"connection_id":56669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:42:09] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:42:09] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:09] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:10] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:10] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:10] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:12] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:12] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:42:12] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:16] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43757d0012d19a240071f9aa80037013a20..."} 
[2026-04-28 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43757d0012d19a240071f9aa80037013a20..."} 
[2026-04-28 18:42:16] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43757d0012d19a240071f9aa80037013a20..."} 
[2026-04-28 18:42:16] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:42:16] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119511720,"longitude_deg":75.6654656,"latitude_deg":11.951172,"altitude":55,"angle":314,"satellites":32,"speed":15,"hex_longitude":"2d19a240","hex_latitude":"071f9aa8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009762560001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115719089107763200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848868415118714880,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777381890000,"timestamp_ms":1777381890000,"timestamp_seconds":1777381890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43757d0"} 
[2026-04-28 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-04-28 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-28 18:42:16] 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-04-28 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-04-28 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-04-28 18:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009762560001,"66":13798,"106":206,"83":41984,"24":15,"16":115719089107763200,"45":1848868415118714880},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009762560001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:42:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115719089107763200,"km_value":115719089107763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848868415118714880,"description":"Unknown IO ID 45"} 
[2026-04-28 18:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009762560001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1848868415118714880}} 
[2026-04-28 18:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:42:17] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:42:17] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:42:24] local.INFO: TCP Data received {"connection_id":56862,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43661b8012d7c678005e225480000003208..."} 
[2026-04-28 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43661b8012d7c678005e225480000003208..."} 
[2026-04-28 18:42:24] local.INFO: Processing buffer {"connection_id":56862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43661b8012d7c678005e225480000003208..."} 
[2026-04-28 18:42:24] local.INFO: Packet analysis {"connection_id":56862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:42:24] local.INFO: Extracted packet for processing {"connection_id":56862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763127680,"raw_latitude":98706760,"longitude_deg":76.312768,"latitude_deg":9.870676,"altitude":0,"angle":50,"satellites":8,"speed":13,"hex_longitude":"2d7c6780","hex_latitude":"05e22548","is_valid_coordinates":true} 
[2026-04-28 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009747456001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76930908745105408,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963922502340593664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777381827000,"timestamp_ms":1777381827000,"timestamp_seconds":1777381827,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43661b8"} 
[2026-04-28 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:42:24] 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-04-28 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-28 18:42: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-04-28 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18: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-04-28 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009747456001,"66":13319,"43":206,"85":15104,"24":13,"16":76930908745105408,"45":8963922502340593664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009747456001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:42:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76930908745105408,"km_value":76930908745105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963922502340593664,"description":"Unknown IO ID 45"} 
[2026-04-28 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009747456001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8963922502340593664}} 
[2026-04-28 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":56862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:42:24] local.INFO: GPS data processed {"connection_id":56862,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:42:24] local.INFO: Acknowledgment sent {"connection_id":56862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:42:30] local.INFO: TCP Data received {"connection_id":56669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4361780012d801fc005c113a0000c00072b..."} 
[2026-04-28 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4361780012d801fc005c113a0000c00072b..."} 
[2026-04-28 18:42:30] local.INFO: Processing buffer {"connection_id":56669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4361780012d801fc005c113a0000c00072b..."} 
[2026-04-28 18:42:30] local.INFO: Packet analysis {"connection_id":56669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:42:30] local.INFO: Extracted packet for processing {"connection_id":56669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd436"} 
[2026-04-28 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763371456,"raw_latitude":96539552,"longitude_deg":76.3371456,"latitude_deg":9.6539552,"altitude":12,"angle":7,"satellites":43,"speed":38,"hex_longitude":"2d801fc0","hex_latitude":"05c113a0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009740544001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282413577388687360,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215772187771934720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:30] 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-04-28 18:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381808000,"timestamp_ms":1777381808000,"timestamp_seconds":1777381808,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4361780"} 
[2026-04-28 18:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 18:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009740544001,"66":27713,"225":206,"85":12288,"24":38,"16":282413577388687360,"45":-9215772187771934720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-28 18:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009740544001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:42:30] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-28 18:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282413577388687360,"km_value":282413577388687.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215772187771934720,"description":"Unknown IO ID 45"} 
[2026-04-28 18:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009740544001,"power":27713,"unknown_225":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9215772187771934720}} 
[2026-04-28 18:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":56669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:42:30] local.INFO: GPS data processed {"connection_id":56669,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:42:30] local.INFO: Acknowledgment sent {"connection_id":56669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:42:46] local.INFO: TCP Data received {"connection_id":57585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:46] local.INFO: Processing buffer {"connection_id":57585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:46] local.INFO: IMEI packet received {"connection_id":57585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":57585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:42:50] local.INFO: TCP Data received {"connection_id":57585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:50] local.INFO: Processing buffer {"connection_id":57585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:42:50] local.INFO: IMEI packet received {"connection_id":57585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":57585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:51] local.INFO: TCP Data received {"connection_id":57585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4382ea8012d7d528005e220100000005d0a..."} 
[2026-04-28 18:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4382ea8012d7d528005e220100000005d0a..."} 
[2026-04-28 18:42:51] local.INFO: Processing buffer {"connection_id":57585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4382ea8012d7d528005e220100000005d0a..."} 
[2026-04-28 18:42:51] local.INFO: Packet analysis {"connection_id":57585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:42:51] local.INFO: Extracted packet for processing {"connection_id":57585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":98705424,"longitude_deg":76.318784,"latitude_deg":9.8705424,"altitude":0,"angle":93,"satellites":10,"speed":29,"hex_longitude":"2d7d5280","hex_latitude":"05e22010","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009774848001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76933825027899392,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285217511424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777381945000,"timestamp_ms":1777381945000,"timestamp_seconds":1777381945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4382ea8"} 
[2026-04-28 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-04-28 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 18:42: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-04-28 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-04-28 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-04-28 18:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:42: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-04-28 18:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009774848001,"66":13559,"43":206,"85":15104,"24":29,"16":76933825027899392,"45":9019795285217511424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009774848001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:42:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76933825027899392,"km_value":76933825027899.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285217511424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009774848001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9019795285217511424}} 
[2026-04-28 18:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":57585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:42:51] local.INFO: GPS data processed {"connection_id":57585,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:42:51] local.INFO: Acknowledgment sent {"connection_id":57585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:42:52] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:52] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:52] local.INFO: IMEI packet received {"connection_id":57586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":57586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:42:56] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:56] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:56] local.INFO: IMEI packet received {"connection_id":57586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":57586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:57] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:57] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:42:57] local.INFO: IMEI packet received {"connection_id":57586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":57586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:42:58] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4379e20012d80568005c27d98000c000628..."} 
[2026-04-28 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4379e20012d80568005c27d98000c000628..."} 
[2026-04-28 18:42:58] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4379e20012d80568005c27d98000c000628..."} 
[2026-04-28 18:42:58] local.INFO: Packet analysis {"connection_id":57586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:42:58] local.INFO: Extracted packet for processing {"connection_id":57586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":96632216,"longitude_deg":76.3385472,"latitude_deg":9.6632216,"altitude":12,"angle":6,"satellites":40,"speed":57,"hex_longitude":"2d805680","hex_latitude":"05c27d98","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009766656001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282418125759053824,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200361432773289984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:42:58] 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-04-28 18:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777381908000,"timestamp_ms":1777381908000,"timestamp_seconds":1777381908,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4379e20"} 
[2026-04-28 18:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:42: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-04-28 18: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 18:42:58] 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-04-28 18: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-04-28 18:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009766656001,"66":27245,"179":206,"85":12288,"24":57,"16":282418125759053824,"45":-9200361432773289984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-28 18:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009766656001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:42:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 18:42:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282418125759053824,"km_value":282418125759053.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200361432773289984,"description":"Unknown IO ID 45"} 
[2026-04-28 18:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009766656001,"power":27245,"unknown_179":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9200361432773289984}} 
[2026-04-28 18:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":57586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:42:58] local.INFO: GPS data processed {"connection_id":57586,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:42:58] local.INFO: Acknowledgment sent {"connection_id":57586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:43:03] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd437b590012d805b4005c2a030000c00072a..."} 
[2026-04-28 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd437b590012d805b4005c2a030000c00072a..."} 
[2026-04-28 18:43:03] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd437b590012d805b4005c2a030000c00072a..."} 
[2026-04-28 18:43:03] local.INFO: Packet analysis {"connection_id":57586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:03] local.INFO: Extracted packet for processing {"connection_id":57586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763386688,"raw_latitude":96641072,"longitude_deg":76.3386688,"latitude_deg":9.6641072,"altitude":12,"angle":7,"satellites":42,"speed":61,"hex_longitude":"2d805b40","hex_latitude":"05c2a030","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009768448001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282418559550750720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199024426631456768,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:03] 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-04-28 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777381914000,"timestamp_ms":1777381914000,"timestamp_seconds":1777381914,"priority":1,"record_length":96,"hex_timestamp":"0000019dd437b590"} 
[2026-04-28 18:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 18:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009768448001,"66":27376,"179":206,"85":12288,"24":61,"16":282418559550750720,"45":-9199024426631456768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-28 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009768448001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282418559550750720,"km_value":282418559550750.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199024426631456768,"description":"Unknown IO ID 45"} 
[2026-04-28 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009768448001,"power":27376,"unknown_179":206,"unknown_85":12288,"ignition":61,"odometer":null,"unknown_45":-9199024426631456768}} 
[2026-04-28 18:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":57586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:43:03] local.INFO: GPS data processed {"connection_id":57586,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:43:03] local.INFO: Acknowledgment sent {"connection_id":57586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:43:22] local.INFO: TCP Data received {"connection_id":57585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4385d88012d7d778005e21e380000005c0a..."} 
[2026-04-28 18:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4385d88012d7d778005e21e380000005c0a..."} 
[2026-04-28 18:43:22] local.INFO: Processing buffer {"connection_id":57585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4385d88012d7d778005e21e380000005c0a..."} 
[2026-04-28 18:43:22] local.INFO: Packet analysis {"connection_id":57585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:43:22] local.INFO: Extracted packet for processing {"connection_id":57585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763197312,"raw_latitude":98704952,"longitude_deg":76.3197312,"latitude_deg":9.8704952,"altitude":0,"angle":92,"satellites":10,"speed":30,"hex_longitude":"2d7d7780","hex_latitude":"05e21e38","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009777920001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76934280294432768,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965588209664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777381957000,"timestamp_ms":1777381957000,"timestamp_seconds":1777381957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4385d88"} 
[2026-04-28 18:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:43: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-04-28 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-28 18:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:43: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-04-28 18:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009777920001,"66":13450,"43":206,"85":15104,"24":30,"16":76934280294432768,"45":9030420965588209664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009777920001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:43:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76934280294432768,"km_value":76934280294432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965588209664,"description":"Unknown IO ID 45"} 
[2026-04-28 18:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009777920001,"power":13450,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9030420965588209664}} 
[2026-04-28 18:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":57585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:43:22] local.INFO: GPS data processed {"connection_id":57585,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:43:22] local.INFO: Acknowledgment sent {"connection_id":57585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:43:35] local.INFO: TCP Data received {"connection_id":57586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd437cd00012d805fc005c2c388000d00052a..."} 
[2026-04-28 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd437cd00012d805fc005c2c388000d00052a..."} 
[2026-04-28 18:43:35] local.INFO: Processing buffer {"connection_id":57586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd437cd00012d805fc005c2c388000d00052a..."} 
[2026-04-28 18:43:35] local.INFO: Packet analysis {"connection_id":57586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:35] local.INFO: Extracted packet for processing {"connection_id":57586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763387840,"raw_latitude":96650120,"longitude_deg":76.338784,"latitude_deg":9.665012,"altitude":13,"angle":5,"satellites":42,"speed":60,"hex_longitude":"2d805fc0","hex_latitude":"05c2c388","is_valid_coordinates":true} 
[2026-04-28 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009769984001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282419001932382208,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197687420489814016,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:35] 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-04-28 18:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777381920000,"timestamp_ms":1777381920000,"timestamp_seconds":1777381920,"priority":1,"record_length":96,"hex_timestamp":"0000019dd437cd00"} 
[2026-04-28 18:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 18:43:35] 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-04-28 18:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:43:35] 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-04-28 18:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009769984001,"66":27343,"179":206,"85":12288,"24":60,"16":282419001932382208,"45":-9197687420489814016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-28 18:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009769984001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:43:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 18:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282419001932382208,"km_value":282419001932382.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197687420489814016,"description":"Unknown IO ID 45"} 
[2026-04-28 18:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009769984001,"power":27343,"unknown_179":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9197687420489814016}} 
[2026-04-28 18:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":57586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:43:35] local.INFO: GPS data processed {"connection_id":57586,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:43:35] local.INFO: Acknowledgment sent {"connection_id":57586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:43:41] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4375fa0012d19a040071f9d580037014e20..."} 
[2026-04-28 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4375fa0012d19a040071f9d580037014e20..."} 
[2026-04-28 18:43:41] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4375fa0012d19a040071f9d580037014e20..."} 
[2026-04-28 18:43:41] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:41] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119512408,"longitude_deg":75.6654144,"latitude_deg":11.9512408,"altitude":55,"angle":334,"satellites":32,"speed":18,"hex_longitude":"2d19a040","hex_latitude":"071f9d58","is_valid_coordinates":true} 
[2026-04-28 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009763840001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115719132057436160,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196514502656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777381892000,"timestamp_ms":1777381892000,"timestamp_seconds":1777381892,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4375fa0"} 
[2026-04-28 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-28 18:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009763840001,"66":13917,"106":206,"83":41984,"24":18,"16":115719132057436160,"45":1847109196514502656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009763840001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:43:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115719132057436160,"km_value":115719132057436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196514502656,"description":"Unknown IO ID 45"} 
[2026-04-28 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009763840001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1847109196514502656}} 
[2026-04-28 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:43:41] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:43:41] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:43:46] local.INFO: TCP Data received {"connection_id":56671,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:46] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:46] local.INFO: IMEI packet received {"connection_id":56671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":56671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:43:47] local.INFO: TCP Data received {"connection_id":56671,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:47] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:47] local.INFO: IMEI packet received {"connection_id":56671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":56671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:43:51] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:43:51] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:43:51] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:43:52] local.INFO: TCP Data received {"connection_id":56671,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:52] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:43:52] local.INFO: IMEI packet received {"connection_id":56671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":56671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:43:53] local.INFO: TCP Data received {"connection_id":56671,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4388c68012d7d9c4005e21b900000005e0b..."} 
[2026-04-28 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4388c68012d7d9c4005e21b900000005e0b..."} 
[2026-04-28 18:43:53] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4388c68012d7d9c4005e21b900000005e0b..."} 
[2026-04-28 18:43:53] local.INFO: Packet analysis {"connection_id":56671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:43:53] local.INFO: Extracted packet for processing {"connection_id":56671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763206720,"raw_latitude":98704272,"longitude_deg":76.320672,"latitude_deg":9.8704272,"altitude":0,"angle":94,"satellites":11,"speed":29,"hex_longitude":"2d7d9c40","hex_latitude":"05e21b90","is_valid_coordinates":true} 
[2026-04-28 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009780992001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76934726971031552,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040835539726383104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777381969000,"timestamp_ms":1777381969000,"timestamp_seconds":1777381969,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4388c68"} 
[2026-04-28 18:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 18:43:53] 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-04-28 18:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:43: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-04-28 18:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009780992001,"66":13493,"43":206,"85":15104,"24":29,"16":76934726971031552,"45":9040835539726383104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009780992001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:43:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76934726971031552,"km_value":76934726971031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040835539726383104,"description":"Unknown IO ID 45"} 
[2026-04-28 18:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009780992001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9040835539726383104}} 
[2026-04-28 18:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":56671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:43:53] local.INFO: GPS data processed {"connection_id":56671,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:43:53] local.INFO: Acknowledgment sent {"connection_id":56671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:44:09] local.INFO: TCP Data received {"connection_id":57587,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:09] local.INFO: Processing buffer {"connection_id":57587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:09] local.INFO: IMEI packet received {"connection_id":57587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":57587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:44:09] local.INFO: TCP Data received {"connection_id":56670,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:09] local.INFO: Processing buffer {"connection_id":56670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:09] local.INFO: IMEI packet received {"connection_id":56670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":56670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:44:23] local.INFO: TCP Data received {"connection_id":57587,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:23] local.INFO: Processing buffer {"connection_id":57587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:44:23] local.INFO: IMEI packet received {"connection_id":57587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":57587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:44:23] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:23] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:23] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:44:24] local.INFO: TCP Data received {"connection_id":56671,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd438b378012d7dac4005e21aa00000006c0b..."} 
[2026-04-28 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd438b378012d7dac4005e21aa00000006c0b..."} 
[2026-04-28 18:44:24] local.INFO: Processing buffer {"connection_id":56671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd438b378012d7dac4005e21aa00000006c0b..."} 
[2026-04-28 18:44:24] local.INFO: Packet analysis {"connection_id":56671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:24] local.INFO: Extracted packet for processing {"connection_id":56671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763210816,"raw_latitude":98704032,"longitude_deg":76.3210816,"latitude_deg":9.8704032,"altitude":0,"angle":108,"satellites":11,"speed":13,"hex_longitude":"2d7dac40","hex_latitude":"05e21aa0","is_valid_coordinates":true} 
[2026-04-28 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009784064001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76934928834494464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051179745120325632,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777381979000,"timestamp_ms":1777381979000,"timestamp_seconds":1777381979,"priority":1,"record_length":96,"hex_timestamp":"0000019dd438b378"} 
[2026-04-28 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-28 18:44:24] 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-04-28 18:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:44: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-04-28 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009784064001,"66":13580,"43":206,"85":15104,"24":13,"16":76934928834494464,"45":9051179745120325632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009784064001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:44:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76934928834494464,"km_value":76934928834494.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051179745120325632,"description":"Unknown IO ID 45"} 
[2026-04-28 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009784064001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9051179745120325632}} 
[2026-04-28 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":56671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:44:24] local.INFO: GPS data processed {"connection_id":56671,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:44:24] local.INFO: Acknowledgment sent {"connection_id":56671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:44:28] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:28] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:44:28] local.INFO: IMEI packet received {"connection_id":56864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":56864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:44:30] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd437f028012d19a400071fd4b80031014421..."} 
[2026-04-28 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd437f028012d19a400071fd4b80031014421..."} 
[2026-04-28 18:44:30] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd437f028012d19a400071fd4b80031014421..."} 
[2026-04-28 18:44:30] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:44:30] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd437"} 
[2026-04-28 18:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119526584,"longitude_deg":75.6655104,"latitude_deg":11.9526584,"altitude":49,"angle":324,"satellites":33,"speed":5,"hex_longitude":"2d19a400","hex_latitude":"071fd4b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009773312001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115719913741484032,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883959988224,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44: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-04-28 18:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777381929000,"timestamp_ms":1777381929000,"timestamp_seconds":1777381929,"priority":1,"record_length":96,"hex_timestamp":"0000019dd437f028"} 
[2026-04-28 18:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 18:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009773312001,"66":13048,"106":206,"83":41984,"24":5,"16":115719913741484032,"45":1847812883959988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009773312001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:44:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115719913741484032,"km_value":115719913741484.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883959988224,"description":"Unknown IO ID 45"} 
[2026-04-28 18:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009773312001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1847812883959988224}} 
[2026-04-28 18:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:44:30] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:44:30] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:44:34] local.INFO: TCP Data received {"connection_id":56672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:34] local.INFO: Processing buffer {"connection_id":56672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:44:34] local.INFO: IMEI packet received {"connection_id":56672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":56672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:44:38] local.INFO: TCP Data received {"connection_id":57587,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57587,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 18:44:38] local.INFO: Processing buffer {"connection_id":57587,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-28 18:44:38] local.INFO: IMEI packet received {"connection_id":57587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":57587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:44:39] local.INFO: TCP Data received {"connection_id":56864,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4384230012d19a340071fd6a8003101441f..."} 
[2026-04-28 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4384230012d19a340071fd6a8003101441f..."} 
[2026-04-28 18:44:39] local.INFO: Processing buffer {"connection_id":56864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4384230012d19a340071fd6a8003101441f..."} 
[2026-04-28 18:44:39] local.INFO: Packet analysis {"connection_id":56864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:39] local.INFO: Extracted packet for processing {"connection_id":56864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119527080,"longitude_deg":75.6654912,"latitude_deg":11.952708,"altitude":49,"angle":324,"satellites":31,"speed":0,"hex_longitude":"2d19a340","hex_latitude":"071fd6a8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009773824001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115719943806255104,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727551488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777381950000,"timestamp_ms":1777381950000,"timestamp_seconds":1777381950,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4384230"} 
[2026-04-28 18:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 18:44:39] 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-04-28 18: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-04-28 18:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009773824001,"66":13048,"106":206,"83":41984,"24":0,"16":115719943806255104,"45":1847601777727551488},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009773824001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115719943806255104,"km_value":115719943806255.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727551488,"description":"Unknown IO ID 45"} 
[2026-04-28 18:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009773824001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727551488}} 
[2026-04-28 18:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":56864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:44:39] local.INFO: GPS data processed {"connection_id":56864,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:44:39] local.INFO: Acknowledgment sent {"connection_id":56864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:44:46] local.INFO: TCP Data received {"connection_id":56673,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:46] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:46] local.INFO: IMEI packet received {"connection_id":56673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":56673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:44:51] local.INFO: TCP Data received {"connection_id":56673,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:51] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:44:51] local.INFO: IMEI packet received {"connection_id":56673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":56673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:44:52] local.INFO: TCP Data received {"connection_id":56673,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd438c700012d7db3c005e21938000000600b..."} 
[2026-04-28 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd438c700012d7db3c005e21938000000600b..."} 
[2026-04-28 18:44:52] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd438c700012d7db3c005e21938000000600b..."} 
[2026-04-28 18:44:52] local.INFO: Packet analysis {"connection_id":56673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:52] local.INFO: Extracted packet for processing {"connection_id":56673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd438"} 
[2026-04-28 18:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763212736,"raw_latitude":98703672,"longitude_deg":76.3212736,"latitude_deg":9.8703672,"altitude":0,"angle":96,"satellites":11,"speed":16,"hex_longitude":"2d7db3c0","hex_latitude":"05e21938","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009786624001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935019028807680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055683344747634688,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777381984000,"timestamp_ms":1777381984000,"timestamp_seconds":1777381984,"priority":1,"record_length":96,"hex_timestamp":"0000019dd438c700"} 
[2026-04-28 18:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583569,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3560403752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1248020464316448768,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454891,"corrected_to":0} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637074291576363,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292610728735147,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3794026496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-1945548570283212800,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-04-28 18:44:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,85,24,241,157,16,83,140,45,64,27,11,10,66,93,128,30,46,1,240,247,227,82,212,226,4,113,205,26,173,7,112,9,239,52,2,17,5,124,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":247,"original":13454891,"validated":0},{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-04-28 18:44:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":118794501292032,"timestamp_seconds":118794501292.032,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:44: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-04-28 18:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009786624001,"66":13472,"43":206,"85":15104,"24":16,"16":76935019028807680,"45":9055683344747634688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-04-28 18:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009786624001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:44:52] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-28 18:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935019028807680,"km_value":76935019028807.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055683344747634688,"description":"Unknown IO ID 45"} 
[2026-04-28 18:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009786624001,"power":13472,"unknown_43":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9055683344747634688}} 
[2026-04-28 18:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":56673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:44:52] local.INFO: GPS data processed {"connection_id":56673,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:44:52] local.INFO: Acknowledgment sent {"connection_id":56673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:45:23] local.INFO: TCP Data received {"connection_id":56673,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4391908012d7dd3c005e215800000008e0c..."} 
[2026-04-28 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4391908012d7dd3c005e215800000008e0c..."} 
[2026-04-28 18:45:23] local.INFO: Processing buffer {"connection_id":56673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4391908012d7dd3c005e215800000008e0c..."} 
[2026-04-28 18:45:23] local.INFO: Packet analysis {"connection_id":56673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:45:23] local.INFO: Extracted packet for processing {"connection_id":56673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763220928,"raw_latitude":98702720,"longitude_deg":76.3220928,"latitude_deg":9.870272,"altitude":0,"angle":142,"satellites":12,"speed":5,"hex_longitude":"2d7dd3c0","hex_latitude":"05e21580","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009787904001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935414165798912,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9057794407072872448,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382005000,"timestamp_ms":1777382005000,"timestamp_seconds":1777382005,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4391908"} 
[2026-04-28 18:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 18:45: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-04-28 18: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-04-28 18:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:45: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-04-28 18:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009787904001,"66":13450,"61":206,"85":15104,"24":5,"16":76935414165798912,"45":9057794407072872448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009787904001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:45:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935414165798912,"km_value":76935414165798.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9057794407072872448,"description":"Unknown IO ID 45"} 
[2026-04-28 18:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009787904001,"power":13450,"unknown_61":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9057794407072872448}} 
[2026-04-28 18:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":56673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:45:23] local.INFO: GPS data processed {"connection_id":56673,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:45:23] local.INFO: Acknowledgment sent {"connection_id":56673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:45:51] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:51] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:51] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:45:57] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:57] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:45:57] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:45:57] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4396728012d7dd4c005e213900000008c0c..."} 
[2026-04-28 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4396728012d7dd4c005e213900000008c0c..."} 
[2026-04-28 18:45:57] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4396728012d7dd4c005e213900000008c0c..."} 
[2026-04-28 18:45:57] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:45:57] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763221184,"raw_latitude":98702224,"longitude_deg":76.3221184,"latitude_deg":9.8702224,"altitude":0,"angle":140,"satellites":12,"speed":0,"hex_longitude":"2d7dd4c0","hex_latitude":"05e21390","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009793280001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935444230569984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066801606327369728,"note":"Value kept but may cause issues"} 
[2026-04-28 18:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777382025000,"timestamp_ms":1777382025000,"timestamp_seconds":1777382025,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4396728"} 
[2026-04-28 18:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:45: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-04-28 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 18:45: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-04-28 18: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-04-28 18:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:45:57] 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-04-28 18:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009793280001,"66":13374,"61":206,"85":15104,"24":0,"16":76935444230569984,"45":9066801606327369728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009793280001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:45:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935444230569984,"km_value":76935444230569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066801606327369728,"description":"Unknown IO ID 45"} 
[2026-04-28 18:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009793280001,"power":13374,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9066801606327369728}} 
[2026-04-28 18:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:45:58] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:45:58] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:46:02] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd439b930012d7dd4c005e213900000008c0e..."} 
[2026-04-28 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd439b930012d7dd4c005e213900000008c0e..."} 
[2026-04-28 18:46:02] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd439b930012d7dd4c005e213900000008c0e..."} 
[2026-04-28 18:46:02] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:46:02] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763221184,"raw_latitude":98702224,"longitude_deg":76.3221184,"latitude_deg":9.8702224,"altitude":0,"angle":140,"satellites":14,"speed":0,"hex_longitude":"2d7dd4c0","hex_latitude":"05e21390","is_valid_coordinates":true} 
[2026-04-28 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009798400001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935444230569984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067083081303953408,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777382046000,"timestamp_ms":1777382046000,"timestamp_seconds":1777382046,"priority":1,"record_length":96,"hex_timestamp":"0000019dd439b930"} 
[2026-04-28 18:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 18:46: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-04-28 18:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:46:02] 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-04-28 18:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009798400001,"66":13580,"61":206,"85":15104,"24":0,"16":76935444230569984,"45":9067083081303953408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009798400001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:46:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935444230569984,"km_value":76935444230569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067083081303953408,"description":"Unknown IO ID 45"} 
[2026-04-28 18:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009798400001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9067083081303953408}} 
[2026-04-28 18:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:46:02] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:46:02] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:46:03] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:03] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:03] local.INFO: IMEI packet received {"connection_id":56902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":56902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:46:05] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:05] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:46:05] local.INFO: IMEI packet received {"connection_id":56902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":56902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:46:46] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:46] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:46] local.INFO: IMEI packet received {"connection_id":56674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":56674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:46:51] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:51] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:46:51] local.INFO: IMEI packet received {"connection_id":56674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":56674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:46:52] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd439c100012d7dd64005e21370000000520e..."} 
[2026-04-28 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd439c100012d7dd64005e21370000000520e..."} 
[2026-04-28 18:46:52] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd439c100012d7dd64005e21370000000520e..."} 
[2026-04-28 18:46:52] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:46:52] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763221568,"raw_latitude":98702192,"longitude_deg":76.3221568,"latitude_deg":9.8702192,"altitude":0,"angle":82,"satellites":14,"speed":2,"hex_longitude":"2d7dd640","hex_latitude":"05e21370","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009803776001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935465705406464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067083081303953408,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382048000,"timestamp_ms":1777382048000,"timestamp_seconds":1777382048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd439c100"} 
[2026-04-28 18:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583570,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3560463752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1248431681665236992,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786489387,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292610728735147,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3793631232,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5944757976887721984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-04-28 18:46:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,84,103,45,192,19,12,10,66,25,21,199,1,240,160,227,83,212,226,4,113,205,13,140,156,144,11,239,52,43,2,17,5,30,125,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-04-28 18:46:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153991757430784,"timestamp_seconds":153991757430.784,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:46: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-04-28 18:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009803776001,"66":13580,"61":206,"85":15104,"24":2,"16":76935465705406464,"45":9067083081303953408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009803776001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:46:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935465705406464,"km_value":76935465705406.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067083081303953408,"description":"Unknown IO ID 45"} 
[2026-04-28 18:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009803776001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9067083081303953408}} 
[2026-04-28 18:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:46:52] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:46:52] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:47:23] local.INFO: TCP Data received {"connection_id":56674,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd439d0a0012d7dd70005e21360000000630e..."} 
[2026-04-28 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd439d0a0012d7dd70005e21360000000630e..."} 
[2026-04-28 18:47:23] local.INFO: Processing buffer {"connection_id":56674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd439d0a0012d7dd70005e21360000000630e..."} 
[2026-04-28 18:47:23] local.INFO: Packet analysis {"connection_id":56674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:47:23] local.INFO: Extracted packet for processing {"connection_id":56674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd439"} 
[2026-04-28 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763221760,"raw_latitude":98702176,"longitude_deg":76.322176,"latitude_deg":9.8702176,"altitude":0,"angle":99,"satellites":14,"speed":0,"hex_longitude":"2d7dd700","hex_latitude":"05e21360","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009804288001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935474295341056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067505293769011200,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382052000,"timestamp_ms":1777382052000,"timestamp_seconds":1777382052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd439d0a0"} 
[2026-04-28 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:47:23] 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-04-28 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583571,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3560475752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1248546030874525696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470083115,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3793457152,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":125,"raw_value":8610888956260122624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570360862880171,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,84,185,45,192,19,14,10,66,103,12,25,1,240,138,227,212,226,4,113,205,179,172,160,11,239,53,43,2,17,5,29,125,52,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-04-28 18:47:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90220083150848,"timestamp_seconds":90220083150.848,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:47: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-04-28 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009804288001,"66":12917,"61":206,"85":15104,"24":0,"16":76935474295341056,"45":9067505293769011200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009804288001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:47:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935474295341056,"km_value":76935474295341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067505293769011200,"description":"Unknown IO ID 45"} 
[2026-04-28 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009804288001,"power":12917,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9067505293769011200}} 
[2026-04-28 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":56674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:47:23] local.INFO: GPS data processed {"connection_id":56674,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:47:23] local.INFO: Acknowledgment sent {"connection_id":56674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:47:47] local.INFO: TCP Data received {"connection_id":57589,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:47] local.INFO: Processing buffer {"connection_id":57589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:47] local.INFO: IMEI packet received {"connection_id":57589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":57589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:47:48] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:47:48] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:47:48] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:47:51] local.INFO: TCP Data received {"connection_id":57589,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:51] local.INFO: Processing buffer {"connection_id":57589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:47:51] local.INFO: IMEI packet received {"connection_id":57589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":57589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:47:52] local.INFO: TCP Data received {"connection_id":57589,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43a22a8012d7dd70005e21350000000630d..."} 
[2026-04-28 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43a22a8012d7dd70005e21350000000630d..."} 
[2026-04-28 18:47:52] local.INFO: Processing buffer {"connection_id":57589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43a22a8012d7dd70005e21350000000630d..."} 
[2026-04-28 18:47:52] local.INFO: Packet analysis {"connection_id":57589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:47:52] local.INFO: Extracted packet for processing {"connection_id":57589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":763221760,"raw_latitude":98702160,"longitude_deg":76.322176,"latitude_deg":9.870216,"altitude":0,"angle":99,"satellites":13,"speed":0,"hex_longitude":"2d7dd700","hex_latitude":"05e21350","is_valid_coordinates":true} 
[2026-04-28 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009805312001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935474295341056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067716400001540096,"note":"Value kept but may cause issues"} 
[2026-04-28 18:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382073000,"timestamp_ms":1777382073000,"timestamp_seconds":1777382073,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43a22a8"} 
[2026-04-28 18:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 18:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:47: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-04-28 18:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009805312001,"66":13374,"61":206,"85":15104,"24":0,"16":76935474295341056,"45":9067716400001540096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009805312001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:47:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935474295341056,"km_value":76935474295341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067716400001540096,"description":"Unknown IO ID 45"} 
[2026-04-28 18:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009805312001,"power":13374,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9067716400001540096}} 
[2026-04-28 18:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":57589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:47:52] local.INFO: GPS data processed {"connection_id":57589,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:47:52] local.INFO: Acknowledgment sent {"connection_id":57589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:48:23] local.INFO: TCP Data received {"connection_id":57589,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43a74b0012d7dd70005e21350000000630e..."} 
[2026-04-28 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43a74b0012d7dd70005e21350000000630e..."} 
[2026-04-28 18:48:23] local.INFO: Processing buffer {"connection_id":57589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43a74b0012d7dd70005e21350000000630e..."} 
[2026-04-28 18:48:23] local.INFO: Packet analysis {"connection_id":57589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:48:23] local.INFO: Extracted packet for processing {"connection_id":57589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763221760,"raw_latitude":98702160,"longitude_deg":76.322176,"latitude_deg":9.870216,"altitude":0,"angle":99,"satellites":14,"speed":0,"hex_longitude":"2d7dd700","hex_latitude":"05e21350","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009810688001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935474295341056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067716400001536000,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382094000,"timestamp_ms":1777382094000,"timestamp_seconds":1777382094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43a74b0"} 
[2026-04-28 18:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:48:23] 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-04-28 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 18:48: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-04-28 18: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-04-28 18:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:48: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-04-28 18:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009810688001,"66":13515,"61":206,"85":15104,"24":0,"16":76935474295341056,"45":9067716400001536000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009810688001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:48:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:48:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935474295341056,"km_value":76935474295341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067716400001536000,"description":"Unknown IO ID 45"} 
[2026-04-28 18:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009810688001,"power":13515,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9067716400001536000}} 
[2026-04-28 18:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":57589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:48:23] local.INFO: GPS data processed {"connection_id":57589,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:48:23] local.INFO: Acknowledgment sent {"connection_id":57589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:48:46] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:46] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:46] local.INFO: IMEI packet received {"connection_id":56867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":56867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:48:49] local.INFO: TCP Data received {"connection_id":56677,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:48:49] local.INFO: Processing buffer {"connection_id":56677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:48:49] local.INFO: IMEI packet received {"connection_id":56677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":56677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:48:52] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:52] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:48:52] local.INFO: IMEI packet received {"connection_id":56867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":56867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:48:52] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43ac6b8012d7dd70005e21350000000630f..."} 
[2026-04-28 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43ac6b8012d7dd70005e21350000000630f..."} 
[2026-04-28 18:48:52] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43ac6b8012d7dd70005e21350000000630f..."} 
[2026-04-28 18:48:52] local.INFO: Packet analysis {"connection_id":56867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:48:52] local.INFO: Extracted packet for processing {"connection_id":56867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763221760,"raw_latitude":98702160,"longitude_deg":76.322176,"latitude_deg":9.870216,"altitude":0,"angle":99,"satellites":15,"speed":0,"hex_longitude":"2d7dd700","hex_latitude":"05e21350","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009816064001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935474295341056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067716400001536000,"note":"Value kept but may cause issues"} 
[2026-04-28 18:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382115000,"timestamp_ms":1777382115000,"timestamp_seconds":1777382115,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43ac6b8"} 
[2026-04-28 18:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:48: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-04-28 18: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":203,"data_length":795,"current_offset":136} 
[2026-04-28 18:48: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-04-28 18: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-04-28 18:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:48: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-04-28 18:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009816064001,"66":13406,"61":206,"85":15104,"24":0,"16":76935474295341056,"45":9067716400001536000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009816064001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:48:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935474295341056,"km_value":76935474295341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067716400001536000,"description":"Unknown IO ID 45"} 
[2026-04-28 18:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009816064001,"power":13406,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9067716400001536000}} 
[2026-04-28 18:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":56867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:48:52] local.INFO: GPS data processed {"connection_id":56867,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:48:52] local.INFO: Acknowledgment sent {"connection_id":56867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:49:23] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43aedc8012d7dd78005e212e8000000550f..."} 
[2026-04-28 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43aedc8012d7dd78005e212e8000000550f..."} 
[2026-04-28 18:49:23] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43aedc8012d7dd78005e212e8000000550f..."} 
[2026-04-28 18:49:23] local.INFO: Packet analysis {"connection_id":56867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:49:23] local.INFO: Extracted packet for processing {"connection_id":56867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763221888,"raw_latitude":98702056,"longitude_deg":76.3221888,"latitude_deg":9.8702056,"altitude":0,"angle":85,"satellites":15,"speed":3,"hex_longitude":"2d7dd780","hex_latitude":"05e212e8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009821440001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935482885275648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067716400001536000,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382125000,"timestamp_ms":1777382125000,"timestamp_seconds":1777382125,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43aedc8"} 
[2026-04-28 18:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-28 18:49:23] 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-04-28 18: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-04-28 18:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:49: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-04-28 18:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009821440001,"66":13374,"61":206,"85":15104,"24":3,"16":76935482885275648,"45":9067716400001536000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009821440001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:49:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935482885275648,"km_value":76935482885275.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067716400001536000,"description":"Unknown IO ID 45"} 
[2026-04-28 18:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009821440001,"power":13374,"unknown_61":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9067716400001536000}} 
[2026-04-28 18:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":56867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:49:23] local.INFO: GPS data processed {"connection_id":56867,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:49:23] local.INFO: Acknowledgment sent {"connection_id":56867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:49:25] local.INFO: TCP Data received {"connection_id":56678,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:25] local.INFO: Processing buffer {"connection_id":56678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:25] local.INFO: IMEI packet received {"connection_id":56678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":56678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:49:26] local.INFO: TCP Data received {"connection_id":56678,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43d08d8012d7f430005c5ff200006014426..."} 
[2026-04-28 18:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43d08d8012d7f430005c5ff200006014426..."} 
[2026-04-28 18:49:26] local.INFO: Processing buffer {"connection_id":56678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43d08d8012d7f430005c5ff200006014426..."} 
[2026-04-28 18:49:26] local.INFO: Packet analysis {"connection_id":56678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43d"} 
[2026-04-28 18:49:26] local.INFO: Extracted packet for processing {"connection_id":56678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43d"} 
[2026-04-28 18:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763314944,"raw_latitude":96861984,"longitude_deg":76.3314944,"latitude_deg":9.6861984,"altitude":6,"angle":324,"satellites":38,"speed":23,"hex_longitude":"2d7f4300","hex_latitude":"05c5ff20","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009856512001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282430628408852480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176154634306330624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777382263000,"timestamp_ms":1777382263000,"timestamp_seconds":1777382263,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43d08d8"} 
[2026-04-28 18:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 18:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009856512001,"66":27234,"95":206,"85":12288,"24":23,"16":282430628408852480,"45":9176154634306330624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-28 18:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009856512001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:49:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-28 18:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282430628408852480,"km_value":282430628408852.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176154634306330624,"description":"Unknown IO ID 45"} 
[2026-04-28 18:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009856512001,"power":27234,"unknown_95":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9176154634306330624}} 
[2026-04-28 18:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":56678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:49:26] local.INFO: GPS data processed {"connection_id":56678,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:49:26] local.INFO: Acknowledgment sent {"connection_id":56678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:49:46] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:46] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:46] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:49:52] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:52] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:49:52] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:49:52] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:49:52] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:49:52] local.INFO: Packet analysis {"connection_id":56907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:49:52] local.INFO: Extracted packet for processing {"connection_id":56907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763222144,"raw_latitude":98702104,"longitude_deg":76.3222144,"latitude_deg":9.8702104,"altitude":0,"angle":75,"satellites":15,"speed":4,"hex_longitude":"2d7dd880","hex_latitude":"05e21318","is_valid_coordinates":true} 
[2026-04-28 18:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009824000001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067857137489864704,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382127000,"timestamp_ms":1777382127000,"timestamp_seconds":1777382127,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43af598"} 
[2026-04-28 18:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:49: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-04-28 18:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-28 18:49: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-04-28 18:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:49: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-04-28 18:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009824000001,"66":13341,"61":206,"85":15104,"24":4,"16":76935495770177536,"45":9067857137489864704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009824000001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:49:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067857137489864704,"description":"Unknown IO ID 45"} 
[2026-04-28 18:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009824000001,"power":13341,"unknown_61":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9067857137489864704}} 
[2026-04-28 18:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":56907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:49:52] local.INFO: GPS data processed {"connection_id":56907,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:49:52] local.INFO: Acknowledgment sent {"connection_id":56907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:49:52] local.INFO: TCP Data received {"connection_id":56869,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:52] local.INFO: Processing buffer {"connection_id":56869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:52] local.INFO: IMEI packet received {"connection_id":56869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":56869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:49:53] local.INFO: TCP Data received {"connection_id":56869,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:53] local.INFO: Processing buffer {"connection_id":56869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:53] local.INFO: IMEI packet received {"connection_id":56869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:49:54] local.INFO: TCP Data received {"connection_id":56868,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:49:54] local.INFO: Processing buffer {"connection_id":56868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:49:54] local.INFO: IMEI packet received {"connection_id":56868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":56868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:49:58] local.INFO: TCP Data received {"connection_id":56869,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:58] local.INFO: Processing buffer {"connection_id":56869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:49:58] local.INFO: IMEI packet received {"connection_id":56869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":56869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:49:59] local.INFO: TCP Data received {"connection_id":56869,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43d3f88012d7f2e0005c61af00007014127..."} 
[2026-04-28 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43d3f88012d7f2e0005c61af00007014127..."} 
[2026-04-28 18:49:59] local.INFO: Processing buffer {"connection_id":56869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43d3f88012d7f2e0005c61af00007014127..."} 
[2026-04-28 18:49:59] local.INFO: Packet analysis {"connection_id":56869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43d"} 
[2026-04-28 18:49:59] local.INFO: Extracted packet for processing {"connection_id":56869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43d"} 
[2026-04-28 18:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763309568,"raw_latitude":96869104,"longitude_deg":76.3309568,"latitude_deg":9.6869104,"altitude":7,"angle":321,"satellites":39,"speed":24,"hex_longitude":"2d7f2e00","hex_latitude":"05c61af0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009859328001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282431062200549376,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170173291053129728,"note":"Value kept but may cause issues"} 
[2026-04-28 18:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777382277000,"timestamp_ms":1777382277000,"timestamp_seconds":1777382277,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43d3f88"} 
[2026-04-28 18:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:49: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-04-28 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 18:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009859328001,"66":27397,"95":206,"85":12288,"24":24,"16":282431062200549376,"45":9170173291053129728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-28 18:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009859328001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:49:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-28 18:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282431062200549376,"km_value":282431062200549.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170173291053129728,"description":"Unknown IO ID 45"} 
[2026-04-28 18:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009859328001,"power":27397,"unknown_95":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9170173291053129728}} 
[2026-04-28 18:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":56869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:49:59] local.INFO: GPS data processed {"connection_id":56869,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:49:59] local.INFO: Acknowledgment sent {"connection_id":56869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:50:23] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:50:23] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43af598012d7dd88005e213180000004b0f..."} 
[2026-04-28 18:50:23] local.INFO: Packet analysis {"connection_id":56907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:50:23] local.INFO: Extracted packet for processing {"connection_id":56907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43a"} 
[2026-04-28 18:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763222144,"raw_latitude":98702104,"longitude_deg":76.3222144,"latitude_deg":9.8702104,"altitude":0,"angle":75,"satellites":15,"speed":4,"hex_longitude":"2d7dd880","hex_latitude":"05e21318","is_valid_coordinates":true} 
[2026-04-28 18:50: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-04-28 18:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009824512001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068138612466587648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382127000,"timestamp_ms":1777382127000,"timestamp_seconds":1777382127,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43af598"} 
[2026-04-28 18:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 18:50: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-04-28 18: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-04-28 18:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:50: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-04-28 18:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009824512001,"66":13341,"61":206,"85":15104,"24":4,"16":76935495770177536,"45":9068138612466587648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009824512001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:50:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068138612466587648,"description":"Unknown IO ID 45"} 
[2026-04-28 18:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009824512001,"power":13341,"unknown_61":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9068138612466587648}} 
[2026-04-28 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":56907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:50:24] local.INFO: GPS data processed {"connection_id":56907,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:50:24] local.INFO: Acknowledgment sent {"connection_id":56907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:50:30] local.INFO: TCP Data received {"connection_id":56869,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43eb2a0012d7e3d4005c6f0600007012f26..."} 
[2026-04-28 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43eb2a0012d7e3d4005c6f0600007012f26..."} 
[2026-04-28 18:50:30] local.INFO: Processing buffer {"connection_id":56869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43eb2a0012d7e3d4005c6f0600007012f26..."} 
[2026-04-28 18:50:30] local.INFO: Packet analysis {"connection_id":56869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:50:30] local.INFO: Extracted packet for processing {"connection_id":56869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":96923744,"longitude_deg":76.3247936,"latitude_deg":9.6923744,"altitude":7,"angle":303,"satellites":38,"speed":42,"hex_longitude":"2d7e3d40","hex_latitude":"05c6f060","is_valid_coordinates":true} 
[2026-04-28 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009884928001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282435082289938432,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104800727726532608,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:30] 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-04-28 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777382372000,"timestamp_ms":1777382372000,"timestamp_seconds":1777382372,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43eb2a0"} 
[2026-04-28 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 18:50:30] 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-04-28 18:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009884928001,"66":27397,"200":0,"85":12288,"24":42,"16":282435082289938432,"45":9104800727726532608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009884928001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282435082289938432,"km_value":282435082289938.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104800727726532608,"description":"Unknown IO ID 45"} 
[2026-04-28 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009884928001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9104800727726532608}} 
[2026-04-28 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":56869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:50:30] local.INFO: GPS data processed {"connection_id":56869,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:50:30] local.INFO: Acknowledgment sent {"connection_id":56869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:50:34] local.INFO: TCP Data received {"connection_id":57591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:50:34] local.INFO: Processing buffer {"connection_id":57591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:50:34] local.INFO: IMEI packet received {"connection_id":57591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":57591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:50:52] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:52] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:52] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:50:52] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:52] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:52] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:50:57] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:57] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:50:57] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:50:57] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43b0150012d7dd90005e21318000000610f..."} 
[2026-04-28 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43b0150012d7dd90005e21318000000610f..."} 
[2026-04-28 18:50:57] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43b0150012d7dd90005e21318000000610f..."} 
[2026-04-28 18:50:57] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43b"} 
[2026-04-28 18:50:57] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43b"} 
[2026-04-28 18:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763222272,"raw_latitude":98702104,"longitude_deg":76.3222272,"latitude_deg":9.8702104,"altitude":0,"angle":97,"satellites":15,"speed":2,"hex_longitude":"2d7dd900","hex_latitude":"05e21318","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009824512001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068138612466587648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777382130000,"timestamp_ms":1777382130000,"timestamp_seconds":1777382130,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43b0150"} 
[2026-04-28 18:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:50:57] 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-04-28 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-28 18:50:57] 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-04-28 18: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-04-28 18:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:50:57] 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-04-28 18:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009824512001,"66":13352,"61":206,"85":15104,"24":2,"16":76935495770177536,"45":9068138612466587648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009824512001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:50:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068138612466587648,"description":"Unknown IO ID 45"} 
[2026-04-28 18:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009824512001,"power":13352,"unknown_61":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9068138612466587648}} 
[2026-04-28 18:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:50:57] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:50:57] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:50:58] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:58] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:50:58] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:50:58] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43ed1e0012d7e1f0005c705900006013125..."} 
[2026-04-28 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43ed1e0012d7e1f0005c705900006013125..."} 
[2026-04-28 18:50:58] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43ed1e0012d7e1f0005c705900006013125..."} 
[2026-04-28 18:50:58] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:50:58] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763240192,"raw_latitude":96929168,"longitude_deg":76.3240192,"latitude_deg":9.6929168,"altitude":6,"angle":305,"satellites":37,"speed":47,"hex_longitude":"2d7e1f00","hex_latitude":"05c70590","is_valid_coordinates":true} 
[2026-04-28 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009887232001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282435533261504512,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497215914926080,"note":"Value kept but may cause issues"} 
[2026-04-28 18:50: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-04-28 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777382380000,"timestamp_ms":1777382380000,"timestamp_seconds":1777382380,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43ed1e0"} 
[2026-04-28 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009887232001,"66":27365,"200":0,"85":12288,"24":47,"16":282435533261504512,"45":9096497215914926080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009887232001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282435533261504512,"km_value":282435533261504.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497215914926080,"description":"Unknown IO ID 45"} 
[2026-04-28 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009887232001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9096497215914926080}} 
[2026-04-28 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:50:58] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:50:58] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:51:02] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43b0538012d7dd90005e213080000006d0f..."} 
[2026-04-28 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43b0538012d7dd90005e213080000006d0f..."} 
[2026-04-28 18:51:02] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43b0538012d7dd90005e213080000006d0f..."} 
[2026-04-28 18:51:02] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43b"} 
[2026-04-28 18:51:02] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43b"} 
[2026-04-28 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763222272,"raw_latitude":98702088,"longitude_deg":76.3222272,"latitude_deg":9.8702088,"altitude":0,"angle":109,"satellites":15,"speed":0,"hex_longitude":"2d7dd900","hex_latitude":"05e21308","is_valid_coordinates":true} 
[2026-04-28 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009825280001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279349954942976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777382131000,"timestamp_ms":1777382131000,"timestamp_seconds":1777382131,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43b0538"} 
[2026-04-28 18:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:51:02] 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-04-28 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-28 18:51:02] 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-04-28 18:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:51:02] 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-04-28 18:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009825280001,"66":13319,"61":206,"85":15104,"24":0,"16":76935495770177536,"45":9068279349954942976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009825280001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:51:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279349954942976,"description":"Unknown IO ID 45"} 
[2026-04-28 18:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009825280001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9068279349954942976}} 
[2026-04-28 18:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:51:02] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:51:02] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:51:29] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43ef120012d7e024005c719600006013226..."} 
[2026-04-28 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43ef120012d7e024005c719600006013226..."} 
[2026-04-28 18:51:29] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43ef120012d7e024005c719600006013226..."} 
[2026-04-28 18:51:29] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:51:29] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":96934240,"longitude_deg":76.3232832,"latitude_deg":9.693424,"altitude":6,"angle":306,"satellites":38,"speed":33,"hex_longitude":"2d7e0240","hex_latitude":"05c71960","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009889280001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282435962758234112,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982597870817280,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:29] 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-04-28 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777382388000,"timestamp_ms":1777382388000,"timestamp_seconds":1777382388,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43ef120"} 
[2026-04-28 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-04-28 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009889280001,"66":27397,"200":0,"85":12288,"24":33,"16":282435962758234112,"45":9087982597870817280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009889280001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282435962758234112,"km_value":282435962758234.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982597870817280,"description":"Unknown IO ID 45"} 
[2026-04-28 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009889280001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9087982597870817280}} 
[2026-04-28 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:51:29] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:51:29] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:51:47] local.INFO: TCP Data received {"connection_id":56679,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:47] local.INFO: Processing buffer {"connection_id":56679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:47] local.INFO: IMEI packet received {"connection_id":56679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":56679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:51:52] local.INFO: TCP Data received {"connection_id":56679,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:52] local.INFO: Processing buffer {"connection_id":56679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:51:52] local.INFO: IMEI packet received {"connection_id":56679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":56679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:51:52] local.INFO: TCP Data received {"connection_id":56679,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43ea3000100000000000000000000000000..."} 
[2026-04-28 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43ea3000100000000000000000000000000..."} 
[2026-04-28 18:51:52] local.INFO: Processing buffer {"connection_id":56679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43ea3000100000000000000000000000000..."} 
[2026-04-28 18:51:52] local.INFO: Packet analysis {"connection_id":56679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:51:52] local.INFO: Extracted packet for processing {"connection_id":56679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:51: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-04-28 18:51: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-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009825536001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279349954938880,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382368000,"timestamp_ms":1777382368000,"timestamp_seconds":1777382368,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43ea300"} 
[2026-04-28 18:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:51:52] 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-04-28 18: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":7,"data_length":795,"current_offset":136} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3560600752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1391612284863974656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792916480,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57886250674050363,"corrected_to":0} 
[2026-04-28 18:51:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2497247288273338373,"note":"Value kept but may cause issues"} 
[2026-04-28 18:51:52] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,61,85,24,241,157,16,84,1,45,19,15,10,66,245,128,240,29,227,212,226,4,113,205,3,198,215,80,239,52,2,17,5,203,58],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0},{"io_id":203,"original":57886250674050363,"validated":0}]} 
[2026-04-28 18:51:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":119911191937024,"timestamp_seconds":119911191937.024,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:51: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-04-28 18:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":56679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-28 18:51:52] local.INFO: GPS data processed {"connection_id":56679,"processed":0,"errors":0,"total":1} 
[2026-04-28 18:51:52] local.INFO: Acknowledgment sent {"connection_id":56679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:51:58] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:51:58] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:51:58] local.INFO: IMEI packet received {"connection_id":56873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":56873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:52:03] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:03] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:03] local.INFO: IMEI packet received {"connection_id":56873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":56873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:52:04] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43f1c18012d7de4c005c72f680006013327..."} 
[2026-04-28 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43f1c18012d7de4c005c72f680006013327..."} 
[2026-04-28 18:52:04] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43f1c18012d7de4c005c72f680006013327..."} 
[2026-04-28 18:52:04] local.INFO: Packet analysis {"connection_id":56873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:04] local.INFO: Extracted packet for processing {"connection_id":56873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763225280,"raw_latitude":96939880,"longitude_deg":76.322528,"latitude_deg":9.693988,"altitude":6,"angle":307,"satellites":39,"speed":39,"hex_longitude":"2d7de4c0","hex_latitude":"05c72f68","is_valid_coordinates":true} 
[2026-04-28 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009891328001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282436418024767488,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192291684352,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-28 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777382399000,"timestamp_ms":1777382399000,"timestamp_seconds":1777382399,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43f1c18"} 
[2026-04-28 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52: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-04-28 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 18:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:04] 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-04-28 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009891328001,"66":27376,"200":0,"85":12288,"24":39,"16":282436418024767488,"45":9079890192291684352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009891328001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282436418024767488,"km_value":282436418024767.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192291684352,"description":"Unknown IO ID 45"} 
[2026-04-28 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009891328001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9079890192291684352}} 
[2026-04-28 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":56873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:04] local.INFO: GPS data processed {"connection_id":56873,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:04] local.INFO: Acknowledgment sent {"connection_id":56873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:52:06] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:06] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:06] local.INFO: Packet analysis {"connection_id":56873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:06] local.INFO: Extracted packet for processing {"connection_id":56873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763217536,"raw_latitude":96945048,"longitude_deg":76.3217536,"latitude_deg":9.6945048,"altitude":8,"angle":294,"satellites":38,"speed":25,"hex_longitude":"2d7dc680","hex_latitude":"05c74398","is_valid_coordinates":true} 
[2026-04-28 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009894144001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282436860406398976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071586680480163840,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-28 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777382410000,"timestamp_ms":1777382410000,"timestamp_seconds":1777382410,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43f4710"} 
[2026-04-28 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 18:52:06] 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-04-28 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:06] 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-04-28 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009894144001,"66":27343,"200":0,"85":12288,"24":25,"16":282436860406398976,"45":9071586680480163840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009894144001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282436860406398976,"km_value":282436860406399.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071586680480163840,"description":"Unknown IO ID 45"} 
[2026-04-28 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009894144001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9071586680480163840}} 
[2026-04-28 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":56873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:06] local.INFO: GPS data processed {"connection_id":56873,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:06] local.INFO: Acknowledgment sent {"connection_id":56873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:52:23] local.INFO: TCP Data received {"connection_id":56679,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43eca10012d7dcd8005e1fe380000011115..."} 
[2026-04-28 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43eca10012d7dcd8005e1fe380000011115..."} 
[2026-04-28 18:52:23] local.INFO: Processing buffer {"connection_id":56679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43eca10012d7dcd8005e1fe380000011115..."} 
[2026-04-28 18:52:23] local.INFO: Packet analysis {"connection_id":56679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:52:23] local.INFO: Extracted packet for processing {"connection_id":56679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763219328,"raw_latitude":98696760,"longitude_deg":76.3219328,"latitude_deg":9.869676,"altitude":0,"angle":273,"satellites":21,"speed":0,"hex_longitude":"2d7dcd80","hex_latitude":"05e1fe38","is_valid_coordinates":true} 
[2026-04-28 18:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 18:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382378000,"timestamp_ms":1777382378000,"timestamp_seconds":1777382378,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43eca10"} 
[2026-04-28 18:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 18:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:52: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-04-28 18:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12526,"61":206,"85":15104,"24":0,"16":76935495770177536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-04-28 18:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12526,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-28 18:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":56679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:23] local.INFO: GPS data processed {"connection_id":56679,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:23] local.INFO: Acknowledgment sent {"connection_id":56679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:52:37] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:37] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43f4710012d7dc68005c743980008012626..."} 
[2026-04-28 18:52:37] local.INFO: Packet analysis {"connection_id":56873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:37] local.INFO: Extracted packet for processing {"connection_id":56873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763217536,"raw_latitude":96945048,"longitude_deg":76.3217536,"latitude_deg":9.6945048,"altitude":8,"angle":294,"satellites":38,"speed":25,"hex_longitude":"2d7dc680","hex_latitude":"05c74398","is_valid_coordinates":true} 
[2026-04-28 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009896960001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282436860406398976,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063072062435989504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:37] 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-04-28 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777382410000,"timestamp_ms":1777382410000,"timestamp_seconds":1777382410,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43f4710"} 
[2026-04-28 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 18:52:37] 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-04-28 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:37] 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-04-28 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009896960001,"66":27343,"200":0,"85":12288,"24":25,"16":282436860406398976,"45":9063072062435989504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009896960001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282436860406398976,"km_value":282436860406399.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063072062435989504,"description":"Unknown IO ID 45"} 
[2026-04-28 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009896960001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9063072062435989504}} 
[2026-04-28 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":56873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:37] local.INFO: GPS data processed {"connection_id":56873,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:37] local.INFO: Acknowledgment sent {"connection_id":56873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:52:46] local.INFO: TCP Data received {"connection_id":56680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:46] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:46] local.INFO: IMEI packet received {"connection_id":56680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":56680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:52:51] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:51] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:51] local.INFO: IMEI packet received {"connection_id":56681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":56681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:52:52] local.INFO: TCP Data received {"connection_id":56680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:52] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:52:52] local.INFO: IMEI packet received {"connection_id":56680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":56680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:52:52] local.INFO: TCP Data received {"connection_id":56680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43f9918012d7dd00005e1fb800000011115..."} 
[2026-04-28 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43f9918012d7dd00005e1fb800000011115..."} 
[2026-04-28 18:52:52] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43f9918012d7dd00005e1fb800000011115..."} 
[2026-04-28 18:52:52] local.INFO: Packet analysis {"connection_id":56680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:52] local.INFO: Extracted packet for processing {"connection_id":56680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763219968,"raw_latitude":98696064,"longitude_deg":76.3219968,"latitude_deg":9.8696064,"altitude":0,"angle":273,"satellites":21,"speed":0,"hex_longitude":"2d7dd000","hex_latitude":"05e1fb80","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009888768001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065042387721402368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382431000,"timestamp_ms":1777382431000,"timestamp_seconds":1777382431,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43f9918"} 
[2026-04-28 18:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 18:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:52: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-04-28 18:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009888768001,"66":12515,"61":206,"85":15104,"24":0,"16":76935495770177536,"45":9065042387721402368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009888768001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065042387721402368,"description":"Unknown IO ID 45"} 
[2026-04-28 18:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009888768001,"power":12515,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9065042387721402368}} 
[2026-04-28 18:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":56680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:52] local.INFO: GPS data processed {"connection_id":56680,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:52] local.INFO: Acknowledgment sent {"connection_id":56680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:52:52] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:52] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:52] local.INFO: IMEI packet received {"connection_id":56681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":56681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:52:58] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:58] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:52:58] local.INFO: IMEI packet received {"connection_id":56681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":56681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:52:59] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43f79d8012d7da60005c752200007012f27..."} 
[2026-04-28 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43f79d8012d7da60005c752200007012f27..."} 
[2026-04-28 18:52:59] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43f79d8012d7da60005c752200007012f27..."} 
[2026-04-28 18:52:59] local.INFO: Packet analysis {"connection_id":56681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:59] local.INFO: Extracted packet for processing {"connection_id":56681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763209216,"raw_latitude":96948768,"longitude_deg":76.3209216,"latitude_deg":9.6948768,"altitude":7,"angle":303,"satellites":39,"speed":33,"hex_longitude":"2d7da600","hex_latitude":"05c75220","is_valid_coordinates":true} 
[2026-04-28 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009896960001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282437302788030464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063072062435989504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:52:59] 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-04-28 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777382423000,"timestamp_ms":1777382423000,"timestamp_seconds":1777382423,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43f79d8"} 
[2026-04-28 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:52: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-04-28 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 18:52: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-04-28 18:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009896960001,"66":27397,"200":0,"85":12288,"24":33,"16":282437302788030464,"45":9063072062435989504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009896960001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282437302788030464,"km_value":282437302788030.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063072062435989504,"description":"Unknown IO ID 45"} 
[2026-04-28 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009896960001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9063072062435989504}} 
[2026-04-28 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":56681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:52:59] local.INFO: GPS data processed {"connection_id":56681,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:52:59] local.INFO: Acknowledgment sent {"connection_id":56681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:53:23] local.INFO: TCP Data received {"connection_id":56680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4411fb8012d7dcf8005e1fba00000011119..."} 
[2026-04-28 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4411fb8012d7dcf8005e1fba00000011119..."} 
[2026-04-28 18:53:23] local.INFO: Processing buffer {"connection_id":56680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4411fb8012d7dcf8005e1fba00000011119..."} 
[2026-04-28 18:53:23] local.INFO: Packet analysis {"connection_id":56680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd441"} 
[2026-04-28 18:53:23] local.INFO: Extracted packet for processing {"connection_id":56680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd441"} 
[2026-04-28 18:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763219840,"raw_latitude":98696096,"longitude_deg":76.321984,"latitude_deg":9.8696096,"altitude":0,"angle":273,"satellites":25,"speed":0,"hex_longitude":"2d7dcf80","hex_latitude":"05e1fba0","is_valid_coordinates":true} 
[2026-04-28 18:53: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-04-28 18:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009902336001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76935495770177536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065746075163000832,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382531000,"timestamp_ms":1777382531000,"timestamp_seconds":1777382531,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4411fb8"} 
[2026-04-28 18:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 18:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:53: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-04-28 18:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009902336001,"66":12472,"61":206,"85":15104,"24":0,"16":76935495770177536,"45":9065746075163000832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009902336001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:53:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76935495770177536,"km_value":76935495770177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065746075163000832,"description":"Unknown IO ID 45"} 
[2026-04-28 18:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009902336001,"power":12472,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9065746075163000832}} 
[2026-04-28 18:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":56680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:53:23] local.INFO: GPS data processed {"connection_id":56680,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:53:23] local.INFO: Acknowledgment sent {"connection_id":56680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:53:29] local.INFO: TCP Data received {"connection_id":56681,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43faca0012d7d874005c767b00006013428..."} 
[2026-04-28 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43faca0012d7d874005c767b00006013428..."} 
[2026-04-28 18:53:29] local.INFO: Processing buffer {"connection_id":56681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43faca0012d7d874005c767b00006013428..."} 
[2026-04-28 18:53:29] local.INFO: Packet analysis {"connection_id":56681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:53:29] local.INFO: Extracted packet for processing {"connection_id":56681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763201344,"raw_latitude":96954288,"longitude_deg":76.3201344,"latitude_deg":9.6954288,"altitude":6,"angle":308,"satellites":40,"speed":26,"hex_longitude":"2d7d8740","hex_latitude":"05c767b0","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009900288001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282437766644498432,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053924125693845504,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:29] 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-04-28 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777382436000,"timestamp_ms":1777382436000,"timestamp_seconds":1777382436,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43faca0"} 
[2026-04-28 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-04-28 18:53: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-04-28 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 18:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009900288001,"66":27267,"200":0,"85":12288,"24":26,"16":282437766644498432,"45":9053924125693845504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009900288001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282437766644498432,"km_value":282437766644498.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053924125693845504,"description":"Unknown IO ID 45"} 
[2026-04-28 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009900288001,"power":27267,"gsm_signal":0,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9053924125693845504}} 
[2026-04-28 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":56681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:53:29] local.INFO: GPS data processed {"connection_id":56681,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:53:29] local.INFO: Acknowledgment sent {"connection_id":56681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:53:46] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:46] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:46] local.INFO: IMEI packet received {"connection_id":56876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":56876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:53:52] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:52] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:53:52] local.INFO: IMEI packet received {"connection_id":56876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":56876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:53:52] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4423128012d7e12c005e210480005006318..."} 
[2026-04-28 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4423128012d7e12c005e210480005006318..."} 
[2026-04-28 18:53:52] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4423128012d7e12c005e210480005006318..."} 
[2026-04-28 18:53:52] local.INFO: Packet analysis {"connection_id":56876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:53:52] local.INFO: Extracted packet for processing {"connection_id":56876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98701384,"longitude_deg":76.3237056,"latitude_deg":9.8701384,"altitude":5,"angle":99,"satellites":24,"speed":11,"hex_longitude":"2d7e12c0","hex_latitude":"05e21048","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009940480001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76936402008276992,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080523511441799168,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382601000,"timestamp_ms":1777382601000,"timestamp_seconds":1777382601,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4423128"} 
[2026-04-28 18:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436600701440,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3152143259486290479,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":192,"raw_value":423898806666002458,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":25,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832564,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922728452620494,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":84,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-04-28 18:53:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791613952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:53:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,61,85,24,241,157,16,215,45,192,18,6,25,10,66,199,15,7,84,137,64,1,240,37,227,212,226,4,113,205,211,239,46,2,17,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-04-28 18:53:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360393630681530368,"timestamp_seconds":360393630681530.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:53: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-04-28 18:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009940480001,"66":12613,"61":206,"85":15104,"24":11,"16":76936402008276992,"45":9080523511441799168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009940480001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:53:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76936402008276992,"km_value":76936402008276.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080523511441799168,"description":"Unknown IO ID 45"} 
[2026-04-28 18:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009940480001,"power":12613,"unknown_61":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9080523511441799168}} 
[2026-04-28 18:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":56876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:53:52] local.INFO: GPS data processed {"connection_id":56876,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:53:52] local.INFO: Acknowledgment sent {"connection_id":56876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:53:58] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:58] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:58] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:53:59] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:59] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:53:59] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:54:00] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43fe350012d7d6c8005c77fa80006013b28..."} 
[2026-04-28 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43fe350012d7d6c8005c77fa80006013b28..."} 
[2026-04-28 18:54:00] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43fe350012d7d6c8005c77fa80006013b28..."} 
[2026-04-28 18:54:00] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:54:00] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43f"} 
[2026-04-28 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763194496,"raw_latitude":96960424,"longitude_deg":76.3194496,"latitude_deg":9.6960424,"altitude":6,"angle":315,"satellites":40,"speed":17,"hex_longitude":"2d7d6c80","hex_latitude":"05c77fa8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009903616001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282438209026129920,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045268770161405952,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:00] 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-04-28 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777382450000,"timestamp_ms":1777382450000,"timestamp_seconds":1777382450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43fe350"} 
[2026-04-28 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-04-28 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:00] 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-04-28 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-04-28 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-04-28 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009903616001,"66":27343,"200":0,"85":12288,"24":17,"16":282438209026129920,"45":9045268770161405952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009903616001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282438209026129920,"km_value":282438209026129.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045268770161405952,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009903616001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9045268770161405952}} 
[2026-04-28 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:00] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:00] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:01] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4403558012d7d584005c797580004014326..."} 
[2026-04-28 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4403558012d7d584005c797580004014326..."} 
[2026-04-28 18:54:01] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4403558012d7d584005c797580004014326..."} 
[2026-04-28 18:54:01] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd440"} 
[2026-04-28 18:54:01] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd440"} 
[2026-04-28 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763189312,"raw_latitude":96966488,"longitude_deg":76.3189312,"latitude_deg":9.6966488,"altitude":4,"angle":323,"satellites":38,"speed":24,"hex_longitude":"2d7d5840","hex_latitude":"05c79758","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009907200001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-28 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282438595573186560,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9037739314535966720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:01] 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-04-28 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777382471000,"timestamp_ms":1777382471000,"timestamp_seconds":1777382471,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4403558"} 
[2026-04-28 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009907200001,"66":27376,"200":0,"85":12288,"24":24,"16":282438595573186560,"45":9037739314535966720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-28 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009907200001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282438595573186560,"km_value":282438595573186.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9037739314535966720,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009907200001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9037739314535966720}} 
[2026-04-28 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:01] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:01] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:09] local.INFO: TCP Data received {"connection_id":57592,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:09] local.INFO: Processing buffer {"connection_id":57592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:09] local.INFO: IMEI packet received {"connection_id":57592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":57592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:54:13] local.INFO: TCP Data received {"connection_id":57592,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:13] local.INFO: Processing buffer {"connection_id":57592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:54:13] local.INFO: IMEI packet received {"connection_id":57592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":57592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:54:14] local.INFO: TCP Data received {"connection_id":57592,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:14] local.INFO: Processing buffer {"connection_id":57592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:14] local.INFO: Packet analysis {"connection_id":57592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:54:14] local.INFO: Extracted packet for processing {"connection_id":57592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532912,"longitude_deg":75.6639872,"latitude_deg":11.9532912,"altitude":66,"angle":306,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-04-28 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009876736001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:14] 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-04-28 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382340000,"timestamp_ms":1777382340000,"timestamp_seconds":1777382340,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43e35a0"} 
[2026-04-28 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:14] 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-04-28 18:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009876736001,"66":13015,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009876736001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009876736001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":57592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:15] local.INFO: GPS data processed {"connection_id":57592,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:15] local.INFO: Acknowledgment sent {"connection_id":57592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:24] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4426008012d7e288005e20c900004006f18..."} 
[2026-04-28 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4426008012d7e288005e20c900004006f18..."} 
[2026-04-28 18:54:24] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4426008012d7e288005e20c900004006f18..."} 
[2026-04-28 18:54:24] local.INFO: Packet analysis {"connection_id":56876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:24] local.INFO: Extracted packet for processing {"connection_id":56876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763242624,"raw_latitude":98700432,"longitude_deg":76.3242624,"latitude_deg":9.8700432,"altitude":4,"angle":111,"satellites":24,"speed":19,"hex_longitude":"2d7e2880","hex_latitude":"05e20c90","is_valid_coordinates":true} 
[2026-04-28 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009945856001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76936672591216640,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529859799040,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777382613000,"timestamp_ms":1777382613000,"timestamp_seconds":1777382613,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4426008"} 
[2026-04-28 18:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:54: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-04-28 18:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009945856001,"66":12330,"61":206,"85":15104,"24":19,"16":76936672591216640,"45":9084534529859799040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009945856001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76936672591216640,"km_value":76936672591216.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529859799040,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009945856001,"power":12330,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9084534529859799040}} 
[2026-04-28 18:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":56876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:24] local.INFO: GPS data processed {"connection_id":56876,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:24] local.INFO: Acknowledgment sent {"connection_id":56876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:32] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4425068012d7d08c005c911b80009016727..."} 
[2026-04-28 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4425068012d7d08c005c911b80009016727..."} 
[2026-04-28 18:54:32] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4425068012d7d08c005c911b80009016727..."} 
[2026-04-28 18:54:32] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:32] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763168960,"raw_latitude":97063352,"longitude_deg":76.316896,"latitude_deg":9.7063352,"altitude":9,"angle":359,"satellites":39,"speed":40,"hex_longitude":"2d7d08c0","hex_latitude":"05c911b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009945344001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282443466066100224,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154766842281984,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:32] 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-04-28 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777382609000,"timestamp_ms":1777382609000,"timestamp_seconds":1777382609,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4425068"} 
[2026-04-28 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54: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-04-28 18: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:32] 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-04-28 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009945344001,"66":27365,"131":206,"85":15104,"24":40,"16":282443466066100224,"45":9010154766842281984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009945344001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282443466066100224,"km_value":282443466066100.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154766842281984,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009945344001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9010154766842281984}} 
[2026-04-28 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:32] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:32] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:46] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:46] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:46] local.INFO: IMEI packet received {"connection_id":56913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":56913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:54:47] local.INFO: TCP Data received {"connection_id":57592,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:47] local.INFO: Processing buffer {"connection_id":57592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:54:47] local.INFO: Packet analysis {"connection_id":57592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:54:47] local.INFO: Extracted packet for processing {"connection_id":57592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532912,"longitude_deg":75.6639872,"latitude_deg":11.9532912,"altitude":66,"angle":306,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-04-28 18:54:47] 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-04-28 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777382340000,"timestamp_ms":1777382340000,"timestamp_seconds":1777382340,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43e35a0"} 
[2026-04-28 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54: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-04-28 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:54: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-04-28 18:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":13015,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":57592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:47] local.INFO: GPS data processed {"connection_id":57592,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:47] local.INFO: Acknowledgment sent {"connection_id":57592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:51] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:51] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:51] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:54:52] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:52] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:54:52] local.INFO: IMEI packet received {"connection_id":56913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":56913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:54:53] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:53] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:53] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:54:53] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44267d8012d7e2b8005e20aa00003008618..."} 
[2026-04-28 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44267d8012d7e2b8005e20aa00003008618..."} 
[2026-04-28 18:54:53] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44267d8012d7e2b8005e20aa00003008618..."} 
[2026-04-28 18:54:53] local.INFO: Packet analysis {"connection_id":56913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:53] local.INFO: Extracted packet for processing {"connection_id":56913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763243392,"raw_latitude":98699936,"longitude_deg":76.3243392,"latitude_deg":9.8699936,"altitude":3,"angle":134,"satellites":24,"speed":16,"hex_longitude":"2d7e2b80","hex_latitude":"05e20aa0","is_valid_coordinates":true} 
[2026-04-28 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009948928001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76936719835856896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090656610603012096,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777382615000,"timestamp_ms":1777382615000,"timestamp_seconds":1777382615,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44267d8"} 
[2026-04-28 18:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 18:54: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-04-28 18:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:54: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-04-28 18:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009948928001,"66":12374,"61":206,"85":15104,"24":16,"16":76936719835856896,"45":9090656610603012096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-04-28 18:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009948928001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-28 18:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76936719835856896,"km_value":76936719835856.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090656610603012096,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009948928001,"power":12374,"unknown_61":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9090656610603012096}} 
[2026-04-28 18:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":56913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:53] local.INFO: GPS data processed {"connection_id":56913,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:53] local.INFO: Acknowledgment sent {"connection_id":56913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:54:57] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:57] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:54:57] local.INFO: IMEI packet received {"connection_id":56878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":56878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:54:58] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4427778012d7d080005c935e00008016628..."} 
[2026-04-28 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4427778012d7d080005c935e00008016628..."} 
[2026-04-28 18:54:58] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4427778012d7d080005c935e00008016628..."} 
[2026-04-28 18:54:58] local.INFO: Packet analysis {"connection_id":56878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:58] local.INFO: Extracted packet for processing {"connection_id":56878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97072608,"longitude_deg":76.3168768,"latitude_deg":9.7072608,"altitude":8,"angle":358,"satellites":40,"speed":40,"hex_longitude":"2d7d0800","hex_latitude":"05c935e0","is_valid_coordinates":true} 
[2026-04-28 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009947904001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282443917037666304,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662185635428352,"note":"Value kept but may cause issues"} 
[2026-04-28 18:54:58] 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-04-28 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777382619000,"timestamp_ms":1777382619000,"timestamp_seconds":1777382619,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4427778"} 
[2026-04-28 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 18:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009947904001,"66":27321,"131":206,"85":15104,"24":40,"16":282443917037666304,"45":9009662185635428352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009947904001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:54:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282443917037666304,"km_value":282443917037666.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662185635428352,"description":"Unknown IO ID 45"} 
[2026-04-28 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009947904001,"power":27321,"unknown_131":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9009662185635428352}} 
[2026-04-28 18:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":56878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:54:58] local.INFO: GPS data processed {"connection_id":56878,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:54:58] local.INFO: Acknowledgment sent {"connection_id":56878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:20] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:20] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:20] local.INFO: IMEI packet received {"connection_id":56682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":56682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:55:24] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443cb50012d7e134005e10418000700bd19..."} 
[2026-04-28 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443cb50012d7e134005e10418000700bd19..."} 
[2026-04-28 18:55:24] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443cb50012d7e134005e10418000700bd19..."} 
[2026-04-28 18:55:24] local.INFO: Packet analysis {"connection_id":56913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:24] local.INFO: Extracted packet for processing {"connection_id":56913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98632728,"longitude_deg":76.3237184,"latitude_deg":9.8632728,"altitude":7,"angle":189,"satellites":25,"speed":29,"hex_longitude":"2d7e1340","hex_latitude":"05e10418","is_valid_coordinates":true} 
[2026-04-28 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009971968001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76940087090216960,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085308586028734464,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777382706000,"timestamp_ms":1777382706000,"timestamp_seconds":1777382706,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443cb50"} 
[2026-04-28 18:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55: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-04-28 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55: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-04-28 18:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009971968001,"66":12613,"60":206,"85":15104,"24":29,"16":76940087090216960,"45":9085308586028734464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-04-28 18:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009971968001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:24] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-28 18:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76940087090216960,"km_value":76940087090216.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085308586028734464,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009971968001,"power":12613,"unknown_60":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9085308586028734464}} 
[2026-04-28 18:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":56913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:24] local.INFO: GPS data processed {"connection_id":56913,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:24] local.INFO: Acknowledgment sent {"connection_id":56913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:28] local.INFO: TCP Data received {"connection_id":56878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44296b8012d7d080005c959800009016727..."} 
[2026-04-28 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44296b8012d7d080005c959800009016727..."} 
[2026-04-28 18:55:28] local.INFO: Processing buffer {"connection_id":56878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44296b8012d7d080005c959800009016727..."} 
[2026-04-28 18:55:28] local.INFO: Packet analysis {"connection_id":56878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:55:28] local.INFO: Extracted packet for processing {"connection_id":56878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97081728,"longitude_deg":76.3168768,"latitude_deg":9.7081728,"altitude":9,"angle":359,"satellites":39,"speed":47,"hex_longitude":"2d7d0800","hex_latitude":"05c95980","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009950464001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282444359419297792,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079405264896,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:28] 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-04-28 18:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777382627000,"timestamp_ms":1777382627000,"timestamp_seconds":1777382627,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44296b8"} 
[2026-04-28 18:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:28] 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-04-28 18: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-04-28 18:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009950464001,"66":27484,"131":206,"85":15104,"24":47,"16":282444359419297792,"45":9009451079405264896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009950464001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282444359419297792,"km_value":282444359419297.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079405264896,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009950464001,"power":27484,"unknown_131":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9009451079405264896}} 
[2026-04-28 18:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":56878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:28] local.INFO: GPS data processed {"connection_id":56878,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:28] local.INFO: Acknowledgment sent {"connection_id":56878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:30] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:30] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:55:30] local.INFO: IMEI packet received {"connection_id":56682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":56682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:55:31] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:55:31] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd43e35a0012d196880071fed700042013222..."} 
[2026-04-28 18:55:31] local.INFO: Packet analysis {"connection_id":56682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:55:31] local.INFO: Extracted packet for processing {"connection_id":56682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd43e"} 
[2026-04-28 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532912,"longitude_deg":75.6639872,"latitude_deg":11.9532912,"altitude":66,"angle":306,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-04-28 18:55: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-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] 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-04-28 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777382340000,"timestamp_ms":1777382340000,"timestamp_seconds":1777382340,"priority":1,"record_length":96,"hex_timestamp":"0000019dd43e35a0"} 
[2026-04-28 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":13015,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":56682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:31] local.INFO: GPS data processed {"connection_id":56682,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:31] local.INFO: Acknowledgment sent {"connection_id":56682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:31] local.INFO: TCP Data received {"connection_id":56682,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:55:31] local.INFO: Processing buffer {"connection_id":56682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:55:31] local.INFO: Packet analysis {"connection_id":56682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:55:31] local.INFO: Extracted packet for processing {"connection_id":56682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:31] 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-04-28 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":56682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:31] local.INFO: GPS data processed {"connection_id":56682,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:31] local.INFO: Acknowledgment sent {"connection_id":56682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:48] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:48] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:48] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:55:49] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:55:49] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:55:49] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:55:50] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:50] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:50] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:55:51] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:51] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:51] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:55:52] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:52] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:55:52] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:55:53] local.INFO: TCP Data received {"connection_id":57593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:53] local.INFO: Processing buffer {"connection_id":57593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:53] local.INFO: IMEI packet received {"connection_id":57593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":57593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:55:53] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443d708012d7e12c005e0fb00000600b219..."} 
[2026-04-28 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443d708012d7e12c005e0fb00000600b219..."} 
[2026-04-28 18:55:53] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443d708012d7e12c005e0fb00000600b219..."} 
[2026-04-28 18:55:53] local.INFO: Packet analysis {"connection_id":56914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:53] local.INFO: Extracted packet for processing {"connection_id":56914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98630400,"longitude_deg":76.3237056,"latitude_deg":9.86304,"altitude":6,"angle":178,"satellites":25,"speed":30,"hex_longitude":"2d7e12c0","hex_latitude":"05e0fb00","is_valid_coordinates":true} 
[2026-04-28 18:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009972736001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76940198759366656,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267330578432,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777382709000,"timestamp_ms":1777382709000,"timestamp_seconds":1777382709,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443d708"} 
[2026-04-28 18:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:53] 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-04-28 18:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:53] 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-04-28 18:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55: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-04-28 18:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009972736001,"66":12645,"60":206,"85":15104,"24":30,"16":76940198759366656,"45":9084675267330578432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-04-28 18:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009972736001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:53] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-28 18:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76940198759366656,"km_value":76940198759366.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267330578432,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009972736001,"power":12645,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9084675267330578432}} 
[2026-04-28 18:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":56914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:53] local.INFO: GPS data processed {"connection_id":56914,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:53] local.INFO: Acknowledgment sent {"connection_id":56914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:57] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44409d0012d7e140005e0d6c0000700bc19..."} 
[2026-04-28 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44409d0012d7e140005e0d6c0000700bc19..."} 
[2026-04-28 18:55:57] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44409d0012d7e140005e0d6c0000700bc19..."} 
[2026-04-28 18:55:57] local.INFO: Packet analysis {"connection_id":56914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:55:57] local.INFO: Extracted packet for processing {"connection_id":56914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":98621120,"longitude_deg":76.3237376,"latitude_deg":9.862112,"altitude":7,"angle":188,"satellites":25,"speed":25,"hex_longitude":"2d7e1400","hex_latitude":"05e0d6c0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009973504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76940649730932736,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529841627136,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777382722000,"timestamp_ms":1777382722000,"timestamp_seconds":1777382722,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44409d0"} 
[2026-04-28 18:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:57] 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-04-28 18: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-04-28 18:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:55:57] 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-04-28 18:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009973504001,"66":11776,"60":206,"85":15104,"24":25,"16":76940649730932736,"45":9084534529841627136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-04-28 18:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009973504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:57] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-28 18:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76940649730932736,"km_value":76940649730932.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529841627136,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009973504001,"power":11776,"unknown_60":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9084534529841627136}} 
[2026-04-28 18:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":56914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:57] local.INFO: GPS data processed {"connection_id":56914,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:57] local.INFO: Acknowledgment sent {"connection_id":56914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:55:58] local.INFO: TCP Data received {"connection_id":57593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:58] local.INFO: Processing buffer {"connection_id":57593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:55:58] local.INFO: IMEI packet received {"connection_id":57593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":57593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:55:58] local.INFO: TCP Data received {"connection_id":57593,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443a828012d7d27c005cae7480008000429..."} 
[2026-04-28 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443a828012d7d27c005cae7480008000429..."} 
[2026-04-28 18:55:58] local.INFO: Processing buffer {"connection_id":57593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443a828012d7d27c005cae7480008000429..."} 
[2026-04-28 18:55:58] local.INFO: Packet analysis {"connection_id":57593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:58] local.INFO: Extracted packet for processing {"connection_id":57593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97183560,"longitude_deg":76.3176896,"latitude_deg":9.718356,"altitude":8,"angle":4,"satellites":41,"speed":59,"hex_longitude":"2d7d27c0","hex_latitude":"05cae748","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009968896001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282449311516590080,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222500165632,"note":"Value kept but may cause issues"} 
[2026-04-28 18:55:58] 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-04-28 18:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777382697000,"timestamp_ms":1777382697000,"timestamp_seconds":1777382697,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443a828"} 
[2026-04-28 18:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 18:55:58] 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-04-28 18: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-04-28 18:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009968896001,"66":27365,"131":206,"85":15104,"24":59,"16":282449311516590080,"45":9017684222500165632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009968896001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:55:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282449311516590080,"km_value":282449311516590.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222500165632,"description":"Unknown IO ID 45"} 
[2026-04-28 18:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009968896001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9017684222500165632}} 
[2026-04-28 18:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":57593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:55:59] local.INFO: GPS data processed {"connection_id":57593,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:55:59] local.INFO: Acknowledgment sent {"connection_id":57593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:56:09] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:09] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:09] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:56:13] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:13] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:56:13] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:56:14] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:14] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:14] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:56:14] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:14] 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-04-28 18:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:56:14] 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-04-28 18:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:56:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:56:14] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:56:14] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:56:28] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4442528012d7e114005e0c780000a00ae18..."} 
[2026-04-28 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4442528012d7e114005e0c780000a00ae18..."} 
[2026-04-28 18:56:28] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4442528012d7e114005e0c780000a00ae18..."} 
[2026-04-28 18:56:28] local.INFO: Packet analysis {"connection_id":56914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:56:28] local.INFO: Extracted packet for processing {"connection_id":56914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98617216,"longitude_deg":76.3236672,"latitude_deg":9.8617216,"altitude":10,"angle":174,"satellites":24,"speed":15,"hex_longitude":"2d7e1140","hex_latitude":"05e0c780","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009976832001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76940843004461056,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373560139776,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777382729000,"timestamp_ms":1777382729000,"timestamp_seconds":1777382729,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4442528"} 
[2026-04-28 18:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:56:28] 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-04-28 18: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3561198752,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":20481,"corrected_to":0} 
[2026-04-28 18:56:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-04-28 18:56:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221610781,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,60,85,24,241,157,16,89,215,45,192,251,6,25,10,66,88,203,64,4,7,191,128,1,240,69,227,212,225,113,205,22,160,31,168,239,49,2,17],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":203,"original":20481,"validated":0},{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-04-28 18:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504609973827338240,"timestamp_seconds":504609973827338.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 18:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:56:28] 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-04-28 18:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009976832001,"66":12156,"60":206,"85":15104,"24":15,"16":76940843004461056,"45":9084886373560139776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-04-28 18:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009976832001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:56:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-28 18:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76940843004461056,"km_value":76940843004461.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373560139776,"description":"Unknown IO ID 45"} 
[2026-04-28 18:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009976832001,"power":12156,"unknown_60":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9084886373560139776}} 
[2026-04-28 18:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":56914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:56:28] local.INFO: GPS data processed {"connection_id":56914,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:56:28] local.INFO: Acknowledgment sent {"connection_id":56914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:56:34] local.INFO: TCP Data received {"connection_id":56683,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:56:34] local.INFO: Processing buffer {"connection_id":56683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 18:56:34] local.INFO: IMEI packet received {"connection_id":56683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":56683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:56:46] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:46] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:56:46] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:56:46] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:56:46] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:56:46] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:56:47] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:47] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:47] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:56:49] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:49] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:56:49] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:56:50] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4442cf8012d7e120005e0c4a0000a009d18..."} 
[2026-04-28 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4442cf8012d7e120005e0c4a0000a009d18..."} 
[2026-04-28 18:56:50] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4442cf8012d7e120005e0c4a0000a009d18..."} 
[2026-04-28 18:56:50] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:56:50] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd444"} 
[2026-04-28 18:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":98616480,"longitude_deg":76.3236864,"latitude_deg":9.861648,"altitude":10,"angle":157,"satellites":24,"speed":17,"hex_longitude":"2d7e1200","hex_latitude":"05e0c4a0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009978624001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76940881659166720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317373186048,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777382731000,"timestamp_ms":1777382731000,"timestamp_seconds":1777382731,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4442cf8"} 
[2026-04-28 18:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 18:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:56:50] 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-04-28 18:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009978624001,"66":12613,"60":206,"85":15104,"24":17,"16":76940881659166720,"45":9084112317373186048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-04-28 18:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009978624001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:56:50] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-28 18:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76940881659166720,"km_value":76940881659166.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317373186048,"description":"Unknown IO ID 45"} 
[2026-04-28 18:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009978624001,"power":12613,"unknown_60":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9084112317373186048}} 
[2026-04-28 18:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:56:50] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:56:50] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:56:53] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:53] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:53] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:56:54] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:54] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:54] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:56:58] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:58] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:56:58] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:56:59] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443c380012d7d2a0005cb0e500008000229..."} 
[2026-04-28 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443c380012d7d2a0005cb0e500008000229..."} 
[2026-04-28 18:56:59] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443c380012d7d2a0005cb0e500008000229..."} 
[2026-04-28 18:56:59] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:56:59] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97193552,"longitude_deg":76.3177472,"latitude_deg":9.7193552,"altitude":8,"angle":2,"satellites":41,"speed":49,"hex_longitude":"2d7d2a00","hex_latitude":"05cb0e50","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009970432001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282449796847894528,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387909944231936,"note":"Value kept but may cause issues"} 
[2026-04-28 18:56: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-04-28 18:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777382704000,"timestamp_ms":1777382704000,"timestamp_seconds":1777382704,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443c380"} 
[2026-04-28 18:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 18:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009970432001,"66":27397,"131":206,"85":15104,"24":49,"16":282449796847894528,"45":9018387909944231936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009970432001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:56:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282449796847894528,"km_value":282449796847894.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387909944231936,"description":"Unknown IO ID 45"} 
[2026-04-28 18:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009970432001,"power":27397,"unknown_131":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9018387909944231936}} 
[2026-04-28 18:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:56:59] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:56:59] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:03] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443d320012d7d298005cb1fb80007016029..."} 
[2026-04-28 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443d320012d7d298005cb1fb80007016029..."} 
[2026-04-28 18:57:03] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443d320012d7d298005cb1fb80007016029..."} 
[2026-04-28 18:57:03] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:57:03] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":97198008,"longitude_deg":76.3177344,"latitude_deg":9.7198008,"altitude":7,"angle":352,"satellites":41,"speed":41,"hex_longitude":"2d7d2980","hex_latitude":"05cb1fb8","is_valid_coordinates":true} 
[2026-04-28 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009972224001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282450015891226624,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228644388864,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:03] 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-04-28 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777382708000,"timestamp_ms":1777382708000,"timestamp_seconds":1777382708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443d320"} 
[2026-04-28 18:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009972224001,"66":27365,"131":206,"85":15104,"24":41,"16":282450015891226624,"45":9019021228644388864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009972224001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:03] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282450015891226624,"km_value":282450015891226.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228644388864,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009972224001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9019021228644388864}} 
[2026-04-28 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:03] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:03] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:21] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44555d8012d7e618005dfe5d0000900a618..."} 
[2026-04-28 18:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44555d8012d7e618005dfe5d0000900a618..."} 
[2026-04-28 18:57:21] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44555d8012d7e618005dfe5d0000900a618..."} 
[2026-04-28 18:57:21] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:21] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763257216,"raw_latitude":98559440,"longitude_deg":76.3257216,"latitude_deg":9.855944,"altitude":9,"angle":166,"satellites":24,"speed":28,"hex_longitude":"2d7e6180","hex_latitude":"05dfe5d0","is_valid_coordinates":true} 
[2026-04-28 18:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009996032001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76943918201044992,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040707217408,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:21] 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-04-28 18:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777382807000,"timestamp_ms":1777382807000,"timestamp_seconds":1777382807,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44555d8"} 
[2026-04-28 18:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:21] 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-04-28 18:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:57: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-04-28 18:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009996032001,"66":12624,"207":206,"85":15104,"24":28,"16":76943918201044992,"45":9104097040707217408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-04-28 18:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009996032001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 18:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76943918201044992,"km_value":76943918201044.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040707217408,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009996032001,"power":12624,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9104097040707217408}} 
[2026-04-28 18:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:21] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:21] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:33] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:33] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:33] local.INFO: IMEI packet received {"connection_id":56916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":56916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:57:34] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd443ded8012d7d294005cb2b980007000429..."} 
[2026-04-28 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd443ded8012d7d294005cb2b980007000429..."} 
[2026-04-28 18:57:34] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd443ded8012d7d294005cb2b980007000429..."} 
[2026-04-28 18:57:34] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:57:34] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd443"} 
[2026-04-28 18:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97201048,"longitude_deg":76.317728,"latitude_deg":9.7201048,"altitude":7,"angle":4,"satellites":41,"speed":39,"hex_longitude":"2d7d2940","hex_latitude":"05cb2b98","is_valid_coordinates":true} 
[2026-04-28 18:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009973248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282450161920114688,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491157174272,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777382711000,"timestamp_ms":1777382711000,"timestamp_seconds":1777382711,"priority":1,"record_length":96,"hex_timestamp":"0000019dd443ded8"} 
[2026-04-28 18:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009973248001,"66":27517,"131":206,"85":15104,"24":39,"16":282450161920114688,"45":9018880491157174272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-28 18:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009973248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-28 18:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282450161920114688,"km_value":282450161920114.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491157174272,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009973248001,"power":27517,"unknown_131":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9018880491157174272}} 
[2026-04-28 18:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:34] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:34] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:38] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:38] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:57:38] local.INFO: IMEI packet received {"connection_id":56916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":56916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:57:39] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:39] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:39] local.INFO: Packet analysis {"connection_id":56916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:57:39] local.INFO: Extracted packet for processing {"connection_id":56916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:39] 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-04-28 18:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":56916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":56916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":56916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":56916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:39] local.INFO: GPS data processed {"connection_id":56916,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:39] local.INFO: Acknowledgment sent {"connection_id":56916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:44] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:44] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:57:44] local.INFO: Packet analysis {"connection_id":56916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:57:44] local.INFO: Extracted packet for processing {"connection_id":56916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:44] 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-04-28 18: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-04-28 18:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":56916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:44] local.INFO: GPS data processed {"connection_id":56916,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:44] local.INFO: Acknowledgment sent {"connection_id":56916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:46] local.INFO: TCP Data received {"connection_id":57594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:46] local.INFO: Processing buffer {"connection_id":57594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:46] local.INFO: IMEI packet received {"connection_id":57594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":57594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:57:49] local.INFO: TCP Data received {"connection_id":57594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:49] local.INFO: Processing buffer {"connection_id":57594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:57:49] local.INFO: IMEI packet received {"connection_id":57594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":57594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:57:49] local.INFO: TCP Data received {"connection_id":57594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44588a0012d7e6b4005dfc1c8000b00a918..."} 
[2026-04-28 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44588a0012d7e6b4005dfc1c8000b00a918..."} 
[2026-04-28 18:57:49] local.INFO: Processing buffer {"connection_id":57594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44588a0012d7e6b4005dfc1c8000b00a918..."} 
[2026-04-28 18:57:49] local.INFO: Packet analysis {"connection_id":57594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:49] local.INFO: Extracted packet for processing {"connection_id":57594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763259712,"raw_latitude":98550216,"longitude_deg":76.3259712,"latitude_deg":9.8550216,"altitude":11,"angle":169,"satellites":24,"speed":33,"hex_longitude":"2d7e6b40","hex_latitude":"05dfc1c8","is_valid_coordinates":true} 
[2026-04-28 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009998592001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76944386352480256,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106700684239425536,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777382820000,"timestamp_ms":1777382820000,"timestamp_seconds":1777382820,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44588a0"} 
[2026-04-28 18:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:49] 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-04-28 18:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:57: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-04-28 18:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009998592001,"66":12613,"207":206,"85":15104,"24":33,"16":76944386352480256,"45":9106700684239425536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-04-28 18:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009998592001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 18:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76944386352480256,"km_value":76944386352480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106700684239425536,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009998592001,"power":12613,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9106700684239425536}} 
[2026-04-28 18:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":57594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:49] local.INFO: GPS data processed {"connection_id":57594,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:49] local.INFO: Acknowledgment sent {"connection_id":57594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:57:52] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:52] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:52] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:57:53] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:53] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:53] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:57:58] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:58] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:57:58] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:57:58] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4458c88012d7d554005cc94a80008000228..."} 
[2026-04-28 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4458c88012d7d554005cc94a80008000228..."} 
[2026-04-28 18:57:58] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4458c88012d7d554005cc94a80008000228..."} 
[2026-04-28 18:57:58] local.INFO: Packet analysis {"connection_id":56918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:58] local.INFO: Extracted packet for processing {"connection_id":56918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97293480,"longitude_deg":76.3188544,"latitude_deg":9.729348,"altitude":8,"angle":2,"satellites":40,"speed":46,"hex_longitude":"2d7d5540","hex_latitude":"05cc94a8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009999872001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282454688815644672,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702712565760,"note":"Value kept but may cause issues"} 
[2026-04-28 18:57:58] 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-04-28 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777382821000,"timestamp_ms":1777382821000,"timestamp_seconds":1777382821,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4458c88"} 
[2026-04-28 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 18:57:58] 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-04-28 18: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-04-28 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009999872001,"66":27267,"236":206,"85":15104,"24":46,"16":282454688815644672,"45":9030561702712565760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-28 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009999872001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:57:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 18:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282454688815644672,"km_value":282454688815644.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702712565760,"description":"Unknown IO ID 45"} 
[2026-04-28 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009999872001,"power":27267,"unknown_236":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9030561702712565760}} 
[2026-04-28 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":56918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:57:58] local.INFO: GPS data processed {"connection_id":56918,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:57:58] local.INFO: Acknowledgment sent {"connection_id":56918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:08] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:08] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:08] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:58:13] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:13] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:58:13] local.INFO: IMEI packet received {"connection_id":56883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":56883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:14] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:14] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:14] local.INFO: Packet analysis {"connection_id":56883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:58:14] local.INFO: Extracted packet for processing {"connection_id":56883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:14] 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-04-28 18:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:14] 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-04-28 18:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":56883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:14] local.INFO: GPS data processed {"connection_id":56883,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:14] local.INFO: Acknowledgment sent {"connection_id":56883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:20] local.INFO: TCP Data received {"connection_id":57594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445bb68012d7e748005df9f48000b00a418..."} 
[2026-04-28 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445bb68012d7e748005df9f48000b00a418..."} 
[2026-04-28 18:58:20] local.INFO: Processing buffer {"connection_id":57594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445bb68012d7e748005df9f48000b00a418..."} 
[2026-04-28 18:58:20] local.INFO: Packet analysis {"connection_id":57594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:20] local.INFO: Extracted packet for processing {"connection_id":57594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":98541384,"longitude_deg":76.326208,"latitude_deg":9.8541384,"altitude":11,"angle":164,"satellites":24,"speed":29,"hex_longitude":"2d7e7480","hex_latitude":"05df9f48","is_valid_coordinates":true} 
[2026-04-28 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010001920001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76944828734111744,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109445065259993088,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:20] 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-04-28 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777382833000,"timestamp_ms":1777382833000,"timestamp_seconds":1777382833,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445bb68"} 
[2026-04-28 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-04-28 18:58:20] 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-04-28 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:20] 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-04-28 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-04-28 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-04-28 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:58: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-04-28 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010001920001,"66":12602,"207":206,"85":15104,"24":29,"16":76944828734111744,"45":9109445065259993088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-04-28 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010001920001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76944828734111744,"km_value":76944828734111.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109445065259993088,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010001920001,"power":12602,"unknown_207":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9109445065259993088}} 
[2026-04-28 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":57594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:20] local.INFO: GPS data processed {"connection_id":57594,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:20] local.INFO: Acknowledgment sent {"connection_id":57594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:29] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445abc8012d7d558005ccbbf80008016629..."} 
[2026-04-28 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445abc8012d7d558005ccbbf80008016629..."} 
[2026-04-28 18:58:29] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445abc8012d7d558005ccbbf80008016629..."} 
[2026-04-28 18:58:29] local.INFO: Packet analysis {"connection_id":56918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:29] local.INFO: Extracted packet for processing {"connection_id":56918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763188608,"raw_latitude":97303544,"longitude_deg":76.3188608,"latitude_deg":9.7303544,"altitude":8,"angle":358,"satellites":41,"speed":53,"hex_longitude":"2d7d5580","hex_latitude":"05ccbbf8","is_valid_coordinates":true} 
[2026-04-28 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010002176001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282455174146949120,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021412706304,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:29] 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-04-28 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777382829000,"timestamp_ms":1777382829000,"timestamp_seconds":1777382829,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445abc8"} 
[2026-04-28 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010002176001,"66":27365,"236":206,"85":15104,"24":53,"16":282455174146949120,"45":9031195021412706304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-28 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010002176001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 18:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282455174146949120,"km_value":282455174146949.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021412706304,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010002176001,"power":27365,"unknown_236":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9031195021412706304}} 
[2026-04-28 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":56918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:29] local.INFO: GPS data processed {"connection_id":56918,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:29] local.INFO: Acknowledgment sent {"connection_id":56918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:45] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:45] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:45] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:58:46] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:46] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:46] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:47] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:47] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:47] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:48] local.INFO: TCP Data received {"connection_id":56883,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:48] local.INFO: Processing buffer {"connection_id":56883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:58:48] local.INFO: Packet analysis {"connection_id":56883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:58:48] local.INFO: Extracted packet for processing {"connection_id":56883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:58: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-04-28 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:48] 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-04-28 18: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-04-28 18:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":56883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:48] local.INFO: GPS data processed {"connection_id":56883,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:48] local.INFO: Acknowledgment sent {"connection_id":56883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:52] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:52] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:58:52] local.INFO: IMEI packet received {"connection_id":56884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":56884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:52] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:52] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:52] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:58:53] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445ea48012d7e804005df7d48000c009b18..."} 
[2026-04-28 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445ea48012d7e804005df7d48000c009b18..."} 
[2026-04-28 18:58:53] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445ea48012d7e804005df7d48000c009b18..."} 
[2026-04-28 18:58:53] local.INFO: Packet analysis {"connection_id":56884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:53] local.INFO: Extracted packet for processing {"connection_id":56884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763265088,"raw_latitude":98532680,"longitude_deg":76.3265088,"latitude_deg":9.853268,"altitude":12,"angle":155,"satellites":24,"speed":24,"hex_longitude":"2d7e8040","hex_latitude":"05df7d48","is_valid_coordinates":true} 
[2026-04-28 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010005248001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76945275410710528,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112048708792305664,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:53] 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-04-28 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777382845000,"timestamp_ms":1777382845000,"timestamp_seconds":1777382845,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445ea48"} 
[2026-04-28 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:53] 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-04-28 18:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:58: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-04-28 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010005248001,"66":12711,"207":206,"85":15104,"24":24,"16":76945275410710528,"45":9112048708792305664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-04-28 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010005248001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76945275410710528,"km_value":76945275410710.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112048708792305664,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010005248001,"power":12711,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9112048708792305664}} 
[2026-04-28 18:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":56884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:53] local.INFO: GPS data processed {"connection_id":56884,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:53] local.INFO: Acknowledgment sent {"connection_id":56884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:58:53] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:53] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:53] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:58] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:58] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:58:58] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:58:59] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445c720012d7d538005cce1e00009016329..."} 
[2026-04-28 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445c720012d7d538005cce1e00009016329..."} 
[2026-04-28 18:58:59] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445c720012d7d538005cce1e00009016329..."} 
[2026-04-28 18:58:59] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:59] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97313248,"longitude_deg":76.3188096,"latitude_deg":9.7313248,"altitude":9,"angle":355,"satellites":41,"speed":56,"hex_longitude":"2d7d5380","hex_latitude":"05cce1e0","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010004224001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282455646593351680,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031265390159460352,"note":"Value kept but may cause issues"} 
[2026-04-28 18:58: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-04-28 18:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777382836000,"timestamp_ms":1777382836000,"timestamp_seconds":1777382836,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445c720"} 
[2026-04-28 18:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 18:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18: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-04-28 18:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010004224001,"66":27343,"236":206,"85":15104,"24":56,"16":282455646593351680,"45":9031265390159460352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-28 18:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010004224001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:58:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 18:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282455646593351680,"km_value":282455646593351.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031265390159460352,"description":"Unknown IO ID 45"} 
[2026-04-28 18:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010004224001,"power":27343,"unknown_236":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9031265390159460352}} 
[2026-04-28 18:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:58:59] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:58:59] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:08] local.INFO: TCP Data received {"connection_id":56920,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:08] local.INFO: Processing buffer {"connection_id":56920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:08] local.INFO: IMEI packet received {"connection_id":56920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":56920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:59:13] local.INFO: TCP Data received {"connection_id":56920,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:13] local.INFO: Processing buffer {"connection_id":56920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 18:59:13] local.INFO: IMEI packet received {"connection_id":56920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":56920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:59:18] local.INFO: TCP Data received {"connection_id":56920,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:59:18] local.INFO: Processing buffer {"connection_id":56920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd442eca8012d196540071ff0280042013224..."} 
[2026-04-28 18:59:18] local.INFO: Packet analysis {"connection_id":56920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:59:18] local.INFO: Extracted packet for processing {"connection_id":56920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd442"} 
[2026-04-28 18:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009879040001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614887424,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777382649000,"timestamp_ms":1777382649000,"timestamp_seconds":1777382649,"priority":1,"record_length":96,"hex_timestamp":"0000019dd442eca8"} 
[2026-04-28 18:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-28 18:59: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-04-28 18: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-04-28 18:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009879040001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1830854016614887424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 18:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009879040001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:59:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 18:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614887424,"description":"Unknown IO ID 45"} 
[2026-04-28 18:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009879040001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614887424}} 
[2026-04-28 18:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":56920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:59:18] local.INFO: GPS data processed {"connection_id":56920,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:59:18] local.INFO: Acknowledgment sent {"connection_id":56920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:24] local.INFO: TCP Data received {"connection_id":56884,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4461928012d7e8bc005df59c8000c00a418..."} 
[2026-04-28 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4461928012d7e8bc005df59c8000c00a418..."} 
[2026-04-28 18:59:24] local.INFO: Processing buffer {"connection_id":56884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4461928012d7e8bc005df59c8000c00a418..."} 
[2026-04-28 18:59:24] local.INFO: Packet analysis {"connection_id":56884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 18:59:24] local.INFO: Extracted packet for processing {"connection_id":56884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 18:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763268032,"raw_latitude":98523592,"longitude_deg":76.3268032,"latitude_deg":9.8523592,"altitude":12,"angle":164,"satellites":24,"speed":33,"hex_longitude":"2d7e8bc0","hex_latitude":"05df59c8","is_valid_coordinates":true} 
[2026-04-28 18:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010008320001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76945739267178496,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115356039766427648,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59: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-04-28 18:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777382857000,"timestamp_ms":1777382857000,"timestamp_seconds":1777382857,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4461928"} 
[2026-04-28 18:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 18:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-28 18:59:24] 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-04-28 18:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:59: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-04-28 18:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010008320001,"66":12526,"207":206,"85":15104,"24":33,"16":76945739267178496,"45":9115356039766427648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-04-28 18:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010008320001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:59:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 18:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76945739267178496,"km_value":76945739267178.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115356039766427648,"description":"Unknown IO ID 45"} 
[2026-04-28 18:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010008320001,"power":12526,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9115356039766427648}} 
[2026-04-28 18:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":56884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:59:24] local.INFO: GPS data processed {"connection_id":56884,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:59:24] local.INFO: Acknowledgment sent {"connection_id":56884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:29] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445e278012d7d508005cd09b0000801642a..."} 
[2026-04-28 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445e278012d7d508005cd09b0000801642a..."} 
[2026-04-28 18:59:29] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445e278012d7d508005cd09b0000801642a..."} 
[2026-04-28 18:59:29] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:59:29] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 18:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763187328,"raw_latitude":97323440,"longitude_deg":76.3187328,"latitude_deg":9.732344,"altitude":8,"angle":356,"satellites":42,"speed":58,"hex_longitude":"2d7d5080","hex_latitude":"05cd09b0","is_valid_coordinates":true} 
[2026-04-28 18:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010006016001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282456140514590720,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440208523264,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:29] 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-04-28 18:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777382843000,"timestamp_ms":1777382843000,"timestamp_seconds":1777382843,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445e278"} 
[2026-04-28 18:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:59: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-04-28 18:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 18:59:29] 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-04-28 18:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 18:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 18:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 18:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010006016001,"66":27376,"236":206,"85":15104,"24":58,"16":282456140514590720,"45":9030702440208523264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-28 18:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 18:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 18:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010006016001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:59:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 18:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282456140514590720,"km_value":282456140514590.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440208523264,"description":"Unknown IO ID 45"} 
[2026-04-28 18:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010006016001,"power":27376,"unknown_236":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9030702440208523264}} 
[2026-04-28 18:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:59:29] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:59:29] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:47] local.INFO: TCP Data received {"connection_id":57596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: Processing buffer {"connection_id":57596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: IMEI packet received {"connection_id":57596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 18:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":57596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:59:47] local.INFO: TCP Data received {"connection_id":57596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: Processing buffer {"connection_id":57596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:47] local.INFO: IMEI packet received {"connection_id":57596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":57596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:59:49] local.INFO: TCP Data received {"connection_id":56920,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 18:59:49] local.INFO: Processing buffer {"connection_id":56920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 18:59:49] local.INFO: Packet analysis {"connection_id":56920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 18:59:49] local.INFO: Extracted packet for processing {"connection_id":56920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 18:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 18:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 18:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 18:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:59: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-04-28 18:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 18:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 18:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 18:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 18:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 18:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 18:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 18:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 18:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 18:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 18:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:59:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 18:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 18:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 18:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 18:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":56920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:59:49] local.INFO: GPS data processed {"connection_id":56920,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:59:49] local.INFO: Acknowledgment sent {"connection_id":56920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:52] local.INFO: TCP Data received {"connection_id":57596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:52] local.INFO: Processing buffer {"connection_id":57596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 18:59:52] local.INFO: IMEI packet received {"connection_id":57596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 18:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":57596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 18:59:52] local.INFO: TCP Data received {"connection_id":57596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd447cac0012d7ef24005de55b8000700a118..."} 
[2026-04-28 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd447cac0012d7ef24005de55b8000700a118..."} 
[2026-04-28 18:59:52] local.INFO: Processing buffer {"connection_id":57596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd447cac0012d7ef24005de55b8000700a118..."} 
[2026-04-28 18:59:52] local.INFO: Packet analysis {"connection_id":57596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 18:59:52] local.INFO: Extracted packet for processing {"connection_id":57596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":98457016,"longitude_deg":76.3294272,"latitude_deg":9.8457016,"altitude":7,"angle":161,"satellites":24,"speed":44,"hex_longitude":"2d7ef240","hex_latitude":"05de55b8","is_valid_coordinates":true} 
[2026-04-28 18: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-04-28 18:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010037504001,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76949278320230400,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643653023744,"note":"Value kept but may cause issues"} 
[2026-04-28 18:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 18:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777382968000,"timestamp_ms":1777382968000,"timestamp_seconds":1777382968,"priority":1,"record_length":96,"hex_timestamp":"0000019dd447cac0"} 
[2026-04-28 18:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 18:59: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-04-28 18:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 18:59:52] 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-04-28 18: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-04-28 18:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 18:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 18:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 18:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 18:59: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-04-28 18:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 18:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 18:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010037504001,"66":12461,"205":206,"85":15104,"24":44,"16":76949278320230400,"45":9143714643653023744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-28 18:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 18:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 18:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010037504001,"description":"Unknown IO ID 0"} 
[2026-04-28 18:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 18:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76949278320230400,"km_value":76949278320230.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 18:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643653023744,"description":"Unknown IO ID 45"} 
[2026-04-28 18:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010037504001,"power":12461,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9143714643653023744}} 
[2026-04-28 18:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":57596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 18:59:52] local.INFO: GPS data processed {"connection_id":57596,"processed":1,"errors":0,"total":1} 
[2026-04-28 18:59:52] local.INFO: Acknowledgment sent {"connection_id":57596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 18:59:56] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:56] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:56] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 18:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 18:59:57] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:57] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 18:59:57] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:03] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:03] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:03] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:04] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd445fdd0012d7d4dc005cd2fc80009016328..."} 
[2026-04-28 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd445fdd0012d7d4dc005cd2fc80009016328..."} 
[2026-04-28 19:00:04] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd445fdd0012d7d4dc005cd2fc80009016328..."} 
[2026-04-28 19:00:04] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 19:00:04] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd445"} 
[2026-04-28 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763186624,"raw_latitude":97333192,"longitude_deg":76.3186624,"latitude_deg":9.7333192,"altitude":9,"angle":355,"satellites":40,"speed":53,"hex_longitude":"2d7d4dc0","hex_latitude":"05cd2fc8","is_valid_coordinates":true} 
[2026-04-28 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010007808001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282456617255960576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029858015281000448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:04] 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-04-28 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777382850000,"timestamp_ms":1777382850000,"timestamp_seconds":1777382850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd445fdd0"} 
[2026-04-28 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:04] 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-04-28 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010007808001,"66":27397,"236":206,"85":15104,"24":53,"16":282456617255960576,"45":9029858015281000448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-28 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010007808001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-28 19:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282456617255960576,"km_value":282456617255960.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029858015281000448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010007808001,"power":27397,"unknown_236":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9029858015281000448}} 
[2026-04-28 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:04] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:04] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:05] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4461928012d7d4a4005cd52b80009016129..."} 
[2026-04-28 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4461928012d7d4a4005cd52b80009016129..."} 
[2026-04-28 19:00:05] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4461928012d7d4a4005cd52b80009016129..."} 
[2026-04-28 19:00:05] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:05] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97342136,"longitude_deg":76.3185728,"latitude_deg":9.7342136,"altitude":9,"angle":353,"satellites":41,"speed":49,"hex_longitude":"2d7d4a40","hex_latitude":"05cd52b8","is_valid_coordinates":true} 
[2026-04-28 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010009600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282457051047657472,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029083959097542656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:05] 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-04-28 19:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777382857000,"timestamp_ms":1777382857000,"timestamp_seconds":1777382857,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4461928"} 
[2026-04-28 19:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:05] 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-04-28 19:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010009600001,"66":27376,"235":206,"85":15104,"24":49,"16":282457051047657472,"45":9029083959097542656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-28 19:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010009600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 19:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282457051047657472,"km_value":282457051047657.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029083959097542656,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010009600001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9029083959097542656}} 
[2026-04-28 19:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:05] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:05] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:24] local.INFO: TCP Data received {"connection_id":57596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd447ede8012d7efe4005de3158000700a218..."} 
[2026-04-28 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd447ede8012d7efe4005de3158000700a218..."} 
[2026-04-28 19:00:24] local.INFO: Processing buffer {"connection_id":57596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd447ede8012d7efe4005de3158000700a218..."} 
[2026-04-28 19:00:24] local.INFO: Packet analysis {"connection_id":57596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:24] local.INFO: Extracted packet for processing {"connection_id":57596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763297344,"raw_latitude":98447704,"longitude_deg":76.3297344,"latitude_deg":9.8447704,"altitude":7,"angle":162,"satellites":24,"speed":40,"hex_longitude":"2d7efe40","hex_latitude":"05de3158","is_valid_coordinates":true} 
[2026-04-28 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010039808001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76949755061600256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187092072448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777382977000,"timestamp_ms":1777382977000,"timestamp_seconds":1777382977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd447ede8"} 
[2026-04-28 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00: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-04-28 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:00: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-04-28 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010039808001,"66":12515,"205":206,"85":15104,"24":40,"16":76949755061600256,"45":9147444187092072448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-28 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010039808001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76949755061600256,"km_value":76949755061600.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187092072448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010039808001,"power":12515,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9147444187092072448}} 
[2026-04-28 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":57596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:24] local.INFO: GPS data processed {"connection_id":57596,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:24] local.INFO: Acknowledgment sent {"connection_id":57596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:36] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:36] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:36] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:00:37] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:37] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:37] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:37] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4463868012d7d468005cd77b80008016029..."} 
[2026-04-28 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4463868012d7d468005cd77b80008016029..."} 
[2026-04-28 19:00:37] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4463868012d7d468005cd77b80008016029..."} 
[2026-04-28 19:00:37] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:37] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97351608,"longitude_deg":76.3184768,"latitude_deg":9.7351608,"altitude":8,"angle":352,"satellites":41,"speed":45,"hex_longitude":"2d7d4680","hex_latitude":"05cd77b8","is_valid_coordinates":true} 
[2026-04-28 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010011392001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282457514904125440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796681345024,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00: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-04-28 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777382865000,"timestamp_ms":1777382865000,"timestamp_seconds":1777382865,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4463868"} 
[2026-04-28 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:37] 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-04-28 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010011392001,"66":27321,"235":206,"85":15104,"24":45,"16":282457514904125440,"45":9028098796681345024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-28 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010011392001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 19:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282457514904125440,"km_value":282457514904125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796681345024,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010011392001,"power":27321,"unknown_235":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9028098796681345024}} 
[2026-04-28 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:37] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:37] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:38] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:38] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:38] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:43] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:43] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:00:43] local.INFO: IMEI packet received {"connection_id":56685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":56685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:44] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:44] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:44] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:44] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:00: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-04-28 19:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:44] 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-04-28 19:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00: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-04-28 19:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:44] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:44] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:49] local.INFO: TCP Data received {"connection_id":56685,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:49] local.INFO: Processing buffer {"connection_id":56685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:00:49] local.INFO: Packet analysis {"connection_id":56685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:49] local.INFO: Extracted packet for processing {"connection_id":56685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00: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-04-28 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":56685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:49] local.INFO: GPS data processed {"connection_id":56685,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:49] local.INFO: Acknowledgment sent {"connection_id":56685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:00:49] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:49] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:49] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:00:51] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:51] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:00:51] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:54] local.INFO: TCP Data received {"connection_id":57597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:54] local.INFO: Processing buffer {"connection_id":57597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:54] local.INFO: IMEI packet received {"connection_id":57597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":57597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:00:58] local.INFO: TCP Data received {"connection_id":57597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:58] local.INFO: Processing buffer {"connection_id":57597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:00:58] local.INFO: IMEI packet received {"connection_id":57597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":57597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:00:58] local.INFO: TCP Data received {"connection_id":57597,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4464420012d7d438005cd83d00007015329..."} 
[2026-04-28 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4464420012d7d438005cd83d00007015329..."} 
[2026-04-28 19:00:58] local.INFO: Processing buffer {"connection_id":57597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4464420012d7d438005cd83d00007015329..."} 
[2026-04-28 19:00:58] local.INFO: Packet analysis {"connection_id":57597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:58] local.INFO: Extracted packet for processing {"connection_id":57597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd446"} 
[2026-04-28 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97354704,"longitude_deg":76.3184,"latitude_deg":9.7354704,"altitude":7,"angle":339,"satellites":41,"speed":40,"hex_longitude":"2d7d4380","hex_latitude":"05cd83d0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010013440001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282457669522948096,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265521104896,"note":"Value kept but may cause issues"} 
[2026-04-28 19:00:58] 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-04-28 19:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777382868000,"timestamp_ms":1777382868000,"timestamp_seconds":1777382868,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4464420"} 
[2026-04-28 19:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010013440001,"66":27365,"235":206,"85":15104,"24":40,"16":282457669522948096,"45":9027043265521104896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-28 19:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010013440001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:00:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-28 19:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282457669522948096,"km_value":282457669522948.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265521104896,"description":"Unknown IO ID 45"} 
[2026-04-28 19:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010013440001,"power":27365,"unknown_235":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9027043265521104896}} 
[2026-04-28 19:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":57597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:00:58] local.INFO: GPS data processed {"connection_id":57597,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:00:58] local.INFO: Acknowledgment sent {"connection_id":57597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:00] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:00] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:00] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:01:00] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4481110012d7f0ac005de0e180008009c18..."} 
[2026-04-28 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4481110012d7f0ac005de0e180008009c18..."} 
[2026-04-28 19:01:00] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4481110012d7f0ac005de0e180008009c18..."} 
[2026-04-28 19:01:00] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:00] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763300544,"raw_latitude":98438680,"longitude_deg":76.3300544,"latitude_deg":9.843868,"altitude":8,"angle":156,"satellites":24,"speed":43,"hex_longitude":"2d7f0ac0","hex_latitude":"05de0e18","is_valid_coordinates":true} 
[2026-04-28 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010042112001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76950218918068224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150821886810216448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777382986000,"timestamp_ms":1777382986000,"timestamp_seconds":1777382986,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4481110"} 
[2026-04-28 19:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01:00] 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-04-28 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:00] 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-04-28 19:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010042112001,"66":12613,"205":206,"85":15104,"24":43,"16":76950218918068224,"45":9150821886810216448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-28 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010042112001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76950218918068224,"km_value":76950218918068.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150821886810216448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010042112001,"power":12613,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9150821886810216448}} 
[2026-04-28 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:00] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:00] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:02] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4483438012d7f188005ddebf80009009d18..."} 
[2026-04-28 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4483438012d7f188005ddebf80009009d18..."} 
[2026-04-28 19:01:02] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4483438012d7f188005ddebf80009009d18..."} 
[2026-04-28 19:01:02] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:02] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763304064,"raw_latitude":98429944,"longitude_deg":76.3304064,"latitude_deg":9.8429944,"altitude":9,"angle":157,"satellites":24,"speed":39,"hex_longitude":"2d7f1880","hex_latitude":"05ddebf8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010044416001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76950674184601600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154340324016789504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777382995000,"timestamp_ms":1777382995000,"timestamp_seconds":1777382995,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4483438"} 
[2026-04-28 19:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 19:01: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-04-28 19: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-04-28 19:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01:02] 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-04-28 19:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010044416001,"66":12374,"205":206,"85":15104,"24":39,"16":76950674184601600,"45":9154340324016789504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-28 19:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010044416001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76950674184601600,"km_value":76950674184601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154340324016789504,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010044416001,"power":12374,"cell_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9154340324016789504}} 
[2026-04-28 19:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:02] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:02] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:08] local.INFO: TCP Data received {"connection_id":57598,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:08] local.INFO: Processing buffer {"connection_id":57598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:08] local.INFO: IMEI packet received {"connection_id":57598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":57598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:01:13] local.INFO: TCP Data received {"connection_id":57598,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:13] local.INFO: Processing buffer {"connection_id":57598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:01:13] local.INFO: IMEI packet received {"connection_id":57598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":57598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:01:14] local.INFO: TCP Data received {"connection_id":57598,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:14] local.INFO: Processing buffer {"connection_id":57598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:14] local.INFO: Packet analysis {"connection_id":57598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:01:14] local.INFO: Extracted packet for processing {"connection_id":57598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01:14] 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-04-28 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:01:14] 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-04-28 19:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":57598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:14] local.INFO: GPS data processed {"connection_id":57598,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:14] local.INFO: Acknowledgment sent {"connection_id":57598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:29] local.INFO: TCP Data received {"connection_id":57597,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd448a968012d7d47c005ced080000c000029..."} 
[2026-04-28 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd448a968012d7d47c005ced080000c000029..."} 
[2026-04-28 19:01:29] local.INFO: Processing buffer {"connection_id":57597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd448a968012d7d47c005ced080000c000029..."} 
[2026-04-28 19:01:29] local.INFO: Packet analysis {"connection_id":57597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:29] local.INFO: Extracted packet for processing {"connection_id":57597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97439872,"longitude_deg":76.3185088,"latitude_deg":9.7439872,"altitude":12,"angle":0,"satellites":41,"speed":30,"hex_longitude":"2d7d47c0","hex_latitude":"05ced080","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010054400001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282461822756323328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109264588800,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:29] 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-04-28 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383025000,"timestamp_ms":1777383025000,"timestamp_seconds":1777383025,"priority":1,"record_length":96,"hex_timestamp":"0000019dd448a968"} 
[2026-04-28 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010054400001,"66":27376,"237":206,"85":15104,"24":30,"16":282461822756323328,"45":9027395109264588800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-28 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010054400001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 19:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282461822756323328,"km_value":282461822756323.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109264588800,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010054400001,"power":27376,"unknown_237":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9027395109264588800}} 
[2026-04-28 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":57597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:29] local.INFO: GPS data processed {"connection_id":57597,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:29] local.INFO: Acknowledgment sent {"connection_id":57597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:46] local.INFO: TCP Data received {"connection_id":57598,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:46] local.INFO: Processing buffer {"connection_id":57598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:01:46] local.INFO: Packet analysis {"connection_id":57598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:01:46] local.INFO: Extracted packet for processing {"connection_id":57598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 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-04-28 19:01: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":57598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:46] local.INFO: GPS data processed {"connection_id":57598,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:46] local.INFO: Acknowledgment sent {"connection_id":57598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:46] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:46] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:46] local.INFO: IMEI packet received {"connection_id":56887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":56887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:01:52] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:52] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:01:52] local.INFO: IMEI packet received {"connection_id":56887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":56887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:01:52] local.INFO: TCP Data received {"connection_id":57599,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:52] local.INFO: Processing buffer {"connection_id":57599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:52] local.INFO: IMEI packet received {"connection_id":57599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":57599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:01:53] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4498810012d7f7d0005dccb580002009118..."} 
[2026-04-28 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4498810012d7f7d0005dccb580002009118..."} 
[2026-04-28 19:01:53] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4498810012d7f7d0005dccb580002009118..."} 
[2026-04-28 19:01:53] local.INFO: Packet analysis {"connection_id":56887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:01:53] local.INFO: Extracted packet for processing {"connection_id":56887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":763329792,"raw_latitude":98356056,"longitude_deg":76.3329792,"latitude_deg":9.8356056,"altitude":2,"angle":145,"satellites":24,"speed":27,"hex_longitude":"2d7f7d00","hex_latitude":"05dccb58","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010068480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76954531065233408,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185724783899172864,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:53] 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-04-28 19:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777383082000,"timestamp_ms":1777383082000,"timestamp_seconds":1777383082,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4498810"} 
[2026-04-28 19:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01:53] 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-04-28 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:01: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-04-28 19:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010068480001,"66":12461,"111":206,"85":15104,"24":27,"16":76954531065233408,"45":9185724783899172864},"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-04-28 19:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010068480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-28 19:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76954531065233408,"km_value":76954531065233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185724783899172864,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010068480001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9185724783899172864}} 
[2026-04-28 19:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":56887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:53] local.INFO: GPS data processed {"connection_id":56887,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:53] local.INFO: Acknowledgment sent {"connection_id":56887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:57] local.INFO: TCP Data received {"connection_id":57599,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:57] local.INFO: Processing buffer {"connection_id":57599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:01:57] local.INFO: IMEI packet received {"connection_id":57599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":57599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:01:58] local.INFO: TCP Data received {"connection_id":57599,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd448d460012d7d478005cef678000c016725..."} 
[2026-04-28 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd448d460012d7d478005cef678000c016725..."} 
[2026-04-28 19:01:58] local.INFO: Processing buffer {"connection_id":57599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd448d460012d7d478005cef678000c016725..."} 
[2026-04-28 19:01:58] local.INFO: Packet analysis {"connection_id":57599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:58] local.INFO: Extracted packet for processing {"connection_id":57599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97449592,"longitude_deg":76.3185024,"latitude_deg":9.7449592,"altitude":12,"angle":359,"satellites":37,"speed":35,"hex_longitude":"2d7d4780","hex_latitude":"05cef678","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010054400001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282462290907758592,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109264588800,"note":"Value kept but may cause issues"} 
[2026-04-28 19:01:58] 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-04-28 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383036000,"timestamp_ms":1777383036000,"timestamp_seconds":1777383036,"priority":1,"record_length":96,"hex_timestamp":"0000019dd448d460"} 
[2026-04-28 19:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:01: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:01:58] 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-04-28 19: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-04-28 19:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010054400001,"66":27397,"237":206,"85":15104,"24":35,"16":282462290907758592,"45":9027395109264588800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-28 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010054400001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:01:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 19:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282462290907758592,"km_value":282462290907758.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109264588800,"description":"Unknown IO ID 45"} 
[2026-04-28 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010054400001,"power":27397,"unknown_237":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9027395109264588800}} 
[2026-04-28 19:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":57599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:01:58] local.INFO: GPS data processed {"connection_id":57599,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:01:58] local.INFO: Acknowledgment sent {"connection_id":57599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:01:59] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:01:59] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:01:59] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:02:08] local.INFO: TCP Data received {"connection_id":57600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:08] local.INFO: Processing buffer {"connection_id":57600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:08] local.INFO: IMEI packet received {"connection_id":57600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":57600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:02:13] local.INFO: TCP Data received {"connection_id":57600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:13] local.INFO: Processing buffer {"connection_id":57600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:02:13] local.INFO: IMEI packet received {"connection_id":57600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":57600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:02:14] local.INFO: TCP Data received {"connection_id":57600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:14] local.INFO: Processing buffer {"connection_id":57600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:14] local.INFO: Packet analysis {"connection_id":57600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:02:14] local.INFO: Extracted packet for processing {"connection_id":57600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:02:14] 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-04-28 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:02:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":57600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:02:14] local.INFO: GPS data processed {"connection_id":57600,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:02:14] local.INFO: Acknowledgment sent {"connection_id":57600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:02:24] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd449a750012d7f8b4005dcb950000000a018..."} 
[2026-04-28 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd449a750012d7f8b4005dcb950000000a018..."} 
[2026-04-28 19:02:24] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd449a750012d7f8b4005dcb950000000a018..."} 
[2026-04-28 19:02:24] local.INFO: Packet analysis {"connection_id":56887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:02:24] local.INFO: Extracted packet for processing {"connection_id":56887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763333440,"raw_latitude":98351440,"longitude_deg":76.333344,"latitude_deg":9.835144,"altitude":0,"angle":160,"satellites":24,"speed":29,"hex_longitude":"2d7f8b40","hex_latitude":"05dcb950","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010068992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76954818828042240,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186498840084830208,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:24] 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-04-28 19:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383090000,"timestamp_ms":1777383090000,"timestamp_seconds":1777383090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd449a750"} 
[2026-04-28 19:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:02:24] 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-04-28 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:02: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-04-28 19:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010068992001,"66":12461,"111":206,"85":15104,"24":29,"16":76954818828042240,"45":9186498840084830208},"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-04-28 19:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010068992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:02:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-28 19:02:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76954818828042240,"km_value":76954818828042.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186498840084830208,"description":"Unknown IO ID 45"} 
[2026-04-28 19:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010068992001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9186498840084830208}} 
[2026-04-28 19:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":56887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:02:24] local.INFO: GPS data processed {"connection_id":56887,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:02:24] local.INFO: Acknowledgment sent {"connection_id":56887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:02:29] local.INFO: TCP Data received {"connection_id":57599,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd448ff58012d7d474005cf1a900008016629..."} 
[2026-04-28 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd448ff58012d7d474005cf1a900008016629..."} 
[2026-04-28 19:02:29] local.INFO: Processing buffer {"connection_id":57599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd448ff58012d7d474005cf1a900008016629..."} 
[2026-04-28 19:02:29] local.INFO: Packet analysis {"connection_id":57599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:02:29] local.INFO: Extracted packet for processing {"connection_id":57599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd448"} 
[2026-04-28 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97458832,"longitude_deg":76.318496,"latitude_deg":9.7458832,"altitude":8,"angle":358,"satellites":41,"speed":35,"hex_longitude":"2d7d4740","hex_latitude":"05cf1a90","is_valid_coordinates":true} 
[2026-04-28 19:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010057216001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282462741879324672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740522899456,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:29] 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-04-28 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383047000,"timestamp_ms":1777383047000,"timestamp_seconds":1777383047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd448ff58"} 
[2026-04-28 19:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19: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-04-28 19:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010057216001,"66":27365,"237":206,"85":15104,"24":35,"16":282462741879324672,"45":9027324740522899456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-28 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010057216001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:02:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-28 19:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282462741879324672,"km_value":282462741879324.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740522899456,"description":"Unknown IO ID 45"} 
[2026-04-28 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010057216001,"power":27365,"unknown_237":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9027324740522899456}} 
[2026-04-28 19:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":57599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:02:29] local.INFO: GPS data processed {"connection_id":57599,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:02:29] local.INFO: Acknowledgment sent {"connection_id":57599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:02:34] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:02:34] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:02:34] local.INFO: IMEI packet received {"connection_id":56888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":56888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:02:45] local.INFO: TCP Data received {"connection_id":57600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:45] local.INFO: Processing buffer {"connection_id":57600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:02:45] local.INFO: Packet analysis {"connection_id":57600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:02:45] local.INFO: Extracted packet for processing {"connection_id":57600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 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-04-28 19:02: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:02:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":57600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:02:45] local.INFO: GPS data processed {"connection_id":57600,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:02:45] local.INFO: Acknowledgment sent {"connection_id":57600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:02:46] local.INFO: TCP Data received {"connection_id":56923,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: Processing buffer {"connection_id":56923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: IMEI packet received {"connection_id":56923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":56923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:02:46] local.INFO: TCP Data received {"connection_id":56923,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: Processing buffer {"connection_id":56923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:46] local.INFO: IMEI packet received {"connection_id":56923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":56923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:02:51] local.INFO: TCP Data received {"connection_id":56923,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:51] local.INFO: Processing buffer {"connection_id":56923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:02:51] local.INFO: IMEI packet received {"connection_id":56923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":56923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:02:52] local.INFO: TCP Data received {"connection_id":56923,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd449d248012d7f98c005dc9670000300a118..."} 
[2026-04-28 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd449d248012d7f98c005dc9670000300a118..."} 
[2026-04-28 19:02:52] local.INFO: Processing buffer {"connection_id":56923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd449d248012d7f98c005dc9670000300a118..."} 
[2026-04-28 19:02:52] local.INFO: Packet analysis {"connection_id":56923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:02:52] local.INFO: Extracted packet for processing {"connection_id":56923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":98342512,"longitude_deg":76.3336896,"latitude_deg":9.8342512,"altitude":3,"angle":161,"satellites":24,"speed":32,"hex_longitude":"2d7f98c0","hex_latitude":"05dc9670","is_valid_coordinates":true} 
[2026-04-28 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010071040001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76955282684510208,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190509858501775360,"note":"Value kept but may cause issues"} 
[2026-04-28 19:02:52] 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-04-28 19:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383101000,"timestamp_ms":1777383101000,"timestamp_seconds":1777383101,"priority":1,"record_length":96,"hex_timestamp":"0000019dd449d248"} 
[2026-04-28 19:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:02: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-04-28 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:02: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-04-28 19:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010071040001,"66":12461,"155":206,"85":15104,"24":32,"16":76955282684510208,"45":9190509858501775360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-04-28 19:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010071040001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:02:52] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76955282684510208,"km_value":76955282684510.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190509858501775360,"description":"Unknown IO ID 45"} 
[2026-04-28 19:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010071040001,"power":12461,"unknown_155":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9190509858501775360}} 
[2026-04-28 19:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":56923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:02:52] local.INFO: GPS data processed {"connection_id":56923,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:02:52] local.INFO: Acknowledgment sent {"connection_id":56923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:02:57] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:02:57] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:02:57] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:03:02] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:03:02] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:03:02] local.INFO: IMEI packet received {"connection_id":56889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":56889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:03:03] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4492e38012d7d478005cf3f600008000529..."} 
[2026-04-28 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4492e38012d7d478005cf3f600008000529..."} 
[2026-04-28 19:03:03] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4492e38012d7d478005cf3f600008000529..."} 
[2026-04-28 19:03:03] local.INFO: Packet analysis {"connection_id":56889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:03:03] local.INFO: Extracted packet for processing {"connection_id":56889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd449"} 
[2026-04-28 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97468256,"longitude_deg":76.3185024,"latitude_deg":9.7468256,"altitude":8,"angle":5,"satellites":41,"speed":26,"hex_longitude":"2d7d4780","hex_latitude":"05cf3f60","is_valid_coordinates":true} 
[2026-04-28 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010060032001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282463197145858048,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371781087232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:03] 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-04-28 19:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777383059000,"timestamp_ms":1777383059000,"timestamp_seconds":1777383059,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4492e38"} 
[2026-04-28 19:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010060032001,"66":27376,"29":206,"85":15104,"24":26,"16":282463197145858048,"45":9027254371781087232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-28 19:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010060032001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-28 19:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282463197145858048,"km_value":282463197145858.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371781087232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010060032001,"power":27376,"unknown_29":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9027254371781087232}} 
[2026-04-28 19:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":56889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:03] local.INFO: GPS data processed {"connection_id":56889,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:03] local.INFO: Acknowledgment sent {"connection_id":56889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:03:13] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:13] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:13] local.INFO: IMEI packet received {"connection_id":56686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":56686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:03:18] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:18] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:03:18] local.INFO: IMEI packet received {"connection_id":56686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":56686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:03:19] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:19] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:19] local.INFO: Packet analysis {"connection_id":56686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:03:19] local.INFO: Extracted packet for processing {"connection_id":56686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:03:19] 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-04-28 19:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":56686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:19] local.INFO: GPS data processed {"connection_id":56686,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:19] local.INFO: Acknowledgment sent {"connection_id":56686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:03:23] local.INFO: TCP Data received {"connection_id":56923,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44a2450012d7fa20005dc7b180005009c18..."} 
[2026-04-28 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44a2450012d7fa20005dc7b180005009c18..."} 
[2026-04-28 19:03:23] local.INFO: Processing buffer {"connection_id":56923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44a2450012d7fa20005dc7b180005009c18..."} 
[2026-04-28 19:03:23] local.INFO: Packet analysis {"connection_id":56923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:23] local.INFO: Extracted packet for processing {"connection_id":56923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":98335512,"longitude_deg":76.3339264,"latitude_deg":9.8335512,"altitude":5,"angle":156,"satellites":24,"speed":6,"hex_longitude":"2d7fa200","hex_latitude":"05dc7b18","is_valid_coordinates":true} 
[2026-04-28 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010073856001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76955643461763072,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309770685083648,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777383122000,"timestamp_ms":1777383122000,"timestamp_seconds":1777383122,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44a2450"} 
[2026-04-28 19:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:03: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-04-28 19:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010073856001,"66":12341,"251":206,"85":15104,"24":6,"16":76955643461763072,"45":9194309770685083648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010073856001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76955643461763072,"km_value":76955643461763.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309770685083648,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010073856001,"power":12341,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9194309770685083648}} 
[2026-04-28 19:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":56923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:23] local.INFO: GPS data processed {"connection_id":56923,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:23] local.INFO: Acknowledgment sent {"connection_id":56923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:03:23] local.INFO: TCP Data received {"connection_id":56686,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:23] local.INFO: Processing buffer {"connection_id":56686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:03:23] local.INFO: Packet analysis {"connection_id":56686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:03:23] local.INFO: Extracted packet for processing {"connection_id":56686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03: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-04-28 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":56686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:24] local.INFO: GPS data processed {"connection_id":56686,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:24] local.INFO: Acknowledgment sent {"connection_id":56686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:03:34] local.INFO: TCP Data received {"connection_id":56889,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44aa920012d7d418005d0a0c00008016129..."} 
[2026-04-28 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44aa920012d7d418005d0a0c00008016129..."} 
[2026-04-28 19:03:34] local.INFO: Processing buffer {"connection_id":56889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44aa920012d7d418005d0a0c00008016129..."} 
[2026-04-28 19:03:34] local.INFO: Packet analysis {"connection_id":56889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:34] local.INFO: Extracted packet for processing {"connection_id":56889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97558720,"longitude_deg":76.3183488,"latitude_deg":9.755872,"altitude":8,"angle":353,"satellites":41,"speed":38,"hex_longitude":"2d7d4180","hex_latitude":"05d0a0c0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010085632001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282467599487336448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480315618406400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777383156000,"timestamp_ms":1777383156000,"timestamp_seconds":1777383156,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44aa920"} 
[2026-04-28 19:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:34] 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-04-28 19: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-04-28 19:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010085632001,"66":27376,"197":206,"85":15104,"24":38,"16":282467599487336448,"45":9026480315618406400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 19:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010085632001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282467599487336448,"km_value":282467599487336.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480315618406400,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010085632001,"power":27376,"unknown_197":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9026480315618406400}} 
[2026-04-28 19:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":56889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:34] local.INFO: GPS data processed {"connection_id":56889,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:34] local.INFO: Acknowledgment sent {"connection_id":56889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:03:46] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:46] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:46] local.INFO: IMEI packet received {"connection_id":56925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":56925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:03:50] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:50] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:50] local.INFO: IMEI packet received {"connection_id":56925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":56925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:03:51] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:51] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:03:51] local.INFO: IMEI packet received {"connection_id":56925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":56925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:03:52] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44a7658012d7fa28005dc7a180007009c19..."} 
[2026-04-28 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44a7658012d7fa28005dc7a180007009c19..."} 
[2026-04-28 19:03:52] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44a7658012d7fa28005dc7a180007009c19..."} 
[2026-04-28 19:03:52] local.INFO: Packet analysis {"connection_id":56925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:52] local.INFO: Extracted packet for processing {"connection_id":56925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":98335256,"longitude_deg":76.3339392,"latitude_deg":9.8335256,"altitude":7,"angle":156,"satellites":25,"speed":0,"hex_longitude":"2d7fa280","hex_latitude":"05dc7a18","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010079232001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76955656346664960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913414217865216,"note":"Value kept but may cause issues"} 
[2026-04-28 19:03:52] 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-04-28 19:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383143000,"timestamp_ms":1777383143000,"timestamp_seconds":1777383143,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44a7658"} 
[2026-04-28 19:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 19:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:03: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-04-28 19:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010079232001,"66":13374,"155":206,"85":15104,"24":0,"16":76955656346664960,"45":9196913414217865216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-04-28 19:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010079232001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:03:52] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76955656346664960,"km_value":76955656346664.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913414217865216,"description":"Unknown IO ID 45"} 
[2026-04-28 19:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010079232001,"power":13374,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9196913414217865216}} 
[2026-04-28 19:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":56925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:03:52] local.INFO: GPS data processed {"connection_id":56925,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:03:52] local.INFO: Acknowledgment sent {"connection_id":56925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:00] local.INFO: TCP Data received {"connection_id":57601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:00] local.INFO: Processing buffer {"connection_id":57601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:00] local.INFO: IMEI packet received {"connection_id":57601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":57601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:04:01] local.INFO: TCP Data received {"connection_id":57601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:01] local.INFO: Processing buffer {"connection_id":57601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:01] local.INFO: IMEI packet received {"connection_id":57601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":57601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:04:03] local.INFO: TCP Data received {"connection_id":57601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44acc48012d7d3e4005d0c5180008016329..."} 
[2026-04-28 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44acc48012d7d3e4005d0c5180008016329..."} 
[2026-04-28 19:04:03] local.INFO: Processing buffer {"connection_id":57601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44acc48012d7d3e4005d0c5180008016329..."} 
[2026-04-28 19:04:03] local.INFO: Packet analysis {"connection_id":57601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:04:03] local.INFO: Extracted packet for processing {"connection_id":57601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97568024,"longitude_deg":76.3182656,"latitude_deg":9.7568024,"altitude":8,"angle":355,"satellites":41,"speed":42,"hex_longitude":"2d7d3e40","hex_latitude":"05d0c518","is_valid_coordinates":true} 
[2026-04-28 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010087936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282468050458902528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890690572288,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777383165000,"timestamp_ms":1777383165000,"timestamp_seconds":1777383165,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44acc48"} 
[2026-04-28 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010087936001,"66":27365,"197":206,"85":15104,"24":42,"16":282468050458902528,"45":9025635890690572288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010087936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282468050458902528,"km_value":282468050458902.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890690572288,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010087936001,"power":27365,"unknown_197":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9025635890690572288}} 
[2026-04-28 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":57601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:03] local.INFO: GPS data processed {"connection_id":57601,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:03] local.INFO: Acknowledgment sent {"connection_id":57601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:04] local.INFO: TCP Data received {"connection_id":57601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44aef70012d7d3c0005d0eb780008016429..."} 
[2026-04-28 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44aef70012d7d3c0005d0eb780008016429..."} 
[2026-04-28 19:04:04] local.INFO: Processing buffer {"connection_id":57601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44aef70012d7d3c0005d0eb780008016429..."} 
[2026-04-28 19:04:04] local.INFO: Packet analysis {"connection_id":57601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:04:04] local.INFO: Extracted packet for processing {"connection_id":57601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44a"} 
[2026-04-28 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97577848,"longitude_deg":76.318208,"latitude_deg":9.7577848,"altitude":8,"angle":356,"satellites":41,"speed":43,"hex_longitude":"2d7d3c00","hex_latitude":"05d0eb78","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010090240001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282468527200272384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097018644480,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:04] 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-04-28 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777383174000,"timestamp_ms":1777383174000,"timestamp_seconds":1777383174,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44aef70"} 
[2026-04-28 19:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:04] 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-04-28 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010090240001,"66":27365,"24":43,"85":15104,"16":282468527200272384,"45":9024721097018644480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-28 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010090240001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282468527200272384,"km_value":282468527200272.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097018644480,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455010090240001,"power":27365,"ignition":43,"unknown_85":15104,"odometer":null,"unknown_45":9024721097018644480}} 
[2026-04-28 19:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":57601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:04] local.INFO: GPS data processed {"connection_id":57601,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:04] local.INFO: Acknowledgment sent {"connection_id":57601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:08] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:08] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:08] local.INFO: IMEI packet received {"connection_id":56926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":56926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:04:13] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:13] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:04:13] local.INFO: IMEI packet received {"connection_id":56926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":56926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:04:14] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:14] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:14] local.INFO: Packet analysis {"connection_id":56926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:04:14] local.INFO: Extracted packet for processing {"connection_id":56926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04:14] 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-04-28 19:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:04:14] 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-04-28 19:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":56926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:14] local.INFO: GPS data processed {"connection_id":56926,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:14] local.INFO: Acknowledgment sent {"connection_id":56926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:24] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44be588012d80078005db6ba0000a009b19..."} 
[2026-04-28 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44be588012d80078005db6ba0000a009b19..."} 
[2026-04-28 19:04:24] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44be588012d80078005db6ba0000a009b19..."} 
[2026-04-28 19:04:24] local.INFO: Packet analysis {"connection_id":56925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:24] local.INFO: Extracted packet for processing {"connection_id":56925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763365248,"raw_latitude":98266016,"longitude_deg":76.3365248,"latitude_deg":9.8266016,"altitude":10,"angle":155,"satellites":25,"speed":40,"hex_longitude":"2d800780","hex_latitude":"05db6ba0","is_valid_coordinates":true} 
[2026-04-28 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010106368001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76959264119193600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221260999687661568,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:24] 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-04-28 19:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383237000,"timestamp_ms":1777383237000,"timestamp_seconds":1777383237,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44be588"} 
[2026-04-28 19:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04: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-04-28 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04: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-04-28 19:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010106368001,"66":12515,"155":206,"85":15104,"24":40,"16":76959264119193600,"45":9221260999687661568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-04-28 19:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010106368001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76959264119193600,"km_value":76959264119193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221260999687661568,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010106368001,"power":12515,"unknown_155":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9221260999687661568}} 
[2026-04-28 19:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":56925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:24] local.INFO: GPS data processed {"connection_id":56925,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:24] local.INFO: Acknowledgment sent {"connection_id":56925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:46] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:46] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44797f8012d196540071ff0280042013227..."} 
[2026-04-28 19:04:46] local.INFO: Packet analysis {"connection_id":56926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:04:46] local.INFO: Extracted packet for processing {"connection_id":56926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd447"} 
[2026-04-28 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455009958144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777382955000,"timestamp_ms":1777382955000,"timestamp_seconds":1777382955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44797f8"} 
[2026-04-28 19:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04: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-04-28 19:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455009958144001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455009958144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455009958144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":56926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:46] local.INFO: GPS data processed {"connection_id":56926,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:46] local.INFO: Acknowledgment sent {"connection_id":56926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:46] local.INFO: TCP Data received {"connection_id":57601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44b1298012d7d398005d111800008016429..."} 
[2026-04-28 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44b1298012d7d398005d111800008016429..."} 
[2026-04-28 19:04:46] local.INFO: Processing buffer {"connection_id":57601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44b1298012d7d398005d111800008016429..."} 
[2026-04-28 19:04:46] local.INFO: Packet analysis {"connection_id":57601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:46] local.INFO: Extracted packet for processing {"connection_id":57601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97587584,"longitude_deg":76.318144,"latitude_deg":9.7587584,"altitude":8,"angle":356,"satellites":41,"speed":43,"hex_longitude":"2d7d3980","hex_latitude":"05d11180","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010092544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282468999646674944,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778323560448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:46] 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-04-28 19:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777383183000,"timestamp_ms":1777383183000,"timestamp_seconds":1777383183,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44b1298"} 
[2026-04-28 19:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04: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-04-28 19:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010092544001,"66":27234,"24":43,"85":15104,"16":282468999646674944,"45":9024087778323560448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-28 19:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010092544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282468999646674944,"km_value":282468999646674.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778323560448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455010092544001,"power":27234,"ignition":43,"unknown_85":15104,"odometer":null,"unknown_45":9024087778323560448}} 
[2026-04-28 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":57601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:46] local.INFO: GPS data processed {"connection_id":57601,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:46] local.INFO: Acknowledgment sent {"connection_id":57601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:52] local.INFO: TCP Data received {"connection_id":56687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: Processing buffer {"connection_id":56687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: IMEI packet received {"connection_id":56687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":56687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:04:52] local.INFO: TCP Data received {"connection_id":56687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: Processing buffer {"connection_id":56687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:04:52] local.INFO: IMEI packet received {"connection_id":56687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":56687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:04:53] local.INFO: TCP Data received {"connection_id":57603,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:53] local.INFO: Processing buffer {"connection_id":57603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:53] local.INFO: IMEI packet received {"connection_id":57603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":57603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:04:53] local.INFO: TCP Data received {"connection_id":56687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1080012d80154005db49f8000a009c19..."} 
[2026-04-28 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1080012d80154005db49f8000a009c19..."} 
[2026-04-28 19:04:53] local.INFO: Processing buffer {"connection_id":56687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1080012d80154005db49f8000a009c19..."} 
[2026-04-28 19:04:53] local.INFO: Packet analysis {"connection_id":56687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:04:53] local.INFO: Extracted packet for processing {"connection_id":56687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763368768,"raw_latitude":98257400,"longitude_deg":76.3368768,"latitude_deg":9.82574,"altitude":10,"angle":156,"satellites":25,"speed":29,"hex_longitude":"2d801540","hex_latitude":"05db49f8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010108672001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76959715090759680,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221260949373345792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:53] 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-04-28 19:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777383248000,"timestamp_ms":1777383248000,"timestamp_seconds":1777383248,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1080"} 
[2026-04-28 19:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04:53] 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-04-28 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:53] 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-04-28 19: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-04-28 19:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04: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-04-28 19:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010108672001,"66":12472,"155":206,"85":15104,"24":29,"16":76959715090759680,"45":-9221260949373345792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-04-28 19:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010108672001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:53] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76959715090759680,"km_value":76959715090759.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221260949373345792,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010108672001,"power":12472,"unknown_155":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9221260949373345792}} 
[2026-04-28 19:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":56687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:53] local.INFO: GPS data processed {"connection_id":56687,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:53] local.INFO: Acknowledgment sent {"connection_id":56687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:56] local.INFO: TCP Data received {"connection_id":57603,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:56] local.INFO: Processing buffer {"connection_id":57603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:04:56] local.INFO: IMEI packet received {"connection_id":57603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":57603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:04:57] local.INFO: TCP Data received {"connection_id":57603,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44b35c0012d7d378005d136480008016429..."} 
[2026-04-28 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44b35c0012d7d378005d136480008016429..."} 
[2026-04-28 19:04:57] local.INFO: Processing buffer {"connection_id":57603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44b35c0012d7d378005d136480008016429..."} 
[2026-04-28 19:04:57] local.INFO: Packet analysis {"connection_id":57603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:57] local.INFO: Extracted packet for processing {"connection_id":57603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44b"} 
[2026-04-28 19:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97597000,"longitude_deg":76.3180928,"latitude_deg":9.7597,"altitude":8,"angle":356,"satellites":41,"speed":42,"hex_longitude":"2d7d3780","hex_latitude":"05d13648","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010094848001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282469459208175616,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090884276224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] 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-04-28 19:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383192000,"timestamp_ms":1777383192000,"timestamp_seconds":1777383192,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44b35c0"} 
[2026-04-28 19:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04: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-04-28 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:57] 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-04-28 19: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-04-28 19:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:04:57] 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-04-28 19:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010094848001,"66":27376,"24":42,"85":15104,"16":282469459208175616,"45":9023384090884276224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-28 19:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010094848001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282469459208175616,"km_value":282469459208175.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090884276224,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455010094848001,"power":27376,"ignition":42,"unknown_85":15104,"odometer":null,"unknown_45":9023384090884276224}} 
[2026-04-28 19:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":57603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:57] local.INFO: GPS data processed {"connection_id":57603,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:57] local.INFO: Acknowledgment sent {"connection_id":57603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:04:57] local.INFO: TCP Data received {"connection_id":56687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c3b78012d8020c005db26e8000a00a219..."} 
[2026-04-28 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c3b78012d8020c005db26e8000a00a219..."} 
[2026-04-28 19:04:57] local.INFO: Processing buffer {"connection_id":56687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c3b78012d8020c005db26e8000a00a219..."} 
[2026-04-28 19:04:57] local.INFO: Packet analysis {"connection_id":56687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:04:57] local.INFO: Extracted packet for processing {"connection_id":56687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763371712,"raw_latitude":98248424,"longitude_deg":76.3371712,"latitude_deg":9.8248424,"altitude":10,"angle":162,"satellites":25,"speed":32,"hex_longitude":"2d8020c0","hex_latitude":"05db26e8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010111488001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76960174652260352,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217390668445779968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:04:57] 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-04-28 19:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383259000,"timestamp_ms":1777383259000,"timestamp_seconds":1777383259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c3b78"} 
[2026-04-28 19:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:04: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-04-28 19: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 19:04:57] 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-04-28 19: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-04-28 19:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:04:57] 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-04-28 19:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010111488001,"66":12461,"154":206,"85":15104,"24":32,"16":76960174652260352,"45":-9217390668445779968},"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-04-28 19:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010111488001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76960174652260352,"km_value":76960174652260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217390668445779968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010111488001,"power":12461,"unknown_154":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9217390668445779968}} 
[2026-04-28 19:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":56687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:04:57] local.INFO: GPS data processed {"connection_id":56687,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:04:57] local.INFO: Acknowledgment sent {"connection_id":56687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:13] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:13] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:13] local.INFO: IMEI packet received {"connection_id":56927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":56927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:05:28] local.INFO: TCP Data received {"connection_id":57603,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c3790012d7d2f4005d237400006000a29..."} 
[2026-04-28 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c3790012d7d2f4005d237400006000a29..."} 
[2026-04-28 19:05:28] local.INFO: Processing buffer {"connection_id":57603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c3790012d7d2f4005d237400006000a29..."} 
[2026-04-28 19:05:28] local.INFO: Packet analysis {"connection_id":57603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:28] local.INFO: Extracted packet for processing {"connection_id":57603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97662784,"longitude_deg":76.3178816,"latitude_deg":9.7662784,"altitude":6,"angle":10,"satellites":41,"speed":44,"hex_longitude":"2d7d2f40","hex_latitude":"05d23740","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112000001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282472684728614912,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753785567232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] 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-04-28 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777383258000,"timestamp_ms":1777383258000,"timestamp_seconds":1777383258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c3790"} 
[2026-04-28 19:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112000001,"66":27397,"117":206,"85":15104,"24":44,"16":282472684728614912,"45":9018739753785567232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112000001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282472684728614912,"km_value":282472684728614.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753785567232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112000001,"power":27397,"unknown_117":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018739753785567232}} 
[2026-04-28 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":57603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:28] local.INFO: GPS data processed {"connection_id":57603,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:28] local.INFO: Acknowledgment sent {"connection_id":57603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:28] local.INFO: TCP Data received {"connection_id":56687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d1a20012d80600005dab700000a007d19..."} 
[2026-04-28 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d1a20012d80600005dab700000a007d19..."} 
[2026-04-28 19:05:28] local.INFO: Processing buffer {"connection_id":56687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d1a20012d80600005dab700000a007d19..."} 
[2026-04-28 19:05:28] local.INFO: Packet analysis {"connection_id":56687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:05:28] local.INFO: Extracted packet for processing {"connection_id":56687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98219776,"longitude_deg":76.3387904,"latitude_deg":9.8219776,"altitude":10,"angle":125,"satellites":25,"speed":18,"hex_longitude":"2d806000","hex_latitude":"05dab700","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010128384001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76961965653622784,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197265207620497408,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:28] 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-04-28 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777383316000,"timestamp_ms":1777383316000,"timestamp_seconds":1777383316,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d1a20"} 
[2026-04-28 19:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 19:05: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-04-28 19: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-04-28 19:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:05:28] 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-04-28 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010128384001,"66":11515,"154":206,"85":15104,"24":18,"16":76961965653622784,"45":-9197265207620497408},"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-04-28 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010128384001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76961965653622784,"km_value":76961965653622.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197265207620497408,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010128384001,"power":11515,"unknown_154":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9197265207620497408}} 
[2026-04-28 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":56687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:28] local.INFO: GPS data processed {"connection_id":56687,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:28] local.INFO: Acknowledgment sent {"connection_id":56687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:42] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:42] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:05:42] local.INFO: IMEI packet received {"connection_id":56927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":56927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:05:46] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:46] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:46] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:05:47] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:47] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:47] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:05:50] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.30","data_length":1348,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:50] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:50] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:50] local.INFO: Extracted packet for processing {"connection_id":56927,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05: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-04-28 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:50] 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-04-28 19:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":56927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:50] local.INFO: GPS data processed {"connection_id":56927,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:50] local.INFO: Acknowledgment sent {"connection_id":56927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:50] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:50] local.INFO: Incomplete packet, waiting for more data {"connection_id":56927,"needed":795,"available":553} 
[2026-04-28 19:05:50] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.30","data_length":242,"data_hex":"0000000000019dd43dc070012d196940071fec80004301322300070000000a00..."} 
[2026-04-28 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":242,"packet_hex":"0000000000019dd43dc070012d196940071fec80004301322300070000000a00..."} 
[2026-04-28 19:05:50] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:50] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:50] local.INFO: Extracted packet for processing {"connection_id":56927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05: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-04-28 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:50] 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-04-28 19:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":56927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:51] local.INFO: GPS data processed {"connection_id":56927,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:51] local.INFO: Acknowledgment sent {"connection_id":56927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:51] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:51] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:05:51] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:51] local.INFO: Extracted packet for processing {"connection_id":56927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05: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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:05:51] 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-04-28 19:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":56927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:51] local.INFO: GPS data processed {"connection_id":56927,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:51] local.INFO: Acknowledgment sent {"connection_id":56927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:52] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:52] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:05:52] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:05:53] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d21f0012d8062c005dab498000a008b19..."} 
[2026-04-28 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d21f0012d8062c005dab498000a008b19..."} 
[2026-04-28 19:05:53] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d21f0012d8062c005dab498000a008b19..."} 
[2026-04-28 19:05:53] local.INFO: Packet analysis {"connection_id":56929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:05:53] local.INFO: Extracted packet for processing {"connection_id":56929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763388608,"raw_latitude":98219160,"longitude_deg":76.3388608,"latitude_deg":9.821916,"altitude":10,"angle":139,"satellites":25,"speed":17,"hex_longitude":"2d8062c0","hex_latitude":"05dab498","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010128896001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76962008603295744,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413946290176,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:53] 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-04-28 19:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777383318000,"timestamp_ms":1777383318000,"timestamp_seconds":1777383318,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d21f0"} 
[2026-04-28 19:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05:53] 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-04-28 19: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-04-28 19:05: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-04-28 19: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-04-28 19:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:05: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-04-28 19:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010128896001,"66":12363,"154":206,"85":15104,"24":17,"16":76962008603295744,"45":-9196350413946290176},"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-04-28 19:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010128896001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76962008603295744,"km_value":76962008603295.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413946290176,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010128896001,"power":12363,"unknown_154":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9196350413946290176}} 
[2026-04-28 19:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":56929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:53] local.INFO: GPS data processed {"connection_id":56929,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:53] local.INFO: Acknowledgment sent {"connection_id":56929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:05:53] local.INFO: TCP Data received {"connection_id":57604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:53] local.INFO: Processing buffer {"connection_id":57604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:53] local.INFO: IMEI packet received {"connection_id":57604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":57604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:05:58] local.INFO: TCP Data received {"connection_id":57604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:58] local.INFO: Processing buffer {"connection_id":57604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:05:58] local.INFO: IMEI packet received {"connection_id":57604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":57604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:05:59] local.INFO: TCP Data received {"connection_id":57604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c6670012d7d358005d25a600006000a29..."} 
[2026-04-28 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c6670012d7d358005d25a600006000a29..."} 
[2026-04-28 19:05:59] local.INFO: Processing buffer {"connection_id":57604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c6670012d7d358005d25a600006000a29..."} 
[2026-04-28 19:05:59] local.INFO: Packet analysis {"connection_id":57604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:59] local.INFO: Extracted packet for processing {"connection_id":57604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97671776,"longitude_deg":76.3180416,"latitude_deg":9.7671776,"altitude":6,"angle":10,"satellites":41,"speed":28,"hex_longitude":"2d7d3580","hex_latitude":"05d25a60","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010114048001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282473127110246400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972392243200,"note":"Value kept but may cause issues"} 
[2026-04-28 19:05:59] 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-04-28 19:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383270000,"timestamp_ms":1777383270000,"timestamp_seconds":1777383270,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c6670"} 
[2026-04-28 19:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:05: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-04-28 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010114048001,"66":27365,"117":206,"85":15104,"24":28,"16":282473127110246400,"45":9020498972392243200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-28 19:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010114048001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282473127110246400,"km_value":282473127110246.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972392243200,"description":"Unknown IO ID 45"} 
[2026-04-28 19:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010114048001,"power":27365,"unknown_117":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9020498972392243200}} 
[2026-04-28 19:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":57604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:05:59] local.INFO: GPS data processed {"connection_id":57604,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:05:59] local.INFO: Acknowledgment sent {"connection_id":57604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:08] local.INFO: TCP Data received {"connection_id":57605,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:08] local.INFO: Processing buffer {"connection_id":57605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:08] local.INFO: IMEI packet received {"connection_id":57605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":57605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:06:13] local.INFO: TCP Data received {"connection_id":57605,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:13] local.INFO: Processing buffer {"connection_id":57605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:06:13] local.INFO: IMEI packet received {"connection_id":57605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":57605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:06:14] local.INFO: TCP Data received {"connection_id":57605,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:14] local.INFO: Processing buffer {"connection_id":57605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:14] local.INFO: Packet analysis {"connection_id":57605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:14] local.INFO: Extracted packet for processing {"connection_id":57605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:06:14] 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-04-28 19:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":57605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:14] local.INFO: GPS data processed {"connection_id":57605,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:14] local.INFO: Acknowledgment sent {"connection_id":57605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:24] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d3190012d80674005daacf8000a009719..."} 
[2026-04-28 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d3190012d80674005daacf8000a009719..."} 
[2026-04-28 19:06:24] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d3190012d80674005daacf8000a009719..."} 
[2026-04-28 19:06:24] local.INFO: Packet analysis {"connection_id":56929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:06:24] local.INFO: Extracted packet for processing {"connection_id":56929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763389760,"raw_latitude":98217208,"longitude_deg":76.338976,"latitude_deg":9.8217208,"altitude":10,"angle":151,"satellites":25,"speed":24,"hex_longitude":"2d806740","hex_latitude":"05daacf8","is_valid_coordinates":true} 
[2026-04-28 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010129408001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76962120272445440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195576357760493568,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:24] 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-04-28 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383322000,"timestamp_ms":1777383322000,"timestamp_seconds":1777383322,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d3190"} 
[2026-04-28 19:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06: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-04-28 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:24] 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-04-28 19:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:06: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-04-28 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010129408001,"66":12461,"154":206,"85":15104,"24":24,"16":76962120272445440,"45":-9195576357760493568},"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-04-28 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010129408001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76962120272445440,"km_value":76962120272445.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195576357760493568,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010129408001,"power":12461,"unknown_154":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9195576357760493568}} 
[2026-04-28 19:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":56929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:24] local.INFO: GPS data processed {"connection_id":56929,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:24] local.INFO: Acknowledgment sent {"connection_id":56929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:31] local.INFO: TCP Data received {"connection_id":57604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c9938012d7d3b0005d27e20000800062a..."} 
[2026-04-28 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c9938012d7d3b0005d27e20000800062a..."} 
[2026-04-28 19:06:31] local.INFO: Processing buffer {"connection_id":57604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c9938012d7d3b0005d27e20000800062a..."} 
[2026-04-28 19:06:31] local.INFO: Packet analysis {"connection_id":57604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:31] local.INFO: Extracted packet for processing {"connection_id":57604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97680928,"longitude_deg":76.3181824,"latitude_deg":9.7680928,"altitude":8,"angle":6,"satellites":42,"speed":20,"hex_longitude":"2d7d3b00","hex_latitude":"05d27e20","is_valid_coordinates":true} 
[2026-04-28 19:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010117120001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282473578081812480,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190998986752,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:31] 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-04-28 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777383283000,"timestamp_ms":1777383283000,"timestamp_seconds":1777383283,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c9938"} 
[2026-04-28 19:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06: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-04-28 19:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010117120001,"66":27376,"117":206,"85":15104,"24":20,"16":282473578081812480,"45":9022258190998986752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-28 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010117120001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282473578081812480,"km_value":282473578081812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190998986752,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010117120001,"power":27376,"unknown_117":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9022258190998986752}} 
[2026-04-28 19:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":57604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:31] local.INFO: GPS data processed {"connection_id":57604,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:31] local.INFO: Acknowledgment sent {"connection_id":57604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:45] local.INFO: TCP Data received {"connection_id":57605,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:45] local.INFO: Processing buffer {"connection_id":57605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:06:45] local.INFO: Packet analysis {"connection_id":57605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:45] local.INFO: Extracted packet for processing {"connection_id":57605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06: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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:06:45] 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-04-28 19:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":57605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:45] local.INFO: GPS data processed {"connection_id":57605,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:45] local.INFO: Acknowledgment sent {"connection_id":57605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:46] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:46] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:46] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:06:51] local.INFO: TCP Data received {"connection_id":56930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:51] local.INFO: Processing buffer {"connection_id":56930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:51] local.INFO: IMEI packet received {"connection_id":56930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":56930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:06:52] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:52] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:06:52] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:06:52] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d6070012d8077c005da8ca80009009c19..."} 
[2026-04-28 19:06:52] local.INFO: TCP Data received {"connection_id":56930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:52] local.INFO: Processing buffer {"connection_id":56930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:52] local.INFO: IMEI packet received {"connection_id":56930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":56930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d6070012d8077c005da8ca80009009c19..."} 
[2026-04-28 19:06:52] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d6070012d8077c005da8ca80009009c19..."} 
[2026-04-28 19:06:52] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:06:52] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763393984,"raw_latitude":98208936,"longitude_deg":76.3393984,"latitude_deg":9.8208936,"altitude":9,"angle":156,"satellites":25,"speed":31,"hex_longitude":"2d8077c0","hex_latitude":"05da8ca8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010130432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76962571244011520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194309720365795328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:52] 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-04-28 19:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383334000,"timestamp_ms":1777383334000,"timestamp_seconds":1777383334,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d6070"} 
[2026-04-28 19:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06: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-04-28 19:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:06: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-04-28 19:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010130432001,"66":12461,"154":206,"85":15104,"24":31,"16":76962571244011520,"45":-9194309720365795328},"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-04-28 19:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010130432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:52] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76962571244011520,"km_value":76962571244011.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194309720365795328,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010130432001,"power":12461,"unknown_154":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9194309720365795328}} 
[2026-04-28 19:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:52] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:52] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:06:58] local.INFO: TCP Data received {"connection_id":56930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:58] local.INFO: Processing buffer {"connection_id":56930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:06:58] local.INFO: IMEI packet received {"connection_id":56930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":56930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:06:59] local.INFO: TCP Data received {"connection_id":56930,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44ce370012d7d3c8005d28f98000801602a..."} 
[2026-04-28 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44ce370012d7d3c8005d28f98000801602a..."} 
[2026-04-28 19:06:59] local.INFO: Processing buffer {"connection_id":56930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44ce370012d7d3c8005d28f98000801602a..."} 
[2026-04-28 19:06:59] local.INFO: Packet analysis {"connection_id":56930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:59] local.INFO: Extracted packet for processing {"connection_id":56930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97685400,"longitude_deg":76.3182208,"latitude_deg":9.76854,"altitude":8,"angle":352,"satellites":42,"speed":6,"hex_longitude":"2d7d3c80","hex_latitude":"05d28f98","is_valid_coordinates":true} 
[2026-04-28 19:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010120448001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282473797125144576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303373238272,"note":"Value kept but may cause issues"} 
[2026-04-28 19:06:59] 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-04-28 19:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383302000,"timestamp_ms":1777383302000,"timestamp_seconds":1777383302,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44ce370"} 
[2026-04-28 19:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010120448001,"66":27321,"117":206,"85":15104,"24":6,"16":282473797125144576,"45":9023806303373238272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-28 19:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010120448001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282473797125144576,"km_value":282473797125144.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303373238272,"description":"Unknown IO ID 45"} 
[2026-04-28 19:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010120448001,"power":27321,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9023806303373238272}} 
[2026-04-28 19:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":56930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:06:59] local.INFO: GPS data processed {"connection_id":56930,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:06:59] local.INFO: Acknowledgment sent {"connection_id":56930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:18] local.INFO: TCP Data received {"connection_id":57606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:18] local.INFO: Processing buffer {"connection_id":57606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:18] local.INFO: IMEI packet received {"connection_id":57606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":57606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:07:23] local.INFO: TCP Data received {"connection_id":57606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:23] local.INFO: Processing buffer {"connection_id":57606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:07:23] local.INFO: IMEI packet received {"connection_id":57606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":57606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:07:23] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44eb060012d80c18005d988e8000b00a019..."} 
[2026-04-28 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44eb060012d80c18005d988e8000b00a019..."} 
[2026-04-28 19:07:23] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44eb060012d80c18005d988e8000b00a019..."} 
[2026-04-28 19:07:23] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:23] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763412864,"raw_latitude":98142440,"longitude_deg":76.3412864,"latitude_deg":9.814244,"altitude":11,"angle":160,"satellites":25,"speed":36,"hex_longitude":"2d80c180","hex_latitude":"05d988e8","is_valid_coordinates":true} 
[2026-04-28 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010152960001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76966063052423168,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171439878524895232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777383420000,"timestamp_ms":1777383420000,"timestamp_seconds":1777383420,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44eb060"} 
[2026-04-28 19:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07: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-04-28 19:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010152960001,"66":12374,"9":206,"85":15104,"24":36,"16":76966063052423168,"45":-9171439878524895232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010152960001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76966063052423168,"km_value":76966063052423.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171439878524895232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010152960001,"power":12374,"unknown_9":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9171439878524895232}} 
[2026-04-28 19:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:23] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:23] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:24] local.INFO: TCP Data received {"connection_id":57606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:07:24] local.INFO: Processing buffer {"connection_id":57606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:07:24] local.INFO: Packet analysis {"connection_id":57606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:07:24] local.INFO: Extracted packet for processing {"connection_id":57606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:24] 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-04-28 19:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07: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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:07:24] 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-04-28 19:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":57606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:24] local.INFO: GPS data processed {"connection_id":57606,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:24] local.INFO: Acknowledgment sent {"connection_id":57606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:30] local.INFO: TCP Data received {"connection_id":56930,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d29c0012d7d3c4005d2b3f80009000025..."} 
[2026-04-28 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d29c0012d7d3c4005d2b3f80009000025..."} 
[2026-04-28 19:07:30] local.INFO: Processing buffer {"connection_id":56930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d29c0012d7d3c4005d2b3f80009000025..."} 
[2026-04-28 19:07:30] local.INFO: Packet analysis {"connection_id":56930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:07:30] local.INFO: Extracted packet for processing {"connection_id":56930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97694712,"longitude_deg":76.3182144,"latitude_deg":9.7694712,"altitude":9,"angle":0,"satellites":37,"speed":34,"hex_longitude":"2d7d3c40","hex_latitude":"05d2b3f8","is_valid_coordinates":true} 
[2026-04-28 19:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010125312001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282474248096710656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515839449088,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:30] 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-04-28 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383320000,"timestamp_ms":1777383320000,"timestamp_seconds":1777383320,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d29c0"} 
[2026-04-28 19:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010125312001,"66":27332,"117":206,"85":15104,"24":34,"16":282474248096710656,"45":9024228515839449088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-28 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010125312001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282474248096710656,"km_value":282474248096710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515839449088,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010125312001,"power":27332,"unknown_117":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9024228515839449088}} 
[2026-04-28 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":56930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:30] local.INFO: GPS data processed {"connection_id":56930,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:30] local.INFO: Acknowledgment sent {"connection_id":56930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:49] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:49] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:49] local.INFO: IMEI packet received {"connection_id":57607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":57607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:07:49] local.INFO: TCP Data received {"connection_id":56892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:07:49] local.INFO: Processing buffer {"connection_id":56892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:07:49] local.INFO: IMEI packet received {"connection_id":56892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":56892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:07:53] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:07:53] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:53] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:07:55] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:55] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:55] local.INFO: IMEI packet received {"connection_id":57607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":57607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:07:57] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:57] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:07:57] local.INFO: IMEI packet received {"connection_id":57607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":57607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:07:57] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:57] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:07:57] local.INFO: IMEI packet received {"connection_id":56893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":56893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:07:57] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44ecbb8012d80ccc005d97248000d009019..."} 
[2026-04-28 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44ecbb8012d80ccc005d97248000d009019..."} 
[2026-04-28 19:07:57] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44ecbb8012d80ccc005d97248000d009019..."} 
[2026-04-28 19:07:57] local.INFO: Packet analysis {"connection_id":57607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:57] local.INFO: Extracted packet for processing {"connection_id":57607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763415744,"raw_latitude":98136648,"longitude_deg":76.3415744,"latitude_deg":9.8136648,"altitude":13,"angle":144,"satellites":25,"speed":35,"hex_longitude":"2d80ccc0","hex_latitude":"05d97248","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010155520001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76966376585035776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168906603736799232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383427000,"timestamp_ms":1777383427000,"timestamp_seconds":1777383427,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44ecbb8"} 
[2026-04-28 19:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07: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-04-28 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07:57] 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-04-28 19:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010155520001,"66":12645,"9":206,"85":15104,"24":35,"16":76966376585035776,"45":-9168906603736799232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010155520001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76966376585035776,"km_value":76966376585035.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168906603736799232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010155520001,"power":12645,"unknown_9":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9168906603736799232}} 
[2026-04-28 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":57607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:58] local.INFO: GPS data processed {"connection_id":57607,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:58] local.INFO: Acknowledgment sent {"connection_id":57607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:58] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44d4ce8012d7d3b4005d2d688000a016625..."} 
[2026-04-28 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44d4ce8012d7d3b4005d2d688000a016625..."} 
[2026-04-28 19:07:58] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44d4ce8012d7d3b4005d2d688000a016625..."} 
[2026-04-28 19:07:58] local.INFO: Packet analysis {"connection_id":56893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:07:58] local.INFO: Extracted packet for processing {"connection_id":56893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44d"} 
[2026-04-28 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97703560,"longitude_deg":76.3181888,"latitude_deg":9.770356,"altitude":10,"angle":358,"satellites":37,"speed":40,"hex_longitude":"2d7d3b40","hex_latitude":"05d2d688","is_valid_coordinates":true} 
[2026-04-28 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010129920001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282474677593440256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147097655296,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:58] 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-04-28 19:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383329000,"timestamp_ms":1777383329000,"timestamp_seconds":1777383329,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44d4ce8"} 
[2026-04-28 19:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07: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-04-28 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010129920001,"66":27397,"254":206,"85":15104,"24":40,"16":282474677593440256,"45":9024158147097655296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010129920001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:58] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282474677593440256,"km_value":282474677593440.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147097655296,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010129920001,"power":27397,"unknown_254":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9024158147097655296}} 
[2026-04-28 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":56893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:58] local.INFO: GPS data processed {"connection_id":56893,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:58] local.INFO: Acknowledgment sent {"connection_id":56893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:07:59] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44ef2c8012d80df0005d954a0000e009619..."} 
[2026-04-28 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44ef2c8012d80df0005d954a0000e009619..."} 
[2026-04-28 19:07:59] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44ef2c8012d80df0005d954a0000e009619..."} 
[2026-04-28 19:07:59] local.INFO: Packet analysis {"connection_id":57607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:59] local.INFO: Extracted packet for processing {"connection_id":57607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763420416,"raw_latitude":98129056,"longitude_deg":76.3420416,"latitude_deg":9.8129056,"altitude":14,"angle":150,"satellites":25,"speed":31,"hex_longitude":"2d80df00","hex_latitude":"05d954a0","is_valid_coordinates":true} 
[2026-04-28 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010157312001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76966806081765376,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165740010250287104,"note":"Value kept but may cause issues"} 
[2026-04-28 19:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383437000,"timestamp_ms":1777383437000,"timestamp_seconds":1777383437,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44ef2c8"} 
[2026-04-28 19:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:07: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-04-28 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 19:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:07:59] 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-04-28 19:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010157312001,"66":12428,"9":206,"85":15104,"24":31,"16":76966806081765376,"45":-9165740010250287104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010157312001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:07:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76966806081765376,"km_value":76966806081765.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165740010250287104,"description":"Unknown IO ID 45"} 
[2026-04-28 19:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010157312001,"power":12428,"unknown_9":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9165740010250287104}} 
[2026-04-28 19:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":57607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:07:59] local.INFO: GPS data processed {"connection_id":57607,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:07:59] local.INFO: Acknowledgment sent {"connection_id":57607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:08] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:08] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:08] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:08:13] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:13] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:08:13] local.INFO: IMEI packet received {"connection_id":56688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":56688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:08:14] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:14] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:14] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:08:14] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:14] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:14] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:29] local.INFO: TCP Data received {"connection_id":56893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44eeaf8012d7d3cc005d46a680000016125..."} 
[2026-04-28 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44eeaf8012d7d3cc005d46a680000016125..."} 
[2026-04-28 19:08:29] local.INFO: Processing buffer {"connection_id":56893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44eeaf8012d7d3cc005d46a680000016125..."} 
[2026-04-28 19:08:29] local.INFO: Packet analysis {"connection_id":56893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:08:29] local.INFO: Extracted packet for processing {"connection_id":56893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44e"} 
[2026-04-28 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97806952,"longitude_deg":76.3182272,"latitude_deg":9.7806952,"altitude":0,"angle":353,"satellites":37,"speed":30,"hex_longitude":"2d7d3cc0","hex_latitude":"05d46a68","is_valid_coordinates":true} 
[2026-04-28 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010156288001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282479702705176576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309542555648,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:29] 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-04-28 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383435000,"timestamp_ms":1777383435000,"timestamp_seconds":1777383435,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44eeaf8"} 
[2026-04-28 19:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 19:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010156288001,"66":27343,"254":206,"85":15104,"24":30,"16":282479702705176576,"45":9025143309542555648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010156288001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:29] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282479702705176576,"km_value":282479702705176.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309542555648,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010156288001,"power":27343,"unknown_254":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9025143309542555648}} 
[2026-04-28 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":56893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:29] local.INFO: GPS data processed {"connection_id":56893,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:29] local.INFO: Acknowledgment sent {"connection_id":56893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:30] local.INFO: TCP Data received {"connection_id":57607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:30] local.INFO: Processing buffer {"connection_id":57607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:30] local.INFO: Packet analysis {"connection_id":57607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:30] local.INFO: Extracted packet for processing {"connection_id":57607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763424128,"raw_latitude":98120728,"longitude_deg":76.3424128,"latitude_deg":9.8120728,"altitude":14,"angle":162,"satellites":25,"speed":36,"hex_longitude":"2d80ed80","hex_latitude":"05d93418","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010159872001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76967248463396864,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9160603091927261184,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383447000,"timestamp_ms":1777383447000,"timestamp_seconds":1777383447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f19d8"} 
[2026-04-28 19:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08: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-04-28 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 19:08: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-04-28 19: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-04-28 19:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:08:30] 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-04-28 19:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010159872001,"66":12439,"9":206,"85":15104,"24":36,"16":76967248463396864,"45":-9160603091927261184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010159872001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76967248463396864,"km_value":76967248463396.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9160603091927261184,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010159872001,"power":12439,"unknown_9":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9160603091927261184}} 
[2026-04-28 19:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":57607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:30] local.INFO: GPS data processed {"connection_id":57607,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:30] local.INFO: Acknowledgment sent {"connection_id":57607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:34] local.INFO: TCP Data received {"connection_id":56894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:08:34] local.INFO: Processing buffer {"connection_id":56894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:08:34] local.INFO: IMEI packet received {"connection_id":56894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":56894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:08:45] local.INFO: TCP Data received {"connection_id":56931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:45] local.INFO: Processing buffer {"connection_id":56931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:45] local.INFO: IMEI packet received {"connection_id":56931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":56931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:08:45] local.INFO: TCP Data received {"connection_id":56688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:45] local.INFO: Processing buffer {"connection_id":56688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:08:45] local.INFO: Packet analysis {"connection_id":56688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:08:45] local.INFO: Extracted packet for processing {"connection_id":56688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":56688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:46] local.INFO: GPS data processed {"connection_id":56688,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:46] local.INFO: Acknowledgment sent {"connection_id":56688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:46] local.INFO: TCP Data received {"connection_id":56931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:46] local.INFO: Processing buffer {"connection_id":56931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:46] local.INFO: IMEI packet received {"connection_id":56931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":56931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:08:52] local.INFO: TCP Data received {"connection_id":56931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:52] local.INFO: Processing buffer {"connection_id":56931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:08:52] local.INFO: IMEI packet received {"connection_id":56931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":56931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:08:52] local.INFO: TCP Data received {"connection_id":56931,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:52] local.INFO: Processing buffer {"connection_id":56931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f19d8012d80ed8005d93418000e00a219..."} 
[2026-04-28 19:08:52] local.INFO: Packet analysis {"connection_id":56931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:52] local.INFO: Extracted packet for processing {"connection_id":56931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763424128,"raw_latitude":98120728,"longitude_deg":76.3424128,"latitude_deg":9.8120728,"altitude":14,"angle":162,"satellites":25,"speed":36,"hex_longitude":"2d80ed80","hex_latitude":"05d93418","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010162432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76967248463396864,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156521704767088640,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383447000,"timestamp_ms":1777383447000,"timestamp_seconds":1777383447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f19d8"} 
[2026-04-28 19:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 19:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:08: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-04-28 19:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010162432001,"66":12439,"9":206,"85":15104,"24":36,"16":76967248463396864,"45":-9156521704767088640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010162432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76967248463396864,"km_value":76967248463396.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156521704767088640,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010162432001,"power":12439,"unknown_9":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9156521704767088640}} 
[2026-04-28 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":56931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:52] local.INFO: GPS data processed {"connection_id":56931,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:52] local.INFO: Acknowledgment sent {"connection_id":56931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:08:52] local.INFO: TCP Data received {"connection_id":57608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:52] local.INFO: Processing buffer {"connection_id":57608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:52] local.INFO: IMEI packet received {"connection_id":57608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":57608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:08:58] local.INFO: TCP Data received {"connection_id":57608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:58] local.INFO: Processing buffer {"connection_id":57608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:08:58] local.INFO: IMEI packet received {"connection_id":57608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":57608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:08:59] local.INFO: TCP Data received {"connection_id":57608,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f19d8012d7d364005d48c780000015d24..."} 
[2026-04-28 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f19d8012d7d364005d48c780000015d24..."} 
[2026-04-28 19:08:59] local.INFO: Processing buffer {"connection_id":57608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f19d8012d7d364005d48c780000015d24..."} 
[2026-04-28 19:08:59] local.INFO: Packet analysis {"connection_id":57608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:59] local.INFO: Extracted packet for processing {"connection_id":57608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97815672,"longitude_deg":76.3180608,"latitude_deg":9.7815672,"altitude":0,"angle":349,"satellites":36,"speed":32,"hex_longitude":"2d7d3640","hex_latitude":"05d48c78","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010159360001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282480132201906176,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884614744064,"note":"Value kept but may cause issues"} 
[2026-04-28 19:08:59] 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-04-28 19:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383447000,"timestamp_ms":1777383447000,"timestamp_seconds":1777383447,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f19d8"} 
[2026-04-28 19:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:08: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-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:08: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-04-28 19: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-04-28 19:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010159360001,"66":27441,"254":206,"85":15104,"24":32,"16":282480132201906176,"45":9024298884614744064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010159360001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:08:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282480132201906176,"km_value":282480132201906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884614744064,"description":"Unknown IO ID 45"} 
[2026-04-28 19:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010159360001,"power":27441,"unknown_254":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9024298884614744064}} 
[2026-04-28 19:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":57608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:08:59] local.INFO: GPS data processed {"connection_id":57608,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:08:59] local.INFO: Acknowledgment sent {"connection_id":57608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:09:13] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:13] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:13] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:09:18] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:18] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:09:18] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:09:23] local.INFO: TCP Data received {"connection_id":56931,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f40e8012d80f54005d91220000f00ad19..."} 
[2026-04-28 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f40e8012d80f54005d91220000f00ad19..."} 
[2026-04-28 19:09:23] local.INFO: Processing buffer {"connection_id":56931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f40e8012d80f54005d91220000f00ad19..."} 
[2026-04-28 19:09:23] local.INFO: Packet analysis {"connection_id":56931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:23] local.INFO: Extracted packet for processing {"connection_id":56931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763426112,"raw_latitude":98112032,"longitude_deg":76.3426112,"latitude_deg":9.8112032,"altitude":15,"angle":173,"satellites":25,"speed":38,"hex_longitude":"2d80f540","hex_latitude":"05d91220","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010162432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76967682255093760,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156521704767088640,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777383457000,"timestamp_ms":1777383457000,"timestamp_seconds":1777383457,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f40e8"} 
[2026-04-28 19:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:09: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-04-28 19:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 19:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:09: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-04-28 19:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010162432001,"66":12461,"9":206,"85":15104,"24":38,"16":76967682255093760,"45":-9156521704767088640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-04-28 19:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010162432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:09:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-04-28 19:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76967682255093760,"km_value":76967682255093.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156521704767088640,"description":"Unknown IO ID 45"} 
[2026-04-28 19:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010162432001,"power":12461,"unknown_9":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9156521704767088640}} 
[2026-04-28 19:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":56931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:09:23] local.INFO: GPS data processed {"connection_id":56931,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:09:23] local.INFO: Acknowledgment sent {"connection_id":56931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:09:25] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:09:25] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44c1c38012d196540071ff0280042013228..."} 
[2026-04-28 19:09:25] local.INFO: Packet analysis {"connection_id":56896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:09:25] local.INFO: Extracted packet for processing {"connection_id":56896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44c"} 
[2026-04-28 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010036480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:25] 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-04-28 19:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777383251000,"timestamp_ms":1777383251000,"timestamp_seconds":1777383251,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44c1c38"} 
[2026-04-28 19:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:09:25] 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-04-28 19:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010036480001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010036480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:09:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010036480001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":56896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:09:25] local.INFO: GPS data processed {"connection_id":56896,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:09:25] local.INFO: Acknowledgment sent {"connection_id":56896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:09:30] local.INFO: TCP Data received {"connection_id":57608,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f40e8012d7d30c005d4af500000015e23..."} 
[2026-04-28 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f40e8012d7d30c005d4af500000015e23..."} 
[2026-04-28 19:09:30] local.INFO: Processing buffer {"connection_id":57608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f40e8012d7d30c005d4af500000015e23..."} 
[2026-04-28 19:09:30] local.INFO: Packet analysis {"connection_id":57608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:30] local.INFO: Extracted packet for processing {"connection_id":57608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97824592,"longitude_deg":76.31792,"latitude_deg":9.7824592,"altitude":0,"angle":350,"satellites":35,"speed":35,"hex_longitude":"2d7d30c0","hex_latitude":"05d4af50","is_valid_coordinates":true} 
[2026-04-28 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010162432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282480570288570368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297268357120,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:30] 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-04-28 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383457000,"timestamp_ms":1777383457000,"timestamp_seconds":1777383457,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f40e8"} 
[2026-04-28 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-28 19:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010162432001,"66":27463,"254":206,"85":15104,"24":35,"16":282480570288570368,"45":9022469297268357120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010162432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:09:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282480570288570368,"km_value":282480570288570.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297268357120,"description":"Unknown IO ID 45"} 
[2026-04-28 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010162432001,"power":27463,"unknown_254":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9022469297268357120}} 
[2026-04-28 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":57608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:09:30] local.INFO: GPS data processed {"connection_id":57608,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:09:30] local.INFO: Acknowledgment sent {"connection_id":57608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:09:51] local.INFO: TCP Data received {"connection_id":56690,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:09:51] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:09:51] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:09:53] local.INFO: TCP Data received {"connection_id":56690,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 19:09:53] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-28 19:09:53] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:09:58] local.INFO: TCP Data received {"connection_id":57609,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: Processing buffer {"connection_id":57609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: IMEI packet received {"connection_id":57609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":57609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:09:58] local.INFO: TCP Data received {"connection_id":57609,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: Processing buffer {"connection_id":57609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:09:58] local.INFO: IMEI packet received {"connection_id":57609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":57609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:09:59] local.INFO: TCP Data received {"connection_id":57609,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44f7f68012d7d2bc005d4d3280000015f20..."} 
[2026-04-28 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44f7f68012d7d2bc005d4d3280000015f20..."} 
[2026-04-28 19:09:59] local.INFO: Processing buffer {"connection_id":57609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44f7f68012d7d2bc005d4d3280000015f20..."} 
[2026-04-28 19:09:59] local.INFO: Packet analysis {"connection_id":57609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:59] local.INFO: Extracted packet for processing {"connection_id":57609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97833768,"longitude_deg":76.317792,"latitude_deg":9.7833768,"altitude":0,"angle":351,"satellites":32,"speed":20,"hex_longitude":"2d7d2bc0","hex_latitude":"05d4d328","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010164992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282481021260136448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184898732032,"note":"Value kept but may cause issues"} 
[2026-04-28 19:09:59] 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-04-28 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383473000,"timestamp_ms":1777383473000,"timestamp_seconds":1777383473,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44f7f68"} 
[2026-04-28 19:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:09: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-04-28 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 19:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010164992001,"66":27365,"254":206,"85":15104,"24":20,"16":282481021260136448,"45":9020921184898732032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010164992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:09:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282481021260136448,"km_value":282481021260136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184898732032,"description":"Unknown IO ID 45"} 
[2026-04-28 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010164992001,"power":27365,"unknown_254":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9020921184898732032}} 
[2026-04-28 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":57609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:09:59] local.INFO: GPS data processed {"connection_id":57609,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:09:59] local.INFO: Acknowledgment sent {"connection_id":57609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:01] local.INFO: TCP Data received {"connection_id":56690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450d340012d8151c005d79c68000700a019..."} 
[2026-04-28 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450d340012d8151c005d79c68000700a019..."} 
[2026-04-28 19:10:01] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019dd4..."} 
[2026-04-28 19:10:01] local.INFO: IMEI packet received {"connection_id":56690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":56690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:02] local.INFO: TCP Data received {"connection_id":56690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450f668012d815c8005d77890000c00a419..."} 
[2026-04-28 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450f668012d815c8005d77890000c00a419..."} 
[2026-04-28 19:10:02] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dd450d340012d8151c005d79c68000700a019..."} 
[2026-04-28 19:10:02] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:02] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763449792,"raw_latitude":98016360,"longitude_deg":76.3449792,"latitude_deg":9.801636,"altitude":7,"angle":160,"satellites":25,"speed":41,"hex_longitude":"2d8151c0","hex_latitude":"05d79c68","is_valid_coordinates":true} 
[2026-04-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188800001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76972501208399872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131751906840909824,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777383560000,"timestamp_ms":1777383560000,"timestamp_seconds":1777383560,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450d340"} 
[2026-04-28 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:02] 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-04-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 19:10: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-04-28 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:02] 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-04-28 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188800001,"66":12472,"10":206,"85":15104,"24":41,"16":76972501208399872,"45":-9131751906840909824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188800001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76972501208399872,"km_value":76972501208399.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131751906840909824,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188800001,"power":12472,"unknown_10":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9131751906840909824}} 
[2026-04-28 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:02] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:02] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:02] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:02] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763452544,"raw_latitude":98007184,"longitude_deg":76.3452544,"latitude_deg":9.8007184,"altitude":12,"angle":164,"satellites":25,"speed":42,"hex_longitude":"2d815c80","hex_latitude":"05d77890","is_valid_coordinates":true} 
[2026-04-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010191360001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76972965064867840,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128303838378563584,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777383569000,"timestamp_ms":1777383569000,"timestamp_seconds":1777383569,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450f668"} 
[2026-04-28 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:02] 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-04-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:02] 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-04-28 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:02] 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-04-28 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010191360001,"66":12472,"10":206,"85":15104,"24":42,"16":76972965064867840,"45":-9128303838378563584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-04-28 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010191360001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76972965064867840,"km_value":76972965064867.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128303838378563584,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010191360001,"power":12472,"unknown_10":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9128303838378563584}} 
[2026-04-28 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:02] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:02] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:03] local.INFO: TCP Data received {"connection_id":56690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4511990012d81664005d75480000d00a519..."} 
[2026-04-28 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4511990012d81664005d75480000d00a519..."} 
[2026-04-28 19:10:03] local.INFO: Processing buffer {"connection_id":56690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4511990012d81664005d75480000d00a519..."} 
[2026-04-28 19:10:03] local.INFO: Packet analysis {"connection_id":56690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:03] local.INFO: Extracted packet for processing {"connection_id":56690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763455040,"raw_latitude":97997952,"longitude_deg":76.345504,"latitude_deg":9.7997952,"altitude":13,"angle":165,"satellites":25,"speed":41,"hex_longitude":"2d816640","hex_latitude":"05d75480","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010193664001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76973428921335808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9125277982381273088,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777383578000,"timestamp_ms":1777383578000,"timestamp_seconds":1777383578,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4511990"} 
[2026-04-28 19:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:03] 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-04-28 19: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-04-28 19:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010193664001,"66":12624,"10":206,"85":15104,"24":41,"16":76973428921335808,"45":-9125277982381273088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010193664001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76973428921335808,"km_value":76973428921335.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9125277982381273088,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010193664001,"power":12624,"unknown_10":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9125277982381273088}} 
[2026-04-28 19:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":56690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:03] local.INFO: GPS data processed {"connection_id":56690,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:03] local.INFO: Acknowledgment sent {"connection_id":56690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:03] local.INFO: TCP Data received {"connection_id":57609,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44fbde8012d7d288005d4f6400000016424..."} 
[2026-04-28 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44fbde8012d7d288005d4f6400000016424..."} 
[2026-04-28 19:10:03] local.INFO: Processing buffer {"connection_id":57609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44fbde8012d7d288005d4f6400000016424..."} 
[2026-04-28 19:10:03] local.INFO: Packet analysis {"connection_id":57609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:10:03] local.INFO: Extracted packet for processing {"connection_id":57609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97842752,"longitude_deg":76.3177088,"latitude_deg":9.7842752,"altitude":0,"angle":356,"satellites":36,"speed":25,"hex_longitude":"2d7d2880","hex_latitude":"05d4f640","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010169088001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282481459346800640,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513810017527808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:03] 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-04-28 19:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777383489000,"timestamp_ms":1777383489000,"timestamp_seconds":1777383489,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44fbde8"} 
[2026-04-28 19:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010169088001,"66":27343,"254":206,"85":15104,"24":25,"16":282481459346800640,"45":9019513810017527808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-28 19:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010169088001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282481459346800640,"km_value":282481459346800.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513810017527808,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010169088001,"power":27343,"unknown_254":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9019513810017527808}} 
[2026-04-28 19:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":57609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:03] local.INFO: GPS data processed {"connection_id":57609,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:03] local.INFO: Acknowledgment sent {"connection_id":57609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:08] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:08] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:08] local.INFO: IMEI packet received {"connection_id":56932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":56932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:10:13] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:13] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:10:13] local.INFO: IMEI packet received {"connection_id":56932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":56932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:14] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:14] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:14] local.INFO: Packet analysis {"connection_id":56932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:14] local.INFO: Extracted packet for processing {"connection_id":56932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:14] 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-04-28 19:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:10:14] 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-04-28 19:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":56932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:14] local.INFO: GPS data processed {"connection_id":56932,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:14] local.INFO: Acknowledgment sent {"connection_id":56932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:34] local.INFO: TCP Data received {"connection_id":57609,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd44ff498012d7d278005d519c80000016625..."} 
[2026-04-28 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd44ff498012d7d278005d519c80000016625..."} 
[2026-04-28 19:10:34] local.INFO: Processing buffer {"connection_id":57609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd44ff498012d7d278005d519c80000016625..."} 
[2026-04-28 19:10:34] local.INFO: Packet analysis {"connection_id":57609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:10:34] local.INFO: Extracted packet for processing {"connection_id":57609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd44f"} 
[2026-04-28 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":97851848,"longitude_deg":76.3176832,"latitude_deg":9.7851848,"altitude":0,"angle":358,"satellites":37,"speed":26,"hex_longitude":"2d7d2780","hex_latitude":"05d519c8","is_valid_coordinates":true} 
[2026-04-28 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010173184001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282481901728432128,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016345518080,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777383503000,"timestamp_ms":1777383503000,"timestamp_seconds":1777383503,"priority":1,"record_length":96,"hex_timestamp":"0000019dd44ff498"} 
[2026-04-28 19:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010173184001,"66":27213,"253":206,"85":15104,"24":26,"16":282481901728432128,"45":9018599016345518080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-28 19:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010173184001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:34] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-28 19:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282481901728432128,"km_value":282481901728432.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016345518080,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010173184001,"power":27213,"unknown_253":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9018599016345518080}} 
[2026-04-28 19:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":57609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:34] local.INFO: GPS data processed {"connection_id":57609,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:34] local.INFO: Acknowledgment sent {"connection_id":57609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:45] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:45] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:10:45] local.INFO: Packet analysis {"connection_id":56932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:45] local.INFO: Extracted packet for processing {"connection_id":56932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:45] 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-04-28 19:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 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-04-28 19: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 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-04-28 19:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:10:45] 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-04-28 19:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":56932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:45] local.INFO: GPS data processed {"connection_id":56932,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:45] local.INFO: Acknowledgment sent {"connection_id":56932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:47] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:47] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:47] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:10:49] local.INFO: TCP Data received {"connection_id":56898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:49] local.INFO: Processing buffer {"connection_id":56898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:49] local.INFO: IMEI packet received {"connection_id":56898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":56898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:10:50] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:50] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:50] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:51] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:51] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:10:51] local.INFO: IMEI packet received {"connection_id":56691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":56691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:52] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4513cb8012d816dc005d73030000b00aa19..."} 
[2026-04-28 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4513cb8012d816dc005d73030000b00aa19..."} 
[2026-04-28 19:10:52] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4513cb8012d816dc005d73030000b00aa19..."} 
[2026-04-28 19:10:52] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:52] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763456960,"raw_latitude":97988656,"longitude_deg":76.345696,"latitude_deg":9.7988656,"altitude":11,"angle":170,"satellites":25,"speed":38,"hex_longitude":"2d816dc0","hex_latitude":"05d73030","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010195968001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76973888482836480,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122533601360707584,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383587000,"timestamp_ms":1777383587000,"timestamp_seconds":1777383587,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4513cb8"} 
[2026-04-28 19:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:52] 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-04-28 19: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-04-28 19:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10: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-04-28 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010195968001,"66":12645,"10":206,"85":15104,"24":38,"16":76973888482836480,"45":-9122533601360707584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-04-28 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010195968001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-28 19:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76973888482836480,"km_value":76973888482836.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122533601360707584,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010195968001,"power":12645,"unknown_10":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9122533601360707584}} 
[2026-04-28 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:52] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:52] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:53] local.INFO: TCP Data received {"connection_id":56898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:53] local.INFO: Processing buffer {"connection_id":56898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:53] local.INFO: IMEI packet received {"connection_id":56898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:57] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45167b0012d81714005d70c40000900b319..."} 
[2026-04-28 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45167b0012d81714005d70c40000900b319..."} 
[2026-04-28 19:10:57] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45167b0012d81714005d70c40000900b319..."} 
[2026-04-28 19:10:57] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:57] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763457856,"raw_latitude":97979456,"longitude_deg":76.3457856,"latitude_deg":9.7979456,"altitude":9,"angle":179,"satellites":25,"speed":23,"hex_longitude":"2d817140","hex_latitude":"05d70c40","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010198272001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76974339454402560,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120422539037757440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383598000,"timestamp_ms":1777383598000,"timestamp_seconds":1777383598,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45167b0"} 
[2026-04-28 19:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10:57] 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-04-28 19:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:57] 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-04-28 19: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-04-28 19:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:10:57] 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-04-28 19:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010198272001,"66":12515,"10":206,"85":15104,"24":23,"16":76974339454402560,"45":-9120422539037757440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-04-28 19:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010198272001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-28 19:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76974339454402560,"km_value":76974339454402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120422539037757440,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010198272001,"power":12515,"unknown_10":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9120422539037757440}} 
[2026-04-28 19:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:57] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:57] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:10:58] local.INFO: TCP Data received {"connection_id":56898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:58] local.INFO: Processing buffer {"connection_id":56898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:10:58] local.INFO: IMEI packet received {"connection_id":56898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":56898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:10:58] local.INFO: TCP Data received {"connection_id":56898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4502378012d7d26c005d53f700001016221..."} 
[2026-04-28 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4502378012d7d26c005d53f700001016221..."} 
[2026-04-28 19:10:58] local.INFO: Processing buffer {"connection_id":56898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4502378012d7d26c005d53f700001016221..."} 
[2026-04-28 19:10:58] local.INFO: Packet analysis {"connection_id":56898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:58] local.INFO: Extracted packet for processing {"connection_id":56898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":97861488,"longitude_deg":76.317664,"latitude_deg":9.7861488,"altitude":1,"angle":354,"satellites":33,"speed":33,"hex_longitude":"2d7d26c0","hex_latitude":"05d53f70","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010176768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282482369879867392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541371136000,"note":"Value kept but may cause issues"} 
[2026-04-28 19:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383515000,"timestamp_ms":1777383515000,"timestamp_seconds":1777383515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4502378"} 
[2026-04-28 19:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:10: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-04-28 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 19:10:58] 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-04-28 19: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-04-28 19:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010176768001,"66":27376,"253":206,"85":15104,"24":33,"16":282482369879867392,"45":9018317541371136000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-28 19:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010176768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:10:58] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-28 19:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282482369879867392,"km_value":282482369879867.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541371136000,"description":"Unknown IO ID 45"} 
[2026-04-28 19:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010176768001,"power":27376,"unknown_253":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9018317541371136000}} 
[2026-04-28 19:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":56898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:10:58] local.INFO: GPS data processed {"connection_id":56898,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:10:58] local.INFO: Acknowledgment sent {"connection_id":56898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:15] local.INFO: TCP Data received {"connection_id":57610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:15] local.INFO: Processing buffer {"connection_id":57610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:15] local.INFO: IMEI packet received {"connection_id":57610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":57610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:11:28] local.INFO: TCP Data received {"connection_id":56691,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4519690012d81720005d6e900000a00a919..."} 
[2026-04-28 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4519690012d81720005d6e900000a00a919..."} 
[2026-04-28 19:11:28] local.INFO: Processing buffer {"connection_id":56691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4519690012d81720005d6e900000a00a919..."} 
[2026-04-28 19:11:28] local.INFO: Packet analysis {"connection_id":56691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:11:28] local.INFO: Extracted packet for processing {"connection_id":56691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763458048,"raw_latitude":97970432,"longitude_deg":76.3458048,"latitude_deg":9.7970432,"altitude":10,"angle":169,"satellites":25,"speed":33,"hex_longitude":"2d817200","hex_latitude":"05d6e900","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010201088001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76974777541066752,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119437376621625344,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:28] 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-04-28 19:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777383610000,"timestamp_ms":1777383610000,"timestamp_seconds":1777383610,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4519690"} 
[2026-04-28 19:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11:28] 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-04-28 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:28] 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-04-28 19: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-04-28 19:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:11:28] 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-04-28 19:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010201088001,"66":12526,"157":206,"85":15104,"24":33,"16":76974777541066752,"45":-9119437376621625344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-28 19:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010201088001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76974777541066752,"km_value":76974777541066.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119437376621625344,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010201088001,"power":12526,"unknown_157":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9119437376621625344}} 
[2026-04-28 19:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":56691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:28] local.INFO: GPS data processed {"connection_id":56691,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:28] local.INFO: Acknowledgment sent {"connection_id":56691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:29] local.INFO: TCP Data received {"connection_id":56898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd451d8f8012d7ce5c005d6a1800002016022..."} 
[2026-04-28 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd451d8f8012d7ce5c005d6a1800002016022..."} 
[2026-04-28 19:11:29] local.INFO: Processing buffer {"connection_id":56898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd451d8f8012d7ce5c005d6a1800002016022..."} 
[2026-04-28 19:11:29] local.INFO: Packet analysis {"connection_id":56898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:11:29] local.INFO: Extracted packet for processing {"connection_id":56898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd451"} 
[2026-04-28 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763160000,"raw_latitude":97952128,"longitude_deg":76.316,"latitude_deg":9.7952128,"altitude":2,"angle":352,"satellites":34,"speed":30,"hex_longitude":"2d7ce5c0","hex_latitude":"05d6a180","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010205696001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282486862415659008,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000936461582632960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:29] 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-04-28 19:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383627000,"timestamp_ms":1777383627000,"timestamp_seconds":1777383627,"priority":1,"record_length":96,"hex_timestamp":"0000019dd451d8f8"} 
[2026-04-28 19:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010205696001,"66":27365,"30":206,"85":15104,"24":30,"16":282486862415659008,"45":9000936461582632960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-28 19:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010205696001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-28 19:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282486862415659008,"km_value":282486862415659.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000936461582632960,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010205696001,"power":27365,"unknown_30":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9000936461582632960}} 
[2026-04-28 19:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":56898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:29] local.INFO: GPS data processed {"connection_id":56898,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:29] local.INFO: Acknowledgment sent {"connection_id":56898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:36] local.INFO: TCP Data received {"connection_id":57610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:36] local.INFO: Processing buffer {"connection_id":57610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:11:36] local.INFO: IMEI packet received {"connection_id":57610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":57610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:11:38] local.INFO: TCP Data received {"connection_id":57610,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:38] local.INFO: Processing buffer {"connection_id":57610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:38] local.INFO: Packet analysis {"connection_id":57610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:11:38] local.INFO: Extracted packet for processing {"connection_id":57610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11: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-04-28 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":57610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":57610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":57610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:11:38] 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-04-28 19:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":57610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:38] local.INFO: GPS data processed {"connection_id":57610,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:38] local.INFO: Acknowledgment sent {"connection_id":57610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:39] local.INFO: TCP Data received {"connection_id":57610,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:39] local.INFO: Processing buffer {"connection_id":57610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:11:39] local.INFO: Packet analysis {"connection_id":57610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:11:39] local.INFO: Extracted packet for processing {"connection_id":57610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:11: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-04-28 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:11: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-04-28 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":57610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":57610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":57610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:11:39] 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-04-28 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":57610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:39] local.INFO: GPS data processed {"connection_id":57610,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:39] local.INFO: Acknowledgment sent {"connection_id":57610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:46] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:46] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:46] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:11:49] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:49] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:49] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:11:52] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: IMEI packet received {"connection_id":56933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":56933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:11:52] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:52] local.INFO: IMEI packet received {"connection_id":56933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":56933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:11:53] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:53] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:11:53] local.INFO: IMEI packet received {"connection_id":56899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":56899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:11:54] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd452cb28012d81b18005d5e4180006009919..."} 
[2026-04-28 19:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd452cb28012d81b18005d5e4180006009919..."} 
[2026-04-28 19:11:54] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd452cb28012d81b18005d5e4180006009919..."} 
[2026-04-28 19:11:54] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:11:54] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763474304,"raw_latitude":97903640,"longitude_deg":76.3474304,"latitude_deg":9.790364,"altitude":6,"angle":153,"satellites":25,"speed":25,"hex_longitude":"2d81b180","hex_latitude":"05d5e418","is_valid_coordinates":true} 
[2026-04-28 19:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010223872001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76978239284707328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102126665573062656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11: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-04-28 19:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777383689000,"timestamp_ms":1777383689000,"timestamp_seconds":1777383689,"priority":1,"record_length":96,"hex_timestamp":"0000019dd452cb28"} 
[2026-04-28 19:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:11:54] 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-04-28 19:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010223872001,"66":12472,"157":206,"85":15104,"24":25,"16":76978239284707328,"45":-9102126665573062656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-28 19:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010223872001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76978239284707328,"km_value":76978239284707.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102126665573062656,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010223872001,"power":12472,"unknown_157":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9102126665573062656}} 
[2026-04-28 19:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:54] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:54] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:11:58] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:58] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:11:58] local.INFO: IMEI packet received {"connection_id":56933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":56933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:11:58] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45207d8012d7cdf0005d6c4a80003015e22..."} 
[2026-04-28 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45207d8012d7cdf0005d6c4a80003015e22..."} 
[2026-04-28 19:11:58] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45207d8012d7cdf0005d6c4a80003015e22..."} 
[2026-04-28 19:11:58] local.INFO: Packet analysis {"connection_id":56933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:11:58] local.INFO: Extracted packet for processing {"connection_id":56933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763158272,"raw_latitude":97961128,"longitude_deg":76.3158272,"latitude_deg":9.7961128,"altitude":3,"angle":350,"satellites":34,"speed":29,"hex_longitude":"2d7cdf00","hex_latitude":"05d6c4a8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010208512001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282487309092257792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999810561678082048,"note":"Value kept but may cause issues"} 
[2026-04-28 19:11:58] 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-04-28 19:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383639000,"timestamp_ms":1777383639000,"timestamp_seconds":1777383639,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45207d8"} 
[2026-04-28 19:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:11: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010208512001,"66":27484,"30":206,"85":15104,"24":29,"16":282487309092257792,"45":8999810561678082048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-28 19:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010208512001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:11:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-28 19:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282487309092257792,"km_value":282487309092257.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999810561678082048,"description":"Unknown IO ID 45"} 
[2026-04-28 19:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010208512001,"power":27484,"unknown_30":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8999810561678082048}} 
[2026-04-28 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":56933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:11:59] local.INFO: GPS data processed {"connection_id":56933,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:11:59] local.INFO: Acknowledgment sent {"connection_id":56933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:25] local.INFO: TCP Data received {"connection_id":56899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd452d6e0012d81b38005d5dc28000600a819..."} 
[2026-04-28 19:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd452d6e0012d81b38005d5dc28000600a819..."} 
[2026-04-28 19:12:25] local.INFO: Processing buffer {"connection_id":56899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd452d6e0012d81b38005d5dc28000600a819..."} 
[2026-04-28 19:12:25] local.INFO: Packet analysis {"connection_id":56899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:25] local.INFO: Extracted packet for processing {"connection_id":56899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763474816,"raw_latitude":97901608,"longitude_deg":76.3474816,"latitude_deg":9.7901608,"altitude":6,"angle":168,"satellites":25,"speed":30,"hex_longitude":"2d81b380","hex_latitude":"05d5dc28","is_valid_coordinates":true} 
[2026-04-28 19:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010224384001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76978342363922432,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101352609387374592,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777383692000,"timestamp_ms":1777383692000,"timestamp_seconds":1777383692,"priority":1,"record_length":96,"hex_timestamp":"0000019dd452d6e0"} 
[2026-04-28 19:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12:25] 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-04-28 19:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:25] 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-04-28 19:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":56899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":56899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":56899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:25] 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-04-28 19:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010224384001,"66":12145,"157":206,"85":15104,"24":30,"16":76978342363922432,"45":-9101352609387374592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-28 19:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010224384001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76978342363922432,"km_value":76978342363922.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101352609387374592,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010224384001,"power":12145,"unknown_157":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9101352609387374592}} 
[2026-04-28 19:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":56899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:25] local.INFO: GPS data processed {"connection_id":56899,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:25] local.INFO: Acknowledgment sent {"connection_id":56899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:30] local.INFO: TCP Data received {"connection_id":56933,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4523aa0012d7cd58005d6e8100002015520..."} 
[2026-04-28 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4523aa0012d7cd58005d6e8100002015520..."} 
[2026-04-28 19:12:30] local.INFO: Processing buffer {"connection_id":56933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4523aa0012d7cd58005d6e8100002015520..."} 
[2026-04-28 19:12:30] local.INFO: Packet analysis {"connection_id":56933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:30] local.INFO: Extracted packet for processing {"connection_id":56933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763155840,"raw_latitude":97970192,"longitude_deg":76.315584,"latitude_deg":9.7970192,"altitude":2,"angle":341,"satellites":32,"speed":32,"hex_longitude":"2d7cd580","hex_latitude":"05d6e810","is_valid_coordinates":true} 
[2026-04-28 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010211584001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282487760063823872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997910605587589120,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383652000,"timestamp_ms":1777383652000,"timestamp_seconds":1777383652,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4523aa0"} 
[2026-04-28 19:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010211584001,"66":27223,"31":206,"85":15104,"24":32,"16":282487760063823872,"45":8997910605587589120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-04-28 19:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010211584001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-28 19:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282487760063823872,"km_value":282487760063823.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997910605587589120,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010211584001,"power":27223,"unknown_31":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8997910605587589120}} 
[2026-04-28 19:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":56933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:30] local.INFO: GPS data processed {"connection_id":56933,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:30] local.INFO: Acknowledgment sent {"connection_id":56933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:38] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:38] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:38] local.INFO: IMEI packet received {"connection_id":56935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":56935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:12:43] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:43] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:12:43] local.INFO: IMEI packet received {"connection_id":56935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":56935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:12:44] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:12:44] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:12:44] local.INFO: Packet analysis {"connection_id":56935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:12:44] local.INFO: Extracted packet for processing {"connection_id":56935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12: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-04-28 19:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:12:44] 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-04-28 19:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":56935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:44] local.INFO: GPS data processed {"connection_id":56935,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:44] local.INFO: Acknowledgment sent {"connection_id":56935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:52] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:52] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:52] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:12:54] local.INFO: TCP Data received {"connection_id":56693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:54] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:54] local.INFO: IMEI packet received {"connection_id":56693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":56693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:12:57] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:57] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:12:57] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:12:58] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45305c0012d81bb4005d5b848000100ab19..."} 
[2026-04-28 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45305c0012d81bb4005d5b848000100ab19..."} 
[2026-04-28 19:12:58] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45305c0012d81bb4005d5b848000100ab19..."} 
[2026-04-28 19:12:58] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd453"} 
[2026-04-28 19:12:58] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd453"} 
[2026-04-28 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763476800,"raw_latitude":97892424,"longitude_deg":76.34768,"latitude_deg":9.7892424,"altitude":1,"angle":171,"satellites":25,"speed":31,"hex_longitude":"2d81bb40","hex_latitude":"05d5b848","is_valid_coordinates":true} 
[2026-04-28 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010225152001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76978797630455808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100789659434473472,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383704000,"timestamp_ms":1777383704000,"timestamp_seconds":1777383704,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45305c0"} 
[2026-04-28 19:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12: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-04-28 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010225152001,"66":12428,"157":206,"85":15104,"24":31,"16":76978797630455808,"45":-9100789659434473472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010225152001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76978797630455808,"km_value":76978797630455.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100789659434473472,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010225152001,"power":12428,"unknown_157":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9100789659434473472}} 
[2026-04-28 19:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:58] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:58] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:58] local.INFO: TCP Data received {"connection_id":56693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:58] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:12:58] local.INFO: IMEI packet received {"connection_id":56693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":56693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:12:58] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4531178012d81bb4005d5ae58000000b619..."} 
[2026-04-28 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4531178012d81bb4005d5ae58000000b619..."} 
[2026-04-28 19:12:58] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4531178012d81bb4005d5ae58000000b619..."} 
[2026-04-28 19:12:58] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd453"} 
[2026-04-28 19:12:58] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd453"} 
[2026-04-28 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763476800,"raw_latitude":97889880,"longitude_deg":76.34768,"latitude_deg":9.788988,"altitude":0,"angle":182,"satellites":25,"speed":34,"hex_longitude":"2d81bb40","hex_latitude":"05d5ae58","is_valid_coordinates":true} 
[2026-04-28 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010228224001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76978922184507392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098608228367316992,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777383707000,"timestamp_ms":1777383707000,"timestamp_seconds":1777383707,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4531178"} 
[2026-04-28 19:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12: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-04-28 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:12:58] 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-04-28 19:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010228224001,"66":12232,"157":206,"85":15104,"24":34,"16":76978922184507392,"45":-9098608228367316992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-28 19:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010228224001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76978922184507392,"km_value":76978922184507.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098608228367316992,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010228224001,"power":12232,"unknown_157":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9098608228367316992}} 
[2026-04-28 19:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:58] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:58] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:12:59] local.INFO: TCP Data received {"connection_id":56693,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45261b0012d7cca8005d70a10000001561e..."} 
[2026-04-28 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45261b0012d7cca8005d70a10000001561e..."} 
[2026-04-28 19:12:59] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45261b0012d7cca8005d70a10000001561e..."} 
[2026-04-28 19:12:59] local.INFO: Packet analysis {"connection_id":56693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:59] local.INFO: Extracted packet for processing {"connection_id":56693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763153024,"raw_latitude":97978896,"longitude_deg":76.3153024,"latitude_deg":9.7978896,"altitude":0,"angle":342,"satellites":30,"speed":37,"hex_longitude":"2d7cca80","hex_latitude":"05d70a10","is_valid_coordinates":true} 
[2026-04-28 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010214912001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282488206740422656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995236593311158272,"note":"Value kept but may cause issues"} 
[2026-04-28 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383662000,"timestamp_ms":1777383662000,"timestamp_seconds":1777383662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45261b0"} 
[2026-04-28 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:12: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-04-28 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-28 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010214912001,"66":27484,"31":206,"85":15104,"24":37,"16":282488206740422656,"45":8995236593311158272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-04-28 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010214912001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:12:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-28 19:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282488206740422656,"km_value":282488206740422.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995236593311158272,"description":"Unknown IO ID 45"} 
[2026-04-28 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010214912001,"power":27484,"unknown_31":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8995236593311158272}} 
[2026-04-28 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":56693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:12:59] local.INFO: GPS data processed {"connection_id":56693,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:12:59] local.INFO: Acknowledgment sent {"connection_id":56693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:13] local.INFO: TCP Data received {"connection_id":56694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:13] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:13] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:13:18] local.INFO: TCP Data received {"connection_id":56694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:18] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:13:18] local.INFO: IMEI packet received {"connection_id":56694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":56694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:13:19] local.INFO: TCP Data received {"connection_id":56694,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:19] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:19] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:13:19] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:13:19] 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-04-28 19:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:19] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:19] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:24] local.INFO: TCP Data received {"connection_id":56694,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:24] local.INFO: Processing buffer {"connection_id":56694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:13:24] local.INFO: Packet analysis {"connection_id":56694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:13:24] local.INFO: Extracted packet for processing {"connection_id":56694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:13: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-04-28 19:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":56694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:24] local.INFO: GPS data processed {"connection_id":56694,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:24] local.INFO: Acknowledgment sent {"connection_id":56694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:29] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4546938012d819cc005d4ae68000600d219..."} 
[2026-04-28 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4546938012d819cc005d4ae68000600d219..."} 
[2026-04-28 19:13:29] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4546938012d819cc005d4ae68000600d219..."} 
[2026-04-28 19:13:29] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:29] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763468992,"raw_latitude":97824360,"longitude_deg":76.3468992,"latitude_deg":9.782436,"altitude":6,"angle":210,"satellites":25,"speed":24,"hex_longitude":"2d819cc0","hex_latitude":"05d4ae68","is_valid_coordinates":true} 
[2026-04-28 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010251264001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76982487007363072,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106771002709227520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383795000,"timestamp_ms":1777383795000,"timestamp_seconds":1777383795,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4546938"} 
[2026-04-28 19:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13: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-04-28 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 19:13: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-04-28 19:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010251264001,"66":12602,"165":206,"85":15104,"24":24,"16":76982487007363072,"45":-9106771002709227520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-04-28 19:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010251264001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76982487007363072,"km_value":76982487007363.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106771002709227520,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010251264001,"power":12602,"unknown_165":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9106771002709227520}} 
[2026-04-28 19:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:29] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:29] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:31] local.INFO: TCP Data received {"connection_id":56693,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45284d8012d7cc04005d72c300000015620..."} 
[2026-04-28 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45284d8012d7cc04005d72c300000015620..."} 
[2026-04-28 19:13:31] local.INFO: Processing buffer {"connection_id":56693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45284d8012d7cc04005d72c300000015620..."} 
[2026-04-28 19:13:31] local.INFO: Packet analysis {"connection_id":56693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:13:31] local.INFO: Extracted packet for processing {"connection_id":56693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd452"} 
[2026-04-28 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763150400,"raw_latitude":97987632,"longitude_deg":76.31504,"latitude_deg":9.7987632,"altitude":0,"angle":342,"satellites":32,"speed":42,"hex_longitude":"2d7cc040","hex_latitude":"05d72c30","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010217472001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282488644827086848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992140368569569280,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:31] 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-04-28 19:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777383671000,"timestamp_ms":1777383671000,"timestamp_seconds":1777383671,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45284d8"} 
[2026-04-28 19:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13: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-04-28 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010217472001,"66":27463,"195":206,"85":15104,"24":42,"16":282488644827086848,"45":8992140368569569280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-28 19:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010217472001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:31] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-28 19:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282488644827086848,"km_value":282488644827086.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992140368569569280,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010217472001,"power":27463,"unknown_195":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8992140368569569280}} 
[2026-04-28 19:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":56693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:31] local.INFO: GPS data processed {"connection_id":56693,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:31] local.INFO: Acknowledgment sent {"connection_id":56693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:48] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:48] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:48] local.INFO: IMEI packet received {"connection_id":56936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":56936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:13:50] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:50] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:13:50] local.INFO: IMEI packet received {"connection_id":56936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":56936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:13:51] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4547108012d819b4005d4a9c0000600bd19..."} 
[2026-04-28 19:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4547108012d819b4005d4a9c0000600bd19..."} 
[2026-04-28 19:13:51] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4547108012d819b4005d4a9c0000600bd19..."} 
[2026-04-28 19:13:51] local.INFO: Packet analysis {"connection_id":56936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:51] local.INFO: Extracted packet for processing {"connection_id":56936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":97823168,"longitude_deg":76.3468608,"latitude_deg":9.7823168,"altitude":6,"angle":189,"satellites":25,"speed":25,"hex_longitude":"2d819b40","hex_latitude":"05d4a9c0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010251520001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76982547136905216,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107193215174416384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13: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-04-28 19:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777383797000,"timestamp_ms":1777383797000,"timestamp_seconds":1777383797,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4547108"} 
[2026-04-28 19:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13: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-04-28 19:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:51] 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-04-28 19: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-04-28 19:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13: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-04-28 19:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010251520001,"66":12515,"165":206,"85":15104,"24":25,"16":76982547136905216,"45":-9107193215174416384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-04-28 19:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010251520001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76982547136905216,"km_value":76982547136905.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107193215174416384,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010251520001,"power":12515,"unknown_165":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9107193215174416384}} 
[2026-04-28 19:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":56936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:51] local.INFO: GPS data processed {"connection_id":56936,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:51] local.INFO: Acknowledgment sent {"connection_id":56936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:52] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4547cc0012d819b4005d4a130000700b019..."} 
[2026-04-28 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4547cc0012d819b4005d4a130000700b019..."} 
[2026-04-28 19:13:52] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4547cc0012d819b4005d4a130000700b019..."} 
[2026-04-28 19:13:52] local.INFO: Packet analysis {"connection_id":56936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:52] local.INFO: Extracted packet for processing {"connection_id":56936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":97820976,"longitude_deg":76.3468608,"latitude_deg":9.7820976,"altitude":7,"angle":176,"satellites":25,"speed":30,"hex_longitude":"2d819b40","hex_latitude":"05d4a130","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010252032001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76982654511087616,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427639787520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13: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-04-28 19:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383800000,"timestamp_ms":1777383800000,"timestamp_seconds":1777383800,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4547cc0"} 
[2026-04-28 19:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13: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-04-28 19:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:52] 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-04-28 19: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-04-28 19:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:13: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-04-28 19:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010252032001,"66":12287,"165":206,"85":15104,"24":30,"16":76982654511087616,"45":-9107615427639787520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-04-28 19:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010252032001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76982654511087616,"km_value":76982654511087.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427639787520,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010252032001,"power":12287,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9107615427639787520}} 
[2026-04-28 19:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":56936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:52] local.INFO: GPS data processed {"connection_id":56936,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:52] local.INFO: Acknowledgment sent {"connection_id":56936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:53] local.INFO: TCP Data received {"connection_id":56695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:53] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:53] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:13:58] local.INFO: TCP Data received {"connection_id":56695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:58] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:13:58] local.INFO: IMEI packet received {"connection_id":56695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":56695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:13:59] local.INFO: TCP Data received {"connection_id":56695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4543e40012d7c964005d895e80000016320..."} 
[2026-04-28 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4543e40012d7c964005d895e80000016320..."} 
[2026-04-28 19:13:59] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4543e40012d7c964005d895e80000016320..."} 
[2026-04-28 19:13:59] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:59] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763139648,"raw_latitude":98080232,"longitude_deg":76.3139648,"latitude_deg":9.8080232,"altitude":0,"angle":355,"satellites":32,"speed":52,"hex_longitude":"2d7c9640","hex_latitude":"05d895e8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010246912001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282493188902486016,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977996251013455872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:13:59] 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-04-28 19:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383784000,"timestamp_ms":1777383784000,"timestamp_seconds":1777383784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4543e40"} 
[2026-04-28 19:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:13: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-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010246912001,"66":27376,"196":206,"85":15104,"24":52,"16":282493188902486016,"45":8977996251013455872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-28 19:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010246912001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:13:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 19:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282493188902486016,"km_value":282493188902486.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977996251013455872,"description":"Unknown IO ID 45"} 
[2026-04-28 19:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010246912001,"power":27376,"unknown_196":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8977996251013455872}} 
[2026-04-28 19:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:13:59] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:13:59] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:13:59] local.INFO: TCP Data received {"connection_id":57611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:13:59] local.INFO: Processing buffer {"connection_id":57611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:13:59] local.INFO: IMEI packet received {"connection_id":57611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":57611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:14:09] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:09] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:09] local.INFO: IMEI packet received {"connection_id":56901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":56901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:14:22] local.INFO: TCP Data received {"connection_id":56936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd454a7b8012d819e8005d47b80000700b419..."} 
[2026-04-28 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd454a7b8012d819e8005d47b80000700b419..."} 
[2026-04-28 19:14:22] local.INFO: Processing buffer {"connection_id":56936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd454a7b8012d819e8005d47b80000700b419..."} 
[2026-04-28 19:14:22] local.INFO: Packet analysis {"connection_id":56936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:22] local.INFO: Extracted packet for processing {"connection_id":56936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763469440,"raw_latitude":97811328,"longitude_deg":76.346944,"latitude_deg":9.7811328,"altitude":7,"angle":180,"satellites":25,"speed":36,"hex_longitude":"2d819e80","hex_latitude":"05d47b80","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010252800001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76983122662522880,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427640348672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14: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-04-28 19:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777383811000,"timestamp_ms":1777383811000,"timestamp_seconds":1777383811,"priority":1,"record_length":96,"hex_timestamp":"0000019dd454a7b8"} 
[2026-04-28 19:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 19:14: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-04-28 19: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-04-28 19:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:14: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-04-28 19:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010252800001,"66":12461,"165":206,"85":15104,"24":36,"16":76983122662522880,"45":-9107615427640348672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-04-28 19:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010252800001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:14:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76983122662522880,"km_value":76983122662522.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427640348672,"description":"Unknown IO ID 45"} 
[2026-04-28 19:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010252800001,"power":12461,"unknown_165":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9107615427640348672}} 
[2026-04-28 19:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":56936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:14:22] local.INFO: GPS data processed {"connection_id":56936,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:14:22] local.INFO: Acknowledgment sent {"connection_id":56936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:14:26] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:26] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:14:26] local.INFO: IMEI packet received {"connection_id":56901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":56901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:14:30] local.INFO: TCP Data received {"connection_id":56695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4545998012d7c938005d8ba880000016320..."} 
[2026-04-28 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4545998012d7c938005d8ba880000016320..."} 
[2026-04-28 19:14:30] local.INFO: Processing buffer {"connection_id":56695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4545998012d7c938005d8ba880000016320..."} 
[2026-04-28 19:14:30] local.INFO: Packet analysis {"connection_id":56695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:30] local.INFO: Extracted packet for processing {"connection_id":56695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763138944,"raw_latitude":98089608,"longitude_deg":76.3138944,"latitude_deg":9.8089608,"altitude":0,"angle":355,"satellites":32,"speed":51,"hex_longitude":"2d7c9380","hex_latitude":"05d8ba88","is_valid_coordinates":true} 
[2026-04-28 19:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010248704001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282493644169019392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977433301062379520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:30] 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-04-28 19:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383791000,"timestamp_ms":1777383791000,"timestamp_seconds":1777383791,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4545998"} 
[2026-04-28 19:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010248704001,"66":27321,"196":206,"85":15104,"24":51,"16":282493644169019392,"45":8977433301062379520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-28 19:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010248704001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:14:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-28 19:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282493644169019392,"km_value":282493644169019.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977433301062379520,"description":"Unknown IO ID 45"} 
[2026-04-28 19:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010248704001,"power":27321,"unknown_196":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8977433301062379520}} 
[2026-04-28 19:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":56695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:14:30] local.INFO: GPS data processed {"connection_id":56695,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:14:30] local.INFO: Acknowledgment sent {"connection_id":56695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:14:31] local.INFO: TCP Data received {"connection_id":56901,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:14:31] local.INFO: Processing buffer {"connection_id":56901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd450a848012d196540071ff0280042013227..."} 
[2026-04-28 19:14:31] local.INFO: Packet analysis {"connection_id":56901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:14:31] local.INFO: Extracted packet for processing {"connection_id":56901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd450"} 
[2026-04-28 19:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010112256001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:31] 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-04-28 19:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777383549000,"timestamp_ms":1777383549000,"timestamp_seconds":1777383549,"priority":1,"record_length":96,"hex_timestamp":"0000019dd450a848"} 
[2026-04-28 19:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19: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-04-28 19: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-04-28 19:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:14:31] 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-04-28 19:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010112256001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010112256001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010112256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":56901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:14:31] local.INFO: GPS data processed {"connection_id":56901,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:14:31] local.INFO: Acknowledgment sent {"connection_id":56901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:14:34] local.INFO: TCP Data received {"connection_id":56696,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:14:34] local.INFO: Processing buffer {"connection_id":56696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:14:34] local.INFO: IMEI packet received {"connection_id":56696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":56696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:14:46] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:46] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:46] local.INFO: IMEI packet received {"connection_id":56902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":56902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:14:47] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:47] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:47] local.INFO: IMEI packet received {"connection_id":56902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":56902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:14:52] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:52] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:14:52] local.INFO: IMEI packet received {"connection_id":56902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":56902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:14:52] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4559dd0012d81a90005d3f560000900cd1a..."} 
[2026-04-28 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4559dd0012d81a90005d3f560000900cd1a..."} 
[2026-04-28 19:14:52] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4559dd0012d81a90005d3f560000900cd1a..."} 
[2026-04-28 19:14:52] local.INFO: Packet analysis {"connection_id":56902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:14:52] local.INFO: Extracted packet for processing {"connection_id":56902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763472128,"raw_latitude":97776992,"longitude_deg":76.3472128,"latitude_deg":9.7776992,"altitude":9,"angle":205,"satellites":26,"speed":27,"hex_longitude":"2d81a900","hex_latitude":"05d3f560","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010271232001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76984832059506688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103252565512267776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:52] 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-04-28 19:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777383874000,"timestamp_ms":1777383874000,"timestamp_seconds":1777383874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4559dd0"} 
[2026-04-28 19:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 19:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:14: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-04-28 19:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010271232001,"66":12341,"166":206,"85":15104,"24":27,"16":76984832059506688,"45":-9103252565512267776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-04-28 19:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010271232001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:14:52] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 19:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76984832059506688,"km_value":76984832059506.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103252565512267776,"description":"Unknown IO ID 45"} 
[2026-04-28 19:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010271232001,"power":12341,"unknown_166":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9103252565512267776}} 
[2026-04-28 19:14:52] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":56902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:14:52] local.INFO: GPS data processed {"connection_id":56902,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:14:52] local.INFO: Acknowledgment sent {"connection_id":56902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:52] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:52] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:14:58] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:58] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:14:58] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:14:59] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4547cc0012d7c904005d8e0b00000016320..."} 
[2026-04-28 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4547cc0012d7c904005d8e0b00000016320..."} 
[2026-04-28 19:14:59] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4547cc0012d7c904005d8e0b00000016320..."} 
[2026-04-28 19:14:59] local.INFO: Packet analysis {"connection_id":56937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:59] local.INFO: Extracted packet for processing {"connection_id":56937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763138112,"raw_latitude":98099376,"longitude_deg":76.3138112,"latitude_deg":9.8099376,"altitude":0,"angle":355,"satellites":32,"speed":37,"hex_longitude":"2d7c9040","hex_latitude":"05d8e0b0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010250496001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282494120910389248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659244878825472,"note":"Value kept but may cause issues"} 
[2026-04-28 19:14:59] 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-04-28 19:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777383800000,"timestamp_ms":1777383800000,"timestamp_seconds":1777383800,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4547cc0"} 
[2026-04-28 19:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010250496001,"66":27234,"197":206,"85":15104,"24":37,"16":282494120910389248,"45":8976659244878825472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 19:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010250496001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:14:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282494120910389248,"km_value":282494120910389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659244878825472,"description":"Unknown IO ID 45"} 
[2026-04-28 19:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010250496001,"power":27234,"unknown_197":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8976659244878825472}} 
[2026-04-28 19:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":56937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:14:59] local.INFO: GPS data processed {"connection_id":56937,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:14:59] local.INFO: Acknowledgment sent {"connection_id":56937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:15:18] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:18] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:18] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:15:23] local.INFO: TCP Data received {"connection_id":56902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4564d98012d81c00005d37bc8000a007d17..."} 
[2026-04-28 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4564d98012d81c00005d37bc8000a007d17..."} 
[2026-04-28 19:15:23] local.INFO: Processing buffer {"connection_id":56902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4564d98012d81c00005d37bc8000a007d17..."} 
[2026-04-28 19:15:23] local.INFO: Packet analysis {"connection_id":56902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd456"} 
[2026-04-28 19:15:23] local.INFO: Extracted packet for processing {"connection_id":56902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd456"} 
[2026-04-28 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763478016,"raw_latitude":97745864,"longitude_deg":76.3478016,"latitude_deg":9.7745864,"altitude":10,"angle":125,"satellites":23,"speed":18,"hex_longitude":"2d81c000","hex_latitude":"05d37bc8","is_valid_coordinates":true} 
[2026-04-28 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010282240001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76986468442046464,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099100809613938688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] 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-04-28 19:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777383919000,"timestamp_ms":1777383919000,"timestamp_seconds":1777383919,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4564d98"} 
[2026-04-28 19:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:15: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-04-28 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437104017920,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3146388003309649498,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":130,"raw_value":216172782113783809,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176139269,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146851840206,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2162688004,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":49286708813889536,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2188115968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552092160,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419914623203279010,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.WARNING: Large IO value detected {"io_id":26,"raw_value":9288674232107012,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,166,85,24,241,157,16,130,58,45,64,126,7,23,10,66,54,127,6,50,1,240,227,212,211,4,113,205,15,19,175,96,239,47,2,17,5,192,26],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-04-28 19:15:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504517606259949568,"timestamp_seconds":504517606259949.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 19:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:15: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-04-28 19:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010282240001,"66":12472,"166":206,"85":15104,"24":18,"16":76986468442046464,"45":-9099100809613938688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-04-28 19:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010282240001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:15:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-28 19:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76986468442046464,"km_value":76986468442046.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099100809613938688,"description":"Unknown IO ID 45"} 
[2026-04-28 19:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010282240001,"power":12472,"unknown_166":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9099100809613938688}} 
[2026-04-28 19:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":56902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:15:23] local.INFO: GPS data processed {"connection_id":56902,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:15:23] local.INFO: Acknowledgment sent {"connection_id":56902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:15:23] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:23] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:15:23] local.INFO: IMEI packet received {"connection_id":56697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":56697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:15:24] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:24] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:24] local.INFO: Packet analysis {"connection_id":56697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:15:24] local.INFO: Extracted packet for processing {"connection_id":56697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:24] 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-04-28 19:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:15:24] 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-04-28 19:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:15:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":56697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:15:24] local.INFO: GPS data processed {"connection_id":56697,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:15:24] local.INFO: Acknowledgment sent {"connection_id":56697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:15:29] local.INFO: TCP Data received {"connection_id":56697,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:29] local.INFO: Processing buffer {"connection_id":56697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:15:29] local.INFO: Packet analysis {"connection_id":56697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:15:29] local.INFO: Extracted packet for processing {"connection_id":56697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:29] 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-04-28 19:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:15:29] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:15: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-04-28 19: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-04-28 19:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:15: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-04-28 19:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:15:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":56697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:15:29] local.INFO: GPS data processed {"connection_id":56697,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:15:29] local.INFO: Acknowledgment sent {"connection_id":56697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:15:30] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4549fe8012d7c8cc005d904300000016220..."} 
[2026-04-28 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4549fe8012d7c8cc005d904300000016220..."} 
[2026-04-28 19:15:30] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4549fe8012d7c8cc005d904300000016220..."} 
[2026-04-28 19:15:30] local.INFO: Packet analysis {"connection_id":56937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:15:30] local.INFO: Extracted packet for processing {"connection_id":56937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763137216,"raw_latitude":98108464,"longitude_deg":76.3137216,"latitude_deg":9.8108464,"altitude":0,"angle":354,"satellites":32,"speed":42,"hex_longitude":"2d7c8cc0","hex_latitude":"05d90430","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010252800001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282494563292020736,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975744451207016448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:15:30] 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-04-28 19:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777383809000,"timestamp_ms":1777383809000,"timestamp_seconds":1777383809,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4549fe8"} 
[2026-04-28 19:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:15:30] 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-04-28 19: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-04-28 19:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010252800001,"66":27343,"197":206,"85":15104,"24":42,"16":282494563292020736,"45":8975744451207016448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-28 19:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010252800001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:15:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282494563292020736,"km_value":282494563292020.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975744451207016448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010252800001,"power":27343,"unknown_197":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8975744451207016448}} 
[2026-04-28 19:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":56937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:15:30] local.INFO: GPS data processed {"connection_id":56937,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:15:30] local.INFO: Acknowledgment sent {"connection_id":56937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:15:44] local.INFO: TCP Data received {"connection_id":56903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:44] local.INFO: Processing buffer {"connection_id":56903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:44] local.INFO: IMEI packet received {"connection_id":56903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":56903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:15:46] local.INFO: TCP Data received {"connection_id":56903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:46] local.INFO: Processing buffer {"connection_id":56903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:46] local.INFO: IMEI packet received {"connection_id":56903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":56903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:15:47] local.INFO: TCP Data received {"connection_id":56903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: Processing buffer {"connection_id":56903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: IMEI packet received {"connection_id":56903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":56903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:15:47] local.INFO: TCP Data received {"connection_id":56903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: Processing buffer {"connection_id":56903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:15:47] local.INFO: IMEI packet received {"connection_id":56903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":56903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:15:54] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:54] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:54] local.INFO: IMEI packet received {"connection_id":57612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":57612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:15:58] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:58] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:15:58] local.INFO: IMEI packet received {"connection_id":57612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":57612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:16:03] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:03] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:03] local.INFO: IMEI packet received {"connection_id":57612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":57612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:16:03] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd454c310012d7c888005d928d80000016222..."} 
[2026-04-28 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd454c310012d7c888005d928d80000016222..."} 
[2026-04-28 19:16:03] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd454c310012d7c888005d928d80000016222..."} 
[2026-04-28 19:16:03] local.INFO: Packet analysis {"connection_id":57612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:16:03] local.INFO: Extracted packet for processing {"connection_id":57612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98117848,"longitude_deg":76.3136128,"latitude_deg":9.8117848,"altitude":0,"angle":354,"satellites":34,"speed":41,"hex_longitude":"2d7c8880","hex_latitude":"05d928d8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010255104001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282495018558554112,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974759288790855680,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777383818000,"timestamp_ms":1777383818000,"timestamp_seconds":1777383818,"priority":1,"record_length":96,"hex_timestamp":"0000019dd454c310"} 
[2026-04-28 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010255104001,"66":27484,"244":206,"85":15104,"24":41,"16":282495018558554112,"45":8974759288790855680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-28 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010255104001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-28 19:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282495018558554112,"km_value":282495018558554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974759288790855680,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010255104001,"power":27484,"unknown_244":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8974759288790855680}} 
[2026-04-28 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":57612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:03] local.INFO: GPS data processed {"connection_id":57612,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:03] local.INFO: Acknowledgment sent {"connection_id":57612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:16:04] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd454ea20012d7c850005d94e280000016024..."} 
[2026-04-28 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd454ea20012d7c850005d94e280000016024..."} 
[2026-04-28 19:16:04] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd454ea20012d7c850005d94e280000016024..."} 
[2026-04-28 19:16:04] local.INFO: Packet analysis {"connection_id":57612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:16:04] local.INFO: Extracted packet for processing {"connection_id":57612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd454"} 
[2026-04-28 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763135232,"raw_latitude":98127400,"longitude_deg":76.3135232,"latitude_deg":9.81274,"altitude":0,"angle":352,"satellites":36,"speed":29,"hex_longitude":"2d7c8500","hex_latitude":"05d94e28","is_valid_coordinates":true} 
[2026-04-28 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010257408001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282495486709989376,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020142237696,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777383828000,"timestamp_ms":1777383828000,"timestamp_seconds":1777383828,"priority":1,"record_length":96,"hex_timestamp":"0000019dd454ea20"} 
[2026-04-28 19:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:04] 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-04-28 19:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010257408001,"66":27343,"244":206,"85":15104,"24":29,"16":282495486709989376,"45":8973563020142237696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-28 19:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010257408001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:04] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-28 19:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282495486709989376,"km_value":282495486709989.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020142237696,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010257408001,"power":27343,"unknown_244":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8973563020142237696}} 
[2026-04-28 19:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":57612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:04] local.INFO: GPS data processed {"connection_id":57612,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:04] local.INFO: Acknowledgment sent {"connection_id":57612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:16:08] local.INFO: TCP Data received {"connection_id":57613,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:08] local.INFO: Processing buffer {"connection_id":57613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:08] local.INFO: IMEI packet received {"connection_id":57613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":57613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:16:15] local.INFO: TCP Data received {"connection_id":57613,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:15] local.INFO: Processing buffer {"connection_id":57613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:16:15] local.INFO: IMEI packet received {"connection_id":57613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":57613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:16:15] local.INFO: TCP Data received {"connection_id":57613,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:15] local.INFO: Processing buffer {"connection_id":57613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:15] local.INFO: Packet analysis {"connection_id":57613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:15] local.INFO: Extracted packet for processing {"connection_id":57613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:15] 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-04-28 19:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16:15] 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-04-28 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":57613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:16] local.INFO: GPS data processed {"connection_id":57613,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:16] local.INFO: Acknowledgment sent {"connection_id":57613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:16:35] local.INFO: TCP Data received {"connection_id":57612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4552c88012d7c818005d972080000016024..."} 
[2026-04-28 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4552c88012d7c818005d972080000016024..."} 
[2026-04-28 19:16:35] local.INFO: Processing buffer {"connection_id":57612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4552c88012d7c818005d972080000016024..."} 
[2026-04-28 19:16:35] local.INFO: Packet analysis {"connection_id":57612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:35] local.INFO: Extracted packet for processing {"connection_id":57612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763134336,"raw_latitude":98136584,"longitude_deg":76.3134336,"latitude_deg":9.8136584,"altitude":0,"angle":352,"satellites":36,"speed":15,"hex_longitude":"2d7c8180","hex_latitude":"05d97208","is_valid_coordinates":true} 
[2026-04-28 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010259968001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282495933386588160,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577857726195712,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777383845000,"timestamp_ms":1777383845000,"timestamp_seconds":1777383845,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4552c88"} 
[2026-04-28 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:35] 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-04-28 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010259968001,"66":27463,"244":206,"85":15104,"24":15,"16":282495933386588160,"45":8972577857726195712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-28 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010259968001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-28 19:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282495933386588160,"km_value":282495933386588.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577857726195712,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010259968001,"power":27463,"unknown_244":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8972577857726195712}} 
[2026-04-28 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":57612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:35] local.INFO: GPS data processed {"connection_id":57612,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:35] local.INFO: Acknowledgment sent {"connection_id":57612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:16:47] local.INFO: TCP Data received {"connection_id":57613,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:47] local.INFO: Processing buffer {"connection_id":57613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:16:47] local.INFO: Packet analysis {"connection_id":57613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:47] local.INFO: Extracted packet for processing {"connection_id":57613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16:47] 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-04-28 19:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:16:47] 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-04-28 19:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":57613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:47] local.INFO: GPS data processed {"connection_id":57613,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:47] local.INFO: Acknowledgment sent {"connection_id":57613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:16:53] local.INFO: TCP Data received {"connection_id":56700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:53] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:53] local.INFO: IMEI packet received {"connection_id":56700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":56700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:16:56] local.INFO: TCP Data received {"connection_id":56700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:56] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:16:56] local.INFO: IMEI packet received {"connection_id":56700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":56700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:16:57] local.INFO: TCP Data received {"connection_id":56700,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd456f978012d7c220005dafb000000015b20..."} 
[2026-04-28 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd456f978012d7c220005dafb000000015b20..."} 
[2026-04-28 19:16:57] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd456f978012d7c220005dafb000000015b20..."} 
[2026-04-28 19:16:57] local.INFO: Packet analysis {"connection_id":56700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd456"} 
[2026-04-28 19:16:57] local.INFO: Extracted packet for processing {"connection_id":56700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd456"} 
[2026-04-28 19:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98237184,"longitude_deg":76.3109888,"latitude_deg":9.8237184,"altitude":0,"angle":347,"satellites":32,"speed":33,"hex_longitude":"2d7c2200","hex_latitude":"05dafb00","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010291712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282500971383226368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947315478592196608,"note":"Value kept but may cause issues"} 
[2026-04-28 19:16:57] 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-04-28 19:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383963000,"timestamp_ms":1777383963000,"timestamp_seconds":1777383963,"priority":1,"record_length":96,"hex_timestamp":"0000019dd456f978"} 
[2026-04-28 19:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:16: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:16:57] 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-04-28 19:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010291712001,"66":27332,"186":206,"85":15104,"24":33,"16":282500971383226368,"45":8947315478592196608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-04-28 19:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010291712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:16:57] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-28 19:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282500971383226368,"km_value":282500971383226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947315478592196608,"description":"Unknown IO ID 45"} 
[2026-04-28 19:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010291712001,"power":27332,"unknown_186":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8947315478592196608}} 
[2026-04-28 19:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":56700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:16:57] local.INFO: GPS data processed {"connection_id":56700,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:16:57] local.INFO: Acknowledgment sent {"connection_id":56700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:17:08] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:08] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:08] local.INFO: IMEI packet received {"connection_id":56701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":56701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:17:13] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:13] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:17:13] local.INFO: IMEI packet received {"connection_id":56701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:17:14] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:14] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:14] local.INFO: Packet analysis {"connection_id":56701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:17:14] local.INFO: Extracted packet for processing {"connection_id":56701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:17:14] 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-04-28 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:17:14] 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-04-28 19:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:17:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":56701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:17:14] local.INFO: GPS data processed {"connection_id":56701,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:17:14] local.INFO: Acknowledgment sent {"connection_id":56701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:17:28] local.INFO: TCP Data received {"connection_id":56700,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4572088012d7c19c005db1f580000015a23..."} 
[2026-04-28 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4572088012d7c19c005db1f580000015a23..."} 
[2026-04-28 19:17:28] local.INFO: Processing buffer {"connection_id":56700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4572088012d7c19c005db1f580000015a23..."} 
[2026-04-28 19:17:28] local.INFO: Packet analysis {"connection_id":56700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd457"} 
[2026-04-28 19:17:28] local.INFO: Extracted packet for processing {"connection_id":56700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd457"} 
[2026-04-28 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":98246488,"longitude_deg":76.3107776,"latitude_deg":9.8246488,"altitude":0,"angle":346,"satellites":35,"speed":42,"hex_longitude":"2d7c19c0","hex_latitude":"05db1f58","is_valid_coordinates":true} 
[2026-04-28 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010294528001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282501435239694336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835059945472,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:28] 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-04-28 19:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777383973000,"timestamp_ms":1777383973000,"timestamp_seconds":1777383973,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4572088"} 
[2026-04-28 19:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:17: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-04-28 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010294528001,"66":27310,"168":206,"85":15104,"24":42,"16":282501435239694336,"45":8944711835059945472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-28 19:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010294528001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:17:28] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-28 19:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282501435239694336,"km_value":282501435239694.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835059945472,"description":"Unknown IO ID 45"} 
[2026-04-28 19:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010294528001,"power":27310,"unknown_168":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8944711835059945472}} 
[2026-04-28 19:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":56700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:17:28] local.INFO: GPS data processed {"connection_id":56700,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:17:28] local.INFO: Acknowledgment sent {"connection_id":56700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:17:46] local.INFO: TCP Data received {"connection_id":56701,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:46] local.INFO: Processing buffer {"connection_id":56701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:17:46] local.INFO: Packet analysis {"connection_id":56701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:17:46] local.INFO: Extracted packet for processing {"connection_id":56701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 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-04-28 19:17: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:17:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":56701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:17:46] local.INFO: GPS data processed {"connection_id":56701,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:17:46] local.INFO: Acknowledgment sent {"connection_id":56701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:17:53] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:53] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:53] local.INFO: IMEI packet received {"connection_id":56939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":56939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:17:56] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:56] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:17:56] local.INFO: IMEI packet received {"connection_id":56939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":56939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:17:57] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4573fc8012d7c114005db41c80000015a23..."} 
[2026-04-28 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4573fc8012d7c114005db41c80000015a23..."} 
[2026-04-28 19:17:57] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4573fc8012d7c114005db41c80000015a23..."} 
[2026-04-28 19:17:57] local.INFO: Packet analysis {"connection_id":56939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd457"} 
[2026-04-28 19:17:57] local.INFO: Extracted packet for processing {"connection_id":56939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd457"} 
[2026-04-28 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98255304,"longitude_deg":76.31056,"latitude_deg":9.8255304,"altitude":0,"angle":346,"satellites":35,"speed":46,"hex_longitude":"2d7c1140","hex_latitude":"05db41c8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010297088001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282501873326358528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666504464384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:17:57] 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-04-28 19:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777383981000,"timestamp_ms":1777383981000,"timestamp_seconds":1777383981,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4573fc8"} 
[2026-04-28 19:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 19:17:57] 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-04-28 19: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-04-28 19:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:17:57] 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-04-28 19:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010297088001,"66":27365,"168":206,"85":15104,"24":46,"16":282501873326358528,"45":8942389666504464384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-28 19:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010297088001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:17:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-28 19:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282501873326358528,"km_value":282501873326358.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666504464384,"description":"Unknown IO ID 45"} 
[2026-04-28 19:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010297088001,"power":27365,"unknown_168":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8942389666504464384}} 
[2026-04-28 19:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":56939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:17:57] local.INFO: GPS data processed {"connection_id":56939,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:17:57] local.INFO: Acknowledgment sent {"connection_id":56939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:18:08] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:08] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:08] local.INFO: IMEI packet received {"connection_id":56940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":56940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:18:13] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:13] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:18:13] local.INFO: IMEI packet received {"connection_id":56940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":56940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:18:14] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:14] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:14] local.INFO: Packet analysis {"connection_id":56940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:18:14] local.INFO: Extracted packet for processing {"connection_id":56940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:18:14] 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-04-28 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:18:14] 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-04-28 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:18:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":56940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:18:14] local.INFO: GPS data processed {"connection_id":56940,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:18:14] local.INFO: Acknowledgment sent {"connection_id":56940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:18:29] local.INFO: TCP Data received {"connection_id":56939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4586c90012d7be88005dc6d880000001027..."} 
[2026-04-28 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4586c90012d7be88005dc6d880000001027..."} 
[2026-04-28 19:18:29] local.INFO: Processing buffer {"connection_id":56939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4586c90012d7be88005dc6d880000001027..."} 
[2026-04-28 19:18:29] local.INFO: Packet analysis {"connection_id":56939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:18:29] local.INFO: Extracted packet for processing {"connection_id":56939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763095168,"raw_latitude":98332040,"longitude_deg":76.3095168,"latitude_deg":9.833204,"altitude":0,"angle":16,"satellites":39,"speed":14,"hex_longitude":"2d7be880","hex_latitude":"05dc6d88","is_valid_coordinates":true} 
[2026-04-28 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010318336001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282505657192546304,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928175180202344448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:29] 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-04-28 19:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384058000,"timestamp_ms":1777384058000,"timestamp_seconds":1777384058,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4586c90"} 
[2026-04-28 19:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:18: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-04-28 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010318336001,"66":27332,"168":206,"85":15104,"24":14,"16":282505657192546304,"45":8928175180202344448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-28 19:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010318336001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:18:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-28 19:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282505657192546304,"km_value":282505657192546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928175180202344448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010318336001,"power":27332,"unknown_168":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8928175180202344448}} 
[2026-04-28 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":56939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:18:29] local.INFO: GPS data processed {"connection_id":56939,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:18:29] local.INFO: Acknowledgment sent {"connection_id":56939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:18:45] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:45] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:18:45] local.INFO: Packet analysis {"connection_id":56940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:18:45] local.INFO: Extracted packet for processing {"connection_id":56940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 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-04-28 19:18: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:18:45] 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-04-28 19:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:18:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":56940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:18:45] local.INFO: GPS data processed {"connection_id":56940,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:18:45] local.INFO: Acknowledgment sent {"connection_id":56940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:18:53] local.INFO: TCP Data received {"connection_id":57616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:53] local.INFO: Processing buffer {"connection_id":57616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:53] local.INFO: IMEI packet received {"connection_id":57616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":57616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:18:58] local.INFO: TCP Data received {"connection_id":57616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:58] local.INFO: Processing buffer {"connection_id":57616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:18:58] local.INFO: IMEI packet received {"connection_id":57616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":57616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:18:58] local.INFO: TCP Data received {"connection_id":57616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4587460012d7be90005dc70a80000016523..."} 
[2026-04-28 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4587460012d7be90005dc70a80000016523..."} 
[2026-04-28 19:18:58] local.INFO: Processing buffer {"connection_id":57616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4587460012d7be90005dc70a80000016523..."} 
[2026-04-28 19:18:58] local.INFO: Packet analysis {"connection_id":57616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:18:58] local.INFO: Extracted packet for processing {"connection_id":57616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763095296,"raw_latitude":98332840,"longitude_deg":76.3095296,"latitude_deg":9.833284,"altitude":0,"angle":357,"satellites":35,"speed":18,"hex_longitude":"2d7be900","hex_latitude":"05dc70a8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010318848001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282505695847251968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928527023923365888,"note":"Value kept but may cause issues"} 
[2026-04-28 19:18:58] 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-04-28 19:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384060000,"timestamp_ms":1777384060000,"timestamp_seconds":1777384060,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4587460"} 
[2026-04-28 19:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:18: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-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010318848001,"66":27397,"168":206,"85":15104,"24":18,"16":282505695847251968,"45":8928527023923365888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-28 19:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010318848001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:18:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-28 19:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282505695847251968,"km_value":282505695847251.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928527023923365888,"description":"Unknown IO ID 45"} 
[2026-04-28 19:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010318848001,"power":27397,"unknown_168":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8928527023923365888}} 
[2026-04-28 19:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":57616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:18:58] local.INFO: GPS data processed {"connection_id":57616,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:18:58] local.INFO: Acknowledgment sent {"connection_id":57616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:19:19] local.INFO: TCP Data received {"connection_id":57617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:19] local.INFO: Processing buffer {"connection_id":57617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:19] local.INFO: IMEI packet received {"connection_id":57617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":57617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:19:23] local.INFO: TCP Data received {"connection_id":57617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:23] local.INFO: Processing buffer {"connection_id":57617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:19:23] local.INFO: IMEI packet received {"connection_id":57617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":57617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:19:24] local.INFO: TCP Data received {"connection_id":57617,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:19:24] local.INFO: Processing buffer {"connection_id":57617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4554010012d196540071ff0280042013226..."} 
[2026-04-28 19:19:24] local.INFO: Packet analysis {"connection_id":57617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:19:24] local.INFO: Extracted packet for processing {"connection_id":57617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd455"} 
[2026-04-28 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010188544001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:24] 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-04-28 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777383850000,"timestamp_ms":1777383850000,"timestamp_seconds":1777383850,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4554010"} 
[2026-04-28 19:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:19:24] 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-04-28 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010188544001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010188544001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:19:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010188544001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":57617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:19:24] local.INFO: GPS data processed {"connection_id":57617,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:19:24] local.INFO: Acknowledgment sent {"connection_id":57617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:19:30] local.INFO: TCP Data received {"connection_id":57616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd458aef8012d7be88005dc95c80001000224..."} 
[2026-04-28 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd458aef8012d7be88005dc95c80001000224..."} 
[2026-04-28 19:19:30] local.INFO: Processing buffer {"connection_id":57616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd458aef8012d7be88005dc95c80001000224..."} 
[2026-04-28 19:19:30] local.INFO: Packet analysis {"connection_id":57616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:19:30] local.INFO: Extracted packet for processing {"connection_id":57616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763095168,"raw_latitude":98342344,"longitude_deg":76.3095168,"latitude_deg":9.8342344,"altitude":1,"angle":2,"satellites":36,"speed":26,"hex_longitude":"2d7be880","hex_latitude":"05dc95c8","is_valid_coordinates":true} 
[2026-04-28 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010319360001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282506155408752640,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928667761411926016,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:30] 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-04-28 19:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384075000,"timestamp_ms":1777384075000,"timestamp_seconds":1777384075,"priority":1,"record_length":96,"hex_timestamp":"0000019dd458aef8"} 
[2026-04-28 19:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010319360001,"66":27376,"168":206,"85":15104,"24":26,"16":282506155408752640,"45":8928667761411926016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-28 19:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010319360001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:19:30] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-28 19:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282506155408752640,"km_value":282506155408752.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928667761411926016,"description":"Unknown IO ID 45"} 
[2026-04-28 19:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010319360001,"power":27376,"unknown_168":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8928667761411926016}} 
[2026-04-28 19:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":57616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:19:30] local.INFO: GPS data processed {"connection_id":57616,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:19:30] local.INFO: Acknowledgment sent {"connection_id":57616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:19:53] local.INFO: TCP Data received {"connection_id":56905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:53] local.INFO: Processing buffer {"connection_id":56905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:53] local.INFO: IMEI packet received {"connection_id":56905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:19:58] local.INFO: TCP Data received {"connection_id":56905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:58] local.INFO: Processing buffer {"connection_id":56905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:19:58] local.INFO: IMEI packet received {"connection_id":56905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":56905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:19:59] local.INFO: TCP Data received {"connection_id":56905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd458e990012d7be84005dcbc780001016525..."} 
[2026-04-28 19:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd458e990012d7be84005dcbc780001016525..."} 
[2026-04-28 19:19:59] local.INFO: Processing buffer {"connection_id":56905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd458e990012d7be84005dcbc780001016525..."} 
[2026-04-28 19:19:59] local.INFO: Packet analysis {"connection_id":56905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:19:59] local.INFO: Extracted packet for processing {"connection_id":56905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd458"} 
[2026-04-28 19:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98352248,"longitude_deg":76.3095104,"latitude_deg":9.8352248,"altitude":1,"angle":357,"satellites":37,"speed":24,"hex_longitude":"2d7be840","hex_latitude":"05dcbc78","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010323200001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282506636445089792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928527023926003712,"note":"Value kept but may cause issues"} 
[2026-04-28 19:19: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-04-28 19:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777384090000,"timestamp_ms":1777384090000,"timestamp_seconds":1777384090,"priority":1,"record_length":96,"hex_timestamp":"0000019dd458e990"} 
[2026-04-28 19:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:19: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010323200001,"66":27321,"169":206,"85":15104,"24":24,"16":282506636445089792,"45":8928527023926003712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 19:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010323200001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:19:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 19:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282506636445089792,"km_value":282506636445089.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928527023926003712,"description":"Unknown IO ID 45"} 
[2026-04-28 19:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010323200001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8928527023926003712}} 
[2026-04-28 19:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":56905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:19:59] local.INFO: GPS data processed {"connection_id":56905,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:19:59] local.INFO: Acknowledgment sent {"connection_id":56905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:20:04] local.INFO: TCP Data received {"connection_id":57618,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:04] local.INFO: Processing buffer {"connection_id":57618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:04] local.INFO: IMEI packet received {"connection_id":57618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":57618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:20:08] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:08] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:08] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:20:13] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:13] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:13] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:20:19] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:19] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:19] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:20:23] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:23] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:20:23] local.INFO: IMEI packet received {"connection_id":56702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":56702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:20:24] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:24] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:24] local.INFO: Packet analysis {"connection_id":56702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:24] local.INFO: Extracted packet for processing {"connection_id":56702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:20:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":56702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:20:24] local.INFO: GPS data processed {"connection_id":56702,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:20:24] local.INFO: Acknowledgment sent {"connection_id":56702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:20:29] local.INFO: TCP Data received {"connection_id":56702,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:29] local.INFO: Processing buffer {"connection_id":56702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:20:29] local.INFO: Packet analysis {"connection_id":56702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:29] local.INFO: Extracted packet for processing {"connection_id":56702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20: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-04-28 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:20:29] 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-04-28 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19: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-04-28 19:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:20: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-04-28 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:20:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":56702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:20:29] local.INFO: GPS data processed {"connection_id":56702,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:20:29] local.INFO: Acknowledgment sent {"connection_id":56702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:20:30] local.INFO: TCP Data received {"connection_id":56905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4591c58012d7be80005dcdfc80002016623..."} 
[2026-04-28 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4591c58012d7be80005dcdfc80002016623..."} 
[2026-04-28 19:20:30] local.INFO: Processing buffer {"connection_id":56905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4591c58012d7be80005dcdfc80002016623..."} 
[2026-04-28 19:20:30] local.INFO: Packet analysis {"connection_id":56905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:30] local.INFO: Extracted packet for processing {"connection_id":56905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":98361288,"longitude_deg":76.309504,"latitude_deg":9.8361288,"altitude":2,"angle":358,"satellites":35,"speed":29,"hex_longitude":"2d7be800","hex_latitude":"05dcdfc8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010327040001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282507074531753984,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655184361472,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384103000,"timestamp_ms":1777384103000,"timestamp_seconds":1777384103,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4591c58"} 
[2026-04-28 19:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010327040001,"66":26930,"169":206,"85":15104,"24":29,"16":282507074531753984,"45":8928456655184361472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 19:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010327040001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:20:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 19:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282507074531753984,"km_value":282507074531754.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655184361472,"description":"Unknown IO ID 45"} 
[2026-04-28 19:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010327040001,"power":26930,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8928456655184361472}} 
[2026-04-28 19:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":56905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:20:30] local.INFO: GPS data processed {"connection_id":56905,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:20:30] local.INFO: Acknowledgment sent {"connection_id":56905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:20:34] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:34] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:20:34] local.INFO: IMEI packet received {"connection_id":56906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":56906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:20:51] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:51] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:51] local.INFO: IMEI packet received {"connection_id":56943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":56943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:20:52] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:52] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:52] local.INFO: IMEI packet received {"connection_id":56944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":56944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:20:56] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:56] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:20:56] local.INFO: IMEI packet received {"connection_id":56943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":56943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:20:57] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45a02d0012d82984005d1e170000a00b21c..."} 
[2026-04-28 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45a02d0012d82984005d1e170000a00b21c..."} 
[2026-04-28 19:20:57] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45a02d0012d82984005d1e170000a00b21c..."} 
[2026-04-28 19:20:57] local.INFO: Packet analysis {"connection_id":56943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45a"} 
[2026-04-28 19:20:57] local.INFO: Extracted packet for processing {"connection_id":56943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45a"} 
[2026-04-28 19:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763533376,"raw_latitude":97640816,"longitude_deg":76.3533376,"latitude_deg":9.7640816,"altitude":10,"angle":178,"satellites":28,"speed":31,"hex_longitude":"2d829840","hex_latitude":"05d1e170","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342400001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76993958865010688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839785498624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384162000,"timestamp_ms":1777384162000,"timestamp_seconds":1777384162,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45a02d0"} 
[2026-04-28 19:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:20:57] 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-04-28 19: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 19:20:57] 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-04-28 19:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:20:57] 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-04-28 19:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342400001,"66":12298,"221":206,"85":15104,"24":31,"16":76993958865010688,"45":-9036894839785498624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-04-28 19:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342400001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:20:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-28 19:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76993958865010688,"km_value":76993958865010.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839785498624,"description":"Unknown IO ID 45"} 
[2026-04-28 19:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342400001,"power":12298,"unknown_221":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9036894839785498624}} 
[2026-04-28 19:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":56943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:20:57] local.INFO: GPS data processed {"connection_id":56943,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:20:57] local.INFO: Acknowledgment sent {"connection_id":56943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:20:59] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:59] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:20:59] local.INFO: IMEI packet received {"connection_id":56944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":56944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:00] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4594b38012d7be54005dd04080002016522..."} 
[2026-04-28 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4594b38012d7be54005dd04080002016522..."} 
[2026-04-28 19:21:00] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4594b38012d7be54005dd04080002016522..."} 
[2026-04-28 19:21:00] local.INFO: Packet analysis {"connection_id":56944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:00] local.INFO: Extracted packet for processing {"connection_id":56944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98370568,"longitude_deg":76.3094336,"latitude_deg":9.8370568,"altitude":2,"angle":357,"satellites":34,"speed":29,"hex_longitude":"2d7be540","hex_latitude":"05dd0408","is_valid_coordinates":true} 
[2026-04-28 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010330368001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282507525503320064,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286442498048,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777384115000,"timestamp_ms":1777384115000,"timestamp_seconds":1777384115,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4594b38"} 
[2026-04-28 19:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010330368001,"66":27484,"169":206,"85":15104,"24":29,"16":282507525503320064,"45":8928386286442498048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 19:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010330368001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 19:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282507525503320064,"km_value":282507525503320.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286442498048,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010330368001,"power":27484,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8928386286442498048}} 
[2026-04-28 19:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":56944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:00] local.INFO: GPS data processed {"connection_id":56944,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:00] local.INFO: Acknowledgment sent {"connection_id":56944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:08] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:08] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:08] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:21:14] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:14] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:21:14] local.INFO: IMEI packet received {"connection_id":56907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":56907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:15] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:15] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:15] local.INFO: Packet analysis {"connection_id":56907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:15] local.INFO: Extracted packet for processing {"connection_id":56907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21:15] 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-04-28 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":56907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:15] local.INFO: GPS data processed {"connection_id":56907,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:15] local.INFO: Acknowledgment sent {"connection_id":56907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:28] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45b6a30012d829fc005d0efe8001000b61c..."} 
[2026-04-28 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45b6a30012d829fc005d0efe8001000b61c..."} 
[2026-04-28 19:21:28] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45b6a30012d829fc005d0efe8001000b61c..."} 
[2026-04-28 19:21:28] local.INFO: Packet analysis {"connection_id":56943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:21:28] local.INFO: Extracted packet for processing {"connection_id":56943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":97578984,"longitude_deg":76.3535296,"latitude_deg":9.7578984,"altitude":16,"angle":182,"satellites":28,"speed":24,"hex_longitude":"2d829fc0","hex_latitude":"05d0efe8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010365696001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76997025471660032,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033094927615752192,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777384254000,"timestamp_ms":1777384254000,"timestamp_seconds":1777384254,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45b6a30"} 
[2026-04-28 19:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:21: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-04-28 19: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-04-28 19:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:21:28] 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-04-28 19:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010365696001,"66":12461,"64":206,"85":15104,"24":24,"16":76997025471660032,"45":-9033094927615752192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010365696001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:28] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76997025471660032,"km_value":76997025471660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033094927615752192,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010365696001,"power":12461,"unknown_64":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9033094927615752192}} 
[2026-04-28 19:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":56943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:28] local.INFO: GPS data processed {"connection_id":56943,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:28] local.INFO: Acknowledgment sent {"connection_id":56943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:31] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45981e8012d7be20005dd28000004016227..."} 
[2026-04-28 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45981e8012d7be20005dd28000004016227..."} 
[2026-04-28 19:21:31] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45981e8012d7be20005dd28000004016227..."} 
[2026-04-28 19:21:31] local.INFO: Packet analysis {"connection_id":56944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:31] local.INFO: Extracted packet for processing {"connection_id":56944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":98379776,"longitude_deg":76.3093504,"latitude_deg":9.8379776,"altitude":4,"angle":354,"satellites":39,"speed":23,"hex_longitude":"2d7be200","hex_latitude":"05dd2800","is_valid_coordinates":true} 
[2026-04-28 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010333440001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282507976474886144,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230258919424,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:31] 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-04-28 19:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777384129000,"timestamp_ms":1777384129000,"timestamp_seconds":1777384129,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45981e8"} 
[2026-04-28 19:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010333440001,"66":27376,"169":206,"85":15104,"24":23,"16":282507976474886144,"45":8927612230258919424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 19:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010333440001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 19:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282507976474886144,"km_value":282507976474886.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230258919424,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010333440001,"power":27376,"unknown_169":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8927612230258919424}} 
[2026-04-28 19:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":56944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:31] local.INFO: GPS data processed {"connection_id":56944,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:31] local.INFO: Acknowledgment sent {"connection_id":56944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:47] local.INFO: TCP Data received {"connection_id":56907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:47] local.INFO: Processing buffer {"connection_id":56907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:21:47] local.INFO: Packet analysis {"connection_id":56907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:47] local.INFO: Extracted packet for processing {"connection_id":56907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21:47] 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-04-28 19:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:21:47] 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-04-28 19:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":56907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:47] local.INFO: GPS data processed {"connection_id":56907,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:47] local.INFO: Acknowledgment sent {"connection_id":56907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:47] local.INFO: TCP Data received {"connection_id":56703,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:21:47] local.INFO: TCP Data received {"connection_id":56703,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:47] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:52] local.INFO: TCP Data received {"connection_id":56703,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:52] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:21:52] local.INFO: IMEI packet received {"connection_id":56703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":56703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:52] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:52] local.INFO: TCP Data received {"connection_id":56703,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45b9910012d829d0005d0cca0001200b81c..."} 
[2026-04-28 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:52] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:52] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45b9910012d829d0005d0cca0001200b81c..."} 
[2026-04-28 19:21:52] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45b9910012d829d0005d0cca0001200b81c..."} 
[2026-04-28 19:21:52] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:21:52] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763534592,"raw_latitude":97569952,"longitude_deg":76.3534592,"latitude_deg":9.7569952,"altitude":18,"angle":184,"satellites":28,"speed":31,"hex_longitude":"2d829d00","hex_latitude":"05d0cca0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010369024001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76997467853291520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196269172736,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384266000,"timestamp_ms":1777384266000,"timestamp_seconds":1777384266,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45b9910"} 
[2026-04-28 19:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21: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-04-28 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:21: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-04-28 19:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010369024001,"66":12298,"64":206,"85":15104,"24":31,"16":76997467853291520,"45":-9034291196269172736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010369024001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:52] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76997467853291520,"km_value":76997467853291.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196269172736,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010369024001,"power":12298,"unknown_64":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9034291196269172736}} 
[2026-04-28 19:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:52] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:52] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:21:53] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:53] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:53] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:58] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:58] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:21:58] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:21:58] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d3f0012d7bdd8005dd4b180004016024..."} 
[2026-04-28 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d3f0012d7bdd8005dd4b180004016024..."} 
[2026-04-28 19:21:58] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d3f0012d7bdd8005dd4b180004016024..."} 
[2026-04-28 19:21:58] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:58] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98388760,"longitude_deg":76.3092352,"latitude_deg":9.838876,"altitude":4,"angle":352,"satellites":36,"speed":14,"hex_longitude":"2d7bdd80","hex_latitude":"05dd4b18","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010337024001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282508414561550336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697436586967040,"note":"Value kept but may cause issues"} 
[2026-04-28 19:21:58] 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-04-28 19:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384150000,"timestamp_ms":1777384150000,"timestamp_seconds":1777384150,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d3f0"} 
[2026-04-28 19:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:21: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:21:58] 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-04-28 19: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-04-28 19:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010337024001,"66":27321,"169":206,"85":15104,"24":14,"16":282508414561550336,"45":8926697436586967040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-28 19:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010337024001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:21:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-28 19:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282508414561550336,"km_value":282508414561550.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697436586967040,"description":"Unknown IO ID 45"} 
[2026-04-28 19:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010337024001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8926697436586967040}} 
[2026-04-28 19:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:21:58] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:21:58] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:08] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:08] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:08] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:22:13] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:13] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:22:13] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:22:14] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:14] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:14] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:22:14] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:14] 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-04-28 19:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22:14] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:22:14] 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-04-28 19:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:14] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:14] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:23] local.INFO: TCP Data received {"connection_id":56703,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45bc7f0012d829b0005d0a830001000ba1c..."} 
[2026-04-28 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45bc7f0012d829b0005d0a830001000ba1c..."} 
[2026-04-28 19:22:23] local.INFO: Processing buffer {"connection_id":56703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45bc7f0012d829b0005d0a830001000ba1c..."} 
[2026-04-28 19:22:23] local.INFO: Packet analysis {"connection_id":56703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:22:23] local.INFO: Extracted packet for processing {"connection_id":56703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763534080,"raw_latitude":97560624,"longitude_deg":76.353408,"latitude_deg":9.7560624,"altitude":16,"angle":186,"satellites":28,"speed":28,"hex_longitude":"2d829b00","hex_latitude":"05d0a830","is_valid_coordinates":true} 
[2026-04-28 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010372096001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76997918824857600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035065252457439232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777384278000,"timestamp_ms":1777384278000,"timestamp_seconds":1777384278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45bc7f0"} 
[2026-04-28 19:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436768473600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3144949189265489260,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191720453,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419182760776171691,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4503599628025860,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483922128404686,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":139,"raw_value":-8935141660703064063,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13477853,"corrected_to":0} 
[2026-04-28 19:22:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816278734,"corrected_to":0} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221606709,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2341273600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3510132736,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.WARNING: Large IO value detected {"io_id":9,"raw_value":44221258409181184,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,64,85,24,241,157,16,140,106,45,192,239,28,10,66,55,20,12,111,139,39,1,240,200,227,212,209,4,113,205,248,151,168,27,47,221,2,17,5,9],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":200,"original":13477853,"validated":0},{"io_id":205,"original":2816278734,"validated":0}]} 
[2026-04-28 19:22:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297239123083329536,"timestamp_seconds":1297239123083329.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 19:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:22: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-04-28 19:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010372096001,"66":12232,"64":206,"85":15104,"24":28,"16":76997918824857600,"45":-9035065252457439232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010372096001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76997918824857600,"km_value":76997918824857.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035065252457439232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010372096001,"power":12232,"unknown_64":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9035065252457439232}} 
[2026-04-28 19:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":56703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:23] local.INFO: GPS data processed {"connection_id":56703,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:23] local.INFO: Acknowledgment sent {"connection_id":56703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:29] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c6430012d7bbc8005ddf8700007014024..."} 
[2026-04-28 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c6430012d7bbc8005ddf8700007014024..."} 
[2026-04-28 19:22:29] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c6430012d7bbc8005ddf8700007014024..."} 
[2026-04-28 19:22:29] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:22:29] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98433136,"longitude_deg":76.3083904,"latitude_deg":9.8433136,"altitude":7,"angle":320,"satellites":36,"speed":7,"hex_longitude":"2d7bbc80","hex_latitude":"05ddf870","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010384128001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282510647944544256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287392309248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384318000,"timestamp_ms":1777384318000,"timestamp_seconds":1777384318,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c6430"} 
[2026-04-28 19:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010384128001,"66":27321,"50":206,"85":15104,"24":7,"16":282510647944544256,"45":8917127287392309248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010384128001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282510647944544256,"km_value":282510647944544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287392309248,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010384128001,"power":27321,"unknown_50":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8917127287392309248}} 
[2026-04-28 19:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:29] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:29] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:46] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:46] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:46] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:22:47] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:47] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:22:47] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:22:47] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22:47] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:22:47] 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-04-28 19:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:47] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:47] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:52] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:52] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:22:52] local.INFO: IMEI packet received {"connection_id":56704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":56704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:22:52] local.INFO: TCP Data received {"connection_id":57620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:52] local.INFO: Processing buffer {"connection_id":57620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:52] local.INFO: IMEI packet received {"connection_id":57620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":57620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:22:53] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45bf6d0012d82998005d08410000e00b01c..."} 
[2026-04-28 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45bf6d0012d82998005d08410000e00b01c..."} 
[2026-04-28 19:22:53] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45bf6d0012d82998005d08410000e00b01c..."} 
[2026-04-28 19:22:53] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:22:53] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45b"} 
[2026-04-28 19:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97551376,"longitude_deg":76.3533696,"latitude_deg":9.7551376,"altitude":14,"angle":176,"satellites":28,"speed":26,"hex_longitude":"2d829980","hex_latitude":"05d08410","is_valid_coordinates":true} 
[2026-04-28 19:22: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-04-28 19:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010375168001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76998369796423680,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035628202413248512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777384290000,"timestamp_ms":1777384290000,"timestamp_seconds":1777384290,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45bf6d0"} 
[2026-04-28 19:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22:53] 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-04-28 19:22: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":200,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:53] 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-04-28 19:22: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-04-28 19:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:22: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-04-28 19:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010375168001,"66":12156,"64":206,"85":15104,"24":26,"16":76998369796423680,"45":-9035628202413248512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010375168001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:22:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76998369796423680,"km_value":76998369796423.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035628202413248512,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010375168001,"power":12156,"unknown_64":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9035628202413248512}} 
[2026-04-28 19:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:53] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:53] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:22:57] local.INFO: TCP Data received {"connection_id":57620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:57] local.INFO: Processing buffer {"connection_id":57620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:22:57] local.INFO: IMEI packet received {"connection_id":57620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":57620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:22:58] local.INFO: TCP Data received {"connection_id":57620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c6818012d7bbc0005ddf9200007014e24..."} 
[2026-04-28 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c6818012d7bbc0005ddf9200007014e24..."} 
[2026-04-28 19:22:58] local.INFO: Processing buffer {"connection_id":57620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c6818012d7bbc0005ddf9200007014e24..."} 
[2026-04-28 19:22:58] local.INFO: Packet analysis {"connection_id":57620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:22:58] local.INFO: Extracted packet for processing {"connection_id":57620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98433312,"longitude_deg":76.3083776,"latitude_deg":9.8433312,"altitude":7,"angle":334,"satellites":36,"speed":10,"hex_longitude":"2d7bbc00","hex_latitude":"05ddf920","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010385408001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282510660829446144,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124973977600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384319000,"timestamp_ms":1777384319000,"timestamp_seconds":1777384319,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c6818"} 
[2026-04-28 19:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010385408001,"66":27321,"50":206,"85":15104,"24":10,"16":282510660829446144,"45":8916142124973977600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010385408001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:22:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282510660829446144,"km_value":282510660829446.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124973977600,"description":"Unknown IO ID 45"} 
[2026-04-28 19:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010385408001,"power":27321,"unknown_50":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8916142124973977600}} 
[2026-04-28 19:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":57620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:22:58] local.INFO: GPS data processed {"connection_id":57620,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:22:58] local.INFO: Acknowledgment sent {"connection_id":57620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:26] local.INFO: TCP Data received {"connection_id":57621,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:26] local.INFO: Processing buffer {"connection_id":57621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:26] local.INFO: IMEI packet received {"connection_id":57621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":57621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:23:29] local.INFO: TCP Data received {"connection_id":57620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c6fe8012d7bbb8005ddfb700007015f26..."} 
[2026-04-28 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c6fe8012d7bbb8005ddfb700007015f26..."} 
[2026-04-28 19:23:29] local.INFO: Processing buffer {"connection_id":57620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c6fe8012d7bbb8005ddfb700007015f26..."} 
[2026-04-28 19:23:29] local.INFO: Packet analysis {"connection_id":57620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:29] local.INFO: Extracted packet for processing {"connection_id":57620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763083648,"raw_latitude":98433904,"longitude_deg":76.3083648,"latitude_deg":9.8433904,"altitude":7,"angle":351,"satellites":38,"speed":13,"hex_longitude":"2d7bbb80","hex_latitude":"05ddfb70","is_valid_coordinates":true} 
[2026-04-28 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010385664001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282510686599249920,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387485667328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384321000,"timestamp_ms":1777384321000,"timestamp_seconds":1777384321,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c6fe8"} 
[2026-04-28 19:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23: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-04-28 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:23:29] 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-04-28 19:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010385664001,"66":27267,"50":206,"85":15104,"24":13,"16":282510686599249920,"45":8916001387485667328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010385664001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282510686599249920,"km_value":282510686599249.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387485667328,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010385664001,"power":27267,"unknown_50":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8916001387485667328}} 
[2026-04-28 19:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":57620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:29] local.INFO: GPS data processed {"connection_id":57620,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:29] local.INFO: Acknowledgment sent {"connection_id":57620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:34] local.INFO: TCP Data received {"connection_id":56704,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c3168012d82998005d06008000900b81c..."} 
[2026-04-28 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c3168012d82998005d06008000900b81c..."} 
[2026-04-28 19:23:34] local.INFO: Processing buffer {"connection_id":56704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c3168012d82998005d06008000900b81c..."} 
[2026-04-28 19:23:34] local.INFO: Packet analysis {"connection_id":56704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:34] local.INFO: Extracted packet for processing {"connection_id":56704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97542152,"longitude_deg":76.3533696,"latitude_deg":9.7542152,"altitude":9,"angle":184,"satellites":28,"speed":24,"hex_longitude":"2d829980","hex_latitude":"05d06008","is_valid_coordinates":true} 
[2026-04-28 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010378240001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76998816473022464,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414880681984,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777384305000,"timestamp_ms":1777384305000,"timestamp_seconds":1777384305,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c3168"} 
[2026-04-28 19:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 19:23:34] 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-04-28 19:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:23:34] 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-04-28 19:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010378240001,"66":12287,"64":206,"85":15104,"24":24,"16":76998816473022464,"45":-9036050414880681984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010378240001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76998816473022464,"km_value":76998816473022.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414880681984,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010378240001,"power":12287,"unknown_64":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9036050414880681984}} 
[2026-04-28 19:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":56704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:34] local.INFO: GPS data processed {"connection_id":56704,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:34] local.INFO: Acknowledgment sent {"connection_id":56704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:43] local.INFO: TCP Data received {"connection_id":57621,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:43] local.INFO: Processing buffer {"connection_id":57621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:23:43] local.INFO: IMEI packet received {"connection_id":57621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":57621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:23:44] local.INFO: TCP Data received {"connection_id":57621,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Processing buffer {"connection_id":57621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Packet analysis {"connection_id":57621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:23:44] local.INFO: Extracted packet for processing {"connection_id":57621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23: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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:23:44] 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-04-28 19:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":57621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:44] local.INFO: GPS data processed {"connection_id":57621,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:44] local.INFO: Acknowledgment sent {"connection_id":57621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:44] local.INFO: TCP Data received {"connection_id":57621,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Processing buffer {"connection_id":57621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:23:44] local.INFO: Packet analysis {"connection_id":57621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:23:44] local.INFO: Extracted packet for processing {"connection_id":57621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23: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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:23:44] 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-04-28 19:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":57621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:45] local.INFO: GPS data processed {"connection_id":57621,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:45] local.INFO: Acknowledgment sent {"connection_id":57621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:46] local.INFO: TCP Data received {"connection_id":56910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:46] local.INFO: Processing buffer {"connection_id":56910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:46] local.INFO: IMEI packet received {"connection_id":56910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":56910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:23:52] local.INFO: TCP Data received {"connection_id":56910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:52] local.INFO: Processing buffer {"connection_id":56910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:23:52] local.INFO: IMEI packet received {"connection_id":56910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":56910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:23:52] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:52] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:52] local.INFO: IMEI packet received {"connection_id":56911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":56911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:23:52] local.INFO: TCP Data received {"connection_id":56910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c6048012d8298c005d03d58000900b51c..."} 
[2026-04-28 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c6048012d8298c005d03d58000900b51c..."} 
[2026-04-28 19:23:52] local.INFO: Processing buffer {"connection_id":56910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c6048012d8298c005d03d58000900b51c..."} 
[2026-04-28 19:23:52] local.INFO: Packet analysis {"connection_id":56910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:52] local.INFO: Extracted packet for processing {"connection_id":56910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":97533272,"longitude_deg":76.3533504,"latitude_deg":9.7533272,"altitude":9,"angle":181,"satellites":28,"speed":31,"hex_longitude":"2d8298c0","hex_latitude":"05d03d58","is_valid_coordinates":true} 
[2026-04-28 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010382080001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76999245969752064,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414883043328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384317000,"timestamp_ms":1777384317000,"timestamp_seconds":1777384317,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c6048"} 
[2026-04-28 19:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23: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-04-28 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 19:23: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-04-28 19:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:23: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-04-28 19:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010382080001,"66":12004,"64":206,"85":15104,"24":31,"16":76999245969752064,"45":-9036050414883043328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010382080001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:52] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76999245969752064,"km_value":76999245969752.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414883043328,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010382080001,"power":12004,"unknown_64":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9036050414883043328}} 
[2026-04-28 19:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":56910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:53] local.INFO: GPS data processed {"connection_id":56910,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:53] local.INFO: Acknowledgment sent {"connection_id":56910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:23:57] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:57] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:23:57] local.INFO: IMEI packet received {"connection_id":56911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":56911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:23:58] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45caa80012d7bb2c005de1e780006015a22..."} 
[2026-04-28 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45caa80012d7bb2c005de1e780006015a22..."} 
[2026-04-28 19:23:58] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45caa80012d7bb2c005de1e780006015a22..."} 
[2026-04-28 19:23:58] local.INFO: Packet analysis {"connection_id":56911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:58] local.INFO: Extracted packet for processing {"connection_id":56911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763081408,"raw_latitude":98442872,"longitude_deg":76.3081408,"latitude_deg":9.8442872,"altitude":6,"angle":346,"satellites":34,"speed":33,"hex_longitude":"2d7bb2c0","hex_latitude":"05de1e78","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010386176001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282511137570816000,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915860649997463552,"note":"Value kept but may cause issues"} 
[2026-04-28 19:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384336000,"timestamp_ms":1777384336000,"timestamp_seconds":1777384336,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45caa80"} 
[2026-04-28 19:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:23: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-04-28 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:23: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-04-28 19: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-04-28 19:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010386176001,"66":27463,"50":206,"85":15104,"24":33,"16":282511137570816000,"45":8915860649997463552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010386176001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:23:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282511137570816000,"km_value":282511137570816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915860649997463552,"description":"Unknown IO ID 45"} 
[2026-04-28 19:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010386176001,"power":27463,"unknown_50":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8915860649997463552}} 
[2026-04-28 19:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":56911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:23:58] local.INFO: GPS data processed {"connection_id":56911,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:23:58] local.INFO: Acknowledgment sent {"connection_id":56911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:08] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:08] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:08] local.INFO: IMEI packet received {"connection_id":56946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":56946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:24:13] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:13] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:24:13] local.INFO: IMEI packet received {"connection_id":56946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":56946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:24:14] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:14] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:14] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:24:14] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:14] 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-04-28 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 19:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:24:14] 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-04-28 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:24:14] 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-04-28 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:14] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:14] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:24] local.INFO: TCP Data received {"connection_id":56910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45c8f28012d82998005d017a8000900b21c..."} 
[2026-04-28 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45c8f28012d82998005d017a8000900b21c..."} 
[2026-04-28 19:24:24] local.INFO: Processing buffer {"connection_id":56910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45c8f28012d82998005d017a8000900b21c..."} 
[2026-04-28 19:24:24] local.INFO: Packet analysis {"connection_id":56910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:24:24] local.INFO: Extracted packet for processing {"connection_id":56910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97523624,"longitude_deg":76.3533696,"latitude_deg":9.7523624,"altitude":9,"angle":178,"satellites":28,"speed":32,"hex_longitude":"2d829980","hex_latitude":"05d017a8","is_valid_coordinates":true} 
[2026-04-28 19:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010385152001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76999718416154624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521117849600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777384329000,"timestamp_ms":1777384329000,"timestamp_seconds":1777384329,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45c8f28"} 
[2026-04-28 19:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-28 19:24: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-04-28 19:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24: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-04-28 19:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010385152001,"66":12287,"64":206,"85":15104,"24":32,"16":76999718416154624,"45":-9036261521117849600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010385152001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76999718416154624,"km_value":76999718416154.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521117849600,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010385152001,"power":12287,"unknown_64":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9036261521117849600}} 
[2026-04-28 19:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":56910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:24] local.INFO: GPS data processed {"connection_id":56910,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:24] local.INFO: Acknowledgment sent {"connection_id":56910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:29] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45cd578012d7bab8005de41e00003015a20..."} 
[2026-04-28 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45cd578012d7bab8005de41e00003015a20..."} 
[2026-04-28 19:24:29] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45cd578012d7bab8005de41e00003015a20..."} 
[2026-04-28 19:24:29] local.INFO: Packet analysis {"connection_id":56911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:24:29] local.INFO: Extracted packet for processing {"connection_id":56911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763079552,"raw_latitude":98451936,"longitude_deg":76.3079552,"latitude_deg":9.8451936,"altitude":3,"angle":346,"satellites":32,"speed":35,"hex_longitude":"2d7bab80","hex_latitude":"05de41e0","is_valid_coordinates":true} 
[2026-04-28 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010390016001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282511584247414784,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913397743953541120,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384347000,"timestamp_ms":1777384347000,"timestamp_seconds":1777384347,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45cd578"} 
[2026-04-28 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:24: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-04-28 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 19:24:29] 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-04-28 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010390016001,"66":27332,"50":206,"85":15104,"24":35,"16":282511584247414784,"45":8913397743953541120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010390016001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282511584247414784,"km_value":282511584247414.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913397743953541120,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010390016001,"power":27332,"unknown_50":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8913397743953541120}} 
[2026-04-28 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":56911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:29] local.INFO: GPS data processed {"connection_id":56911,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:29] local.INFO: Acknowledgment sent {"connection_id":56911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:45] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:45] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd459d7d8012d196540071ff0280042013226..."} 
[2026-04-28 19:24:45] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:24:45] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd459"} 
[2026-04-28 19:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010265600001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:45] 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-04-28 19:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384151000,"timestamp_ms":1777384151000,"timestamp_seconds":1777384151,"priority":1,"record_length":96,"hex_timestamp":"0000019dd459d7d8"} 
[2026-04-28 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-04-28 19:24: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:24:45] 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-04-28 19:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010265600001,"66":2166,"106":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-28 19:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010265600001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-28 19:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010265600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:45] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:45] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:52] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:52] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:52] local.INFO: IMEI packet received {"connection_id":56913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":56913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:24:54] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:54] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:24:54] local.INFO: IMEI packet received {"connection_id":56913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":56913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:24:55] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e7770012d82874005ce8da8000600b11d..."} 
[2026-04-28 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e7770012d82874005ce8da8000600b11d..."} 
[2026-04-28 19:24:55] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e7770012d82874005ce8da8000600b11d..."} 
[2026-04-28 19:24:55] local.INFO: Packet analysis {"connection_id":56913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:24:55] local.INFO: Extracted packet for processing {"connection_id":56913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763529024,"raw_latitude":97422760,"longitude_deg":76.3529024,"latitude_deg":9.742276,"altitude":6,"angle":177,"satellites":29,"speed":30,"hex_longitude":"2d828740","hex_latitude":"05ce8da8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010417152001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77004623268806656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040835489515261952,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:55] 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-04-28 19:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777384454000,"timestamp_ms":1777384454000,"timestamp_seconds":1777384454,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e7770"} 
[2026-04-28 19:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 19:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24: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-04-28 19:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010417152001,"66":12135,"41":206,"85":15104,"24":30,"16":77004623268806656,"45":-9040835489515261952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010417152001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:55] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77004623268806656,"km_value":77004623268806.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040835489515261952,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010417152001,"power":12135,"unknown_41":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9040835489515261952}} 
[2026-04-28 19:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":56913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:55] local.INFO: GPS data processed {"connection_id":56913,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:55] local.INFO: Acknowledgment sent {"connection_id":56913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:56] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:56] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:56] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:24:57] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45eaa38012d82864005ce69c0000900b61c..."} 
[2026-04-28 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45eaa38012d82864005ce69c0000900b61c..."} 
[2026-04-28 19:24:57] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45eaa38012d82864005ce69c0000900b61c..."} 
[2026-04-28 19:24:57] local.INFO: Packet analysis {"connection_id":56913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:24:57] local.INFO: Extracted packet for processing {"connection_id":56913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763528768,"raw_latitude":97413568,"longitude_deg":76.3528768,"latitude_deg":9.7413568,"altitude":9,"angle":182,"satellites":28,"speed":28,"hex_longitude":"2d828640","hex_latitude":"05ce69c0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010420224001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77005069945405440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333238577152,"note":"Value kept but may cause issues"} 
[2026-04-28 19:24:57] 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-04-28 19:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384467000,"timestamp_ms":1777384467000,"timestamp_seconds":1777384467,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45eaa38"} 
[2026-04-28 19:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:24:57] 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-04-28 19: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-28 19:24:57] 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-04-28 19: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-04-28 19:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:24:57] 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-04-28 19:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010420224001,"66":12287,"41":206,"85":15104,"24":28,"16":77005069945405440,"45":-9041187333238577152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010420224001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:24:57] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77005069945405440,"km_value":77005069945405.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333238577152,"description":"Unknown IO ID 45"} 
[2026-04-28 19:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010420224001,"power":12287,"unknown_41":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9041187333238577152}} 
[2026-04-28 19:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":56913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:24:57] local.INFO: GPS data processed {"connection_id":56913,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:24:57] local.INFO: Acknowledgment sent {"connection_id":56913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:24:57] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:57] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:24:57] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:03] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:03] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:03] local.INFO: IMEI packet received {"connection_id":56914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":56914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:04] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45cf8a0012d7ba44005de64980003015d1e..."} 
[2026-04-28 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45cf8a0012d7ba44005de64980003015d1e..."} 
[2026-04-28 19:25:04] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45cf8a0012d7ba44005de64980003015d1e..."} 
[2026-04-28 19:25:04] local.INFO: Packet analysis {"connection_id":56914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:25:04] local.INFO: Extracted packet for processing {"connection_id":56914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45c"} 
[2026-04-28 19:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763077696,"raw_latitude":98460824,"longitude_deg":76.3077696,"latitude_deg":9.8460824,"altitude":3,"angle":349,"satellites":30,"speed":40,"hex_longitude":"2d7ba440","hex_latitude":"05de6498","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010392832001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282512026629046272,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911357050374709248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777384356000,"timestamp_ms":1777384356000,"timestamp_seconds":1777384356,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45cf8a0"} 
[2026-04-28 19:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25: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-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:04] 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-04-28 19:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010392832001,"66":27321,"50":206,"85":15104,"24":40,"16":282512026629046272,"45":8911357050374709248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-28 19:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010392832001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:04] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 19:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282512026629046272,"km_value":282512026629046.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911357050374709248,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010392832001,"power":27321,"unknown_50":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8911357050374709248}} 
[2026-04-28 19:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":56914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:04] local.INFO: GPS data processed {"connection_id":56914,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:04] local.INFO: Acknowledgment sent {"connection_id":56914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:08] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:08] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:08] local.INFO: IMEI packet received {"connection_id":56705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":56705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:25:13] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:13] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:25:13] local.INFO: IMEI packet received {"connection_id":56705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":56705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:14] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:14] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:14] local.INFO: Packet analysis {"connection_id":56705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:14] local.INFO: Extracted packet for processing {"connection_id":56705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25: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-04-28 19:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:25:14] 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-04-28 19:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":56705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:14] local.INFO: GPS data processed {"connection_id":56705,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:14] local.INFO: Acknowledgment sent {"connection_id":56705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:28] local.INFO: TCP Data received {"connection_id":56913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45edd00012d82864005ce4710000800b31d..."} 
[2026-04-28 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45edd00012d82864005ce4710000800b31d..."} 
[2026-04-28 19:25:28] local.INFO: Processing buffer {"connection_id":56913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45edd00012d82864005ce4710000800b31d..."} 
[2026-04-28 19:25:28] local.INFO: Packet analysis {"connection_id":56913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:28] local.INFO: Extracted packet for processing {"connection_id":56913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763528768,"raw_latitude":97404688,"longitude_deg":76.3528768,"latitude_deg":9.7404688,"altitude":8,"angle":179,"satellites":29,"speed":31,"hex_longitude":"2d828640","hex_latitude":"05ce4710","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010423552001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77005503737102336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808217640960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:28] 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-04-28 19:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777384480000,"timestamp_ms":1777384480000,"timestamp_seconds":1777384480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45edd00"} 
[2026-04-28 19:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:28] 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-04-28 19: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-04-28 19:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:25:28] 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-04-28 19:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010423552001,"66":12526,"41":206,"85":15104,"24":31,"16":77005503737102336,"45":-9041468808217640960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010423552001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:28] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77005503737102336,"km_value":77005503737102.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808217640960,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010423552001,"power":12526,"unknown_41":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9041468808217640960}} 
[2026-04-28 19:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":56913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:28] local.INFO: GPS data processed {"connection_id":56913,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:28] local.INFO: Acknowledgment sent {"connection_id":56913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:35] local.INFO: TCP Data received {"connection_id":56914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f13b0012d7b76c005e015600000016123..."} 
[2026-04-28 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f13b0012d7b76c005e015600000016123..."} 
[2026-04-28 19:25:35] local.INFO: Processing buffer {"connection_id":56914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f13b0012d7b76c005e015600000016123..."} 
[2026-04-28 19:25:35] local.INFO: Packet analysis {"connection_id":56914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:35] local.INFO: Extracted packet for processing {"connection_id":56914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763066048,"raw_latitude":98571616,"longitude_deg":76.3066048,"latitude_deg":9.8571616,"altitude":0,"angle":353,"satellites":35,"speed":30,"hex_longitude":"2d7b76c0","hex_latitude":"05e01560","is_valid_coordinates":true} 
[2026-04-28 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010427392001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282517433992871936,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251520884736,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777384494000,"timestamp_ms":1777384494000,"timestamp_seconds":1777384494,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f13b0"} 
[2026-04-28 19:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:35] 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-04-28 19:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010427392001,"66":27397,"36":206,"85":15104,"24":30,"16":282517433992871936,"45":8897846251520884736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 19:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010427392001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282517433992871936,"km_value":282517433992871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251520884736,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010427392001,"power":27397,"unknown_36":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8897846251520884736}} 
[2026-04-28 19:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":56914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:35] local.INFO: GPS data processed {"connection_id":56914,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:35] local.INFO: Acknowledgment sent {"connection_id":56914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:45] local.INFO: TCP Data received {"connection_id":56705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:45] local.INFO: Processing buffer {"connection_id":56705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:25:45] local.INFO: Packet analysis {"connection_id":56705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:45] local.INFO: Extracted packet for processing {"connection_id":56705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 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-04-28 19:25: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:25:45] 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-04-28 19:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":56705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:45] local.INFO: GPS data processed {"connection_id":56705,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:45] local.INFO: Acknowledgment sent {"connection_id":56705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:46] local.INFO: TCP Data received {"connection_id":57624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:46] local.INFO: Processing buffer {"connection_id":57624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:46] local.INFO: IMEI packet received {"connection_id":57624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":57624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:25:47] local.INFO: TCP Data received {"connection_id":57624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:47] local.INFO: Processing buffer {"connection_id":57624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:47] local.INFO: IMEI packet received {"connection_id":57624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":57624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:52] local.INFO: TCP Data received {"connection_id":57624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:52] local.INFO: Processing buffer {"connection_id":57624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:25:52] local.INFO: IMEI packet received {"connection_id":57624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":57624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:52] local.INFO: TCP Data received {"connection_id":57624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f0be0012d82854005ce2190000a00b41d..."} 
[2026-04-28 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f0be0012d82854005ce2190000a00b41d..."} 
[2026-04-28 19:25:52] local.INFO: Processing buffer {"connection_id":57624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f0be0012d82854005ce2190000a00b41d..."} 
[2026-04-28 19:25:52] local.INFO: Packet analysis {"connection_id":57624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:52] local.INFO: Extracted packet for processing {"connection_id":57624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:52] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":97395088,"longitude_deg":76.3528512,"latitude_deg":9.7395088,"altitude":10,"angle":180,"satellites":29,"speed":32,"hex_longitude":"2d828540","hex_latitude":"05ce2190","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010426880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77005967593570304,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808219914240,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:52] 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-04-28 19:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384492000,"timestamp_ms":1777384492000,"timestamp_seconds":1777384492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f0be0"} 
[2026-04-28 19:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:25: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-04-28 19:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010426880001,"66":12439,"41":206,"85":15104,"24":32,"16":77005967593570304,"45":-9041468808219914240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010426880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:52] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77005967593570304,"km_value":77005967593570.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808219914240,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010426880001,"power":12439,"unknown_41":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9041468808219914240}} 
[2026-04-28 19:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":57624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:52] local.INFO: GPS data processed {"connection_id":57624,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:52] local.INFO: Acknowledgment sent {"connection_id":57624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:53] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:53] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:53] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:25:55] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:55] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:25:55] local.INFO: IMEI packet received {"connection_id":56915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":56915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:25:55] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f3ac0012d7b728005e037e80000015f21..."} 
[2026-04-28 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f3ac0012d7b728005e037e80000015f21..."} 
[2026-04-28 19:25:55] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f3ac0012d7b728005e037e80000015f21..."} 
[2026-04-28 19:25:55] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:55] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763064960,"raw_latitude":98580456,"longitude_deg":76.306496,"latitude_deg":9.8580456,"altitude":0,"angle":351,"satellites":33,"speed":30,"hex_longitude":"2d7b7280","hex_latitude":"05e037e8","is_valid_coordinates":true} 
[2026-04-28 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010430464001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282517867784568832,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896509245383860224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777384504000,"timestamp_ms":1777384504000,"timestamp_seconds":1777384504,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f3ac0"} 
[2026-04-28 19:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:25: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-04-28 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010430464001,"66":27300,"36":206,"85":15104,"24":30,"16":282517867784568832,"45":8896509245383860224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-28 19:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010430464001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:25:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-28 19:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282517867784568832,"km_value":282517867784568.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896509245383860224,"description":"Unknown IO ID 45"} 
[2026-04-28 19:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010430464001,"power":27300,"unknown_36":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8896509245383860224}} 
[2026-04-28 19:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:25:55] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:25:55] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:25:59] local.INFO: TCP Data received {"connection_id":57623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:25:59] local.INFO: Processing buffer {"connection_id":57623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:25:59] local.INFO: IMEI packet received {"connection_id":57623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":57623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:26:08] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:08] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:08] local.INFO: IMEI packet received {"connection_id":56947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":56947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:26:13] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:13] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:26:13] local.INFO: IMEI packet received {"connection_id":56947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":56947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:26:15] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:15] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:15] local.INFO: Packet analysis {"connection_id":56947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:26:15] local.INFO: Extracted packet for processing {"connection_id":56947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:15] 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-04-28 19:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:26:15] 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-04-28 19:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":56947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:15] local.INFO: GPS data processed {"connection_id":56947,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:15] local.INFO: Acknowledgment sent {"connection_id":56947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:26:23] local.INFO: TCP Data received {"connection_id":57624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f36d8012d82834005cdfc88000b00b71d..."} 
[2026-04-28 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f36d8012d82834005cdfc88000b00b71d..."} 
[2026-04-28 19:26:23] local.INFO: Processing buffer {"connection_id":57624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f36d8012d82834005cdfc88000b00b71d..."} 
[2026-04-28 19:26:23] local.INFO: Packet analysis {"connection_id":57624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:23] local.INFO: Extracted packet for processing {"connection_id":57624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763528000,"raw_latitude":97385608,"longitude_deg":76.3528,"latitude_deg":9.7385608,"altitude":11,"angle":183,"satellites":29,"speed":33,"hex_longitude":"2d828340","hex_latitude":"05cdfc88","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010429952001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77006431450038272,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750283199082496,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:23] 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-04-28 19:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777384503000,"timestamp_ms":1777384503000,"timestamp_seconds":1777384503,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f36d8"} 
[2026-04-28 19:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26: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-04-28 19:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:26: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-04-28 19:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010429952001,"66":12461,"41":206,"85":15104,"24":33,"16":77006431450038272,"45":-9041750283199082496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010429952001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:23] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:26:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77006431450038272,"km_value":77006431450038.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750283199082496,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010429952001,"power":12461,"unknown_41":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9041750283199082496}} 
[2026-04-28 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":57624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:24] local.INFO: GPS data processed {"connection_id":57624,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:24] local.INFO: Acknowledgment sent {"connection_id":57624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:26:27] local.INFO: TCP Data received {"connection_id":56915,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f65b8012d7b6e8005e05ae00000016124..."} 
[2026-04-28 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f65b8012d7b6e8005e05ae00000016124..."} 
[2026-04-28 19:26:27] local.INFO: Processing buffer {"connection_id":56915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f65b8012d7b6e8005e05ae00000016124..."} 
[2026-04-28 19:26:27] local.INFO: Packet analysis {"connection_id":56915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:27] local.INFO: Extracted packet for processing {"connection_id":56915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763063936,"raw_latitude":98589408,"longitude_deg":76.3063936,"latitude_deg":9.8589408,"altitude":0,"angle":353,"satellites":36,"speed":38,"hex_longitude":"2d7b6e80","hex_latitude":"05e05ae0","is_valid_coordinates":true} 
[2026-04-28 19:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010433024001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282518301576265728,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895312976735102976,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777384515000,"timestamp_ms":1777384515000,"timestamp_seconds":1777384515,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f65b8"} 
[2026-04-28 19:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26: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-04-28 19:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010433024001,"66":27365,"35":206,"85":15104,"24":38,"16":282518301576265728,"45":8895312976735102976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-28 19:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010433024001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-28 19:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282518301576265728,"km_value":282518301576265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895312976735102976,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010433024001,"power":27365,"unknown_35":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8895312976735102976}} 
[2026-04-28 19:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":56915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:27] local.INFO: GPS data processed {"connection_id":56915,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:27] local.INFO: Acknowledgment sent {"connection_id":56915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:26:33] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:26:33] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:26:33] local.INFO: IMEI packet received {"connection_id":56948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":56948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:26:46] local.INFO: TCP Data received {"connection_id":57625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: Processing buffer {"connection_id":57625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: IMEI packet received {"connection_id":57625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":57625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:26:46] local.INFO: TCP Data received {"connection_id":57625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: Processing buffer {"connection_id":57625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:46] local.INFO: IMEI packet received {"connection_id":57625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":57625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:26:52] local.INFO: TCP Data received {"connection_id":57625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:52] local.INFO: Processing buffer {"connection_id":57625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:26:52] local.INFO: IMEI packet received {"connection_id":57625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":57625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:26:52] local.INFO: TCP Data received {"connection_id":57625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f88e0012d8281c005cde138000b00b31d..."} 
[2026-04-28 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f88e0012d8281c005cde138000b00b31d..."} 
[2026-04-28 19:26:52] local.INFO: Processing buffer {"connection_id":57625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f88e0012d8281c005cde138000b00b31d..."} 
[2026-04-28 19:26:52] local.INFO: Packet analysis {"connection_id":57625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:52] local.INFO: Extracted packet for processing {"connection_id":57625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":97378616,"longitude_deg":76.3527616,"latitude_deg":9.7378616,"altitude":11,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d8281c0","hex_latitude":"05cde138","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010432768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77006770752454656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042313233154930688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:52] 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-04-28 19:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384524000,"timestamp_ms":1777384524000,"timestamp_seconds":1777384524,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f88e0"} 
[2026-04-28 19:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:26: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-04-28 19:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010432768001,"66":13276,"41":206,"85":15104,"24":0,"16":77006770752454656,"45":-9042313233154930688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010432768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:52] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77006770752454656,"km_value":77006770752454.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042313233154930688,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010432768001,"power":13276,"unknown_41":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9042313233154930688}} 
[2026-04-28 19:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":57625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:52] local.INFO: GPS data processed {"connection_id":57625,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:52] local.INFO: Acknowledgment sent {"connection_id":57625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:26:53] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:53] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:53] local.INFO: IMEI packet received {"connection_id":56949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":56949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:26:53] local.INFO: TCP Data received {"connection_id":56947,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:53] local.INFO: Processing buffer {"connection_id":56947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:26:53] local.INFO: Packet analysis {"connection_id":56947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:26:53] local.INFO: Extracted packet for processing {"connection_id":56947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:53] 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-04-28 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26:53] 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-04-28 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:26: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-04-28 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":56947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:53] local.INFO: GPS data processed {"connection_id":56947,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:53] local.INFO: Acknowledgment sent {"connection_id":56947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:26:57] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:57] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:26:57] local.INFO: IMEI packet received {"connection_id":56949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":56949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:26:58] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45f88e0012d7b6a4005e07f580000016122..."} 
[2026-04-28 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45f88e0012d7b6a4005e07f580000016122..."} 
[2026-04-28 19:26:58] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45f88e0012d7b6a4005e07f580000016122..."} 
[2026-04-28 19:26:58] local.INFO: Packet analysis {"connection_id":56949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:58] local.INFO: Extracted packet for processing {"connection_id":56949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763062848,"raw_latitude":98598744,"longitude_deg":76.3062848,"latitude_deg":9.8598744,"altitude":0,"angle":353,"satellites":34,"speed":42,"hex_longitude":"2d7b6a40","hex_latitude":"05e07f58","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010435840001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282518761137766400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894187076830552064,"note":"Value kept but may cause issues"} 
[2026-04-28 19:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384524000,"timestamp_ms":1777384524000,"timestamp_seconds":1777384524,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45f88e0"} 
[2026-04-28 19:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010435840001,"66":27332,"35":206,"85":15104,"24":42,"16":282518761137766400,"45":8894187076830552064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-28 19:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010435840001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:26:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-28 19:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282518761137766400,"km_value":282518761137766.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894187076830552064,"description":"Unknown IO ID 45"} 
[2026-04-28 19:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010435840001,"power":27332,"unknown_35":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8894187076830552064}} 
[2026-04-28 19:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":56949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:26:58] local.INFO: GPS data processed {"connection_id":56949,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:26:58] local.INFO: Acknowledgment sent {"connection_id":56949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:08] local.INFO: TCP Data received {"connection_id":56706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:08] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:08] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:27:13] local.INFO: TCP Data received {"connection_id":56706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:13] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:27:13] local.INFO: IMEI packet received {"connection_id":56706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":56706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:27:14] local.INFO: TCP Data received {"connection_id":56706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:14] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:14] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:27:14] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27: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-04-28 19:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:27:14] 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-04-28 19:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:14] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:14] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:24] local.INFO: TCP Data received {"connection_id":57625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46107b0012d8305c005cdeae80008004c1d..."} 
[2026-04-28 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46107b0012d8305c005cdeae80008004c1d..."} 
[2026-04-28 19:27:24] local.INFO: Processing buffer {"connection_id":57625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46107b0012d8305c005cdeae80008004c1d..."} 
[2026-04-28 19:27:24] local.INFO: Packet analysis {"connection_id":57625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:27:24] local.INFO: Extracted packet for processing {"connection_id":57625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763561408,"raw_latitude":97381096,"longitude_deg":76.3561408,"latitude_deg":9.7381096,"altitude":8,"angle":76,"satellites":29,"speed":36,"hex_longitude":"2d8305c0","hex_latitude":"05cdeae8","is_valid_coordinates":true} 
[2026-04-28 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010460416001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77008475854471168,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015854585345998848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:24] 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-04-28 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777384622000,"timestamp_ms":1777384622000,"timestamp_seconds":1777384622,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46107b0"} 
[2026-04-28 19:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 19:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:27: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-04-28 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010460416001,"66":12461,"41":206,"85":15104,"24":36,"16":77008475854471168,"45":-9015854585345998848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-04-28 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010460416001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:24] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-28 19:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77008475854471168,"km_value":77008475854471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015854585345998848,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010460416001,"power":12461,"unknown_41":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9015854585345998848}} 
[2026-04-28 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":57625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:24] local.INFO: GPS data processed {"connection_id":57625,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:24] local.INFO: Acknowledgment sent {"connection_id":57625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:29] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45fac08012d7b654005e0a3e00000015e20..."} 
[2026-04-28 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45fac08012d7b654005e0a3e00000015e20..."} 
[2026-04-28 19:27:29] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45fac08012d7b654005e0a3e00000015e20..."} 
[2026-04-28 19:27:29] local.INFO: Packet analysis {"connection_id":56949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:27:29] local.INFO: Extracted packet for processing {"connection_id":56949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":98608096,"longitude_deg":76.3061568,"latitude_deg":9.8608096,"altitude":0,"angle":350,"satellites":32,"speed":39,"hex_longitude":"2d7b6540","hex_latitude":"05e0a3e0","is_valid_coordinates":true} 
[2026-04-28 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010438144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282519216404299776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892990808181921792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384533000,"timestamp_ms":1777384533000,"timestamp_seconds":1777384533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45fac08"} 
[2026-04-28 19:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:27: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-04-28 19:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010438144001,"66":27376,"35":206,"85":15104,"24":39,"16":282519216404299776,"45":8892990808181921792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-28 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010438144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:29] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-28 19:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282519216404299776,"km_value":282519216404299.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892990808181921792,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010438144001,"power":27376,"unknown_35":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8892990808181921792}} 
[2026-04-28 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":56949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:29] local.INFO: GPS data processed {"connection_id":56949,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:29] local.INFO: Acknowledgment sent {"connection_id":56949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:45] local.INFO: TCP Data received {"connection_id":56706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:45] local.INFO: Processing buffer {"connection_id":56706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:27:45] local.INFO: Packet analysis {"connection_id":56706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:27:45] local.INFO: Extracted packet for processing {"connection_id":56706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27: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-04-28 19:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:27:45] 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-04-28 19:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":56706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:45] local.INFO: GPS data processed {"connection_id":56706,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:45] local.INFO: Acknowledgment sent {"connection_id":56706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:46] local.INFO: TCP Data received {"connection_id":57627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:46] local.INFO: Processing buffer {"connection_id":57627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:46] local.INFO: IMEI packet received {"connection_id":57627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":57627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:27:51] local.INFO: TCP Data received {"connection_id":57627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:51] local.INFO: Processing buffer {"connection_id":57627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:27:51] local.INFO: IMEI packet received {"connection_id":57627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":57627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:27:52] local.INFO: TCP Data received {"connection_id":57627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4611f20012d83178005cdeff80008003f1d..."} 
[2026-04-28 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4611f20012d83178005cdeff80008003f1d..."} 
[2026-04-28 19:27:52] local.INFO: Processing buffer {"connection_id":57627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4611f20012d83178005cdeff80008003f1d..."} 
[2026-04-28 19:27:52] local.INFO: Packet analysis {"connection_id":57627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:27:52] local.INFO: Extracted packet for processing {"connection_id":57627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763565952,"raw_latitude":97382392,"longitude_deg":76.3565952,"latitude_deg":9.7382392,"altitude":8,"angle":63,"satellites":29,"speed":26,"hex_longitude":"2d831780","hex_latitude":"05cdeff8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010463232001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77008703487737856,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005580748695345152,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384628000,"timestamp_ms":1777384628000,"timestamp_seconds":1777384628,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4611f20"} 
[2026-04-28 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:27: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-04-28 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010463232001,"66":12526,"39":206,"85":15104,"24":26,"16":77008703487737856,"45":-9005580748695345152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010463232001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77008703487737856,"km_value":77008703487737.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005580748695345152,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010463232001,"power":12526,"unknown_39":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9005580748695345152}} 
[2026-04-28 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":57627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:52] local.INFO: GPS data processed {"connection_id":57627,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:52] local.INFO: Acknowledgment sent {"connection_id":57627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:27:53] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:53] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:53] local.INFO: IMEI packet received {"connection_id":56916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":56916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:27:57] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:57] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:27:57] local.INFO: IMEI packet received {"connection_id":56916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":56916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:27:58] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45fcf30012d7b5fc005e0c6300000015f22..."} 
[2026-04-28 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45fcf30012d7b5fc005e0c6300000015f22..."} 
[2026-04-28 19:27:58] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45fcf30012d7b5fc005e0c6300000015f22..."} 
[2026-04-28 19:27:58] local.INFO: Packet analysis {"connection_id":56916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:27:58] local.INFO: Extracted packet for processing {"connection_id":56916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763060160,"raw_latitude":98616880,"longitude_deg":76.306016,"latitude_deg":9.861688,"altitude":0,"angle":351,"satellites":34,"speed":41,"hex_longitude":"2d7b5fc0","hex_latitude":"05e0c630","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010440448001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282519650195996672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891583433300762624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384542000,"timestamp_ms":1777384542000,"timestamp_seconds":1777384542,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45fcf30"} 
[2026-04-28 19:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:27: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:27:58] 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-04-28 19: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-04-28 19:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010440448001,"66":27267,"170":206,"85":15104,"24":41,"16":282519650195996672,"45":8891583433300762624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 19:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010440448001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:27:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 19:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282519650195996672,"km_value":282519650195996.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891583433300762624,"description":"Unknown IO ID 45"} 
[2026-04-28 19:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010440448001,"power":27267,"unknown_170":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8891583433300762624}} 
[2026-04-28 19:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":56916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:27:58] local.INFO: GPS data processed {"connection_id":56916,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:27:58] local.INFO: Acknowledgment sent {"connection_id":56916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:15] local.INFO: TCP Data received {"connection_id":56950,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:15] local.INFO: Processing buffer {"connection_id":56950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:15] local.INFO: IMEI packet received {"connection_id":56950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":56950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:28:18] local.INFO: TCP Data received {"connection_id":56950,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:18] local.INFO: Processing buffer {"connection_id":56950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:28:18] local.INFO: IMEI packet received {"connection_id":56950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":56950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:28:19] local.INFO: TCP Data received {"connection_id":56950,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:19] local.INFO: Processing buffer {"connection_id":56950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:19] local.INFO: Packet analysis {"connection_id":56950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:28:19] local.INFO: Extracted packet for processing {"connection_id":56950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28: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-04-28 19:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":56950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:19] local.INFO: GPS data processed {"connection_id":56950,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:19] local.INFO: Acknowledgment sent {"connection_id":56950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:23] local.INFO: TCP Data received {"connection_id":57627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4613e60012d832c4005cdfd48000900341d..."} 
[2026-04-28 19:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4613e60012d832c4005cdfd48000900341d..."} 
[2026-04-28 19:28:23] local.INFO: Processing buffer {"connection_id":57627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4613e60012d832c4005cdfd48000900341d..."} 
[2026-04-28 19:28:23] local.INFO: Packet analysis {"connection_id":57627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:28:23] local.INFO: Extracted packet for processing {"connection_id":57627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763571264,"raw_latitude":97385800,"longitude_deg":76.3571264,"latitude_deg":9.73858,"altitude":9,"angle":52,"satellites":29,"speed":32,"hex_longitude":"2d832c40","hex_latitude":"05cdfd48","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010464768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77009004135448576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9000584567858399232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777384636000,"timestamp_ms":1777384636000,"timestamp_seconds":1777384636,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4613e60"} 
[2026-04-28 19:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 19:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:28: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-04-28 19:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010464768001,"66":12374,"39":206,"85":15104,"24":32,"16":77009004135448576,"45":-9000584567858399232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010464768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77009004135448576,"km_value":77009004135448.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9000584567858399232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010464768001,"power":12374,"unknown_39":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9000584567858399232}} 
[2026-04-28 19:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":57627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:23] local.INFO: GPS data processed {"connection_id":57627,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:23] local.INFO: Acknowledgment sent {"connection_id":57627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:26] local.INFO: TCP Data received {"connection_id":56950,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:26] local.INFO: Processing buffer {"connection_id":56950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:28:26] local.INFO: Packet analysis {"connection_id":56950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:28:26] local.INFO: Extracted packet for processing {"connection_id":56950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:26] 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-04-28 19:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28:26] 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-04-28 19:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:28: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-04-28 19:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:28:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":56950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:26] local.INFO: GPS data processed {"connection_id":56950,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:26] local.INFO: Acknowledgment sent {"connection_id":56950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:30] local.INFO: TCP Data received {"connection_id":56916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45ff258012d7b58c005e0eb480000015e22..."} 
[2026-04-28 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45ff258012d7b58c005e0eb480000015e22..."} 
[2026-04-28 19:28:30] local.INFO: Processing buffer {"connection_id":56916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45ff258012d7b58c005e0eb480000015e22..."} 
[2026-04-28 19:28:30] local.INFO: Packet analysis {"connection_id":56916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:28:30] local.INFO: Extracted packet for processing {"connection_id":56916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45f"} 
[2026-04-28 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98626376,"longitude_deg":76.3058368,"latitude_deg":9.8626376,"altitude":0,"angle":350,"satellites":34,"speed":44,"hex_longitude":"2d7b58c0","hex_latitude":"05e0eb48","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010442752001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282520118347431936,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890035320931102720,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384551000,"timestamp_ms":1777384551000,"timestamp_seconds":1777384551,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45ff258"} 
[2026-04-28 19:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010442752001,"66":27343,"170":206,"85":15104,"24":44,"16":282520118347431936,"45":8890035320931102720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-28 19:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010442752001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-28 19:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282520118347431936,"km_value":282520118347431.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890035320931102720,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010442752001,"power":27343,"unknown_170":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8890035320931102720}} 
[2026-04-28 19:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":56916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:30] local.INFO: GPS data processed {"connection_id":56916,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:30] local.INFO: Acknowledgment sent {"connection_id":56916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:46] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:46] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:46] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:28:51] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:51] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:51] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:28:52] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:52] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:28:52] local.INFO: IMEI packet received {"connection_id":56707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":56707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:28:52] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46155d0012d83398005ce05a8000a00481b..."} 
[2026-04-28 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46155d0012d83398005ce05a8000a00481b..."} 
[2026-04-28 19:28:52] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46155d0012d83398005ce05a8000a00481b..."} 
[2026-04-28 19:28:52] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:28:52] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd461"} 
[2026-04-28 19:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763574656,"raw_latitude":97387944,"longitude_deg":76.3574656,"latitude_deg":9.7387944,"altitude":10,"angle":72,"satellites":27,"speed":19,"hex_longitude":"2d833980","hex_latitude":"05ce05a8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010466816001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77009201703944192,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8994743962090780672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384642000,"timestamp_ms":1777384642000,"timestamp_seconds":1777384642,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46155d0"} 
[2026-04-28 19:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 19:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:28: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-04-28 19:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010466816001,"66":12287,"39":206,"85":15104,"24":19,"16":77009201703944192,"45":-8994743962090780672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010466816001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77009201703944192,"km_value":77009201703944.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8994743962090780672,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010466816001,"power":12287,"unknown_39":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-8994743962090780672}} 
[2026-04-28 19:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:52] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:52] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:28:53] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:53] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:53] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:28:57] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:57] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:28:57] local.INFO: IMEI packet received {"connection_id":56918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":56918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:28:58] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4622ca8012d7b258005e26fa00002016125..."} 
[2026-04-28 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4622ca8012d7b258005e26fa00002016125..."} 
[2026-04-28 19:28:58] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4622ca8012d7b258005e26fa00002016125..."} 
[2026-04-28 19:28:58] local.INFO: Packet analysis {"connection_id":56918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:28:58] local.INFO: Extracted packet for processing {"connection_id":56918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98725792,"longitude_deg":76.3045248,"latitude_deg":9.8725792,"altitude":2,"angle":353,"satellites":37,"speed":26,"hex_longitude":"2d7b2580","hex_latitude":"05e26fa0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010477824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282524984545378304,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672214224896,"note":"Value kept but may cause issues"} 
[2026-04-28 19:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777384697000,"timestamp_ms":1777384697000,"timestamp_seconds":1777384697,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4622ca8"} 
[2026-04-28 19:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:28: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-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010477824001,"66":27332,"96":206,"85":15104,"24":26,"16":282524984545378304,"45":8874835672214224896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010477824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:28:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 19:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282524984545378304,"km_value":282524984545378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672214224896,"description":"Unknown IO ID 45"} 
[2026-04-28 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010477824001,"power":27332,"unknown_96":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8874835672214224896}} 
[2026-04-28 19:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":56918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:28:58] local.INFO: GPS data processed {"connection_id":56918,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:28:58] local.INFO: Acknowledgment sent {"connection_id":56918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:08] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:08] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:08] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:29:13] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:13] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:29:13] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:29:14] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:14] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:14] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:29:14] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:29: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-04-28 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:29:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:29:14] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:29:14] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:23] local.INFO: TCP Data received {"connection_id":56707,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd462d4a0012d84040005cdfbc0001100af1d..."} 
[2026-04-28 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd462d4a0012d84040005cdfbc0001100af1d..."} 
[2026-04-28 19:29:23] local.INFO: Processing buffer {"connection_id":56707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd462d4a0012d84040005cdfbc0001100af1d..."} 
[2026-04-28 19:29:23] local.INFO: Packet analysis {"connection_id":56707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:23] local.INFO: Extracted packet for processing {"connection_id":56707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763626496,"raw_latitude":97385408,"longitude_deg":76.3626496,"latitude_deg":9.7385408,"altitude":17,"angle":175,"satellites":29,"speed":9,"hex_longitude":"2d840400","hex_latitude":"05cdfbc0","is_valid_coordinates":true} 
[2026-04-28 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010493184001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77011727144714240,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934086104609683456,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777384740000,"timestamp_ms":1777384740000,"timestamp_seconds":1777384740,"priority":1,"record_length":96,"hex_timestamp":"0000019dd462d4a0"} 
[2026-04-28 19:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:29: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-04-28 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:29: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-04-28 19:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010493184001,"66":12156,"39":206,"85":15104,"24":9,"16":77011727144714240,"45":-8934086104609683456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010493184001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:29:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77011727144714240,"km_value":77011727144714.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934086104609683456,"description":"Unknown IO ID 45"} 
[2026-04-28 19:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010493184001,"power":12156,"unknown_39":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-8934086104609683456}} 
[2026-04-28 19:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":56707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:29:23] local.INFO: GPS data processed {"connection_id":56707,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:29:23] local.INFO: Acknowledgment sent {"connection_id":56707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:30] local.INFO: TCP Data received {"connection_id":56918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46257a0012d7b204005e293600000015f26..."} 
[2026-04-28 19:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46257a0012d7b204005e293600000015f26..."} 
[2026-04-28 19:29:30] local.INFO: Processing buffer {"connection_id":56918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46257a0012d7b204005e293600000015f26..."} 
[2026-04-28 19:29:30] local.INFO: Packet analysis {"connection_id":56918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:30] local.INFO: Extracted packet for processing {"connection_id":56918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734944,"longitude_deg":76.3043904,"latitude_deg":9.8734944,"altitude":0,"angle":351,"satellites":38,"speed":38,"hex_longitude":"2d7b2040","hex_latitude":"05e29360","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010482432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282525431221977088,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403565588480,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384708000,"timestamp_ms":1777384708000,"timestamp_seconds":1777384708,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46257a0"} 
[2026-04-28 19:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:29:30] 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-04-28 19: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-04-28 19:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010482432001,"66":27234,"96":206,"85":15104,"24":38,"16":282525431221977088,"45":8873639403565588480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 19:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010482432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:29:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 19:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282525431221977088,"km_value":282525431221977.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403565588480,"description":"Unknown IO ID 45"} 
[2026-04-28 19:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010482432001,"power":27234,"unknown_96":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8873639403565588480}} 
[2026-04-28 19:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":56918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:29:30] local.INFO: GPS data processed {"connection_id":56918,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:29:30] local.INFO: Acknowledgment sent {"connection_id":56918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:45] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:45] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd45e6fa0012d196540071ff0280042013228..."} 
[2026-04-28 19:29:45] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:29:45] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd45e"} 
[2026-04-28 19:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010342656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384452000,"timestamp_ms":1777384452000,"timestamp_seconds":1777384452,"priority":1,"record_length":96,"hex_timestamp":"0000019dd45e6fa0"} 
[2026-04-28 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-04-28 19:29: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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010342656001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010342656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:29:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010342656001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:29:45] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:29:45] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:53] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:29:53] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:53] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:29:57] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:57] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:29:57] local.INFO: IMEI packet received {"connection_id":56919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":56919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:29:57] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4627ac8012d7b1ac005e2b6f80000015e20..."} 
[2026-04-28 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4627ac8012d7b1ac005e2b6f80000015e20..."} 
[2026-04-28 19:29:57] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4627ac8012d7b1ac005e2b6f80000015e20..."} 
[2026-04-28 19:29:57] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:57] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98744056,"longitude_deg":76.3042496,"latitude_deg":9.8744056,"altitude":0,"angle":350,"satellites":32,"speed":41,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b6f8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010485248001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282525877898575872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940200448,"note":"Value kept but may cause issues"} 
[2026-04-28 19:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384717000,"timestamp_ms":1777384717000,"timestamp_seconds":1777384717,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4627ac8"} 
[2026-04-28 19:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:29:57] 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-04-28 19: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-04-28 19:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:29:57] 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-04-28 19:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010485248001,"66":27397,"96":206,"85":15104,"24":41,"16":282525877898575872,"45":8872161659940200448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 19:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010485248001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:29:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 19:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282525877898575872,"km_value":282525877898575.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940200448,"description":"Unknown IO ID 45"} 
[2026-04-28 19:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010485248001,"power":27397,"unknown_96":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8872161659940200448}} 
[2026-04-28 19:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:29:57] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:29:57] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:29:58] local.INFO: TCP Data received {"connection_id":56708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:29:58] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:29:58] local.INFO: IMEI packet received {"connection_id":56708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":56708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:30:01] local.INFO: TCP Data received {"connection_id":56708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: IMEI packet received {"connection_id":56708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":56708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:01] local.INFO: TCP Data received {"connection_id":56708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:01] local.INFO: IMEI packet received {"connection_id":56708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":56708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:02] local.INFO: TCP Data received {"connection_id":56708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd462e828012d8403c005cdf568001200bb1d..."} 
[2026-04-28 19:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd462e828012d8403c005cdf568001200bb1d..."} 
[2026-04-28 19:30:02] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd462e828012d8403c005cdf568001200bb1d..."} 
[2026-04-28 19:30:02] local.INFO: Packet analysis {"connection_id":56708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:02] local.INFO: Extracted packet for processing {"connection_id":56708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763626432,"raw_latitude":97383784,"longitude_deg":76.3626432,"latitude_deg":9.7383784,"altitude":18,"angle":187,"satellites":29,"speed":18,"hex_longitude":"2d8403c0","hex_latitude":"05cdf568","is_valid_coordinates":true} 
[2026-04-28 19:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010493440001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77011804454125568,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934015735865556992,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777384745000,"timestamp_ms":1777384745000,"timestamp_seconds":1777384745,"priority":1,"record_length":96,"hex_timestamp":"0000019dd462e828"} 
[2026-04-28 19:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:02] 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-04-28 19:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:02] 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-04-28 19:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010493440001,"66":12102,"39":206,"85":15104,"24":18,"16":77011804454125568,"45":-8934015735865556992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010493440001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77011804454125568,"km_value":77011804454125.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934015735865556992,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010493440001,"power":12102,"unknown_39":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-8934015735865556992}} 
[2026-04-28 19:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":56708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:02] local.INFO: GPS data processed {"connection_id":56708,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:02] local.INFO: Acknowledgment sent {"connection_id":56708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:08] local.INFO: TCP Data received {"connection_id":57629,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:08] local.INFO: Processing buffer {"connection_id":57629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:08] local.INFO: IMEI packet received {"connection_id":57629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":57629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:30:10] local.INFO: TCP Data received {"connection_id":56708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4631af0012d83fe8005cdcf70000e00bc1d..."} 
[2026-04-28 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4631af0012d83fe8005cdcf70000e00bc1d..."} 
[2026-04-28 19:30:10] local.INFO: Processing buffer {"connection_id":56708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4631af0012d83fe8005cdcf70000e00bc1d..."} 
[2026-04-28 19:30:10] local.INFO: Packet analysis {"connection_id":56708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:10] local.INFO: Extracted packet for processing {"connection_id":56708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763625088,"raw_latitude":97374064,"longitude_deg":76.3625088,"latitude_deg":9.7374064,"altitude":14,"angle":188,"satellites":29,"speed":36,"hex_longitude":"2d83fe80","hex_latitude":"05cdcf70","is_valid_coordinates":true} 
[2026-04-28 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010494720001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77012281195495424,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934086104610150400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777384758000,"timestamp_ms":1777384758000,"timestamp_seconds":1777384758,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4631af0"} 
[2026-04-28 19:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:10] 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-04-28 19:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":56708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":56708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":56708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:10] 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-04-28 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010494720001,"66":12156,"39":206,"85":15104,"24":36,"16":77012281195495424,"45":-8934086104610150400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010494720001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77012281195495424,"km_value":77012281195495.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934086104610150400,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010494720001,"power":12156,"unknown_39":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-8934086104610150400}} 
[2026-04-28 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":56708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:10] local.INFO: GPS data processed {"connection_id":56708,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:10] local.INFO: Acknowledgment sent {"connection_id":56708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:13] local.INFO: TCP Data received {"connection_id":57629,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:13] local.INFO: Processing buffer {"connection_id":57629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:30:13] local.INFO: IMEI packet received {"connection_id":57629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":57629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:14] local.INFO: TCP Data received {"connection_id":57629,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:14] local.INFO: Processing buffer {"connection_id":57629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:14] local.INFO: Packet analysis {"connection_id":57629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:14] local.INFO: Extracted packet for processing {"connection_id":57629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30:14] 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-04-28 19:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":57629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:14] local.INFO: GPS data processed {"connection_id":57629,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:14] local.INFO: Acknowledgment sent {"connection_id":57629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:29] local.INFO: TCP Data received {"connection_id":56919,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd462a1d8012d7b154005e2db300000015d20..."} 
[2026-04-28 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd462a1d8012d7b154005e2db300000015d20..."} 
[2026-04-28 19:30:29] local.INFO: Processing buffer {"connection_id":56919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd462a1d8012d7b154005e2db300000015d20..."} 
[2026-04-28 19:30:29] local.INFO: Packet analysis {"connection_id":56919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:29] local.INFO: Extracted packet for processing {"connection_id":56919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98753328,"longitude_deg":76.3041088,"latitude_deg":9.8753328,"altitude":0,"angle":349,"satellites":32,"speed":30,"hex_longitude":"2d7b1540","hex_latitude":"05e2db30","is_valid_coordinates":true} 
[2026-04-28 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010487552001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282526333165109248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547570624512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777384727000,"timestamp_ms":1777384727000,"timestamp_seconds":1777384727,"priority":1,"record_length":96,"hex_timestamp":"0000019dd462a1d8"} 
[2026-04-28 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010487552001,"66":27310,"96":206,"85":15104,"24":30,"16":282526333165109248,"45":8870613547570624512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010487552001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 19:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282526333165109248,"km_value":282526333165109.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547570624512,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010487552001,"power":27310,"unknown_96":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8870613547570624512}} 
[2026-04-28 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":56919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:29] local.INFO: GPS data processed {"connection_id":56919,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:29] local.INFO: Acknowledgment sent {"connection_id":56919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:45] local.INFO: TCP Data received {"connection_id":57629,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:45] local.INFO: Processing buffer {"connection_id":57629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:30:45] local.INFO: Packet analysis {"connection_id":57629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:45] local.INFO: Extracted packet for processing {"connection_id":57629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 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-04-28 19:30:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":57629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:46] local.INFO: GPS data processed {"connection_id":57629,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:46] local.INFO: Acknowledgment sent {"connection_id":57629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:51] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: IMEI packet received {"connection_id":57630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":57630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:30:51] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:51] local.INFO: IMEI packet received {"connection_id":57630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":57630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:52] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:52] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:52] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:30:57] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:57] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:30:57] local.INFO: IMEI packet received {"connection_id":57630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":57630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:57] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4633e18012d83f9c005cdaa98000b00ba1d..."} 
[2026-04-28 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4633e18012d83f9c005cdaa98000b00ba1d..."} 
[2026-04-28 19:30:57] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4633e18012d83f9c005cdaa98000b00ba1d..."} 
[2026-04-28 19:30:57] local.INFO: Packet analysis {"connection_id":57630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:57] local.INFO: Extracted packet for processing {"connection_id":57630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763623872,"raw_latitude":97364632,"longitude_deg":76.3623872,"latitude_deg":9.7364632,"altitude":11,"angle":186,"satellites":29,"speed":42,"hex_longitude":"2d83f9c0","hex_latitude":"05cdaa98","is_valid_coordinates":true} 
[2026-04-28 19:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010498048001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77012740756996096,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935563848240369664,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384767000,"timestamp_ms":1777384767000,"timestamp_seconds":1777384767,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4633e18"} 
[2026-04-28 19:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 19:30: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-04-28 19:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:30:57] 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-04-28 19:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010498048001,"66":12461,"39":206,"85":15104,"24":42,"16":77012740756996096,"45":-8935563848240369664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010498048001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77012740756996096,"km_value":77012740756996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935563848240369664,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010498048001,"power":12461,"unknown_39":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8935563848240369664}} 
[2026-04-28 19:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":57630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:57] local.INFO: GPS data processed {"connection_id":57630,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:57] local.INFO: Acknowledgment sent {"connection_id":57630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:30:58] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:58] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:30:58] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:30:59] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd462dc70012d7b0e4005e2fea80000015a1e..."} 
[2026-04-28 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd462dc70012d7b0e4005e2fea80000015a1e..."} 
[2026-04-28 19:30:59] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd462dc70012d7b0e4005e2fea80000015a1e..."} 
[2026-04-28 19:30:59] local.INFO: Packet analysis {"connection_id":56952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:59] local.INFO: Extracted packet for processing {"connection_id":56952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd462"} 
[2026-04-28 19:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98762408,"longitude_deg":76.3039296,"latitude_deg":9.8762408,"altitude":0,"angle":346,"satellites":30,"speed":22,"hex_longitude":"2d7b0e40","hex_latitude":"05e2fea8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010490112001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282526784136675328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435201089536,"note":"Value kept but may cause issues"} 
[2026-04-28 19:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777384742000,"timestamp_ms":1777384742000,"timestamp_seconds":1777384742,"priority":1,"record_length":96,"hex_timestamp":"0000019dd462dc70"} 
[2026-04-28 19:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:30: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-04-28 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 19:30:59] 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-04-28 19: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-04-28 19:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010490112001,"66":27397,"96":206,"85":15104,"24":22,"16":282526784136675328,"45":8869065435201089536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-28 19:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010490112001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:30:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-28 19:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282526784136675328,"km_value":282526784136675.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435201089536,"description":"Unknown IO ID 45"} 
[2026-04-28 19:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010490112001,"power":27397,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8869065435201089536}} 
[2026-04-28 19:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":56952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:30:59] local.INFO: GPS data processed {"connection_id":56952,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:30:59] local.INFO: Acknowledgment sent {"connection_id":56952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:01] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4635d58012d83f68005cd86a8000a00b61d..."} 
[2026-04-28 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4635d58012d83f68005cd86a8000a00b61d..."} 
[2026-04-28 19:31:01] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4635d58012d83f68005cd86a8000a00b61d..."} 
[2026-04-28 19:31:01] local.INFO: Packet analysis {"connection_id":57630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:01] local.INFO: Extracted packet for processing {"connection_id":57630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763623040,"raw_latitude":97355432,"longitude_deg":76.362304,"latitude_deg":9.7355432,"altitude":10,"angle":182,"satellites":29,"speed":46,"hex_longitude":"2d83f680","hex_latitude":"05cd86a8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010500352001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77013191728562176,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936900854382159872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777384775000,"timestamp_ms":1777384775000,"timestamp_seconds":1777384775,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4635d58"} 
[2026-04-28 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:31: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-04-28 19: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-04-28 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31: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-04-28 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010500352001,"66":12385,"39":206,"85":15104,"24":46,"16":77013191728562176,"45":-8936900854382159872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010500352001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77013191728562176,"km_value":77013191728562.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936900854382159872,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010500352001,"power":12385,"unknown_39":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8936900854382159872}} 
[2026-04-28 19:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":57630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:01] local.INFO: GPS data processed {"connection_id":57630,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:01] local.INFO: Acknowledgment sent {"connection_id":57630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:08] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:08] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:08] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:31:13] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:13] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:31:13] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:31:14] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:14] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:14] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:14] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:14] 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-04-28 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:14] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:14] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:30] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4632e78012d7b094005e31c080000015a24..."} 
[2026-04-28 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4632e78012d7b094005e31c080000015a24..."} 
[2026-04-28 19:31:30] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4632e78012d7b094005e31c080000015a24..."} 
[2026-04-28 19:31:30] local.INFO: Packet analysis {"connection_id":56952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:30] local.INFO: Extracted packet for processing {"connection_id":56952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98769928,"longitude_deg":76.3038016,"latitude_deg":9.8769928,"altitude":0,"angle":346,"satellites":36,"speed":14,"hex_longitude":"2d7b0940","hex_latitude":"05e31c08","is_valid_coordinates":true} 
[2026-04-28 19:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010493952001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282527157798830080,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110366439424,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384763000,"timestamp_ms":1777384763000,"timestamp_seconds":1777384763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4632e78"} 
[2026-04-28 19:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010493952001,"66":27365,"97":206,"85":15104,"24":14,"16":282527157798830080,"45":8867095110366439424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-28 19:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010493952001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-28 19:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282527157798830080,"km_value":282527157798830.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110366439424,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010493952001,"power":27365,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8867095110366439424}} 
[2026-04-28 19:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":56952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:30] local.INFO: GPS data processed {"connection_id":56952,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:30] local.INFO: Acknowledgment sent {"connection_id":56952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:32] local.INFO: TCP Data received {"connection_id":57630,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4637c98012d83f48005cd61d0000900b71d..."} 
[2026-04-28 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4637c98012d83f48005cd61d0000900b71d..."} 
[2026-04-28 19:31:32] local.INFO: Processing buffer {"connection_id":57630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4637c98012d83f48005cd61d0000900b71d..."} 
[2026-04-28 19:31:32] local.INFO: Packet analysis {"connection_id":57630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:32] local.INFO: Extracted packet for processing {"connection_id":57630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763622528,"raw_latitude":97346000,"longitude_deg":76.3622528,"latitude_deg":9.7346,"altitude":9,"angle":183,"satellites":29,"speed":46,"hex_longitude":"2d83f480","hex_latitude":"05cd61d0","is_valid_coordinates":true} 
[2026-04-28 19:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010502400001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77013646995095552,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8937815648058824704,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777384783000,"timestamp_ms":1777384783000,"timestamp_seconds":1777384783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4637c98"} 
[2026-04-28 19:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:32] 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-04-28 19:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:31:32] 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-04-28 19:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":57630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":57630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:32] 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-04-28 19:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010502400001,"66":12156,"39":206,"85":15104,"24":46,"16":77013646995095552,"45":-8937815648058824704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-04-28 19:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010502400001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77013646995095552,"km_value":77013646995095.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8937815648058824704,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010502400001,"power":12156,"unknown_39":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8937815648058824704}} 
[2026-04-28 19:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":57630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:32] local.INFO: GPS data processed {"connection_id":57630,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:32] local.INFO: Acknowledgment sent {"connection_id":57630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:42] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:42] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:42] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:31:45] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:45] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:31:45] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:45] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 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-04-28 19:31:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:45] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:45] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:46] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:46] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:46] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:31:47] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:47] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:47] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:31:49] local.INFO: TCP Data received {"connection_id":56954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:31:49] local.INFO: Processing buffer {"connection_id":56954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:31:49] local.INFO: IMEI packet received {"connection_id":56954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":56954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:31:52] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:52] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:31:52] local.INFO: IMEI packet received {"connection_id":56709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":56709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:31:52] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd464fb68012d83bb0005cbe388000600bb1d..."} 
[2026-04-28 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd464fb68012d83bb0005cbe388000600bb1d..."} 
[2026-04-28 19:31:52] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd464fb68012d83bb0005cbe388000600bb1d..."} 
[2026-04-28 19:31:52] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd464"} 
[2026-04-28 19:31:52] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd464"} 
[2026-04-28 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763607808,"raw_latitude":97248136,"longitude_deg":76.3607808,"latitude_deg":9.7248136,"altitude":6,"angle":187,"satellites":29,"speed":27,"hex_longitude":"2d83bb00","hex_latitude":"05cbe388","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010526720001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77018470243368960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8952733821849640960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384881000,"timestamp_ms":1777384881000,"timestamp_seconds":1777384881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd464fb68"} 
[2026-04-28 19:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":200,"data_length":795,"current_offset":136} 
[2026-04-28 19:31: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-04-28 19: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-04-28 19:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31: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-04-28 19:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010526720001,"66":12428,"63":206,"85":15104,"24":27,"16":77018470243368960,"45":-8952733821849640960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010526720001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77018470243368960,"km_value":77018470243368.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8952733821849640960,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010526720001,"power":12428,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-8952733821849640960}} 
[2026-04-28 19:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:52] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:52] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:57] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4652660012d83b8c005cbbef0000700b31d..."} 
[2026-04-28 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4652660012d83b8c005cbbef0000700b31d..."} 
[2026-04-28 19:31:57] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4652660012d83b8c005cbbef0000700b31d..."} 
[2026-04-28 19:31:57] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:31:57] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763607232,"raw_latitude":97238768,"longitude_deg":76.3607232,"latitude_deg":9.7238768,"altitude":7,"angle":179,"satellites":29,"speed":38,"hex_longitude":"2d83b8c0","hex_latitude":"05cbbef0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010529536001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77018925509902336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954563409200576512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:31:57] 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-04-28 19:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384892000,"timestamp_ms":1777384892000,"timestamp_seconds":1777384892,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4652660"} 
[2026-04-28 19:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 19:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:31:57] 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-04-28 19:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010529536001,"66":12385,"63":206,"85":15104,"24":38,"16":77018925509902336,"45":-8954563409200576512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010529536001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:31:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77018925509902336,"km_value":77018925509902.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954563409200576512,"description":"Unknown IO ID 45"} 
[2026-04-28 19:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010529536001,"power":12385,"unknown_63":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-8954563409200576512}} 
[2026-04-28 19:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:31:57] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:31:57] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:31:58] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:31:58] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:31:58] local.INFO: IMEI packet received {"connection_id":56955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":56955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:32:02] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:02] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:02] local.INFO: IMEI packet received {"connection_id":56955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":56955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:32:03] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4650ef0012d7b8a4005e40880000a00222a..."} 
[2026-04-28 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4650ef0012d7b8a4005e40880000a00222a..."} 
[2026-04-28 19:32:03] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4650ef0012d7b8a4005e40880000a00222a..."} 
[2026-04-28 19:32:03] local.INFO: Packet analysis {"connection_id":56955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:03] local.INFO: Extracted packet for processing {"connection_id":56955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":98830464,"longitude_deg":76.307104,"latitude_deg":9.8830464,"altitude":10,"angle":34,"satellites":42,"speed":41,"hex_longitude":"2d7b8a40","hex_latitude":"05e40880","is_valid_coordinates":true} 
[2026-04-28 19:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010528512001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282530606657568768,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896509245448155136,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:03] 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-04-28 19:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777384886000,"timestamp_ms":1777384886000,"timestamp_seconds":1777384886,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4650ef0"} 
[2026-04-28 19:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:03] 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-04-28 19:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010528512001,"66":27376,"39":206,"87":13824,"24":41,"16":282530606657568768,"45":8896509245448155136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010528512001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282530606657568768,"km_value":282530606657568.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896509245448155136,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010528512001,"power":27376,"unknown_39":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8896509245448155136}} 
[2026-04-28 19:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":56955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:03] local.INFO: GPS data processed {"connection_id":56955,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:03] local.INFO: Acknowledgment sent {"connection_id":56955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:08] local.INFO: TCP Data received {"connection_id":56710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:08] local.INFO: Processing buffer {"connection_id":56710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:08] local.INFO: IMEI packet received {"connection_id":56710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":56710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:32:13] local.INFO: TCP Data received {"connection_id":56710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:13] local.INFO: Processing buffer {"connection_id":56710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:32:13] local.INFO: IMEI packet received {"connection_id":56710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":56710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:32:14] local.INFO: TCP Data received {"connection_id":56710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:14] local.INFO: Processing buffer {"connection_id":56710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:14] local.INFO: Packet analysis {"connection_id":56710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:32:14] local.INFO: Extracted packet for processing {"connection_id":56710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:14] 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-04-28 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":56710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:14] local.INFO: GPS data processed {"connection_id":56710,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:14] local.INFO: Acknowledgment sent {"connection_id":56710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:32] local.INFO: TCP Data received {"connection_id":56709,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4654988012d83ba4005cb97f0000c00b11b..."} 
[2026-04-28 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4654988012d83ba4005cb97f0000c00b11b..."} 
[2026-04-28 19:32:32] local.INFO: Processing buffer {"connection_id":56709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4654988012d83ba4005cb97f0000c00b11b..."} 
[2026-04-28 19:32:32] local.INFO: Packet analysis {"connection_id":56709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:32] local.INFO: Extracted packet for processing {"connection_id":56709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763607616,"raw_latitude":97228784,"longitude_deg":76.3607616,"latitude_deg":9.7228784,"altitude":12,"angle":177,"satellites":27,"speed":45,"hex_longitude":"2d83ba40","hex_latitude":"05cb97f0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010532352001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77019410841206784,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8955196727900573696,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:32] 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-04-28 19:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777384901000,"timestamp_ms":1777384901000,"timestamp_seconds":1777384901,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4654988"} 
[2026-04-28 19:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:32] 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-04-28 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:32] 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-04-28 19: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-04-28 19:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32:32] 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-04-28 19:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010532352001,"66":12298,"63":206,"85":15104,"24":45,"16":77019410841206784,"45":-8955196727900573696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010532352001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:32] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77019410841206784,"km_value":77019410841206.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8955196727900573696,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010532352001,"power":12298,"unknown_63":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-8955196727900573696}} 
[2026-04-28 19:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":56709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:32] local.INFO: GPS data processed {"connection_id":56709,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:32] local.INFO: Acknowledgment sent {"connection_id":56709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:33] local.INFO: TCP Data received {"connection_id":57631,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:32:33] local.INFO: Processing buffer {"connection_id":57631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:32:33] local.INFO: IMEI packet received {"connection_id":57631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":57631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:32:34] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4653218012d7b9f8005e42878000b00202b..."} 
[2026-04-28 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4653218012d7b9f8005e42878000b00202b..."} 
[2026-04-28 19:32:34] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4653218012d7b9f8005e42878000b00202b..."} 
[2026-04-28 19:32:34] local.INFO: Packet analysis {"connection_id":56955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:34] local.INFO: Extracted packet for processing {"connection_id":56955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763076480,"raw_latitude":98838648,"longitude_deg":76.307648,"latitude_deg":9.8838648,"altitude":11,"angle":32,"satellites":43,"speed":44,"hex_longitude":"2d7b9f80","hex_latitude":"05e42878","is_valid_coordinates":true} 
[2026-04-28 19:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010530816001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282531083398938624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901998007495983104,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:34] 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-04-28 19:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777384895000,"timestamp_ms":1777384895000,"timestamp_seconds":1777384895,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4653218"} 
[2026-04-28 19:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:34] 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-04-28 19:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010530816001,"66":27397,"39":206,"87":13824,"24":44,"16":282531083398938624,"45":8901998007495983104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010530816001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282531083398938624,"km_value":282531083398938.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901998007495983104,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010530816001,"power":27397,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8901998007495983104}} 
[2026-04-28 19:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":56955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:34] local.INFO: GPS data processed {"connection_id":56955,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:34] local.INFO: Acknowledgment sent {"connection_id":56955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:45] local.INFO: TCP Data received {"connection_id":56710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:45] local.INFO: Processing buffer {"connection_id":56710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:32:45] local.INFO: Packet analysis {"connection_id":56710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:32:45] local.INFO: Extracted packet for processing {"connection_id":56710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 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-04-28 19:32:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":56710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:45] local.INFO: GPS data processed {"connection_id":56710,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:45] local.INFO: Acknowledgment sent {"connection_id":56710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:46] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:46] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:46] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:32:47] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:47] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:47] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:32:52] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:52] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:32:52] local.INFO: IMEI packet received {"connection_id":56921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":56921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:32:52] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4655d10012d83b94005cb8160000d00bd1b..."} 
[2026-04-28 19:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4655d10012d83b94005cb8160000d00bd1b..."} 
[2026-04-28 19:32:52] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4655d10012d83b94005cb8160000d00bd1b..."} 
[2026-04-28 19:32:52] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:52] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763607360,"raw_latitude":97223008,"longitude_deg":76.360736,"latitude_deg":9.7223008,"altitude":13,"angle":189,"satellites":27,"speed":44,"hex_longitude":"2d83b940","hex_latitude":"05cb8160","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010534656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77019694309048320,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954774515438063616,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384906000,"timestamp_ms":1777384906000,"timestamp_seconds":1777384906,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4655d10"} 
[2026-04-28 19:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32: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-04-28 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":417866714077003966,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437187904000,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3142320669280336926,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2210922501,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245108654286,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13477951,"corrected_to":0} 
[2026-04-28 19:32:52] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":703594501,"corrected_to":0} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":52945883595014144,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822701262,"corrected_to":0} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3221605450,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":28,"raw_value":12384898975924228,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2662203392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3429496832,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":5908722711110090753,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,160,38,45,192,190,7,29,10,66,251,227,6,159,208,128,1,240,200,212,204,4,113,205,30,126,213,28,239,47,2,17,5,158],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":200,"original":13477951,"validated":0},{"io_id":204,"original":703594501,"validated":0},{"io_id":205,"original":2822701262,"validated":0}]} 
[2026-04-28 19:32:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864885857980317696,"timestamp_seconds":864885857980317.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 19:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32: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-04-28 19:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010534656001,"66":12330,"63":206,"85":15104,"24":44,"16":77019694309048320,"45":-8954774515438063616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010534656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77019694309048320,"km_value":77019694309048.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954774515438063616,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010534656001,"power":12330,"unknown_63":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-8954774515438063616}} 
[2026-04-28 19:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:52] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:52] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:53] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:53] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:53] local.INFO: IMEI packet received {"connection_id":56956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:32:55] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:55] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:32:55] local.INFO: IMEI packet received {"connection_id":56956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":56956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:32:56] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4655540012d7bb4c005e44920000c00202a..."} 
[2026-04-28 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4655540012d7bb4c005e44920000c00202a..."} 
[2026-04-28 19:32:56] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4655540012d7bb4c005e44920000c00202a..."} 
[2026-04-28 19:32:56] local.INFO: Packet analysis {"connection_id":56956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:56] local.INFO: Extracted packet for processing {"connection_id":56956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763081920,"raw_latitude":98847008,"longitude_deg":76.308192,"latitude_deg":9.8847008,"altitude":12,"angle":32,"satellites":42,"speed":42,"hex_longitude":"2d7bb4c0","hex_latitude":"05e44920","is_valid_coordinates":true} 
[2026-04-28 19:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010533120001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282531564435275776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907979350753179648,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:56] 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-04-28 19:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777384904000,"timestamp_ms":1777384904000,"timestamp_seconds":1777384904,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4655540"} 
[2026-04-28 19:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:32: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-04-28 19:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010533120001,"66":27332,"39":206,"87":13824,"24":42,"16":282531564435275776,"45":8907979350753179648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010533120001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:32:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282531564435275776,"km_value":282531564435275.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907979350753179648,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010533120001,"power":27332,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8907979350753179648}} 
[2026-04-28 19:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":56956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:56] local.INFO: GPS data processed {"connection_id":56956,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:56] local.INFO: Acknowledgment sent {"connection_id":56956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:32:57] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4658038012d83b0c005cb5cc8000e00bb1b..."} 
[2026-04-28 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4658038012d83b0c005cb5cc8000e00bb1b..."} 
[2026-04-28 19:32:57] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4658038012d83b0c005cb5cc8000e00bb1b..."} 
[2026-04-28 19:32:57] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:57] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763605184,"raw_latitude":97213640,"longitude_deg":76.3605184,"latitude_deg":9.721364,"altitude":14,"angle":187,"satellites":27,"speed":42,"hex_longitude":"2d83b0c0","hex_latitude":"05cb5cc8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010535936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77020158165516288,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8955055990416252928,"note":"Value kept but may cause issues"} 
[2026-04-28 19:32:57] 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-04-28 19:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777384915000,"timestamp_ms":1777384915000,"timestamp_seconds":1777384915,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4658038"} 
[2026-04-28 19:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 19:32:57] 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-04-28 19: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-04-28 19:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:32:57] 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-04-28 19:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010535936001,"66":12232,"63":206,"85":15104,"24":42,"16":77020158165516288,"45":-8955055990416252928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010535936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77020158165516288,"km_value":77020158165516.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8955055990416252928,"description":"Unknown IO ID 45"} 
[2026-04-28 19:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010535936001,"power":12232,"unknown_63":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8955055990416252928}} 
[2026-04-28 19:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:32:57] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:32:57] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:08] local.INFO: TCP Data received {"connection_id":56711,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:08] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:08] local.INFO: IMEI packet received {"connection_id":56711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:33:13] local.INFO: TCP Data received {"connection_id":56711,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:13] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:33:13] local.INFO: IMEI packet received {"connection_id":56711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":56711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:33:14] local.INFO: TCP Data received {"connection_id":56711,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:14] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:14] local.INFO: Packet analysis {"connection_id":56711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:33:14] local.INFO: Extracted packet for processing {"connection_id":56711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:33:14] 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-04-28 19:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":56711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:14] local.INFO: GPS data processed {"connection_id":56711,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:14] local.INFO: Acknowledgment sent {"connection_id":56711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:27] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4657868012d7bc98005e468a0000c00212b..."} 
[2026-04-28 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4657868012d7bc98005e468a0000c00212b..."} 
[2026-04-28 19:33:27] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4657868012d7bc98005e468a0000c00212b..."} 
[2026-04-28 19:33:27] local.INFO: Packet analysis {"connection_id":56956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:27] local.INFO: Extracted packet for processing {"connection_id":56956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763087232,"raw_latitude":98855072,"longitude_deg":76.3087232,"latitude_deg":9.8855072,"altitude":12,"angle":33,"satellites":43,"speed":43,"hex_longitude":"2d7bc980","hex_latitude":"05e468a0","is_valid_coordinates":true} 
[2026-04-28 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010535424001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282532028291743744,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913960694010421248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:27] 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-04-28 19:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777384913000,"timestamp_ms":1777384913000,"timestamp_seconds":1777384913,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4657868"} 
[2026-04-28 19:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:33: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-04-28 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:33: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-04-28 19:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010535424001,"66":27234,"39":206,"87":13824,"24":43,"16":282532028291743744,"45":8913960694010421248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010535424001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:33:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282532028291743744,"km_value":282532028291743.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913960694010421248,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010535424001,"power":27234,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8913960694010421248}} 
[2026-04-28 19:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":56956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:27] local.INFO: GPS data processed {"connection_id":56956,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:27] local.INFO: Acknowledgment sent {"connection_id":56956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:29] local.INFO: TCP Data received {"connection_id":56921,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd465a360012d83aec005cb36f0000f00b91d..."} 
[2026-04-28 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd465a360012d83aec005cb36f0000f00b91d..."} 
[2026-04-28 19:33:30] local.INFO: Processing buffer {"connection_id":56921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd465a360012d83aec005cb36f0000f00b91d..."} 
[2026-04-28 19:33:30] local.INFO: Packet analysis {"connection_id":56921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:30] local.INFO: Extracted packet for processing {"connection_id":56921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763604672,"raw_latitude":97203952,"longitude_deg":76.3604672,"latitude_deg":9.7203952,"altitude":15,"angle":185,"satellites":29,"speed":42,"hex_longitude":"2d83aec0","hex_latitude":"05cb36f0","is_valid_coordinates":true} 
[2026-04-28 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010538240001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77020630611918848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8957448527720691712,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:30] 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-04-28 19:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384924000,"timestamp_ms":1777384924000,"timestamp_seconds":1777384924,"priority":1,"record_length":96,"hex_timestamp":"0000019dd465a360"} 
[2026-04-28 19:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:33:30] 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-04-28 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 19:33: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-04-28 19:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:33:30] 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-04-28 19:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010538240001,"66":12472,"63":206,"85":15104,"24":42,"16":77020630611918848,"45":-8957448527720691712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-04-28 19:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010538240001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-28 19:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77020630611918848,"km_value":77020630611918.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8957448527720691712,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010538240001,"power":12472,"unknown_63":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8957448527720691712}} 
[2026-04-28 19:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":56921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:30] local.INFO: GPS data processed {"connection_id":56921,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:30] local.INFO: Acknowledgment sent {"connection_id":56921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:45] local.INFO: TCP Data received {"connection_id":56711,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:45] local.INFO: Processing buffer {"connection_id":56711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:33:45] local.INFO: Packet analysis {"connection_id":56711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:33:45] local.INFO: Extracted packet for processing {"connection_id":56711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 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-04-28 19:33:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":56711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:45] local.INFO: GPS data processed {"connection_id":56711,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:45] local.INFO: Acknowledgment sent {"connection_id":56711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:46] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:46] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:46] local.INFO: IMEI packet received {"connection_id":56957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":56957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:33:47] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:47] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:47] local.INFO: IMEI packet received {"connection_id":56957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":56957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:33:52] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:52] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:33:52] local.INFO: IMEI packet received {"connection_id":56957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":56957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:33:52] local.INFO: TCP Data received {"connection_id":57634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:53] local.INFO: Processing buffer {"connection_id":57634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:53] local.INFO: IMEI packet received {"connection_id":57634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":57634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:33:53] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd466fb20012d836a8005c9fa48000800d61d..."} 
[2026-04-28 19:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd466fb20012d836a8005c9fa48000800d61d..."} 
[2026-04-28 19:33:53] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd466fb20012d836a8005c9fa48000800d61d..."} 
[2026-04-28 19:33:53] local.INFO: Packet analysis {"connection_id":56957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd466"} 
[2026-04-28 19:33:53] local.INFO: Extracted packet for processing {"connection_id":56957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd466"} 
[2026-04-28 19:33:53] local.INFO: GPS Element Parsed {"raw_longitude":763587200,"raw_latitude":97122888,"longitude_deg":76.35872,"latitude_deg":9.7122888,"altitude":8,"angle":214,"satellites":29,"speed":39,"hex_longitude":"2d836a80","hex_latitude":"05c9fa48","is_valid_coordinates":true} 
[2026-04-28 19:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010562304001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77024680766078976,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8975674032485269504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777385012000,"timestamp_ms":1777385012000,"timestamp_seconds":1777385012,"priority":1,"record_length":96,"hex_timestamp":"0000019dd466fb20"} 
[2026-04-28 19:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:33: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-04-28 19:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:33:53] 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-04-28 19:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:33: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-04-28 19:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010562304001,"66":12461,"64":206,"85":15104,"24":39,"16":77024680766078976,"45":-8975674032485269504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010562304001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:33:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77024680766078976,"km_value":77024680766078.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8975674032485269504,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010562304001,"power":12461,"unknown_64":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8975674032485269504}} 
[2026-04-28 19:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":56957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:53] local.INFO: GPS data processed {"connection_id":56957,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:53] local.INFO: Acknowledgment sent {"connection_id":56957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:33:58] local.INFO: TCP Data received {"connection_id":57634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:58] local.INFO: Processing buffer {"connection_id":57634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:33:58] local.INFO: IMEI packet received {"connection_id":57634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":57634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:33:59] local.INFO: TCP Data received {"connection_id":57634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46597a8012d7bddc005e48690000c00222b..."} 
[2026-04-28 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46597a8012d7bddc005e48690000c00222b..."} 
[2026-04-28 19:33:59] local.INFO: Processing buffer {"connection_id":57634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46597a8012d7bddc005e48690000c00222b..."} 
[2026-04-28 19:33:59] local.INFO: Packet analysis {"connection_id":57634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:59] local.INFO: Extracted packet for processing {"connection_id":57634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98862736,"longitude_deg":76.3092416,"latitude_deg":9.8862736,"altitude":12,"angle":34,"satellites":43,"speed":50,"hex_longitude":"2d7bddc0","hex_latitude":"05e48690","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010537728001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282532474968342528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919801299779231744,"note":"Value kept but may cause issues"} 
[2026-04-28 19:33:59] 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-04-28 19:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777384921000,"timestamp_ms":1777384921000,"timestamp_seconds":1777384921,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46597a8"} 
[2026-04-28 19:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010537728001,"66":27289,"39":206,"87":13824,"24":50,"16":282532474968342528,"45":8919801299779231744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010537728001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:33:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282532474968342528,"km_value":282532474968342.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919801299779231744,"description":"Unknown IO ID 45"} 
[2026-04-28 19:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010537728001,"power":27289,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8919801299779231744}} 
[2026-04-28 19:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":57634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:33:59] local.INFO: GPS data processed {"connection_id":57634,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:33:59] local.INFO: Acknowledgment sent {"connection_id":57634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:34:13] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:13] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:13] local.INFO: IMEI packet received {"connection_id":56922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":56922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:34:20] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:20] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:34:20] local.INFO: IMEI packet received {"connection_id":56922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":56922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:34:21] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:21] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:21] local.INFO: Packet analysis {"connection_id":56922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:34:21] local.INFO: Extracted packet for processing {"connection_id":56922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:34:21] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:34:21] 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-04-28 19:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:34:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":56922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:34:21] local.INFO: GPS data processed {"connection_id":56922,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:34:21] local.INFO: Acknowledgment sent {"connection_id":56922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:34:24] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4671e48012d83534005c9dec0000800d41c..."} 
[2026-04-28 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4671e48012d83534005c9dec0000800d41c..."} 
[2026-04-28 19:34:24] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4671e48012d83534005c9dec0000800d41c..."} 
[2026-04-28 19:34:24] local.INFO: Packet analysis {"connection_id":56957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:34:24] local.INFO: Extracted packet for processing {"connection_id":56957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763581248,"raw_latitude":97115840,"longitude_deg":76.3581248,"latitude_deg":9.711584,"altitude":8,"angle":212,"satellites":28,"speed":37,"hex_longitude":"2d835340","hex_latitude":"05c9dec0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010563072001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77025123147710464,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8977222144857847808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385021000,"timestamp_ms":1777385021000,"timestamp_seconds":1777385021,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4671e48"} 
[2026-04-28 19:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:34: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-04-28 19:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:34: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-04-28 19:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010563072001,"66":12298,"64":206,"85":15104,"24":37,"16":77025123147710464,"45":-8977222144857847808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010563072001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:34:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77025123147710464,"km_value":77025123147710.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8977222144857847808,"description":"Unknown IO ID 45"} 
[2026-04-28 19:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010563072001,"power":12298,"unknown_64":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-8977222144857847808}} 
[2026-04-28 19:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":56957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:34:24] local.INFO: GPS data processed {"connection_id":56957,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:34:24] local.INFO: Acknowledgment sent {"connection_id":56957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:34:30] local.INFO: TCP Data received {"connection_id":57634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd465b300012d7bf24005e4a538000b00212b..."} 
[2026-04-28 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd465b300012d7bf24005e4a538000b00212b..."} 
[2026-04-28 19:34:30] local.INFO: Processing buffer {"connection_id":57634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd465b300012d7bf24005e4a538000b00212b..."} 
[2026-04-28 19:34:30] local.INFO: Packet analysis {"connection_id":57634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:34:30] local.INFO: Extracted packet for processing {"connection_id":57634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd465"} 
[2026-04-28 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763097664,"raw_latitude":98870584,"longitude_deg":76.3097664,"latitude_deg":9.8870584,"altitude":11,"angle":33,"satellites":43,"speed":53,"hex_longitude":"2d7bf240","hex_latitude":"05e4a538","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010539776001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282532934529843200,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925501168059584512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34: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-04-28 19:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777384928000,"timestamp_ms":1777384928000,"timestamp_seconds":1777384928,"priority":1,"record_length":96,"hex_timestamp":"0000019dd465b300"} 
[2026-04-28 19:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 19:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010539776001,"66":27365,"39":206,"87":13824,"24":53,"16":282532934529843200,"45":8925501168059584512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-28 19:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010539776001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:34:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-28 19:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282532934529843200,"km_value":282532934529843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925501168059584512,"description":"Unknown IO ID 45"} 
[2026-04-28 19:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010539776001,"power":27365,"unknown_39":206,"unknown_87":13824,"ignition":53,"odometer":null,"unknown_45":8925501168059584512}} 
[2026-04-28 19:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":57634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:34:30] local.INFO: GPS data processed {"connection_id":57634,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:34:30] local.INFO: Acknowledgment sent {"connection_id":57634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:34:52] local.INFO: TCP Data received {"connection_id":56922,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:52] local.INFO: Processing buffer {"connection_id":56922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4630768012d196540071ff0280042013223..."} 
[2026-04-28 19:34:52] local.INFO: Packet analysis {"connection_id":56922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:34:52] local.INFO: Extracted packet for processing {"connection_id":56922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd463"} 
[2026-04-28 19:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010419712001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777384753000,"timestamp_ms":1777384753000,"timestamp_seconds":1777384753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4630768"} 
[2026-04-28 19:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:34:52] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:34:52] 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-04-28 19:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010419712001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010419712001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:34:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010419712001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":56922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:34:52] local.INFO: GPS data processed {"connection_id":56922,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:34:52] local.INFO: Acknowledgment sent {"connection_id":56922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:34:57] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:34:57] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:34:57] local.INFO: IMEI packet received {"connection_id":56712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":56712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:35:01] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:01] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:01] local.INFO: IMEI packet received {"connection_id":56712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":56712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:03] local.INFO: TCP Data received {"connection_id":57635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: Processing buffer {"connection_id":57635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: IMEI packet received {"connection_id":57635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":57635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:35:03] local.INFO: TCP Data received {"connection_id":57635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: Processing buffer {"connection_id":57635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:03] local.INFO: IMEI packet received {"connection_id":57635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":57635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:03] local.INFO: TCP Data received {"connection_id":56712,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4672618012d83500005c9d848000700c81e..."} 
[2026-04-28 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4672618012d83500005c9d848000700c81e..."} 
[2026-04-28 19:35:03] local.INFO: Processing buffer {"connection_id":56712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4672618012d83500005c9d848000700c81e..."} 
[2026-04-28 19:35:03] local.INFO: Packet analysis {"connection_id":56712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:03] local.INFO: Extracted packet for processing {"connection_id":56712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763580416,"raw_latitude":97114184,"longitude_deg":76.3580416,"latitude_deg":9.7114184,"altitude":7,"angle":200,"satellites":30,"speed":36,"hex_longitude":"2d835000","hex_latitude":"05c9d848","is_valid_coordinates":true} 
[2026-04-28 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010565376001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77025213342023680,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8983766438068174848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777385023000,"timestamp_ms":1777385023000,"timestamp_seconds":1777385023,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4672618"} 
[2026-04-28 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":417294074678018244,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437036909056,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3141745143662673019,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2205417477,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460568082546894,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":860356616,"corrected_to":0} 
[2026-04-28 19:35:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822766798,"corrected_to":0} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":28,"raw_value":10696049115660292,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3221302659,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2759524352,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3395672064,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":5476377146882523137,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,64,85,24,241,157,16,165,251,45,128,250,8,29,10,66,239,4,9,227,192,1,240,27,212,202,113,205,28,141,117,48,2,17,5,164],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":202,"original":860356616,"validated":0},{"io_id":205,"original":2822766798,"validated":0}]} 
[2026-04-28 19:35:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576693969030021120,"timestamp_seconds":576693969030021.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010565376001,"66":12385,"64":206,"85":15104,"24":36,"16":77025213342023680,"45":-8983766438068174848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010565376001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77025213342023680,"km_value":77025213342023.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8983766438068174848,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010565376001,"power":12385,"unknown_64":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-8983766438068174848}} 
[2026-04-28 19:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":56712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:03] local.INFO: GPS data processed {"connection_id":56712,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:03] local.INFO: Acknowledgment sent {"connection_id":56712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:35:08] local.INFO: TCP Data received {"connection_id":57635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:08] local.INFO: Processing buffer {"connection_id":57635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:08] local.INFO: IMEI packet received {"connection_id":57635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":57635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:08] local.INFO: TCP Data received {"connection_id":56924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:08] local.INFO: Processing buffer {"connection_id":56924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:08] local.INFO: IMEI packet received {"connection_id":56924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":56924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:35:08] local.INFO: TCP Data received {"connection_id":57635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46783d8012d7c888005e5fbf00007000d25..."} 
[2026-04-28 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46783d8012d7c888005e5fbf00007000d25..."} 
[2026-04-28 19:35:08] local.INFO: Processing buffer {"connection_id":57635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46783d8012d7c888005e5fbf00007000d25..."} 
[2026-04-28 19:35:08] local.INFO: Packet analysis {"connection_id":57635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:08] local.INFO: Extracted packet for processing {"connection_id":57635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98958320,"longitude_deg":76.3136128,"latitude_deg":9.895832,"altitude":7,"angle":13,"satellites":37,"speed":25,"hex_longitude":"2d7c8880","hex_latitude":"05e5fbf0","is_valid_coordinates":true} 
[2026-04-28 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010566656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282537633224065024,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451958030505984,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777385047000,"timestamp_ms":1777385047000,"timestamp_seconds":1777385047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46783d8"} 
[2026-04-28 19:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:08] 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-04-28 19:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010566656001,"66":27267,"38":206,"87":13824,"24":25,"16":282537633224065024,"45":8971451958030505984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-28 19:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010566656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282537633224065024,"km_value":282537633224065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451958030505984,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010566656001,"power":27267,"unknown_38":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8971451958030505984}} 
[2026-04-28 19:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":57635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:08] local.INFO: GPS data processed {"connection_id":57635,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:08] local.INFO: Acknowledgment sent {"connection_id":57635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:35:11] local.INFO: TCP Data received {"connection_id":57635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd467b6a0012d7c914005e61e980007000b2a..."} 
[2026-04-28 19:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd467b6a0012d7c914005e61e980007000b2a..."} 
[2026-04-28 19:35:11] local.INFO: Processing buffer {"connection_id":57635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd467b6a0012d7c914005e61e980007000b2a..."} 
[2026-04-28 19:35:11] local.INFO: Packet analysis {"connection_id":57635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:11] local.INFO: Extracted packet for processing {"connection_id":57635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763138368,"raw_latitude":98967192,"longitude_deg":76.3138368,"latitude_deg":9.8967192,"altitude":7,"angle":11,"satellites":42,"speed":29,"hex_longitude":"2d7c9140","hex_latitude":"05e61e98","is_valid_coordinates":true} 
[2026-04-28 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010572032001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282538075605696512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020357398528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777385060000,"timestamp_ms":1777385060000,"timestamp_seconds":1777385060,"priority":1,"record_length":96,"hex_timestamp":"0000019dd467b6a0"} 
[2026-04-28 19:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":57635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":57635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":57635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:11] 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-04-28 19:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010572032001,"66":27245,"38":206,"87":13824,"24":29,"16":282538075605696512,"45":8973563020357398528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-28 19:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010572032001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:11] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 19:35:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282538075605696512,"km_value":282538075605696.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020357398528,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010572032001,"power":27245,"unknown_38":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8973563020357398528}} 
[2026-04-28 19:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":57635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:11] local.INFO: GPS data processed {"connection_id":57635,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:11] local.INFO: Acknowledgment sent {"connection_id":57635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:35:25] local.INFO: TCP Data received {"connection_id":56924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:25] local.INFO: Processing buffer {"connection_id":56924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:35:25] local.INFO: IMEI packet received {"connection_id":56924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":56924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:26] local.INFO: TCP Data received {"connection_id":56924,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:35:26] local.INFO: Processing buffer {"connection_id":56924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:35:26] local.INFO: Packet analysis {"connection_id":56924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:26] local.INFO: Extracted packet for processing {"connection_id":56924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:26] 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-04-28 19:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35:26] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:35: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-04-28 19: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-04-28 19:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":56924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":56924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":56924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:35:26] 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-04-28 19:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":56924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:26] local.INFO: GPS data processed {"connection_id":56924,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:26] local.INFO: Acknowledgment sent {"connection_id":56924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:35:46] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:46] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:46] local.INFO: IMEI packet received {"connection_id":56925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":56925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:35:52] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:52] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:35:52] local.INFO: IMEI packet received {"connection_id":56925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":56925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:52] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46731d0012d834d4005c9cda0000700bd1e..."} 
[2026-04-28 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46731d0012d834d4005c9cda0000700bd1e..."} 
[2026-04-28 19:35:52] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46731d0012d834d4005c9cda0000700bd1e..."} 
[2026-04-28 19:35:52] local.INFO: Packet analysis {"connection_id":56925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:52] local.INFO: Extracted packet for processing {"connection_id":56925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763579712,"raw_latitude":97111456,"longitude_deg":76.3579712,"latitude_deg":9.7111456,"altitude":7,"angle":189,"satellites":30,"speed":39,"hex_longitude":"2d834d40","hex_latitude":"05c9cda0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010565888001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77025350780977152,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8984681231742908416,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385026000,"timestamp_ms":1777385026000,"timestamp_seconds":1777385026,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46731d0"} 
[2026-04-28 19:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:35: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-04-28 19:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010565888001,"66":12461,"64":206,"85":15104,"24":39,"16":77025350780977152,"45":-8984681231742908416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010565888001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:52] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77025350780977152,"km_value":77025350780977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8984681231742908416,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010565888001,"power":12461,"unknown_64":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8984681231742908416}} 
[2026-04-28 19:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":56925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:52] local.INFO: GPS data processed {"connection_id":56925,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:52] local.INFO: Acknowledgment sent {"connection_id":56925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:35:53] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:53] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:53] local.INFO: IMEI packet received {"connection_id":56926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":56926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:35:58] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:58] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:35:58] local.INFO: IMEI packet received {"connection_id":56926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":56926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:35:59] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd467e198012d7c98c005e643680007000b27..."} 
[2026-04-28 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd467e198012d7c98c005e643680007000b27..."} 
[2026-04-28 19:35:59] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd467e198012d7c98c005e643680007000b27..."} 
[2026-04-28 19:35:59] local.INFO: Packet analysis {"connection_id":56926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:59] local.INFO: Extracted packet for processing {"connection_id":56926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763140288,"raw_latitude":98976616,"longitude_deg":76.3140288,"latitude_deg":9.8976616,"altitude":7,"angle":11,"satellites":39,"speed":42,"hex_longitude":"2d7c98c0","hex_latitude":"05e64368","is_valid_coordinates":true} 
[2026-04-28 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010575360001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282538543757131776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976025926405888000,"note":"Value kept but may cause issues"} 
[2026-04-28 19:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777385071000,"timestamp_ms":1777385071000,"timestamp_seconds":1777385071,"priority":1,"record_length":96,"hex_timestamp":"0000019dd467e198"} 
[2026-04-28 19:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:35: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-04-28 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 19:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010575360001,"66":27234,"38":206,"87":13824,"24":42,"16":282538543757131776,"45":8976025926405888000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-28 19:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010575360001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:35:59] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 19:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282538543757131776,"km_value":282538543757131.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976025926405888000,"description":"Unknown IO ID 45"} 
[2026-04-28 19:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010575360001,"power":27234,"unknown_38":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8976025926405888000}} 
[2026-04-28 19:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":56926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:35:59] local.INFO: GPS data processed {"connection_id":56926,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:35:59] local.INFO: Acknowledgment sent {"connection_id":56926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:00] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46804c0012d7ca08005e669d80006000a29..."} 
[2026-04-28 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46804c0012d7ca08005e669d80006000a29..."} 
[2026-04-28 19:36:00] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46804c0012d7ca08005e669d80006000a29..."} 
[2026-04-28 19:36:00] local.INFO: Packet analysis {"connection_id":56926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:00] local.INFO: Extracted packet for processing {"connection_id":56926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763142272,"raw_latitude":98986456,"longitude_deg":76.3142272,"latitude_deg":9.8986456,"altitude":6,"angle":10,"satellites":41,"speed":46,"hex_longitude":"2d7ca080","hex_latitude":"05e669d8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010578176001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282539029088436224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978136988733630464,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385080000,"timestamp_ms":1777385080000,"timestamp_seconds":1777385080,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46804c0"} 
[2026-04-28 19:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36: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-04-28 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:00] 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-04-28 19: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-04-28 19:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010578176001,"66":27376,"38":206,"87":13824,"24":46,"16":282539029088436224,"45":8978136988733630464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-28 19:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010578176001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-28 19:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282539029088436224,"km_value":282539029088436.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978136988733630464,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010578176001,"power":27376,"unknown_38":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8978136988733630464}} 
[2026-04-28 19:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":56926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:00] local.INFO: GPS data processed {"connection_id":56926,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:00] local.INFO: Acknowledgment sent {"connection_id":56926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:08] local.INFO: TCP Data received {"connection_id":57636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:08] local.INFO: Processing buffer {"connection_id":57636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:08] local.INFO: IMEI packet received {"connection_id":57636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":57636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:36:13] local.INFO: TCP Data received {"connection_id":57636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:13] local.INFO: Processing buffer {"connection_id":57636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:36:13] local.INFO: IMEI packet received {"connection_id":57636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":57636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:36:14] local.INFO: TCP Data received {"connection_id":57636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:14] local.INFO: Processing buffer {"connection_id":57636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:14] local.INFO: Packet analysis {"connection_id":57636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:14] local.INFO: Extracted packet for processing {"connection_id":57636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36:14] 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-04-28 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:36:14] 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-04-28 19:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":57636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:14] local.INFO: GPS data processed {"connection_id":57636,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:14] local.INFO: Acknowledgment sent {"connection_id":57636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:24] local.INFO: TCP Data received {"connection_id":56925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4675cc8012d8345c005c9aaf0000500c31d..."} 
[2026-04-28 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4675cc8012d8345c005c9aaf0000500c31d..."} 
[2026-04-28 19:36:24] local.INFO: Processing buffer {"connection_id":56925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4675cc8012d8345c005c9aaf0000500c31d..."} 
[2026-04-28 19:36:24] local.INFO: Packet analysis {"connection_id":56925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:24] local.INFO: Extracted packet for processing {"connection_id":56925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763577792,"raw_latitude":97102576,"longitude_deg":76.3577792,"latitude_deg":9.7102576,"altitude":5,"angle":195,"satellites":29,"speed":27,"hex_longitude":"2d8345c0","hex_latitude":"05c9aaf0","is_valid_coordinates":true} 
[2026-04-28 19:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010566656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77025793162608640,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8985455287929561088,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385037000,"timestamp_ms":1777385037000,"timestamp_seconds":1777385037,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4675cc8"} 
[2026-04-28 19:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36: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-04-28 19:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:36: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-04-28 19:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010566656001,"66":12428,"64":206,"85":15104,"24":27,"16":77025793162608640,"45":-8985455287929561088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-04-28 19:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010566656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-28 19:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-28 19:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77025793162608640,"km_value":77025793162608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8985455287929561088,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010566656001,"power":12428,"unknown_64":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-8985455287929561088}} 
[2026-04-28 19:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":56925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:24] local.INFO: GPS data processed {"connection_id":56925,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:24] local.INFO: Acknowledgment sent {"connection_id":56925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:31] local.INFO: TCP Data received {"connection_id":56926,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4682400012d7ca7c005e68ff80006000b28..."} 
[2026-04-28 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4682400012d7ca7c005e68ff80006000b28..."} 
[2026-04-28 19:36:31] local.INFO: Processing buffer {"connection_id":56926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4682400012d7ca7c005e68ff80006000b28..."} 
[2026-04-28 19:36:31] local.INFO: Packet analysis {"connection_id":56926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:31] local.INFO: Extracted packet for processing {"connection_id":56926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763144128,"raw_latitude":98996216,"longitude_deg":76.3144128,"latitude_deg":9.8996216,"altitude":6,"angle":11,"satellites":40,"speed":50,"hex_longitude":"2d7ca7c0","hex_latitude":"05e68ff8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010580480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282539510124773376,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980318419805657088,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777385088000,"timestamp_ms":1777385088000,"timestamp_seconds":1777385088,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4682400"} 
[2026-04-28 19:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36: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-04-28 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010580480001,"66":27332,"94":206,"87":13824,"24":50,"16":282539510124773376,"45":8980318419805657088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-04-28 19:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010580480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 19:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282539510124773376,"km_value":282539510124773.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980318419805657088,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010580480001,"power":27332,"unknown_94":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8980318419805657088}} 
[2026-04-28 19:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":56926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:31] local.INFO: GPS data processed {"connection_id":56926,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:31] local.INFO: Acknowledgment sent {"connection_id":56926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:44] local.INFO: TCP Data received {"connection_id":56713,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:44] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:44] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:36:45] local.INFO: TCP Data received {"connection_id":57636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:45] local.INFO: Processing buffer {"connection_id":57636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:36:45] local.INFO: Packet analysis {"connection_id":57636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:45] local.INFO: Extracted packet for processing {"connection_id":57636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 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-04-28 19:36:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:36:45] 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-04-28 19:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":57636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:45] local.INFO: GPS data processed {"connection_id":57636,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:45] local.INFO: Acknowledgment sent {"connection_id":57636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:47] local.INFO: TCP Data received {"connection_id":56713,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:47] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:47] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:36:52] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:36:52] local.INFO: TCP Data received {"connection_id":56713,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:52] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:36:52] local.INFO: IMEI packet received {"connection_id":56713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":56713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:36:52] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:52] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:36:53] local.INFO: TCP Data received {"connection_id":56713,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4696c20012d83048005c85708000c00c01f..."} 
[2026-04-28 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4696c20012d83048005c85708000c00c01f..."} 
[2026-04-28 19:36:53] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4696c20012d83048005c85708000c00c01f..."} 
[2026-04-28 19:36:53] local.INFO: Packet analysis {"connection_id":56713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:36:53] local.INFO: Extracted packet for processing {"connection_id":56713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763561088,"raw_latitude":97015560,"longitude_deg":76.3561088,"latitude_deg":9.701556,"altitude":12,"angle":192,"satellites":31,"speed":23,"hex_longitude":"2d830480","hex_latitude":"05c85708","is_valid_coordinates":true} 
[2026-04-28 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010600192001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77030101014806528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003821530182135808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:53] 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-04-28 19:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777385172000,"timestamp_ms":1777385172000,"timestamp_seconds":1777385172,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4696c20"} 
[2026-04-28 19:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36: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-04-28 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:36: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-04-28 19:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010600192001,"66":12385,"217":206,"85":12288,"24":23,"16":77030101014806528,"45":-9003821530182135808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010600192001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:53] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77030101014806528,"km_value":77030101014806.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003821530182135808,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010600192001,"power":12385,"unknown_217":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9003821530182135808}} 
[2026-04-28 19:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":56713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:53] local.INFO: GPS data processed {"connection_id":56713,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:53] local.INFO: Acknowledgment sent {"connection_id":56713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:36:58] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:58] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:36:58] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:36:59] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4683f58012d7caf0005e6b2400006000b2b..."} 
[2026-04-28 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4683f58012d7caf0005e6b2400006000b2b..."} 
[2026-04-28 19:36:59] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4683f58012d7caf0005e6b2400006000b2b..."} 
[2026-04-28 19:36:59] local.INFO: Packet analysis {"connection_id":56959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:59] local.INFO: Extracted packet for processing {"connection_id":56959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763145984,"raw_latitude":99004992,"longitude_deg":76.3145984,"latitude_deg":9.9004992,"altitude":6,"angle":11,"satellites":43,"speed":49,"hex_longitude":"2d7caf00","hex_latitude":"05e6b240","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010582528001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282539948211437568,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982359113389307904,"note":"Value kept but may cause issues"} 
[2026-04-28 19:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777385095000,"timestamp_ms":1777385095000,"timestamp_seconds":1777385095,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4683f58"} 
[2026-04-28 19:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:36: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-04-28 19:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010582528001,"66":27267,"94":206,"87":13824,"24":49,"16":282539948211437568,"45":8982359113389307904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-04-28 19:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010582528001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 19:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282539948211437568,"km_value":282539948211437.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982359113389307904,"description":"Unknown IO ID 45"} 
[2026-04-28 19:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010582528001,"power":27267,"unknown_94":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8982359113389307904}} 
[2026-04-28 19:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":56959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:36:59] local.INFO: GPS data processed {"connection_id":56959,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:36:59] local.INFO: Acknowledgment sent {"connection_id":56959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:13] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:13] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:13] local.INFO: IMEI packet received {"connection_id":56927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":56927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:37:18] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:18] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:37:18] local.INFO: IMEI packet received {"connection_id":56927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":56927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:37:19] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:19] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:19] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:37:19] local.INFO: Extracted packet for processing {"connection_id":56927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:37:19] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:37:19] 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-04-28 19:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:37:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":56927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:37:20] local.INFO: GPS data processed {"connection_id":56927,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:37:20] local.INFO: Acknowledgment sent {"connection_id":56927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:24] local.INFO: TCP Data received {"connection_id":56927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:24] local.INFO: Processing buffer {"connection_id":56927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:37:24] local.INFO: Packet analysis {"connection_id":56927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:37:24] local.INFO: Extracted packet for processing {"connection_id":56927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] 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-04-28 19:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:37:24] 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-04-28 19:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:37:24] local.INFO: TCP Data received {"connection_id":56713,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd469a2d0012d82fec005c83448000b00ba1e..."} 
[2026-04-28 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd469a2d0012d82fec005c83448000b00ba1e..."} 
[2026-04-28 19:37:24] local.INFO: Processing buffer {"connection_id":56713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd469a2d0012d82fec005c83448000b00ba1e..."} 
[2026-04-28 19:37:24] local.INFO: Packet analysis {"connection_id":56713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:37:24] local.INFO: Extracted packet for processing {"connection_id":56713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763559616,"raw_latitude":97006664,"longitude_deg":76.3559616,"latitude_deg":9.7006664,"altitude":11,"angle":186,"satellites":30,"speed":25,"hex_longitude":"2d82fec0","hex_latitude":"05c83448","is_valid_coordinates":true} 
[2026-04-28 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010604032001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77030539101470720,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005932592509810688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:24] 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-04-28 19:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385186000,"timestamp_ms":1777385186000,"timestamp_seconds":1777385186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd469a2d0"} 
[2026-04-28 19:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:37: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-04-28 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:37: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-04-28 19:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010604032001,"66":12385,"217":206,"85":12288,"24":25,"16":77030539101470720,"45":-9005932592509810688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010604032001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77030539101470720,"km_value":77030539101470.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005932592509810688,"description":"Unknown IO ID 45"} 
[2026-04-28 19:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010604032001,"power":12385,"unknown_217":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-9005932592509810688}} 
[2026-04-28 19:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":56713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:37:24] local.INFO: GPS data processed {"connection_id":56713,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:37:24] local.INFO: Acknowledgment sent {"connection_id":56713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":56927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:37:24] local.INFO: GPS data processed {"connection_id":56927,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:37:24] local.INFO: Acknowledgment sent {"connection_id":56927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:30] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4685ab0012d7cb54005e6d4600007000c2a..."} 
[2026-04-28 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4685ab0012d7cb54005e6d4600007000c2a..."} 
[2026-04-28 19:37:30] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4685ab0012d7cb54005e6d4600007000c2a..."} 
[2026-04-28 19:37:30] local.INFO: Packet analysis {"connection_id":56959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:37:30] local.INFO: Extracted packet for processing {"connection_id":56959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd468"} 
[2026-04-28 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763147584,"raw_latitude":99013728,"longitude_deg":76.3147584,"latitude_deg":9.9013728,"altitude":7,"angle":12,"satellites":42,"speed":48,"hex_longitude":"2d7cb540","hex_latitude":"05e6d460","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010584320001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282540377708167168,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984399806972706816,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777385102000,"timestamp_ms":1777385102000,"timestamp_seconds":1777385102,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4685ab0"} 
[2026-04-28 19:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010584320001,"66":27115,"94":206,"87":13824,"24":48,"16":282540377708167168,"45":8984399806972706816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-04-28 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010584320001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:37:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 19:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282540377708167168,"km_value":282540377708167.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984399806972706816,"description":"Unknown IO ID 45"} 
[2026-04-28 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010584320001,"power":27115,"unknown_94":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8984399806972706816}} 
[2026-04-28 19:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":56959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:37:31] local.INFO: GPS data processed {"connection_id":56959,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:37:31] local.INFO: Acknowledgment sent {"connection_id":56959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:45] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:45] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:45] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:37:46] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:46] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:46] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:37:52] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:52] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:37:52] local.INFO: IMEI packet received {"connection_id":56714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":56714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:37:52] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd469e538012d82fac005c81128000a00b51e..."} 
[2026-04-28 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd469e538012d82fac005c81128000a00b51e..."} 
[2026-04-28 19:37:52] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd469e538012d82fac005c81128000a00b51e..."} 
[2026-04-28 19:37:52] local.INFO: Packet analysis {"connection_id":56714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:37:52] local.INFO: Extracted packet for processing {"connection_id":56714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd469"} 
[2026-04-28 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763558592,"raw_latitude":96997672,"longitude_deg":76.3558592,"latitude_deg":9.6997672,"altitude":10,"angle":181,"satellites":30,"speed":16,"hex_longitude":"2d82fac0","hex_latitude":"05c81128","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010607616001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77030977188134912,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9007551073628174336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:37:52] 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-04-28 19:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385203000,"timestamp_ms":1777385203000,"timestamp_seconds":1777385203,"priority":1,"record_length":96,"hex_timestamp":"0000019dd469e538"} 
[2026-04-28 19:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 19:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:37: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-04-28 19:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010607616001,"66":12461,"217":206,"85":12288,"24":16,"16":77030977188134912,"45":-9007551073628174336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010607616001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:37:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77030977188134912,"km_value":77030977188134.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9007551073628174336,"description":"Unknown IO ID 45"} 
[2026-04-28 19:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010607616001,"power":12461,"unknown_217":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9007551073628174336}} 
[2026-04-28 19:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":56714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:37:52] local.INFO: GPS data processed {"connection_id":56714,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:37:52] local.INFO: Acknowledgment sent {"connection_id":56714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:37:52] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:52] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:52] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:37:53] local.INFO: TCP Data received {"connection_id":56928,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:37:53] local.INFO: Processing buffer {"connection_id":56928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:37:53] local.INFO: IMEI packet received {"connection_id":56928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":56928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:37:55] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:55] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:55] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:37:58] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:58] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:37:58] local.INFO: IMEI packet received {"connection_id":56929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":56929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:00] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46a0478012d7d028005e85da00006016727..."} 
[2026-04-28 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46a0478012d7d028005e85da00006016727..."} 
[2026-04-28 19:38:00] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46a0478012d7d028005e85da00006016727..."} 
[2026-04-28 19:38:00] local.INFO: Packet analysis {"connection_id":56929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:00] local.INFO: Extracted packet for processing {"connection_id":56929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":99114400,"longitude_deg":76.316736,"latitude_deg":9.91144,"altitude":6,"angle":359,"satellites":39,"speed":17,"hex_longitude":"2d7d0280","hex_latitude":"05e85da0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010611456001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282545355575263232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007269648856139776,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385211000,"timestamp_ms":1777385211000,"timestamp_seconds":1777385211,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46a0478"} 
[2026-04-28 19:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010611456001,"66":27267,"155":206,"87":13824,"24":17,"16":282545355575263232,"45":9007269648856139776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-28 19:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010611456001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282545355575263232,"km_value":282545355575263.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007269648856139776,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010611456001,"power":27267,"unknown_155":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9007269648856139776}} 
[2026-04-28 19:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":56929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:00] local.INFO: GPS data processed {"connection_id":56929,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:00] local.INFO: Acknowledgment sent {"connection_id":56929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:38:08] local.INFO: TCP Data received {"connection_id":56715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:08] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:08] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:38:13] local.INFO: TCP Data received {"connection_id":56715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:13] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:38:13] local.INFO: IMEI packet received {"connection_id":56715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":56715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:14] local.INFO: TCP Data received {"connection_id":56715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:14] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:14] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:38:14] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:38:14] 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-04-28 19:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:38:14] 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-04-28 19:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:14] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:14] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:38:23] local.INFO: TCP Data received {"connection_id":56714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46a2b88012d82f88005c7ed58000600b91f..."} 
[2026-04-28 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46a2b88012d82f88005c7ed58000600b91f..."} 
[2026-04-28 19:38:23] local.INFO: Processing buffer {"connection_id":56714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46a2b88012d82f88005c7ed58000600b91f..."} 
[2026-04-28 19:38:23] local.INFO: Packet analysis {"connection_id":56714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:23] local.INFO: Extracted packet for processing {"connection_id":56714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763558016,"raw_latitude":96988504,"longitude_deg":76.3558016,"latitude_deg":9.6988504,"altitude":6,"angle":185,"satellites":31,"speed":21,"hex_longitude":"2d82f880","hex_latitude":"05c7ed58","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010611968001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77031423864733696,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008676973537318912,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777385221000,"timestamp_ms":1777385221000,"timestamp_seconds":1777385221,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46a2b88"} 
[2026-04-28 19:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:38: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-04-28 19:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010611968001,"66":12178,"218":206,"85":12288,"24":21,"16":77031423864733696,"45":-9008676973537318912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-04-28 19:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010611968001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:23] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-28 19:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77031423864733696,"km_value":77031423864733.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008676973537318912,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010611968001,"power":12178,"unknown_218":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9008676973537318912}} 
[2026-04-28 19:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":56714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:23] local.INFO: GPS data processed {"connection_id":56714,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:23] local.INFO: Acknowledgment sent {"connection_id":56714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:38:30] local.INFO: TCP Data received {"connection_id":56929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46a5680012d7d028005e862600006000227..."} 
[2026-04-28 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46a5680012d7d028005e862600006000227..."} 
[2026-04-28 19:38:30] local.INFO: Processing buffer {"connection_id":56929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46a5680012d7d028005e862600006000227..."} 
[2026-04-28 19:38:30] local.INFO: Packet analysis {"connection_id":56929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:30] local.INFO: Extracted packet for processing {"connection_id":56929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":99115616,"longitude_deg":76.316736,"latitude_deg":9.9115616,"altitude":6,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7d0280","hex_latitude":"05e86260","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010614016001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282545415704805376,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007902967556055040,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777385232000,"timestamp_ms":1777385232000,"timestamp_seconds":1777385232,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46a5680"} 
[2026-04-28 19:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010614016001,"66":27343,"155":206,"87":13824,"24":0,"16":282545415704805376,"45":9007902967556055040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-28 19:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010614016001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282545415704805376,"km_value":282545415704805.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007902967556055040,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010614016001,"power":27343,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007902967556055040}} 
[2026-04-28 19:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":56929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:30] local.INFO: GPS data processed {"connection_id":56929,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:30] local.INFO: Acknowledgment sent {"connection_id":56929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:38:39] local.INFO: TCP Data received {"connection_id":56716,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:38:39] local.INFO: Processing buffer {"connection_id":56716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:38:39] local.INFO: IMEI packet received {"connection_id":56716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":56716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:38:45] local.INFO: TCP Data received {"connection_id":56715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:45] local.INFO: Processing buffer {"connection_id":56715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:38:45] local.INFO: Packet analysis {"connection_id":56715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:38:45] local.INFO: Extracted packet for processing {"connection_id":56715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 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-04-28 19:38:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:38:45] 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-04-28 19:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":56715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:45] local.INFO: GPS data processed {"connection_id":56715,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:45] local.INFO: Acknowledgment sent {"connection_id":56715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:38:46] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:46] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:46] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:38:47] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:47] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:47] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:48] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:48] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:38:48] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:52] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:52] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:52] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:38:56] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:56] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:56] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:57] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:57] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:38:57] local.INFO: IMEI packet received {"connection_id":56717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":56717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:38:58] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46a9cd0012d7d04c005e885a8000a000328..."} 
[2026-04-28 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46a9cd0012d7d04c005e885a8000a000328..."} 
[2026-04-28 19:38:58] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46a9cd0012d7d04c005e885a8000a000328..."} 
[2026-04-28 19:38:58] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:58] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763167936,"raw_latitude":99124648,"longitude_deg":76.3167936,"latitude_deg":9.9124648,"altitude":10,"angle":3,"satellites":40,"speed":34,"hex_longitude":"2d7d04c0","hex_latitude":"05e885a8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010619392001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282545858086436864,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007902967556366336,"note":"Value kept but may cause issues"} 
[2026-04-28 19:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777385250000,"timestamp_ms":1777385250000,"timestamp_seconds":1777385250,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46a9cd0"} 
[2026-04-28 19:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:38: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-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010619392001,"66":27343,"155":206,"87":13824,"24":34,"16":282545858086436864,"45":9007902967556366336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-28 19:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010619392001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:38:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282545858086436864,"km_value":282545858086436.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007902967556366336,"description":"Unknown IO ID 45"} 
[2026-04-28 19:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010619392001,"power":27343,"unknown_155":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9007902967556366336}} 
[2026-04-28 19:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:38:58] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:38:58] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:39:03] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46abff8012d7d068005e8a850000a000229..."} 
[2026-04-28 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46abff8012d7d068005e8a850000a000229..."} 
[2026-04-28 19:39:03] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46abff8012d7d068005e8a850000a000229..."} 
[2026-04-28 19:39:03] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:39:03] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":99133520,"longitude_deg":76.3168384,"latitude_deg":9.913352,"altitude":10,"angle":2,"satellites":41,"speed":41,"hex_longitude":"2d7d0680","hex_latitude":"05e8a850","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010624000001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282546287583166464,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008536286256277504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777385259000,"timestamp_ms":1777385259000,"timestamp_seconds":1777385259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46abff8"} 
[2026-04-28 19:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010624000001,"66":27376,"155":206,"87":13824,"24":41,"16":282546287583166464,"45":9008536286256277504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-28 19:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010624000001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:39:03] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282546287583166464,"km_value":282546287583166.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008536286256277504,"description":"Unknown IO ID 45"} 
[2026-04-28 19:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010624000001,"power":27376,"unknown_155":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9008536286256277504}} 
[2026-04-28 19:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:39:03] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:39:03] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:39:08] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:08] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:08] local.INFO: IMEI packet received {"connection_id":56961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":56961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:39:13] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:13] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:39:13] local.INFO: IMEI packet received {"connection_id":56961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":56961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:39:14] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:14] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:14] local.INFO: Packet analysis {"connection_id":56961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:39:14] local.INFO: Extracted packet for processing {"connection_id":56961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:39:14] 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-04-28 19:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:39:14] 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-04-28 19:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:39:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":56961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:39:14] local.INFO: GPS data processed {"connection_id":56961,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:39:14] local.INFO: Acknowledgment sent {"connection_id":56961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:39:34] local.INFO: TCP Data received {"connection_id":56717,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46adf38012d7d088005e8cb480009000329..."} 
[2026-04-28 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46adf38012d7d088005e8cb480009000329..."} 
[2026-04-28 19:39:34] local.INFO: Processing buffer {"connection_id":56717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46adf38012d7d088005e8cb480009000329..."} 
[2026-04-28 19:39:34] local.INFO: Packet analysis {"connection_id":56717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:39:34] local.INFO: Extracted packet for processing {"connection_id":56717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763168896,"raw_latitude":99142472,"longitude_deg":76.3168896,"latitude_deg":9.9142472,"altitude":9,"angle":3,"satellites":41,"speed":47,"hex_longitude":"2d7d0880","hex_latitude":"05e8cb48","is_valid_coordinates":true} 
[2026-04-28 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010626304001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282546725669830656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867467792384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777385267000,"timestamp_ms":1777385267000,"timestamp_seconds":1777385267,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46adf38"} 
[2026-04-28 19:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:39:34] 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-04-28 19:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010626304001,"66":27332,"155":206,"87":13824,"24":47,"16":282546725669830656,"45":9009028867467792384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-28 19:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010626304001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:39:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-28 19:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282546725669830656,"km_value":282546725669830.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867467792384,"description":"Unknown IO ID 45"} 
[2026-04-28 19:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010626304001,"power":27332,"unknown_155":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9009028867467792384}} 
[2026-04-28 19:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":56717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:39:34] local.INFO: GPS data processed {"connection_id":56717,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:39:34] local.INFO: Acknowledgment sent {"connection_id":56717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:39:45] local.INFO: TCP Data received {"connection_id":56961,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:45] local.INFO: Processing buffer {"connection_id":56961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4679f30012d196540071ff0280042013225..."} 
[2026-04-28 19:39:45] local.INFO: Packet analysis {"connection_id":56961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:39:45] local.INFO: Extracted packet for processing {"connection_id":56961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd467"} 
[2026-04-28 19:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010496768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385054000,"timestamp_ms":1777385054000,"timestamp_seconds":1777385054,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4679f30"} 
[2026-04-28 19:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:39:45] 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-04-28 19:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:39:45] 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-04-28 19:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010496768001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010496768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010496768001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":56961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:39:45] local.INFO: GPS data processed {"connection_id":56961,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:39:45] local.INFO: Acknowledgment sent {"connection_id":56961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:39:52] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:52] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:52] local.INFO: IMEI packet received {"connection_id":57638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":57638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:39:58] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:58] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:58] local.INFO: IMEI packet received {"connection_id":57638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":57638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:39:59] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:59] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:39:59] local.INFO: IMEI packet received {"connection_id":57638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":57638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:40:01] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46afe78012d7d0a8005e8f208000900032b..."} 
[2026-04-28 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46afe78012d7d0a8005e8f208000900032b..."} 
[2026-04-28 19:40:01] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46afe78012d7d0a8005e8f208000900032b..."} 
[2026-04-28 19:40:01] local.INFO: Packet analysis {"connection_id":57638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:40:01] local.INFO: Extracted packet for processing {"connection_id":57638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46a"} 
[2026-04-28 19:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99152392,"longitude_deg":76.3169408,"latitude_deg":9.9152392,"altitude":9,"angle":3,"satellites":43,"speed":49,"hex_longitude":"2d7d0a80","hex_latitude":"05e8f208","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010628352001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282547206706167808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009591817423505408,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777385275000,"timestamp_ms":1777385275000,"timestamp_seconds":1777385275,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46afe78"} 
[2026-04-28 19:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:40: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-04-28 19: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-04-28 19:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010628352001,"66":27376,"154":206,"87":13824,"24":49,"16":282547206706167808,"45":9009591817423505408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-28 19:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010628352001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:40:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282547206706167808,"km_value":282547206706167.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009591817423505408,"description":"Unknown IO ID 45"} 
[2026-04-28 19:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010628352001,"power":27376,"unknown_154":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":9009591817423505408}} 
[2026-04-28 19:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":57638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:40:01] local.INFO: GPS data processed {"connection_id":57638,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:40:01] local.INFO: Acknowledgment sent {"connection_id":57638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:40:06] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46b1db8012d7d0c8005e919200008000329..."} 
[2026-04-28 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46b1db8012d7d0c8005e919200008000329..."} 
[2026-04-28 19:40:06] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46b1db8012d7d0c8005e919200008000329..."} 
[2026-04-28 19:40:06] local.INFO: Packet analysis {"connection_id":57638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46b"} 
[2026-04-28 19:40:06] local.INFO: Extracted packet for processing {"connection_id":57638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46b"} 
[2026-04-28 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99162400,"longitude_deg":76.316992,"latitude_deg":9.91624,"altitude":8,"angle":3,"satellites":41,"speed":48,"hex_longitude":"2d7d0c80","hex_latitude":"05e91920","is_valid_coordinates":true} 
[2026-04-28 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010630400001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282547692037472256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767379466240,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777385283000,"timestamp_ms":1777385283000,"timestamp_seconds":1777385283,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46b1db8"} 
[2026-04-28 19:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:40:06] 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-04-28 19:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":57638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:40:06] 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-04-28 19:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010630400001,"66":27267,"154":206,"87":13824,"24":48,"16":282547692037472256,"45":9010154767379466240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-28 19:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010630400001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:40:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-28 19:40:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282547692037472256,"km_value":282547692037472.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767379466240,"description":"Unknown IO ID 45"} 
[2026-04-28 19:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010630400001,"power":27267,"unknown_154":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9010154767379466240}} 
[2026-04-28 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":57638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:40:06] local.INFO: GPS data processed {"connection_id":57638,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:40:06] local.INFO: Acknowledgment sent {"connection_id":57638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:40:08] local.INFO: TCP Data received {"connection_id":56719,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:08] local.INFO: Processing buffer {"connection_id":56719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:08] local.INFO: IMEI packet received {"connection_id":56719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":56719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:40:13] local.INFO: TCP Data received {"connection_id":56719,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:13] local.INFO: Processing buffer {"connection_id":56719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:40:13] local.INFO: IMEI packet received {"connection_id":56719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:40:14] local.INFO: TCP Data received {"connection_id":56719,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:14] local.INFO: Processing buffer {"connection_id":56719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:14] local.INFO: Packet analysis {"connection_id":56719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:40:14] local.INFO: Extracted packet for processing {"connection_id":56719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:40:14] 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-04-28 19:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:40:14] 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-04-28 19:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:40:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":56719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:40:14] local.INFO: GPS data processed {"connection_id":56719,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:40:14] local.INFO: Acknowledgment sent {"connection_id":56719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:40:45] local.INFO: TCP Data received {"connection_id":56719,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:45] local.INFO: Processing buffer {"connection_id":56719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:40:45] local.INFO: Packet analysis {"connection_id":56719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:40:45] local.INFO: Extracted packet for processing {"connection_id":56719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:40:45] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:40:45] 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-04-28 19:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":56719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:40:45] local.INFO: GPS data processed {"connection_id":56719,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:40:45] local.INFO: Acknowledgment sent {"connection_id":56719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:00] local.INFO: TCP Data received {"connection_id":57638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46cb010012d7d250005eaad78000900032a..."} 
[2026-04-28 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46cb010012d7d250005eaad78000900032a..."} 
[2026-04-28 19:41:00] local.INFO: Processing buffer {"connection_id":57638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46cb010012d7d250005eaad78000900032a..."} 
[2026-04-28 19:41:00] local.INFO: Packet analysis {"connection_id":57638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:00] local.INFO: Extracted packet for processing {"connection_id":57638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":99265912,"longitude_deg":76.3176192,"latitude_deg":9.9265912,"altitude":9,"angle":3,"satellites":42,"speed":47,"hex_longitude":"2d7d2500","hex_latitude":"05eaad78","is_valid_coordinates":true} 
[2026-04-28 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010656768001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282552721444175872,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273079791616,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385386000,"timestamp_ms":1777385386000,"timestamp_seconds":1777385386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46cb010"} 
[2026-04-28 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:41: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-04-28 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 19:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010656768001,"66":27376,"157":206,"87":13824,"24":47,"16":282552721444175872,"45":9017121273079791616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010656768001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:41:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282552721444175872,"km_value":282552721444175.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273079791616,"description":"Unknown IO ID 45"} 
[2026-04-28 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010656768001,"power":27376,"unknown_157":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9017121273079791616}} 
[2026-04-28 19:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":57638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:41:00] local.INFO: GPS data processed {"connection_id":57638,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:41:00] local.INFO: Acknowledgment sent {"connection_id":57638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:03] local.INFO: TCP Data received {"connection_id":57639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:03] local.INFO: Processing buffer {"connection_id":57639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:03] local.INFO: IMEI packet received {"connection_id":57639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":57639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:41:07] local.INFO: TCP Data received {"connection_id":57639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: Processing buffer {"connection_id":57639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: IMEI packet received {"connection_id":57639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":57639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:41:07] local.INFO: TCP Data received {"connection_id":57639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: Processing buffer {"connection_id":57639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:07] local.INFO: IMEI packet received {"connection_id":57639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":57639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:41:08] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:08] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:08] local.INFO: IMEI packet received {"connection_id":56932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":56932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:41:08] local.INFO: TCP Data received {"connection_id":57639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46cd338012d7d270005ead3f0000a00032a..."} 
[2026-04-28 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46cd338012d7d270005ead3f0000a00032a..."} 
[2026-04-28 19:41:08] local.INFO: Processing buffer {"connection_id":57639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46cd338012d7d270005ead3f0000a00032a..."} 
[2026-04-28 19:41:08] local.INFO: Packet analysis {"connection_id":57639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:08] local.INFO: Extracted packet for processing {"connection_id":57639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":99275760,"longitude_deg":76.3176704,"latitude_deg":9.927576,"altitude":10,"angle":3,"satellites":42,"speed":41,"hex_longitude":"2d7d2700","hex_latitude":"05ead3f0","is_valid_coordinates":true} 
[2026-04-28 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010658816001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282553198185545728,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613854291359744,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777385395000,"timestamp_ms":1777385395000,"timestamp_seconds":1777385395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46cd338"} 
[2026-04-28 19:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:08] 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-04-28 19:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010658816001,"66":27517,"157":206,"87":13824,"24":41,"16":282553198185545728,"45":9017613854291359744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010658816001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:41:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:41:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282553198185545728,"km_value":282553198185545.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613854291359744,"description":"Unknown IO ID 45"} 
[2026-04-28 19:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010658816001,"power":27517,"unknown_157":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9017613854291359744}} 
[2026-04-28 19:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":57639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:41:08] local.INFO: GPS data processed {"connection_id":57639,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:41:08] local.INFO: Acknowledgment sent {"connection_id":57639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:13] local.INFO: TCP Data received {"connection_id":57639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46cf660012d7d288005eaf810000b000028..."} 
[2026-04-28 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46cf660012d7d288005eaf810000b000028..."} 
[2026-04-28 19:41:13] local.INFO: Processing buffer {"connection_id":57639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46cf660012d7d288005eaf810000b000028..."} 
[2026-04-28 19:41:13] local.INFO: Packet analysis {"connection_id":57639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:13] local.INFO: Extracted packet for processing {"connection_id":57639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99285008,"longitude_deg":76.3177088,"latitude_deg":9.9285008,"altitude":11,"angle":0,"satellites":40,"speed":42,"hex_longitude":"2d7d2880","hex_latitude":"05eaf810","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010661120001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282553649157111808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176804247302144,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777385404000,"timestamp_ms":1777385404000,"timestamp_seconds":1777385404,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46cf660"} 
[2026-04-28 19:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-28 19:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:41:13] 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-04-28 19:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010661120001,"66":27332,"157":206,"87":13824,"24":42,"16":282553649157111808,"45":9018176804247302144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010661120001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:41:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:41:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282553649157111808,"km_value":282553649157111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176804247302144,"description":"Unknown IO ID 45"} 
[2026-04-28 19:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010661120001,"power":27332,"unknown_157":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9018176804247302144}} 
[2026-04-28 19:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":57639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:41:13] local.INFO: GPS data processed {"connection_id":57639,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:41:13] local.INFO: Acknowledgment sent {"connection_id":57639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:13] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:13] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:41:13] local.INFO: IMEI packet received {"connection_id":56932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":56932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:41:14] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:14] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:14] local.INFO: Packet analysis {"connection_id":56932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:14] local.INFO: Extracted packet for processing {"connection_id":56932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:41:14] 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-04-28 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:41:14] 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-04-28 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:41:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":56932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:41:14] local.INFO: GPS data processed {"connection_id":56932,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:41:14] local.INFO: Acknowledgment sent {"connection_id":56932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:45] local.INFO: TCP Data received {"connection_id":56932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:45] local.INFO: Processing buffer {"connection_id":56932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:41:45] local.INFO: Packet analysis {"connection_id":56932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:45] local.INFO: Extracted packet for processing {"connection_id":56932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 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-04-28 19:41:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:41:45] 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-04-28 19:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:41:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":56932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:41:45] local.INFO: GPS data processed {"connection_id":56932,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:41:45] local.INFO: Acknowledgment sent {"connection_id":56932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:41:57] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:41:57] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:41:57] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:42:03] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:03] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:03] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:42:04] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46d1988012d7d2a4005eb1e90000b000329..."} 
[2026-04-28 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46d1988012d7d2a4005eb1e90000b000329..."} 
[2026-04-28 19:42:04] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46d1988012d7d2a4005eb1e90000b000329..."} 
[2026-04-28 19:42:04] local.INFO: Packet analysis {"connection_id":56963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:04] local.INFO: Extracted packet for processing {"connection_id":56963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":99294864,"longitude_deg":76.3177536,"latitude_deg":9.9294864,"altitude":11,"angle":3,"satellites":41,"speed":44,"hex_longitude":"2d7d2a40","hex_latitude":"05eb1e90","is_valid_coordinates":true} 
[2026-04-28 19:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010663424001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282554125898481664,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016714735616,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777385413000,"timestamp_ms":1777385413000,"timestamp_seconds":1777385413,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46d1988"} 
[2026-04-28 19:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:04] 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-04-28 19:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010663424001,"66":27376,"157":206,"87":13824,"24":44,"16":282554125898481664,"45":9018599016714735616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010663424001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:42:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282554125898481664,"km_value":282554125898481.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016714735616,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010663424001,"power":27376,"unknown_157":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9018599016714735616}} 
[2026-04-28 19:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":56963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:04] local.INFO: GPS data processed {"connection_id":56963,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:04] local.INFO: Acknowledgment sent {"connection_id":56963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:42:05] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46d3cb0012d7d2cc005eb43d0000c00042b..."} 
[2026-04-28 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46d3cb0012d7d2cc005eb43d0000c00042b..."} 
[2026-04-28 19:42:05] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46d3cb0012d7d2cc005eb43d0000c00042b..."} 
[2026-04-28 19:42:05] local.INFO: Packet analysis {"connection_id":56963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:05] local.INFO: Extracted packet for processing {"connection_id":56963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":99304400,"longitude_deg":76.3178176,"latitude_deg":9.93044,"altitude":12,"angle":4,"satellites":43,"speed":37,"hex_longitude":"2d7d2cc0","hex_latitude":"05eb43d0","is_valid_coordinates":true} 
[2026-04-28 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010665728001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282554589754949632,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597926502400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777385422000,"timestamp_ms":1777385422000,"timestamp_seconds":1777385422,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46d3cb0"} 
[2026-04-28 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:42:05] 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-04-28 19:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:05] 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-04-28 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010665728001,"66":27267,"157":206,"87":13824,"24":37,"16":282554589754949632,"45":9019091597926502400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010665728001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:42:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282554589754949632,"km_value":282554589754949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597926502400,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010665728001,"power":27267,"unknown_157":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9019091597926502400}} 
[2026-04-28 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":56963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:05] local.INFO: GPS data processed {"connection_id":56963,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:05] local.INFO: Acknowledgment sent {"connection_id":56963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:42:13] local.INFO: TCP Data received {"connection_id":57640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:13] local.INFO: Processing buffer {"connection_id":57640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:13] local.INFO: IMEI packet received {"connection_id":57640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":57640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:42:18] local.INFO: TCP Data received {"connection_id":57640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:18] local.INFO: Processing buffer {"connection_id":57640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:42:18] local.INFO: IMEI packet received {"connection_id":57640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":57640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:42:19] local.INFO: TCP Data received {"connection_id":57640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:19] local.INFO: Processing buffer {"connection_id":57640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:19] local.INFO: Packet analysis {"connection_id":57640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:42:19] local.INFO: Extracted packet for processing {"connection_id":57640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42:19] 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-04-28 19:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:42:19] 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-04-28 19:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":57640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:19] local.INFO: GPS data processed {"connection_id":57640,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:19] local.INFO: Acknowledgment sent {"connection_id":57640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:42:37] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46d6b90012d7d2e8005eb6918000e00022b..."} 
[2026-04-28 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46d6b90012d7d2e8005eb6918000e00022b..."} 
[2026-04-28 19:42:37] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46d6b90012d7d2e8005eb6918000e00022b..."} 
[2026-04-28 19:42:37] local.INFO: Packet analysis {"connection_id":56963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:37] local.INFO: Extracted packet for processing {"connection_id":56963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":99313944,"longitude_deg":76.3178624,"latitude_deg":9.9313944,"altitude":14,"angle":2,"satellites":43,"speed":34,"hex_longitude":"2d7d2e80","hex_latitude":"05eb6918","is_valid_coordinates":true} 
[2026-04-28 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010668032001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282555053611417600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285370720256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777385434000,"timestamp_ms":1777385434000,"timestamp_seconds":1777385434,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46d6b90"} 
[2026-04-28 19:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:37] 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-04-28 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010668032001,"66":27245,"197":206,"87":13824,"24":34,"16":282555053611417600,"45":9019795285370720256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-04-28 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010668032001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282555053611417600,"km_value":282555053611417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285370720256,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010668032001,"power":27245,"unknown_197":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9019795285370720256}} 
[2026-04-28 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":56963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:37] local.INFO: GPS data processed {"connection_id":56963,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:37] local.INFO: Acknowledgment sent {"connection_id":56963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:42:50] local.INFO: TCP Data received {"connection_id":57640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:50] local.INFO: Processing buffer {"connection_id":57640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:42:50] local.INFO: Packet analysis {"connection_id":57640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:42:50] local.INFO: Extracted packet for processing {"connection_id":57640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:42:50] 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-04-28 19:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":57640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:50] local.INFO: GPS data processed {"connection_id":57640,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:50] local.INFO: Acknowledgment sent {"connection_id":57640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:42:53] local.INFO: TCP Data received {"connection_id":56721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:53] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:53] local.INFO: IMEI packet received {"connection_id":56721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":56721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:42:58] local.INFO: TCP Data received {"connection_id":56721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:58] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:42:58] local.INFO: IMEI packet received {"connection_id":56721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":56721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:42:58] local.INFO: TCP Data received {"connection_id":56721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46d9a70012d7d300005eb8eb0000e000229..."} 
[2026-04-28 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46d9a70012d7d300005eb8eb0000e000229..."} 
[2026-04-28 19:42:58] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46d9a70012d7d300005eb8eb0000e000229..."} 
[2026-04-28 19:42:58] local.INFO: Packet analysis {"connection_id":56721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:58] local.INFO: Extracted packet for processing {"connection_id":56721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":99323568,"longitude_deg":76.3179008,"latitude_deg":9.9323568,"altitude":14,"angle":2,"satellites":41,"speed":34,"hex_longitude":"2d7d3000","hex_latitude":"05eb8eb0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010671104001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282555521762852864,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020287866582407168,"note":"Value kept but may cause issues"} 
[2026-04-28 19:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777385446000,"timestamp_ms":1777385446000,"timestamp_seconds":1777385446,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46d9a70"} 
[2026-04-28 19:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:42: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-04-28 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-28 19:42: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-04-28 19: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-04-28 19:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010671104001,"66":27343,"197":206,"87":13824,"24":34,"16":282555521762852864,"45":9020287866582407168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-04-28 19:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010671104001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:42:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282555521762852864,"km_value":282555521762852.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020287866582407168,"description":"Unknown IO ID 45"} 
[2026-04-28 19:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010671104001,"power":27343,"unknown_197":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9020287866582407168}} 
[2026-04-28 19:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":56721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:42:59] local.INFO: GPS data processed {"connection_id":56721,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:42:59] local.INFO: Acknowledgment sent {"connection_id":56721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:43:08] local.INFO: TCP Data received {"connection_id":56722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:08] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:08] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:43:13] local.INFO: TCP Data received {"connection_id":56722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:13] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:43:13] local.INFO: IMEI packet received {"connection_id":56722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":56722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:43:14] local.INFO: TCP Data received {"connection_id":56722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:14] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:14] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:43:14] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:43:14] 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-04-28 19:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:43:14] 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-04-28 19:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:43:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:43:14] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:43:14] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:43:30] local.INFO: TCP Data received {"connection_id":56721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46dc180012d7d314005ebb410000c00012a..."} 
[2026-04-28 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46dc180012d7d314005ebb410000c00012a..."} 
[2026-04-28 19:43:30] local.INFO: Processing buffer {"connection_id":56721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46dc180012d7d314005ebb410000c00012a..."} 
[2026-04-28 19:43:30] local.INFO: Packet analysis {"connection_id":56721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:43:30] local.INFO: Extracted packet for processing {"connection_id":56721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46d"} 
[2026-04-28 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":99333136,"longitude_deg":76.3179328,"latitude_deg":9.9333136,"altitude":12,"angle":1,"satellites":42,"speed":42,"hex_longitude":"2d7d3140","hex_latitude":"05ebb410","is_valid_coordinates":true} 
[2026-04-28 19:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010674176001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282555985619320832,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710079049936896,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777385456000,"timestamp_ms":1777385456000,"timestamp_seconds":1777385456,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46dc180"} 
[2026-04-28 19:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010674176001,"66":27332,"197":206,"87":13824,"24":42,"16":282555985619320832,"45":9020710079049936896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-04-28 19:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010674176001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:43:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-28 19:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282555985619320832,"km_value":282555985619320.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710079049936896,"description":"Unknown IO ID 45"} 
[2026-04-28 19:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010674176001,"power":27332,"unknown_197":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9020710079049936896}} 
[2026-04-28 19:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":56721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:43:30] local.INFO: GPS data processed {"connection_id":56721,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:43:30] local.INFO: Acknowledgment sent {"connection_id":56721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:43:46] local.INFO: TCP Data received {"connection_id":56722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:46] local.INFO: Processing buffer {"connection_id":56722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:43:46] local.INFO: Packet analysis {"connection_id":56722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:43:46] local.INFO: Extracted packet for processing {"connection_id":56722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 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-04-28 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:43:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":56722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:43:46] local.INFO: GPS data processed {"connection_id":56722,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:43:46] local.INFO: Acknowledgment sent {"connection_id":56722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:43:52] local.INFO: TCP Data received {"connection_id":57642,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:43:52] local.INFO: Processing buffer {"connection_id":57642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:43:52] local.INFO: IMEI packet received {"connection_id":57642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":57642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:43:52] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:52] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:52] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:43:53] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:53] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:53] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:43:53] local.INFO: TCP Data received {"connection_id":57642,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46f3880012d83b3c005c5e810000e00b81f..."} 
[2026-04-28 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46f3880012d83b3c005c5e810000e00b81f..."} 
[2026-04-28 19:43:53] local.INFO: Processing buffer {"connection_id":57642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46f3880012d83b3c005c5e810000e00b81f..."} 
[2026-04-28 19:43:53] local.INFO: Packet analysis {"connection_id":57642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:43:53] local.INFO: Extracted packet for processing {"connection_id":57642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763605952,"raw_latitude":96856080,"longitude_deg":76.3605952,"latitude_deg":9.685608,"altitude":14,"angle":184,"satellites":31,"speed":23,"hex_longitude":"2d83b3c0","hex_latitude":"05c5e810","is_valid_coordinates":true} 
[2026-04-28 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010696704001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77040348806774784,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956322627902992384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:43:53] 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-04-28 19:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777385552000,"timestamp_ms":1777385552000,"timestamp_seconds":1777385552,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46f3880"} 
[2026-04-28 19:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:43: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-04-28 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-28 19:43:53] 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-04-28 19:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:43: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-04-28 19:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010696704001,"66":12102,"149":206,"85":12288,"24":23,"16":77040348806774784,"45":-8956322627902992384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-04-28 19:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010696704001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:43:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-04-28 19:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77040348806774784,"km_value":77040348806774.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956322627902992384,"description":"Unknown IO ID 45"} 
[2026-04-28 19:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010696704001,"power":12102,"unknown_149":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8956322627902992384}} 
[2026-04-28 19:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":57642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:43:54] local.INFO: GPS data processed {"connection_id":57642,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:43:54] local.INFO: Acknowledgment sent {"connection_id":57642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:43:59] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:59] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:43:59] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:43:59] local.INFO: TCP Data received {"connection_id":56964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:43:59] local.INFO: Processing buffer {"connection_id":56964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:43:59] local.INFO: IMEI packet received {"connection_id":56964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":56964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:44:00] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46f6378012d7d3a4005ed43700008000227..."} 
[2026-04-28 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46f6378012d7d3a4005ed43700008000227..."} 
[2026-04-28 19:44:00] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46f6378012d7d3a4005ed43700008000227..."} 
[2026-04-28 19:44:00] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:44:00] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99435376,"longitude_deg":76.3181632,"latitude_deg":9.9435376,"altitude":8,"angle":2,"satellites":39,"speed":39,"hex_longitude":"2d7d3a40","hex_latitude":"05ed4370","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010701568001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282560946306547712,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091355033600,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385563000,"timestamp_ms":1777385563000,"timestamp_seconds":1777385563,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46f6378"} 
[2026-04-28 19:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010701568001,"66":27343,"255":206,"87":13824,"24":39,"16":282560946306547712,"45":9023384091355033600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-04-28 19:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010701568001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:00] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 19:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282560946306547712,"km_value":282560946306547.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091355033600,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010701568001,"power":27343,"unknown_255":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":9023384091355033600}} 
[2026-04-28 19:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:00] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:00] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:10] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:10] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:10] local.INFO: IMEI packet received {"connection_id":56935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":56935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:44:13] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:13] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:44:13] local.INFO: IMEI packet received {"connection_id":56935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":56935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:44:14] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:14] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:14] local.INFO: Packet analysis {"connection_id":56935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:44:14] local.INFO: Extracted packet for processing {"connection_id":56935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44:14] 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-04-28 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:44:14] 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-04-28 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":56935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:14] local.INFO: GPS data processed {"connection_id":56935,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:14] local.INFO: Acknowledgment sent {"connection_id":56935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:24] local.INFO: TCP Data received {"connection_id":57642,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d83f34005c574f0000b006c1e..."} 
[2026-04-28 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d83f34005c574f0000b006c1e..."} 
[2026-04-28 19:44:24] local.INFO: Processing buffer {"connection_id":57642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d83f34005c574f0000b006c1e..."} 
[2026-04-28 19:44:24] local.INFO: Packet analysis {"connection_id":57642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:44:24] local.INFO: Extracted packet for processing {"connection_id":57642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763622208,"raw_latitude":96826608,"longitude_deg":76.3622208,"latitude_deg":9.6826608,"altitude":11,"angle":108,"satellites":30,"speed":27,"hex_longitude":"2d83f340","hex_latitude":"05c574f0","is_valid_coordinates":true} 
[2026-04-28 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010725632001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77043007391531008,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946259897495341056,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44: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-04-28 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 19:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:44: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-04-28 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010725632001,"66":12156,"123":206,"85":12288,"24":27,"16":77043007391531008,"45":-8946259897495341056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-04-28 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010725632001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:24] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-04-28 19:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77043007391531008,"km_value":77043007391531.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946259897495341056,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010725632001,"power":12156,"unknown_123":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-8946259897495341056}} 
[2026-04-28 19:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":57642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:25] local.INFO: GPS data processed {"connection_id":57642,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:25] local.INFO: Acknowledgment sent {"connection_id":57642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:31] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46f86a0012d7d3b0005ed67880008000029..."} 
[2026-04-28 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46f86a0012d7d3b0005ed67880008000029..."} 
[2026-04-28 19:44:31] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46f86a0012d7d3b0005ed67880008000029..."} 
[2026-04-28 19:44:31] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:44:31] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":99444616,"longitude_deg":76.3181824,"latitude_deg":9.9444616,"altitude":8,"angle":0,"satellites":41,"speed":40,"hex_longitude":"2d7d3b00","hex_latitude":"05ed6788","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010704128001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282561392983146496,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197589843968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777385572000,"timestamp_ms":1777385572000,"timestamp_seconds":1777385572,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46f86a0"} 
[2026-04-28 19:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010704128001,"66":27267,"255":206,"87":13824,"24":40,"16":282561392983146496,"45":9023595197589843968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-04-28 19:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010704128001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:31] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 19:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282561392983146496,"km_value":282561392983146.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197589843968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010704128001,"power":27267,"unknown_255":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9023595197589843968}} 
[2026-04-28 19:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:31] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:31] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:33] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:44:33] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:44:33] local.INFO: IMEI packet received {"connection_id":56966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":56966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:44:45] local.INFO: TCP Data received {"connection_id":56935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:45] local.INFO: Processing buffer {"connection_id":56935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46c36f8012d196540071ff0280042013225..."} 
[2026-04-28 19:44:45] local.INFO: Packet analysis {"connection_id":56935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:44:45] local.INFO: Extracted packet for processing {"connection_id":56935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46c"} 
[2026-04-28 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010573824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385355000,"timestamp_ms":1777385355000,"timestamp_seconds":1777385355,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46c36f8"} 
[2026-04-28 19:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44:45] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:44:45] 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-04-28 19:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010573824001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010573824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010573824001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":56935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:45] local.INFO: GPS data processed {"connection_id":56935,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:45] local.INFO: Acknowledgment sent {"connection_id":56935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:51] local.INFO: TCP Data received {"connection_id":56967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:51] local.INFO: Processing buffer {"connection_id":56967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:51] local.INFO: IMEI packet received {"connection_id":56967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":56967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:44:53] local.INFO: TCP Data received {"connection_id":56967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:53] local.INFO: Processing buffer {"connection_id":56967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:53] local.INFO: IMEI packet received {"connection_id":56967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:44:56] local.INFO: TCP Data received {"connection_id":56967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:56] local.INFO: Processing buffer {"connection_id":56967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:44:56] local.INFO: IMEI packet received {"connection_id":56967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":56967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:44:57] local.INFO: TCP Data received {"connection_id":56967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470d690012d83f88005c572b0000b00781e..."} 
[2026-04-28 19:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470d690012d83f88005c572b0000b00781e..."} 
[2026-04-28 19:44:57] local.INFO: Processing buffer {"connection_id":56967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470d690012d83f88005c572b0000b00781e..."} 
[2026-04-28 19:44:57] local.INFO: Packet analysis {"connection_id":56967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:44:57] local.INFO: Extracted packet for processing {"connection_id":56967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763623552,"raw_latitude":96826032,"longitude_deg":76.3623552,"latitude_deg":9.6826032,"altitude":11,"angle":120,"satellites":30,"speed":29,"hex_longitude":"2d83f880","hex_latitude":"05c572b0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77043076111007744,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8938730441868513280,"note":"Value kept but may cause issues"} 
[2026-04-28 19:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777385658000,"timestamp_ms":1777385658000,"timestamp_seconds":1777385658,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470d690"} 
[2026-04-28 19:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 19:44: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-04-28 19: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-04-28 19:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:44:57] 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-04-28 19:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":12232,"123":206,"85":12288,"24":29,"16":77043076111007744,"45":-8938730441868513280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-04-28 19:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:44:57] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-04-28 19:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77043076111007744,"km_value":77043076111007.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8938730441868513280,"description":"Unknown IO ID 45"} 
[2026-04-28 19:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":12232,"unknown_123":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8938730441868513280}} 
[2026-04-28 19:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":56967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:44:57] local.INFO: GPS data processed {"connection_id":56967,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:44:57] local.INFO: Acknowledgment sent {"connection_id":56967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:44:59] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:44:59] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:44:59] local.INFO: IMEI packet received {"connection_id":56723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":56723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:45:03] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:03] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:03] local.INFO: IMEI packet received {"connection_id":56723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":56723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:45:04] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46fa5e0012d7d3c0005ed8a580007000029..."} 
[2026-04-28 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46fa5e0012d7d3c0005ed8a580007000029..."} 
[2026-04-28 19:45:04] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46fa5e0012d7d3c0005ed8a580007000029..."} 
[2026-04-28 19:45:04] local.INFO: Packet analysis {"connection_id":56723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:04] local.INFO: Extracted packet for processing {"connection_id":56723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":99453528,"longitude_deg":76.318208,"latitude_deg":9.9453528,"altitude":7,"angle":0,"satellites":41,"speed":47,"hex_longitude":"2d7d3c00","hex_latitude":"05ed8a58","is_valid_coordinates":true} 
[2026-04-28 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010706432001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282561826774843392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303824742400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777385580000,"timestamp_ms":1777385580000,"timestamp_seconds":1777385580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46fa5e0"} 
[2026-04-28 19:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:04] 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-04-28 19:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:04] 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-04-28 19:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010706432001,"66":27213,"255":206,"87":13824,"24":47,"16":282561826774843392,"45":9023806303824742400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-04-28 19:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010706432001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:04] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 19:45:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282561826774843392,"km_value":282561826774843.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303824742400,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010706432001,"power":27213,"unknown_255":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9023806303824742400}} 
[2026-04-28 19:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":56723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:04] local.INFO: GPS data processed {"connection_id":56723,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:04] local.INFO: Acknowledgment sent {"connection_id":56723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:05] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46fc520012d7d3c8005edb1c0000700022b..."} 
[2026-04-28 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46fc520012d7d3c8005edb1c0000700022b..."} 
[2026-04-28 19:45:05] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46fc520012d7d3c8005edb1c0000700022b..."} 
[2026-04-28 19:45:05] local.INFO: Packet analysis {"connection_id":56723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:05] local.INFO: Extracted packet for processing {"connection_id":56723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99463616,"longitude_deg":76.3182208,"latitude_deg":9.9463616,"altitude":7,"angle":2,"satellites":43,"speed":51,"hex_longitude":"2d7d3c80","hex_latitude":"05edb1c0","is_valid_coordinates":true} 
[2026-04-28 19:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010708480001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282562316401115136,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778803734528,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777385588000,"timestamp_ms":1777385588000,"timestamp_seconds":1777385588,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46fc520"} 
[2026-04-28 19:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:05] 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-04-28 19:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":56723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:05] 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-04-28 19:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010708480001,"66":27397,"255":206,"87":13824,"24":51,"16":282562316401115136,"45":9024087778803734528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-04-28 19:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010708480001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 19:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282562316401115136,"km_value":282562316401115.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778803734528,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010708480001,"power":27397,"unknown_255":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9024087778803734528}} 
[2026-04-28 19:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":56723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:05] local.INFO: GPS data processed {"connection_id":56723,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:05] local.INFO: Acknowledgment sent {"connection_id":56723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:08] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:08] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:08] local.INFO: IMEI packet received {"connection_id":56968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":56968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:45:13] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:13] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:45:13] local.INFO: IMEI packet received {"connection_id":56968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":56968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:45:14] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:14] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:14] local.INFO: Packet analysis {"connection_id":56968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:14] local.INFO: Extracted packet for processing {"connection_id":56968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:14] 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-04-28 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:45:14] 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-04-28 19:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":56968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:14] local.INFO: GPS data processed {"connection_id":56968,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:14] local.INFO: Acknowledgment sent {"connection_id":56968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:28] local.INFO: TCP Data received {"connection_id":56967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470e248012d84004005c56d10000c00831e..."} 
[2026-04-28 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470e248012d84004005c56d10000c00831e..."} 
[2026-04-28 19:45:28] local.INFO: Processing buffer {"connection_id":56967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470e248012d84004005c56d10000c00831e..."} 
[2026-04-28 19:45:28] local.INFO: Packet analysis {"connection_id":56967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:28] local.INFO: Extracted packet for processing {"connection_id":56967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763625536,"raw_latitude":96824592,"longitude_deg":76.3625536,"latitude_deg":9.6824592,"altitude":12,"angle":131,"satellites":30,"speed":33,"hex_longitude":"2d840040","hex_latitude":"05c56d10","is_valid_coordinates":true} 
[2026-04-28 19:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010728448001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77043196370092032,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8937252698240929792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777385661000,"timestamp_ms":1777385661000,"timestamp_seconds":1777385661,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470e248"} 
[2026-04-28 19:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:28] 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-04-28 19:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:45:28] 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-04-28 19:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010728448001,"66":12341,"123":206,"85":12288,"24":33,"16":77043196370092032,"45":-8937252698240929792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-04-28 19:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010728448001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:28] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-04-28 19:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77043196370092032,"km_value":77043196370092.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8937252698240929792,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010728448001,"power":12341,"unknown_123":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":-8937252698240929792}} 
[2026-04-28 19:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":56967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:28] local.INFO: GPS data processed {"connection_id":56967,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:28] local.INFO: Acknowledgment sent {"connection_id":56967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:36] local.INFO: TCP Data received {"connection_id":56723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd46fe078012d7d3dc005edd508000800012a..."} 
[2026-04-28 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd46fe078012d7d3dc005edd508000800012a..."} 
[2026-04-28 19:45:36] local.INFO: Processing buffer {"connection_id":56723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd46fe078012d7d3dc005edd508000800012a..."} 
[2026-04-28 19:45:36] local.INFO: Packet analysis {"connection_id":56723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:36] local.INFO: Extracted packet for processing {"connection_id":56723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd46f"} 
[2026-04-28 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":99472648,"longitude_deg":76.3182528,"latitude_deg":9.9472648,"altitude":8,"angle":1,"satellites":42,"speed":48,"hex_longitude":"2d7d3dc0","hex_latitude":"05edd508","is_valid_coordinates":true} 
[2026-04-28 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010710528001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282562754487779328,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516294672384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777385595000,"timestamp_ms":1777385595000,"timestamp_seconds":1777385595,"priority":1,"record_length":96,"hex_timestamp":"0000019dd46fe078"} 
[2026-04-28 19:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:45:36] 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-04-28 19:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010710528001,"66":27397,"255":206,"87":13824,"24":48,"16":282562754487779328,"45":9024228516294672384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-04-28 19:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010710528001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-04-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-28 19:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282562754487779328,"km_value":282562754487779.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516294672384,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010710528001,"power":27397,"unknown_255":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9024228516294672384}} 
[2026-04-28 19:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":56723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:36] local.INFO: GPS data processed {"connection_id":56723,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:36] local.INFO: Acknowledgment sent {"connection_id":56723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:45] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:45] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:45:45] local.INFO: Packet analysis {"connection_id":56968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:45] local.INFO: Extracted packet for processing {"connection_id":56968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45:45] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:45:45] 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-04-28 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":56968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:45] local.INFO: GPS data processed {"connection_id":56968,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:45] local.INFO: Acknowledgment sent {"connection_id":56968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:46] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:46] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:46] local.INFO: IMEI packet received {"connection_id":56969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":56969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:45:47] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:47] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:47] local.INFO: IMEI packet received {"connection_id":56969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":56969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:45:52] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:52] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:45:52] local.INFO: IMEI packet received {"connection_id":56969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":56969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:45:52] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47118f8012d841b8005c55518000c007a1e..."} 
[2026-04-28 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47118f8012d841b8005c55518000c007a1e..."} 
[2026-04-28 19:45:52] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47118f8012d841b8005c55518000c007a1e..."} 
[2026-04-28 19:45:52] local.INFO: Packet analysis {"connection_id":56969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd471"} 
[2026-04-28 19:45:52] local.INFO: Extracted packet for processing {"connection_id":56969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd471"} 
[2026-04-28 19:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763632512,"raw_latitude":96818456,"longitude_deg":76.3632512,"latitude_deg":9.6818456,"altitude":12,"angle":122,"satellites":30,"speed":21,"hex_longitude":"2d841b80","hex_latitude":"05c55518","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010729216001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77043643046690816,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935071267171790848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385675000,"timestamp_ms":1777385675000,"timestamp_seconds":1777385675,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47118f8"} 
[2026-04-28 19:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:45: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-04-28 19:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 19:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:45: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-04-28 19:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010729216001,"66":11895,"123":206,"85":12288,"24":21,"16":77043643046690816,"45":-8935071267171790848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-04-28 19:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010729216001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:45:52] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-04-28 19:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77043643046690816,"km_value":77043643046690.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935071267171790848,"description":"Unknown IO ID 45"} 
[2026-04-28 19:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010729216001,"power":11895,"unknown_123":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-8935071267171790848}} 
[2026-04-28 19:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":56969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:45:52] local.INFO: GPS data processed {"connection_id":56969,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:45:52] local.INFO: Acknowledgment sent {"connection_id":56969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:45:53] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:45:53] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:53] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:45:59] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:59] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:45:59] local.INFO: IMEI packet received {"connection_id":56937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":56937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:46:00] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47003a0012d7d3ec005edf9e0000900012a..."} 
[2026-04-28 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47003a0012d7d3ec005edf9e0000900012a..."} 
[2026-04-28 19:46:00] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47003a0012d7d3ec005edf9e0000900012a..."} 
[2026-04-28 19:46:00] local.INFO: Packet analysis {"connection_id":56937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:00] local.INFO: Extracted packet for processing {"connection_id":56937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99482080,"longitude_deg":76.3182784,"latitude_deg":9.948208,"altitude":9,"angle":1,"satellites":42,"speed":38,"hex_longitude":"2d7d3ec0","hex_latitude":"05edf9e0","is_valid_coordinates":true} 
[2026-04-28 19:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010712320001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282563209754312704,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580360017872896,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385604000,"timestamp_ms":1777385604000,"timestamp_seconds":1777385604,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47003a0"} 
[2026-04-28 19:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010712320001,"66":27376,"157":206,"87":11264,"24":38,"16":282563209754312704,"45":9024580360017872896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010712320001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:46:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282563209754312704,"km_value":282563209754312.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580360017872896,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010712320001,"power":27376,"unknown_157":206,"unknown_87":11264,"ignition":38,"odometer":null,"unknown_45":9024580360017872896}} 
[2026-04-28 19:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":56937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:00] local.INFO: GPS data processed {"connection_id":56937,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:00] local.INFO: Acknowledgment sent {"connection_id":56937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:04] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4702ab0012d7d3fc005ee1fb8000a000027..."} 
[2026-04-28 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4702ab0012d7d3fc005ee1fb8000a000027..."} 
[2026-04-28 19:46:04] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4702ab0012d7d3fc005ee1fb8000a000027..."} 
[2026-04-28 19:46:04] local.INFO: Packet analysis {"connection_id":56937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:04] local.INFO: Extracted packet for processing {"connection_id":56937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99491768,"longitude_deg":76.318304,"latitude_deg":9.9491768,"altitude":10,"angle":0,"satellites":39,"speed":39,"hex_longitude":"2d7d3fc0","hex_latitude":"05ee1fb8","is_valid_coordinates":true} 
[2026-04-28 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010714624001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282563682200715264,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834996998144,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777385614000,"timestamp_ms":1777385614000,"timestamp_seconds":1777385614,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4702ab0"} 
[2026-04-28 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46: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-04-28 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:04] 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-04-28 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010714624001,"66":27234,"157":206,"87":11264,"24":39,"16":282563682200715264,"45":9024861834996998144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-28 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010714624001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-28 19:46:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282563682200715264,"km_value":282563682200715.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834996998144,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010714624001,"power":27234,"unknown_157":206,"unknown_87":11264,"ignition":39,"odometer":null,"unknown_45":9024861834996998144}} 
[2026-04-28 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":56937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:04] local.INFO: GPS data processed {"connection_id":56937,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:04] local.INFO: Acknowledgment sent {"connection_id":56937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:13] local.INFO: TCP Data received {"connection_id":56938,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:13] local.INFO: Processing buffer {"connection_id":56938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:13] local.INFO: IMEI packet received {"connection_id":56938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":56938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:46:18] local.INFO: TCP Data received {"connection_id":56938,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:18] local.INFO: Processing buffer {"connection_id":56938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:46:18] local.INFO: IMEI packet received {"connection_id":56938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":56938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:46:19] local.INFO: TCP Data received {"connection_id":56938,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:19] local.INFO: Processing buffer {"connection_id":56938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:19] local.INFO: Packet analysis {"connection_id":56938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:19] local.INFO: Extracted packet for processing {"connection_id":56938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46:19] 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-04-28 19:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":56938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:19] local.INFO: GPS data processed {"connection_id":56938,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:19] local.INFO: Acknowledgment sent {"connection_id":56938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:23] local.INFO: TCP Data received {"connection_id":56938,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:23] local.INFO: Processing buffer {"connection_id":56938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:46:23] local.INFO: Packet analysis {"connection_id":56938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:23] local.INFO: Extracted packet for processing {"connection_id":56938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46: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-04-28 19:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":56938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:23] local.INFO: GPS data processed {"connection_id":56938,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:23] local.INFO: Acknowledgment sent {"connection_id":56938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:24] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4726500012d85200005c52e78000700601c..."} 
[2026-04-28 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4726500012d85200005c52e78000700601c..."} 
[2026-04-28 19:46:24] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4726500012d85200005c52e78000700601c..."} 
[2026-04-28 19:46:24] local.INFO: Packet analysis {"connection_id":56969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:46:24] local.INFO: Extracted packet for processing {"connection_id":56969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763699200,"raw_latitude":96808568,"longitude_deg":76.36992,"latitude_deg":9.6808568,"altitude":7,"angle":96,"satellites":28,"speed":44,"hex_longitude":"2d852000","hex_latitude":"05c52e78","is_valid_coordinates":true} 
[2026-04-28 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010752512001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77046997416148992,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8863717360579252224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] 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-04-28 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385760000,"timestamp_ms":1777385760000,"timestamp_seconds":1777385760,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4726500"} 
[2026-04-28 19:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902552592896,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185873,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3138614112503888818,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2224717829,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":30,"raw_value":8725724278685700,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146882576590,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":11,"raw_value":22832458915381248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826633422,"corrected_to":0} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147861852,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060392,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3084255232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3311181824,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-5332261958806667263,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":415826054856114245,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,217,85,24,241,157,16,185,42,45,192,67,9,30,10,66,11,79,29,184,220,1,240,49,227,212,197,4,113,205,31,116,248,239,48,123,2,17,5,183,64],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2826633422,"validated":0}]} 
[2026-04-28 19:46:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576578524604596224,"timestamp_seconds":576578524604596.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 19:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:46: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-04-28 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010752512001,"66":12504,"217":206,"85":12288,"24":44,"16":77046997416148992,"45":-8863717360579252224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010752512001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77046997416148992,"km_value":77046997416148.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8863717360579252224,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010752512001,"power":12504,"unknown_217":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-8863717360579252224}} 
[2026-04-28 19:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":56969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:24] local.INFO: GPS data processed {"connection_id":56969,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:24] local.INFO: Acknowledgment sent {"connection_id":56969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:36] local.INFO: TCP Data received {"connection_id":56937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd471fb88012d7d444005efad38000800012a..."} 
[2026-04-28 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd471fb88012d7d444005efad38000800012a..."} 
[2026-04-28 19:46:36] local.INFO: Processing buffer {"connection_id":56937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd471fb88012d7d444005efad38000800012a..."} 
[2026-04-28 19:46:36] local.INFO: Packet analysis {"connection_id":56937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd471"} 
[2026-04-28 19:46:36] local.INFO: Extracted packet for processing {"connection_id":56937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd471"} 
[2026-04-28 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99593528,"longitude_deg":76.3184192,"latitude_deg":9.9593528,"altitude":8,"angle":1,"satellites":42,"speed":15,"hex_longitude":"2d7d4440","hex_latitude":"05efad38","is_valid_coordinates":true} 
[2026-04-28 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010746368001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282568621413105664,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053629618176,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777385733000,"timestamp_ms":1777385733000,"timestamp_seconds":1777385733,"priority":1,"record_length":96,"hex_timestamp":"0000019dd471fb88"} 
[2026-04-28 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":56937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":56937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:46:36] 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-04-28 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010746368001,"66":27267,"156":206,"87":11264,"24":15,"16":282568621413105664,"45":9026621053629618176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-04-28 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010746368001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-28 19:46:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282568621413105664,"km_value":282568621413105.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053629618176,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010746368001,"power":27267,"unknown_156":206,"unknown_87":11264,"ignition":15,"odometer":null,"unknown_45":9026621053629618176}} 
[2026-04-28 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":56937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:36] local.INFO: GPS data processed {"connection_id":56937,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:36] local.INFO: Acknowledgment sent {"connection_id":56937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:46] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:46] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:46] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:46:47] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:47] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:47] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:46:52] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:52] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:46:52] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:46:52] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4728828012d85448005c52900000900681d..."} 
[2026-04-28 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4728828012d85448005c52900000900681d..."} 
[2026-04-28 19:46:52] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4728828012d85448005c52900000900681d..."} 
[2026-04-28 19:46:52] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:46:52] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763708544,"raw_latitude":96807168,"longitude_deg":76.3708544,"latitude_deg":9.6807168,"altitude":9,"angle":104,"satellites":29,"speed":39,"hex_longitude":"2d854480","hex_latitude":"05c52900","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010754560001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77047452682682368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8854076842627401728,"note":"Value kept but may cause issues"} 
[2026-04-28 19:46:52] 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-04-28 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385769000,"timestamp_ms":1777385769000,"timestamp_seconds":1777385769,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4728828"} 
[2026-04-28 19:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:46: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-04-28 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 19:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:46: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-04-28 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010754560001,"66":12200,"217":206,"85":12288,"24":39,"16":77047452682682368,"45":-8854076842627401728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010754560001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:46:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77047452682682368,"km_value":77047452682682.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8854076842627401728,"description":"Unknown IO ID 45"} 
[2026-04-28 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010754560001,"power":12200,"unknown_217":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-8854076842627401728}} 
[2026-04-28 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:46:52] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:46:52] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:46:57] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:57] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:57] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:46:58] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:58] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:46:58] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:47:03] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:03] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:03] local.INFO: IMEI packet received {"connection_id":56724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":56724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:47:04] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4722e50012d7d45c005efd070000700002b..."} 
[2026-04-28 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4722e50012d7d45c005efd070000700002b..."} 
[2026-04-28 19:47:04] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4722e50012d7d45c005efd070000700002b..."} 
[2026-04-28 19:47:04] local.INFO: Packet analysis {"connection_id":56724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:04] local.INFO: Extracted packet for processing {"connection_id":56724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":99602544,"longitude_deg":76.3184576,"latitude_deg":9.9602544,"altitude":7,"angle":0,"satellites":43,"speed":37,"hex_longitude":"2d7d45c0","hex_latitude":"05efd070","is_valid_coordinates":true} 
[2026-04-28 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010747648001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282569059499769856,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947397437440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777385746000,"timestamp_ms":1777385746000,"timestamp_seconds":1777385746,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4722e50"} 
[2026-04-28 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:04] 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-04-28 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:47:04] 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-04-28 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010747648001,"66":27365,"156":206,"87":11264,"24":37,"16":282569059499769856,"45":9026409947397437440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-04-28 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010747648001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-28 19:47:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282569059499769856,"km_value":282569059499769.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947397437440,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010747648001,"power":27365,"unknown_156":206,"unknown_87":11264,"ignition":37,"odometer":null,"unknown_45":9026409947397437440}} 
[2026-04-28 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":56724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:04] local.INFO: GPS data processed {"connection_id":56724,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:04] local.INFO: Acknowledgment sent {"connection_id":56724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:08] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:08] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:08] local.INFO: IMEI packet received {"connection_id":56940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":56940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:47:13] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:13] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:47:13] local.INFO: IMEI packet received {"connection_id":56940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":56940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:47:14] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:14] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:14] local.INFO: Packet analysis {"connection_id":56940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:47:14] local.INFO: Extracted packet for processing {"connection_id":56940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:14] 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-04-28 19:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:47:14] 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-04-28 19:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":56940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:14] local.INFO: GPS data processed {"connection_id":56940,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:14] local.INFO: Acknowledgment sent {"connection_id":56940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:23] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd472af38012d85664005c51c600008006a1d..."} 
[2026-04-28 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd472af38012d85664005c51c600008006a1d..."} 
[2026-04-28 19:47:23] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd472af38012d85664005c51c600008006a1d..."} 
[2026-04-28 19:47:23] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:23] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763717184,"raw_latitude":96803936,"longitude_deg":76.3717184,"latitude_deg":9.6803936,"altitude":8,"angle":106,"satellites":29,"speed":36,"hex_longitude":"2d856640","hex_latitude":"05c51c60","is_valid_coordinates":true} 
[2026-04-28 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010756864001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77047890769346560,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8843803005977821184,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47: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-04-28 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777385779000,"timestamp_ms":1777385779000,"timestamp_seconds":1777385779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd472af38"} 
[2026-04-28 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47: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-04-28 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-28 19:47: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-04-28 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47: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-04-28 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010756864001,"66":11917,"217":206,"85":12288,"24":36,"16":77047890769346560,"45":-8843803005977821184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-04-28 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010756864001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-28 19:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77047890769346560,"km_value":77047890769346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8843803005977821184,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010756864001,"power":11917,"unknown_217":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":-8843803005977821184}} 
[2026-04-28 19:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:23] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:23] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:34] local.INFO: TCP Data received {"connection_id":56724,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4725178012d7d45c005eff418000701672b..."} 
[2026-04-28 19:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4725178012d7d45c005eff418000701672b..."} 
[2026-04-28 19:47:34] local.INFO: Processing buffer {"connection_id":56724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4725178012d7d45c005eff418000701672b..."} 
[2026-04-28 19:47:34] local.INFO: Packet analysis {"connection_id":56724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:34] local.INFO: Extracted packet for processing {"connection_id":56724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":99611672,"longitude_deg":76.3184576,"latitude_deg":9.9611672,"altitude":7,"angle":359,"satellites":43,"speed":42,"hex_longitude":"2d7d45c0","hex_latitude":"05eff418","is_valid_coordinates":true} 
[2026-04-28 19:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010750976001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282569501881401344,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159864811520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777385755000,"timestamp_ms":1777385755000,"timestamp_seconds":1777385755,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4725178"} 
[2026-04-28 19:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010750976001,"66":27267,"117":206,"87":11264,"24":42,"16":282569501881401344,"45":9026832159864811520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-28 19:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010750976001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282569501881401344,"km_value":282569501881401.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159864811520,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010750976001,"power":27267,"unknown_117":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9026832159864811520}} 
[2026-04-28 19:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":56724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:34] local.INFO: GPS data processed {"connection_id":56724,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:34] local.INFO: Acknowledgment sent {"connection_id":56724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:45] local.INFO: TCP Data received {"connection_id":56940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:45] local.INFO: Processing buffer {"connection_id":56940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:47:45] local.INFO: Packet analysis {"connection_id":56940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:47:45] local.INFO: Extracted packet for processing {"connection_id":56940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:45] 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-04-28 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:47:45] 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-04-28 19:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":56940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:45] local.INFO: GPS data processed {"connection_id":56940,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:45] local.INFO: Acknowledgment sent {"connection_id":56940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:52] local.INFO: TCP Data received {"connection_id":57643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:52] local.INFO: Processing buffer {"connection_id":57643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:52] local.INFO: IMEI packet received {"connection_id":57643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":57643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:47:57] local.INFO: TCP Data received {"connection_id":57643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:57] local.INFO: Processing buffer {"connection_id":57643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:47:57] local.INFO: IMEI packet received {"connection_id":57643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":57643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:47:58] local.INFO: TCP Data received {"connection_id":57643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd472c6a8012d85778005c51908000a005b1c..."} 
[2026-04-28 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd472c6a8012d85778005c51908000a005b1c..."} 
[2026-04-28 19:47:58] local.INFO: Processing buffer {"connection_id":57643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd472c6a8012d85778005c51908000a005b1c..."} 
[2026-04-28 19:47:58] local.INFO: Packet analysis {"connection_id":57643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:58] local.INFO: Extracted packet for processing {"connection_id":57643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763721600,"raw_latitude":96803080,"longitude_deg":76.37216,"latitude_deg":9.680308,"altitude":10,"angle":91,"satellites":28,"speed":20,"hex_longitude":"2d857780","hex_latitude":"05c51908","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010759424001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77048109812678656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8834303225514663936,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777385785000,"timestamp_ms":1777385785000,"timestamp_seconds":1777385785,"priority":1,"record_length":96,"hex_timestamp":"0000019dd472c6a8"} 
[2026-04-28 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:58] 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-04-28 19: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-04-28 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47:58] 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-04-28 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010759424001,"66":12232,"215":206,"85":12288,"24":20,"16":77048109812678656,"45":-8834303225514663936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,45]} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010759424001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77048109812678656,"km_value":77048109812678.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8834303225514663936,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010759424001,"power":12232,"unknown_215":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-8834303225514663936}} 
[2026-04-28 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":57643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:58] local.INFO: GPS data processed {"connection_id":57643,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:58] local.INFO: Acknowledgment sent {"connection_id":57643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:47:58] local.INFO: TCP Data received {"connection_id":57644,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:58] local.INFO: Processing buffer {"connection_id":57644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:47:58] local.INFO: IMEI packet received {"connection_id":57644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":57644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:47:58] local.INFO: TCP Data received {"connection_id":57643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47318b0012d858bc005c518d0000a005d1d..."} 
[2026-04-28 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47318b0012d858bc005c518d0000a005d1d..."} 
[2026-04-28 19:47:58] local.INFO: Processing buffer {"connection_id":57643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47318b0012d858bc005c518d0000a005d1d..."} 
[2026-04-28 19:47:58] local.INFO: Packet analysis {"connection_id":57643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:47:58] local.INFO: Extracted packet for processing {"connection_id":57643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763726784,"raw_latitude":96803024,"longitude_deg":76.3726784,"latitude_deg":9.6803024,"altitude":10,"angle":93,"satellites":29,"speed":23,"hex_longitude":"2d858bc0","hex_latitude":"05c518d0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010760960001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77048358920781824,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8829447782166624256,"note":"Value kept but may cause issues"} 
[2026-04-28 19:47:58] 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-04-28 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777385806000,"timestamp_ms":1777385806000,"timestamp_seconds":1777385806,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47318b0"} 
[2026-04-28 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 19:47:58] 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-04-28 19: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-04-28 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:47:58] 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-04-28 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010760960001,"66":12330,"216":206,"85":12288,"24":23,"16":77048358920781824,"45":-8829447782166624256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010760960001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77048358920781824,"km_value":77048358920781.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8829447782166624256,"description":"Unknown IO ID 45"} 
[2026-04-28 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010760960001,"power":12330,"unknown_216":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8829447782166624256}} 
[2026-04-28 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":57643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:47:58] local.INFO: GPS data processed {"connection_id":57643,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:47:58] local.INFO: Acknowledgment sent {"connection_id":57643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:00] local.INFO: TCP Data received {"connection_id":57644,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:00] local.INFO: Processing buffer {"connection_id":57644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:00] local.INFO: IMEI packet received {"connection_id":57644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":57644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:48:01] local.INFO: TCP Data received {"connection_id":57644,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47274a0012d7d458005f01ad0000800002b..."} 
[2026-04-28 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47274a0012d7d458005f01ad0000800002b..."} 
[2026-04-28 19:48:01] local.INFO: Processing buffer {"connection_id":57644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47274a0012d7d458005f01ad0000800002b..."} 
[2026-04-28 19:48:01] local.INFO: Packet analysis {"connection_id":57644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:01] local.INFO: Extracted packet for processing {"connection_id":57644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":99621584,"longitude_deg":76.3184512,"latitude_deg":9.9621584,"altitude":8,"angle":0,"satellites":43,"speed":42,"hex_longitude":"2d7d4580","hex_latitude":"05f01ad0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010753280001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282569982917738496,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159867148288,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777385764000,"timestamp_ms":1777385764000,"timestamp_seconds":1777385764,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47274a0"} 
[2026-04-28 19:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":57644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010753280001,"66":27234,"117":206,"87":11264,"24":42,"16":282569982917738496,"45":9026832159867148288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-28 19:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010753280001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282569982917738496,"km_value":282569982917738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159867148288,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010753280001,"power":27234,"unknown_117":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9026832159867148288}} 
[2026-04-28 19:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":57644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:01] local.INFO: GPS data processed {"connection_id":57644,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:01] local.INFO: Acknowledgment sent {"connection_id":57644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:03] local.INFO: TCP Data received {"connection_id":57644,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47293e0012d7d448005f03e18000801652a..."} 
[2026-04-28 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47293e0012d7d448005f03e18000801652a..."} 
[2026-04-28 19:48:03] local.INFO: Processing buffer {"connection_id":57644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47293e0012d7d448005f03e18000801652a..."} 
[2026-04-28 19:48:03] local.INFO: Packet analysis {"connection_id":57644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:03] local.INFO: Extracted packet for processing {"connection_id":57644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":99630616,"longitude_deg":76.3184256,"latitude_deg":9.9630616,"altitude":8,"angle":357,"satellites":42,"speed":46,"hex_longitude":"2d7d4480","hex_latitude":"05f03e18","is_valid_coordinates":true} 
[2026-04-28 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010755584001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282570421004402688,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761791125508096,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777385772000,"timestamp_ms":1777385772000,"timestamp_seconds":1777385772,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47293e0"} 
[2026-04-28 19:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010755584001,"66":27300,"117":206,"87":11264,"24":46,"16":282570421004402688,"45":9026761791125508096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-28 19:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010755584001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282570421004402688,"km_value":282570421004402.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761791125508096,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010755584001,"power":27300,"unknown_117":206,"unknown_87":11264,"ignition":46,"odometer":null,"unknown_45":9026761791125508096}} 
[2026-04-28 19:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":57644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:03] local.INFO: GPS data processed {"connection_id":57644,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:03] local.INFO: Acknowledgment sent {"connection_id":57644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:08] local.INFO: TCP Data received {"connection_id":57645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:08] local.INFO: Processing buffer {"connection_id":57645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:08] local.INFO: IMEI packet received {"connection_id":57645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":57645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:48:13] local.INFO: TCP Data received {"connection_id":57645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:13] local.INFO: Processing buffer {"connection_id":57645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:48:13] local.INFO: IMEI packet received {"connection_id":57645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":57645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:48:14] local.INFO: TCP Data received {"connection_id":57645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:14] local.INFO: Processing buffer {"connection_id":57645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:14] local.INFO: Packet analysis {"connection_id":57645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:48:14] local.INFO: Extracted packet for processing {"connection_id":57645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48:14] 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-04-28 19:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":57645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:14] local.INFO: GPS data processed {"connection_id":57645,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:14] local.INFO: Acknowledgment sent {"connection_id":57645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:29] local.INFO: TCP Data received {"connection_id":57643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4733020012d859c8005c51668000b006a1c..."} 
[2026-04-28 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4733020012d859c8005c51668000b006a1c..."} 
[2026-04-28 19:48:29] local.INFO: Processing buffer {"connection_id":57643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4733020012d859c8005c51668000b006a1c..."} 
[2026-04-28 19:48:29] local.INFO: Packet analysis {"connection_id":57643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:48:29] local.INFO: Extracted packet for processing {"connection_id":57643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763731072,"raw_latitude":96802408,"longitude_deg":76.3731072,"latitude_deg":9.6802408,"altitude":11,"angle":106,"satellites":28,"speed":32,"hex_longitude":"2d859c80","hex_latitude":"05c51668","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010766336001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77048565079212032,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8823747913888247808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:29] 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-04-28 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777385812000,"timestamp_ms":1777385812000,"timestamp_seconds":1777385812,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4733020"} 
[2026-04-28 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48: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-04-28 19: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:29] 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-04-28 19: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-04-28 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010766336001,"66":12526,"216":206,"85":12288,"24":32,"16":77048565079212032,"45":-8823747913888247808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010766336001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77048565079212032,"km_value":77048565079212.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8823747913888247808,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010766336001,"power":12526,"unknown_216":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-8823747913888247808}} 
[2026-04-28 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":57643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:29] local.INFO: GPS data processed {"connection_id":57643,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:29] local.INFO: Acknowledgment sent {"connection_id":57643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:34] local.INFO: TCP Data received {"connection_id":57644,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd472b320012d7d428005f064f80008016429..."} 
[2026-04-28 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd472b320012d7d428005f064f80008016429..."} 
[2026-04-28 19:48:34] local.INFO: Processing buffer {"connection_id":57644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd472b320012d7d428005f064f80008016429..."} 
[2026-04-28 19:48:34] local.INFO: Packet analysis {"connection_id":57644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:34] local.INFO: Extracted packet for processing {"connection_id":57644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":99640568,"longitude_deg":76.3183744,"latitude_deg":9.9640568,"altitude":8,"angle":356,"satellites":41,"speed":51,"hex_longitude":"2d7d4280","hex_latitude":"05f064f8","is_valid_coordinates":true} 
[2026-04-28 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010757632001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282570902040739840,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480316151109632,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777385780000,"timestamp_ms":1777385780000,"timestamp_seconds":1777385780,"priority":1,"record_length":96,"hex_timestamp":"0000019dd472b320"} 
[2026-04-28 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:34] 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-04-28 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010757632001,"66":27267,"117":206,"87":11264,"24":51,"16":282570902040739840,"45":9026480316151109632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-28 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010757632001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282570902040739840,"km_value":282570902040739.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480316151109632,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010757632001,"power":27267,"unknown_117":206,"unknown_87":11264,"ignition":51,"odometer":null,"unknown_45":9026480316151109632}} 
[2026-04-28 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":57644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:34] local.INFO: GPS data processed {"connection_id":57644,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:34] local.INFO: Acknowledgment sent {"connection_id":57644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:43] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:43] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:43] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:48:45] local.INFO: TCP Data received {"connection_id":57645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:45] local.INFO: Processing buffer {"connection_id":57645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:48:45] local.INFO: Packet analysis {"connection_id":57645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:48:45] local.INFO: Extracted packet for processing {"connection_id":57645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 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-04-28 19:48:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":57645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:45] local.INFO: GPS data processed {"connection_id":57645,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:45] local.INFO: Acknowledgment sent {"connection_id":57645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:47] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:47] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:47] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:48:52] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:52] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:48:52] local.INFO: IMEI packet received {"connection_id":56726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":56726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:48:52] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4735b18012d85ba0005c50b08000d00761c..."} 
[2026-04-28 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4735b18012d85ba0005c50b08000d00761c..."} 
[2026-04-28 19:48:52] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4735b18012d85ba0005c50b08000d00761c..."} 
[2026-04-28 19:48:52] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:48:52] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763738624,"raw_latitude":96799496,"longitude_deg":76.3738624,"latitude_deg":9.6799496,"altitude":13,"angle":118,"satellites":28,"speed":20,"hex_longitude":"2d85ba00","hex_latitude":"05c50b08","is_valid_coordinates":true} 
[2026-04-28 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010767872001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77048951626268672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8819033208028502016,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:52] 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-04-28 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385823000,"timestamp_ms":1777385823000,"timestamp_seconds":1777385823,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4735b18"} 
[2026-04-28 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48: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-04-28 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:48: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-04-28 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010767872001,"66":11917,"216":206,"85":12288,"24":20,"16":77048951626268672,"45":-8819033208028502016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010767872001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77048951626268672,"km_value":77048951626268.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8819033208028502016,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010767872001,"power":11917,"unknown_216":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-8819033208028502016}} 
[2026-04-28 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:52] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:52] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:48:53] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:53] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:53] local.INFO: IMEI packet received {"connection_id":56972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":56972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:48:55] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:55] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:48:55] local.INFO: IMEI packet received {"connection_id":56972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":56972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:48:56] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd472ce78012d7d40c005f088f00007016529..."} 
[2026-04-28 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd472ce78012d7d40c005f088f00007016529..."} 
[2026-04-28 19:48:56] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd472ce78012d7d40c005f088f00007016529..."} 
[2026-04-28 19:48:56] local.INFO: Packet analysis {"connection_id":56972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:56] local.INFO: Extracted packet for processing {"connection_id":56972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd472"} 
[2026-04-28 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":99649776,"longitude_deg":76.3183296,"latitude_deg":9.9649776,"altitude":7,"angle":357,"satellites":41,"speed":53,"hex_longitude":"2d7d40c0","hex_latitude":"05f088f0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010759680001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282571348717338624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917366200236032,"note":"Value kept but may cause issues"} 
[2026-04-28 19:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777385787000,"timestamp_ms":1777385787000,"timestamp_seconds":1777385787,"priority":1,"record_length":96,"hex_timestamp":"0000019dd472ce78"} 
[2026-04-28 19:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:48: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-04-28 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010759680001,"66":27332,"117":206,"87":11264,"24":53,"16":282571348717338624,"45":9025917366200236032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-28 19:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010759680001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:48:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-28 19:48:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-28 19:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282571348717338624,"km_value":282571348717338.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917366200236032,"description":"Unknown IO ID 45"} 
[2026-04-28 19:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010759680001,"power":27332,"unknown_117":206,"unknown_87":11264,"ignition":53,"odometer":null,"unknown_45":9025917366200236032}} 
[2026-04-28 19:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":56972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:48:56] local.INFO: GPS data processed {"connection_id":56972,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:48:56] local.INFO: Acknowledgment sent {"connection_id":56972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:08] local.INFO: TCP Data received {"connection_id":56941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:08] local.INFO: Processing buffer {"connection_id":56941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:08] local.INFO: IMEI packet received {"connection_id":56941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":56941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:49:13] local.INFO: TCP Data received {"connection_id":56941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:13] local.INFO: Processing buffer {"connection_id":56941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:49:13] local.INFO: IMEI packet received {"connection_id":56941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":56941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:49:14] local.INFO: TCP Data received {"connection_id":56941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:14] local.INFO: Processing buffer {"connection_id":56941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:14] local.INFO: Packet analysis {"connection_id":56941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:49:14] local.INFO: Extracted packet for processing {"connection_id":56941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49:14] 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-04-28 19:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:49:14] 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-04-28 19:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":56941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:14] local.INFO: GPS data processed {"connection_id":56941,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:14] local.INFO: Acknowledgment sent {"connection_id":56941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:24] local.INFO: TCP Data received {"connection_id":56726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd473a938012d85bfc005c50880000c00711d..."} 
[2026-04-28 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd473a938012d85bfc005c50880000c00711d..."} 
[2026-04-28 19:49:24] local.INFO: Processing buffer {"connection_id":56726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd473a938012d85bfc005c50880000c00711d..."} 
[2026-04-28 19:49:24] local.INFO: Packet analysis {"connection_id":56726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:49:24] local.INFO: Extracted packet for processing {"connection_id":56726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763740096,"raw_latitude":96798848,"longitude_deg":76.3740096,"latitude_deg":9.6798848,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d85bfc0","hex_latitude":"05c50880","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010770688001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77049037525614592,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810729696216283136,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49: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-04-28 19:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777385843000,"timestamp_ms":1777385843000,"timestamp_seconds":1777385843,"priority":1,"record_length":96,"hex_timestamp":"0000019dd473a938"} 
[2026-04-28 19:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 19:49:24] 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-04-28 19: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-04-28 19:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:49: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-04-28 19:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010770688001,"66":12287,"216":206,"85":12288,"24":0,"16":77049037525614592,"45":-8810729696216283136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010770688001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:24] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:49:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77049037525614592,"km_value":77049037525614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810729696216283136,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010770688001,"power":12287,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8810729696216283136}} 
[2026-04-28 19:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":56726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:24] local.INFO: GPS data processed {"connection_id":56726,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:24] local.INFO: Acknowledgment sent {"connection_id":56726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:27] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd474ab08012d7d1f0005f23e20000b01612a..."} 
[2026-04-28 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd474ab08012d7d1f0005f23e20000b01612a..."} 
[2026-04-28 19:49:27] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd474ab08012d7d1f0005f23e20000b01612a..."} 
[2026-04-28 19:49:27] local.INFO: Packet analysis {"connection_id":56972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:49:27] local.INFO: Extracted packet for processing {"connection_id":56972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99761696,"longitude_deg":76.3174656,"latitude_deg":9.9761696,"altitude":11,"angle":353,"satellites":42,"speed":36,"hex_longitude":"2d7d1f00","hex_latitude":"05f23e20","is_valid_coordinates":true} 
[2026-04-28 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010789888001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282576794735869952,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273206601728,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:27] 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-04-28 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777385909000,"timestamp_ms":1777385909000,"timestamp_seconds":1777385909,"priority":1,"record_length":96,"hex_timestamp":"0000019dd474ab08"} 
[2026-04-28 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010789888001,"66":27321,"30":206,"87":13056,"24":36,"16":282576794735869952,"45":9017121273206601728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-04-28 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010789888001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-28 19:49:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282576794735869952,"km_value":282576794735869.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273206601728,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010789888001,"power":27321,"unknown_30":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":9017121273206601728}} 
[2026-04-28 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":56972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:27] local.INFO: GPS data processed {"connection_id":56972,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:27] local.INFO: Acknowledgment sent {"connection_id":56972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:46] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:49:46] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:46] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:49:46] local.INFO: TCP Data received {"connection_id":56941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:46] local.INFO: Processing buffer {"connection_id":56941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd470cec0012d196540071ff0280042013227..."} 
[2026-04-28 19:49:46] local.INFO: Packet analysis {"connection_id":56941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:49:46] local.INFO: Extracted packet for processing {"connection_id":56941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd470"} 
[2026-04-28 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010650880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777385656000,"timestamp_ms":1777385656000,"timestamp_seconds":1777385656,"priority":1,"record_length":96,"hex_timestamp":"0000019dd470cec0"} 
[2026-04-28 19:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 19:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010650880001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010650880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010650880001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":56941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:46] local.INFO: GPS data processed {"connection_id":56941,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:46] local.INFO: Acknowledgment sent {"connection_id":56941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:51] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:51] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:49:51] local.INFO: IMEI packet received {"connection_id":56727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":56727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:49:52] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd473e3d0012d85c20005c50730000c00801c..."} 
[2026-04-28 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd473e3d0012d85c20005c50730000c00801c..."} 
[2026-04-28 19:49:52] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd473e3d0012d85c20005c50730000c00801c..."} 
[2026-04-28 19:49:52] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:49:52] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763740672,"raw_latitude":96798512,"longitude_deg":76.3740672,"latitude_deg":9.6798512,"altitude":12,"angle":128,"satellites":28,"speed":9,"hex_longitude":"2d85c200","hex_latitude":"05c50730","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010775808001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77049071885352960,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8809111215100362752,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:52] 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-04-28 19:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777385858000,"timestamp_ms":1777385858000,"timestamp_seconds":1777385858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd473e3d0"} 
[2026-04-28 19:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49: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-04-28 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-28 19:49: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-04-28 19: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-04-28 19:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:49: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-04-28 19:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010775808001,"66":12200,"216":206,"85":12288,"24":9,"16":77049071885352960,"45":-8809111215100362752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010775808001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77049071885352960,"km_value":77049071885352.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8809111215100362752,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010775808001,"power":12200,"unknown_216":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-8809111215100362752}} 
[2026-04-28 19:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:52] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:52] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:49:53] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:53] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:53] local.INFO: IMEI packet received {"connection_id":56942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":56942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:49:54] local.INFO: TCP Data received {"connection_id":57646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:49:54] local.INFO: Processing buffer {"connection_id":57646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:49:54] local.INFO: IMEI packet received {"connection_id":57646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":57646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:49:58] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:58] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:49:58] local.INFO: IMEI packet received {"connection_id":56942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":56942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:49:59] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd474d600012d7d1bc005f26358000701622a..."} 
[2026-04-28 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd474d600012d7d1bc005f26358000701622a..."} 
[2026-04-28 19:49:59] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd474d600012d7d1bc005f26358000701622a..."} 
[2026-04-28 19:49:59] local.INFO: Packet analysis {"connection_id":56942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:49:59] local.INFO: Extracted packet for processing {"connection_id":56942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99771224,"longitude_deg":76.3173824,"latitude_deg":9.9771224,"altitude":7,"angle":354,"satellites":42,"speed":40,"hex_longitude":"2d7d1bc0","hex_latitude":"05f26358","is_valid_coordinates":true} 
[2026-04-28 19:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010792704001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282577258592337920,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004558016512,"note":"Value kept but may cause issues"} 
[2026-04-28 19:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777385920000,"timestamp_ms":1777385920000,"timestamp_seconds":1777385920,"priority":1,"record_length":96,"hex_timestamp":"0000019dd474d600"} 
[2026-04-28 19:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:49: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-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010792704001,"66":27234,"90":206,"87":13056,"24":40,"16":282577258592337920,"45":9015925004558016512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-04-28 19:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010792704001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:49:59] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 19:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282577258592337920,"km_value":282577258592337.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004558016512,"description":"Unknown IO ID 45"} 
[2026-04-28 19:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010792704001,"power":27234,"unknown_90":206,"unknown_87":13056,"ignition":40,"odometer":null,"unknown_45":9015925004558016512}} 
[2026-04-28 19:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":56942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:49:59] local.INFO: GPS data processed {"connection_id":56942,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:49:59] local.INFO: Acknowledgment sent {"connection_id":56942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:13] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:13] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:13] local.INFO: IMEI packet received {"connection_id":56973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":56973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:50:18] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:18] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:50:18] local.INFO: IMEI packet received {"connection_id":56973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":56973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:50:20] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:20] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:20] local.INFO: Packet analysis {"connection_id":56973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:20] local.INFO: Extracted packet for processing {"connection_id":56973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":56973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:20] local.INFO: GPS data processed {"connection_id":56973,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:20] local.INFO: Acknowledgment sent {"connection_id":56973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:23] local.INFO: TCP Data received {"connection_id":56727,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd473f370012d85c64005c504e8000b00731c..."} 
[2026-04-28 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd473f370012d85c64005c504e8000b00731c..."} 
[2026-04-28 19:50:23] local.INFO: Processing buffer {"connection_id":56727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd473f370012d85c64005c504e8000b00731c..."} 
[2026-04-28 19:50:23] local.INFO: Packet analysis {"connection_id":56727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:50:23] local.INFO: Extracted packet for processing {"connection_id":56727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd473"} 
[2026-04-28 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763741760,"raw_latitude":96797928,"longitude_deg":76.374176,"latitude_deg":9.6797928,"altitude":11,"angle":115,"satellites":28,"speed":15,"hex_longitude":"2d85c640","hex_latitude":"05c504e8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010779648001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77049127719927808,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808477896402849792,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] 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-04-28 19:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777385862000,"timestamp_ms":1777385862000,"timestamp_seconds":1777385862,"priority":1,"record_length":96,"hex_timestamp":"0000019dd473f370"} 
[2026-04-28 19:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50: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-04-28 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-28 19:50: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-04-28 19: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-04-28 19:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:50: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-04-28 19:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010779648001,"66":12341,"216":206,"85":12288,"24":15,"16":77049127719927808,"45":-8808477896402849792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010779648001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77049127719927808,"km_value":77049127719927.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808477896402849792,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010779648001,"power":12341,"unknown_216":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-8808477896402849792}} 
[2026-04-28 19:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":56727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:23] local.INFO: GPS data processed {"connection_id":56727,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:23] local.INFO: Acknowledgment sent {"connection_id":56727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:23] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:23] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:50:23] local.INFO: Packet analysis {"connection_id":56973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:23] local.INFO: Extracted packet for processing {"connection_id":56973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":56973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:24] local.INFO: GPS data processed {"connection_id":56973,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:24] local.INFO: Acknowledgment sent {"connection_id":56973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:31] local.INFO: TCP Data received {"connection_id":56942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd474f928012d7d180005f286480008016229..."} 
[2026-04-28 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd474f928012d7d180005f286480008016229..."} 
[2026-04-28 19:50:31] local.INFO: Processing buffer {"connection_id":56942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd474f928012d7d180005f286480008016229..."} 
[2026-04-28 19:50:31] local.INFO: Packet analysis {"connection_id":56942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:50:31] local.INFO: Extracted packet for processing {"connection_id":56942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd474"} 
[2026-04-28 19:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99780168,"longitude_deg":76.3172864,"latitude_deg":9.9780168,"altitude":8,"angle":354,"satellites":41,"speed":36,"hex_longitude":"2d7d1800","hex_latitude":"05f28648","is_valid_coordinates":true} 
[2026-04-28 19:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010795520001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282577696679002112,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210886146048,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777385929000,"timestamp_ms":1777385929000,"timestamp_seconds":1777385929,"priority":1,"record_length":96,"hex_timestamp":"0000019dd474f928"} 
[2026-04-28 19:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50: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-04-28 19:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 19:50:31] 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-04-28 19:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010795520001,"66":27604,"90":206,"87":13056,"24":36,"16":282577696679002112,"45":9015010210886146048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-04-28 19:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010795520001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 19:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282577696679002112,"km_value":282577696679002.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210886146048,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010795520001,"power":27604,"unknown_90":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":9015010210886146048}} 
[2026-04-28 19:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":56942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:31] local.INFO: GPS data processed {"connection_id":56942,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:31] local.INFO: Acknowledgment sent {"connection_id":56942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:34] local.INFO: TCP Data received {"connection_id":57647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:50:34] local.INFO: Processing buffer {"connection_id":57647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:50:34] local.INFO: IMEI packet received {"connection_id":57647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":57647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:50:45] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:45] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:45] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:50:46] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:46] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:46] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:50:47] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:47] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:47] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:50:51] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:51] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:50:51] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:50:52] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4767410012d86e64005c47698000c00681d..."} 
[2026-04-28 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4767410012d86e64005c47698000c00681d..."} 
[2026-04-28 19:50:52] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4767410012d86e64005c47698000c00681d..."} 
[2026-04-28 19:50:52] local.INFO: Packet analysis {"connection_id":56974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:50:52] local.INFO: Extracted packet for processing {"connection_id":56974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763815488,"raw_latitude":96761496,"longitude_deg":76.3815488,"latitude_deg":9.6761496,"altitude":12,"angle":104,"satellites":29,"speed":40,"hex_longitude":"2d86e640","hex_latitude":"05c47698","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010820608001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77053091974742016,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8734661083769149440,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:52] 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-04-28 19:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777386026000,"timestamp_ms":1777386026000,"timestamp_seconds":1777386026,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4767410"} 
[2026-04-28 19:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-28 19:50:52] 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-04-28 19: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-04-28 19:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:50: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-04-28 19:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010820608001,"66":12330,"216":206,"85":12288,"24":40,"16":77053091974742016,"45":-8734661083769149440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010820608001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77053091974742016,"km_value":77053091974742.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8734661083769149440,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010820608001,"power":12330,"unknown_216":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8734661083769149440}} 
[2026-04-28 19:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":56974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:52] local.INFO: GPS data processed {"connection_id":56974,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:52] local.INFO: Acknowledgment sent {"connection_id":56974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:50:53] local.INFO: TCP Data received {"connection_id":56728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:53] local.INFO: Processing buffer {"connection_id":56728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:53] local.INFO: IMEI packet received {"connection_id":56728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":56728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:50:58] local.INFO: TCP Data received {"connection_id":56728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:58] local.INFO: Processing buffer {"connection_id":56728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:50:58] local.INFO: IMEI packet received {"connection_id":56728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":56728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:50:58] local.INFO: TCP Data received {"connection_id":56728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4752038012d7d144005f2aa900008016229..."} 
[2026-04-28 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4752038012d7d144005f2aa900008016229..."} 
[2026-04-28 19:50:58] local.INFO: Processing buffer {"connection_id":56728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4752038012d7d144005f2aa900008016229..."} 
[2026-04-28 19:50:58] local.INFO: Packet analysis {"connection_id":56728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:58] local.INFO: Extracted packet for processing {"connection_id":56728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763171904,"raw_latitude":99789456,"longitude_deg":76.3171904,"latitude_deg":9.9789456,"altitude":8,"angle":354,"satellites":41,"speed":36,"hex_longitude":"2d7d1440","hex_latitude":"05f2aa90","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010797824001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282578147650568192,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679725770752,"note":"Value kept but may cause issues"} 
[2026-04-28 19:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777385939000,"timestamp_ms":1777385939000,"timestamp_seconds":1777385939,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4752038"} 
[2026-04-28 19:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 19:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010797824001,"66":27397,"90":206,"87":13056,"24":36,"16":282578147650568192,"45":9013954679725770752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-04-28 19:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010797824001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:50:58] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-28 19:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282578147650568192,"km_value":282578147650568.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679725770752,"description":"Unknown IO ID 45"} 
[2026-04-28 19:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010797824001,"power":27397,"unknown_90":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":9013954679725770752}} 
[2026-04-28 19:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":56728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:50:58] local.INFO: GPS data processed {"connection_id":56728,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:50:58] local.INFO: Acknowledgment sent {"connection_id":56728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:51:08] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:08] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:08] local.INFO: IMEI packet received {"connection_id":56943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":56943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:51:13] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:13] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:51:13] local.INFO: IMEI packet received {"connection_id":56943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":56943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:51:14] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:14] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:14] local.INFO: Packet analysis {"connection_id":56943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:14] local.INFO: Extracted packet for processing {"connection_id":56943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:51:14] 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-04-28 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:51:14] 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-04-28 19:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:51:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":56943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:51:14] local.INFO: GPS data processed {"connection_id":56943,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:51:14] local.INFO: Acknowledgment sent {"connection_id":56943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:51:40] local.INFO: TCP Data received {"connection_id":56728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4754748012d7d0f8005f2cd48000a01602c..."} 
[2026-04-28 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4754748012d7d0f8005f2cd48000a01602c..."} 
[2026-04-28 19:51:40] local.INFO: Processing buffer {"connection_id":56728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4754748012d7d0f8005f2cd48000a01602c..."} 
[2026-04-28 19:51:40] local.INFO: Packet analysis {"connection_id":56728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:40] local.INFO: Extracted packet for processing {"connection_id":56728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":99798344,"longitude_deg":76.3170688,"latitude_deg":9.9798344,"altitude":10,"angle":352,"satellites":44,"speed":36,"hex_longitude":"2d7d0f80","hex_latitude":"05f2cd48","is_valid_coordinates":true} 
[2026-04-28 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010800384001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282578585737232384,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012899148565483520,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777385949000,"timestamp_ms":1777385949000,"timestamp_seconds":1777385949,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4754748"} 
[2026-04-28 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:51: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-04-28 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":56728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":56728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":56728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:51:40] 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-04-28 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010800384001,"66":27365,"249":206,"87":13056,"24":36,"16":282578585737232384,"45":9012899148565483520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-28 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010800384001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:51:40] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-28 19:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282578585737232384,"km_value":282578585737232.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012899148565483520,"description":"Unknown IO ID 45"} 
[2026-04-28 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010800384001,"power":27365,"unknown_249":206,"unknown_87":13056,"ignition":36,"odometer":null,"unknown_45":9012899148565483520}} 
[2026-04-28 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":56728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:51:40] local.INFO: GPS data processed {"connection_id":56728,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:51:40] local.INFO: Acknowledgment sent {"connection_id":56728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:51:45] local.INFO: TCP Data received {"connection_id":56943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:45] local.INFO: Processing buffer {"connection_id":56943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:51:45] local.INFO: Packet analysis {"connection_id":56943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:45] local.INFO: Extracted packet for processing {"connection_id":56943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:51:45] 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-04-28 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:51:45] 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-04-28 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:51:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":56943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:51:46] local.INFO: GPS data processed {"connection_id":56943,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:51:46] local.INFO: Acknowledgment sent {"connection_id":56943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:51:52] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4769738012d870a0005c46fa8000a006a1f..."} 
[2026-04-28 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4769738012d870a0005c46fa8000a006a1f..."} 
[2026-04-28 19:51:52] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4769738012d870a0005c46fa8000a006a1f..."} 
[2026-04-28 19:51:52] local.INFO: Packet analysis {"connection_id":56974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:51:52] local.INFO: Extracted packet for processing {"connection_id":56974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763824640,"raw_latitude":96759720,"longitude_deg":76.382464,"latitude_deg":9.675972,"altitude":10,"angle":106,"satellites":31,"speed":41,"hex_longitude":"2d870a00","hex_latitude":"05c46fa8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010822656001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77053538651340800,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8726216834468636672,"note":"Value kept but may cause issues"} 
[2026-04-28 19:51:52] 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-04-28 19:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777386035000,"timestamp_ms":1777386035000,"timestamp_seconds":1777386035,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4769738"} 
[2026-04-28 19:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:51: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-04-28 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 19:51:52] 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-04-28 19: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-04-28 19:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:51: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-04-28 19:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010822656001,"66":12504,"216":206,"85":12288,"24":41,"16":77053538651340800,"45":-8726216834468636672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010822656001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:51:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77053538651340800,"km_value":77053538651340.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8726216834468636672,"description":"Unknown IO ID 45"} 
[2026-04-28 19:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010822656001,"power":12504,"unknown_216":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-8726216834468636672}} 
[2026-04-28 19:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":56974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:51:52] local.INFO: GPS data processed {"connection_id":56974,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:51:52] local.INFO: Acknowledgment sent {"connection_id":56974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:51:52] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:52] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:52] local.INFO: IMEI packet received {"connection_id":56944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":56944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:51:59] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:59] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:51:59] local.INFO: IMEI packet received {"connection_id":56944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":56944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:00] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4757240012d7d0a0005f2f2500009015d29..."} 
[2026-04-28 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4757240012d7d0a0005f2f2500009015d29..."} 
[2026-04-28 19:52:00] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4757240012d7d0a0005f2f2500009015d29..."} 
[2026-04-28 19:52:00] local.INFO: Packet analysis {"connection_id":56944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:00] local.INFO: Extracted packet for processing {"connection_id":56944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99807824,"longitude_deg":76.316928,"latitude_deg":9.9807824,"altitude":9,"angle":349,"satellites":41,"speed":32,"hex_longitude":"2d7d0a00","hex_latitude":"05f2f250","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010802944001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282579049593700352,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562142428383232,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777385960000,"timestamp_ms":1777385960000,"timestamp_seconds":1777385960,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4757240"} 
[2026-04-28 19:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52: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-04-28 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010802944001,"66":27289,"249":206,"87":13056,"24":32,"16":282579049593700352,"45":9011562142428383232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-28 19:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010802944001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-28 19:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282579049593700352,"km_value":282579049593700.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562142428383232,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010802944001,"power":27289,"unknown_249":206,"unknown_87":13056,"ignition":32,"odometer":null,"unknown_45":9011562142428383232}} 
[2026-04-28 19:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":56944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:00] local.INFO: GPS data processed {"connection_id":56944,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:00] local.INFO: Acknowledgment sent {"connection_id":56944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:01] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:01] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:01] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:52:04] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:04] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:04] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:07] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:07] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:07] local.INFO: IMEI packet received {"connection_id":56945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":56945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:07] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd476ba60012d87278005c467e8000800561e..."} 
[2026-04-28 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd476ba60012d87278005c467e8000800561e..."} 
[2026-04-28 19:52:07] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd476ba60012d87278005c467e8000800561e..."} 
[2026-04-28 19:52:07] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:52:07] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763832192,"raw_latitude":96757736,"longitude_deg":76.3832192,"latitude_deg":9.6757736,"altitude":8,"angle":86,"satellites":30,"speed":24,"hex_longitude":"2d872780","hex_latitude":"05c467e8","is_valid_coordinates":true} 
[2026-04-28 19:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010824960001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77053916608462848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8716154104051685376,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:07] 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-04-28 19:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777386044000,"timestamp_ms":1777386044000,"timestamp_seconds":1777386044,"priority":1,"record_length":96,"hex_timestamp":"0000019dd476ba60"} 
[2026-04-28 19:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52:07] 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-04-28 19:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010824960001,"66":12058,"216":206,"85":12288,"24":24,"16":77053916608462848,"45":-8716154104051685376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010824960001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77053916608462848,"km_value":77053916608462.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8716154104051685376,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010824960001,"power":12058,"unknown_216":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-8716154104051685376}} 
[2026-04-28 19:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:07] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:07] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:08] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:08] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:08] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:52:11] local.INFO: TCP Data received {"connection_id":56945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd476c230012d872c4005c46970000900421e..."} 
[2026-04-28 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd476c230012d872c4005c46970000900421e..."} 
[2026-04-28 19:52:11] local.INFO: Processing buffer {"connection_id":56945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd476c230012d872c4005c46970000900421e..."} 
[2026-04-28 19:52:11] local.INFO: Packet analysis {"connection_id":56945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:52:11] local.INFO: Extracted packet for processing {"connection_id":56945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd476"} 
[2026-04-28 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763833408,"raw_latitude":96758128,"longitude_deg":76.3833408,"latitude_deg":9.6758128,"altitude":9,"angle":66,"satellites":30,"speed":27,"hex_longitude":"2d872c40","hex_latitude":"05c46970","is_valid_coordinates":true} 
[2026-04-28 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010827264001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77053976738004992,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8707850592239228928,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777386046000,"timestamp_ms":1777386046000,"timestamp_seconds":1777386046,"priority":1,"record_length":96,"hex_timestamp":"0000019dd476c230"} 
[2026-04-28 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:11] 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-04-28 19:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":56945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":56945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":56945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52:11] 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-04-28 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010827264001,"66":12472,"216":206,"85":12288,"24":27,"16":77053976738004992,"45":-8707850592239228928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-04-28 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010827264001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-28 19:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77053976738004992,"km_value":77053976738004.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8707850592239228928,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010827264001,"power":12472,"unknown_216":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-8707850592239228928}} 
[2026-04-28 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":56945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:11] local.INFO: GPS data processed {"connection_id":56945,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:11] local.INFO: Acknowledgment sent {"connection_id":56945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:13] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:13] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:52:13] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:15] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:15] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:15] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:15] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:15] 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-04-28 19:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:15] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:15] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:31] local.INFO: TCP Data received {"connection_id":56944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd475a120012d7d050005f314f0000a015e2a..."} 
[2026-04-28 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd475a120012d7d050005f314f0000a015e2a..."} 
[2026-04-28 19:52:31] local.INFO: Processing buffer {"connection_id":56944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd475a120012d7d050005f314f0000a015e2a..."} 
[2026-04-28 19:52:31] local.INFO: Packet analysis {"connection_id":56944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:31] local.INFO: Extracted packet for processing {"connection_id":56944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":99816688,"longitude_deg":76.3168,"latitude_deg":9.9816688,"altitude":10,"angle":350,"satellites":42,"speed":23,"hex_longitude":"2d7d0500","hex_latitude":"05f314f0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010805760001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282579483385397248,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014030058901504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777385972000,"timestamp_ms":1777385972000,"timestamp_seconds":1777385972,"priority":1,"record_length":96,"hex_timestamp":"0000019dd475a120"} 
[2026-04-28 19:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010805760001,"66":27321,"249":206,"87":13056,"24":23,"16":282579483385397248,"45":9010014030058901504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-28 19:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010805760001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:31] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-28 19:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-28 19:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282579483385397248,"km_value":282579483385397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014030058901504,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010805760001,"power":27321,"unknown_249":206,"unknown_87":13056,"ignition":23,"odometer":null,"unknown_45":9010014030058901504}} 
[2026-04-28 19:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":56944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:31] local.INFO: GPS data processed {"connection_id":56944,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:31] local.INFO: Acknowledgment sent {"connection_id":56944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:46] local.INFO: TCP Data received {"connection_id":57648,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:46] local.INFO: Processing buffer {"connection_id":57648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:46] local.INFO: IMEI packet received {"connection_id":57648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":57648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:52:46] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:46] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:52:46] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:46] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 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-04-28 19:52:46] 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-04-28 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:46] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:46] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:51] local.INFO: TCP Data received {"connection_id":57648,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:51] local.INFO: Processing buffer {"connection_id":57648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:52:51] local.INFO: IMEI packet received {"connection_id":57648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":57648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:51] local.INFO: TCP Data received {"connection_id":57648,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4781220012d88478005c4c2a0000b00651f..."} 
[2026-04-28 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4781220012d88478005c4c2a0000b00651f..."} 
[2026-04-28 19:52:51] local.INFO: Processing buffer {"connection_id":57648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4781220012d88478005c4c2a0000b00651f..."} 
[2026-04-28 19:52:51] local.INFO: Packet analysis {"connection_id":57648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:52:51] local.INFO: Extracted packet for processing {"connection_id":57648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763905920,"raw_latitude":96780960,"longitude_deg":76.390592,"latitude_deg":9.678096,"altitude":11,"angle":101,"satellites":31,"speed":39,"hex_longitude":"2d884780","hex_latitude":"05c4c2a0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010847232001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77057876568309760,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8637411479310852096,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:51] 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-04-28 19:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777386132000,"timestamp_ms":1777386132000,"timestamp_seconds":1777386132,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4781220"} 
[2026-04-28 19:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52: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-04-28 19:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:51] 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-04-28 19: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-04-28 19:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:52: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-04-28 19:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010847232001,"66":12428,"191":206,"85":12288,"24":39,"16":77057876568309760,"45":-8637411479310852096},"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-04-28 19:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010847232001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 19:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77057876568309760,"km_value":77057876568309.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8637411479310852096,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010847232001,"power":12428,"unknown_191":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-8637411479310852096}} 
[2026-04-28 19:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":57648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:51] local.INFO: GPS data processed {"connection_id":57648,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:51] local.INFO: Acknowledgment sent {"connection_id":57648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:52:52] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:52] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:52] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:52:58] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:58] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:52:58] local.INFO: IMEI packet received {"connection_id":56730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":56730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:52:59] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd477b848012d7cc54005f49af8000e015e29..."} 
[2026-04-28 19:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd477b848012d7cc54005f49af8000e015e29..."} 
[2026-04-28 19:52:59] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd477b848012d7cc54005f49af8000e015e29..."} 
[2026-04-28 19:52:59] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd477"} 
[2026-04-28 19:52:59] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd477"} 
[2026-04-28 19:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763151680,"raw_latitude":99916536,"longitude_deg":76.315168,"latitude_deg":9.9916536,"altitude":14,"angle":350,"satellites":41,"speed":31,"hex_longitude":"2d7cc540","hex_latitude":"05f49af8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010841344001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282584392533016576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992210737807509504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386109000,"timestamp_ms":1777386109000,"timestamp_seconds":1777386109,"priority":1,"record_length":96,"hex_timestamp":"0000019dd477b848"} 
[2026-04-28 19:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:52: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-04-28 19:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 19:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010841344001,"66":27376,"178":206,"87":12800,"24":31,"16":282584392533016576,"45":8992210737807509504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010841344001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:52:59] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282584392533016576,"km_value":282584392533016.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992210737807509504,"description":"Unknown IO ID 45"} 
[2026-04-28 19:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010841344001,"power":27376,"unknown_178":206,"unknown_87":12800,"ignition":31,"odometer":null,"unknown_45":8992210737807509504}} 
[2026-04-28 19:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:52:59] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:52:59] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:13] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:13] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:13] local.INFO: IMEI packet received {"connection_id":56946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":56946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:53:18] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:18] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:53:18] local.INFO: IMEI packet received {"connection_id":56946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":56946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:53:19] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:19] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:19] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:53:19] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:53:19] 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-04-28 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:53:19] 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-04-28 19:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:53:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:53:19] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:53:19] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:22] local.INFO: TCP Data received {"connection_id":57648,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4784100012d88698005c4b8200004006c1e..."} 
[2026-04-28 19:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4784100012d88698005c4b8200004006c1e..."} 
[2026-04-28 19:53:22] local.INFO: Processing buffer {"connection_id":57648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4784100012d88698005c4b8200004006c1e..."} 
[2026-04-28 19:53:22] local.INFO: Packet analysis {"connection_id":57648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:53:22] local.INFO: Extracted packet for processing {"connection_id":57648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":763914624,"raw_latitude":96778272,"longitude_deg":76.3914624,"latitude_deg":9.6778272,"altitude":4,"angle":108,"satellites":30,"speed":24,"hex_longitude":"2d886980","hex_latitude":"05c4b820","is_valid_coordinates":true} 
[2026-04-28 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010849792001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77058314654973952,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8626785798940614656,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:22] 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-04-28 19:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777386144000,"timestamp_ms":1777386144000,"timestamp_seconds":1777386144,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4784100"} 
[2026-04-28 19:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 19:53:22] 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-04-28 19:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:53: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-04-28 19:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010849792001,"66":12613,"191":206,"85":12288,"24":24,"16":77058314654973952,"45":-8626785798940614656},"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-04-28 19:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010849792001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:53:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 19:53:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77058314654973952,"km_value":77058314654973.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8626785798940614656,"description":"Unknown IO ID 45"} 
[2026-04-28 19:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010849792001,"power":12613,"unknown_191":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-8626785798940614656}} 
[2026-04-28 19:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":57648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:53:22] local.INFO: GPS data processed {"connection_id":57648,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:53:22] local.INFO: Acknowledgment sent {"connection_id":57648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:29] local.INFO: TCP Data received {"connection_id":56946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:29] local.INFO: Processing buffer {"connection_id":56946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:53:29] local.INFO: Packet analysis {"connection_id":56946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:53:29] local.INFO: Extracted packet for processing {"connection_id":56946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:29] 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-04-28 19:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:53:29] 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-04-28 19:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:53: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-04-28 19:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:53: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-04-28 19:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:53:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":56946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:53:29] local.INFO: GPS data processed {"connection_id":56946,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:53:29] local.INFO: Acknowledgment sent {"connection_id":56946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:31] local.INFO: TCP Data received {"connection_id":56730,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd477e340012d7cbf8005f4c040000e015c29..."} 
[2026-04-28 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd477e340012d7cbf8005f4c040000e015c29..."} 
[2026-04-28 19:53:31] local.INFO: Processing buffer {"connection_id":56730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd477e340012d7cbf8005f4c040000e015c29..."} 
[2026-04-28 19:53:31] local.INFO: Packet analysis {"connection_id":56730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd477"} 
[2026-04-28 19:53:31] local.INFO: Extracted packet for processing {"connection_id":56730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd477"} 
[2026-04-28 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763150208,"raw_latitude":99926080,"longitude_deg":76.3150208,"latitude_deg":9.992608,"altitude":14,"angle":348,"satellites":41,"speed":34,"hex_longitude":"2d7cbf80","hex_latitude":"05f4c040","is_valid_coordinates":true} 
[2026-04-28 19:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010843904001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282584860684451840,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990662625437874176,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777386120000,"timestamp_ms":1777386120000,"timestamp_seconds":1777386120,"priority":1,"record_length":96,"hex_timestamp":"0000019dd477e340"} 
[2026-04-28 19:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:53: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-04-28 19:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010843904001,"66":27365,"178":206,"87":12800,"24":34,"16":282584860684451840,"45":8990662625437874176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010843904001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:53:31] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282584860684451840,"km_value":282584860684451.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990662625437874176,"description":"Unknown IO ID 45"} 
[2026-04-28 19:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010843904001,"power":27365,"unknown_178":206,"unknown_87":12800,"ignition":34,"odometer":null,"unknown_45":8990662625437874176}} 
[2026-04-28 19:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":56730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:53:31] local.INFO: GPS data processed {"connection_id":56730,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:53:31] local.INFO: Acknowledgment sent {"connection_id":56730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:46] local.INFO: TCP Data received {"connection_id":57649,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:46] local.INFO: Processing buffer {"connection_id":57649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:46] local.INFO: IMEI packet received {"connection_id":57649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":57649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:53:50] local.INFO: TCP Data received {"connection_id":57649,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:50] local.INFO: Processing buffer {"connection_id":57649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:50] local.INFO: IMEI packet received {"connection_id":57649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":57649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:53:52] local.INFO: TCP Data received {"connection_id":57649,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:52] local.INFO: Processing buffer {"connection_id":57649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:53:52] local.INFO: IMEI packet received {"connection_id":57649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":57649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:53:52] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:52] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:52] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:53:53] local.INFO: TCP Data received {"connection_id":57649,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4786428012d88858005c4acf0000200781f..."} 
[2026-04-28 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4786428012d88858005c4acf0000200781f..."} 
[2026-04-28 19:53:53] local.INFO: Processing buffer {"connection_id":57649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4786428012d88858005c4acf0000200781f..."} 
[2026-04-28 19:53:53] local.INFO: Packet analysis {"connection_id":57649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:53:53] local.INFO: Extracted packet for processing {"connection_id":57649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763921792,"raw_latitude":96775408,"longitude_deg":76.3921792,"latitude_deg":9.6775408,"altitude":2,"angle":120,"satellites":31,"speed":36,"hex_longitude":"2d888580","hex_latitude":"05c4acf0","is_valid_coordinates":true} 
[2026-04-28 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010852864001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77058684022161408,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617215649733140480,"note":"Value kept but may cause issues"} 
[2026-04-28 19:53:53] 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-04-28 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777386153000,"timestamp_ms":1777386153000,"timestamp_seconds":1777386153,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4786428"} 
[2026-04-28 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-28 19:53:53] 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-04-28 19:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:53: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-04-28 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010852864001,"66":12374,"191":206,"85":12288,"24":36,"16":77058684022161408,"45":-8617215649733140480},"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-04-28 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010852864001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:53:53] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 19:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77058684022161408,"km_value":77058684022161.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617215649733140480,"description":"Unknown IO ID 45"} 
[2026-04-28 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010852864001,"power":12374,"unknown_191":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":-8617215649733140480}} 
[2026-04-28 19:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":57649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:53:53] local.INFO: GPS data processed {"connection_id":57649,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:53:53] local.INFO: Acknowledgment sent {"connection_id":57649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:53:55] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:55] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:55] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:53:58] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:58] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:53:58] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:54:03] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:03] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:03] local.INFO: IMEI packet received {"connection_id":56978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":56978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:54:03] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4781220012d7cb90005f4e410000d015f26..."} 
[2026-04-28 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4781220012d7cb90005f4e410000d015f26..."} 
[2026-04-28 19:54:03] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4781220012d7cb90005f4e410000d015f26..."} 
[2026-04-28 19:54:03] local.INFO: Packet analysis {"connection_id":56978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:03] local.INFO: Extracted packet for processing {"connection_id":56978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":99935248,"longitude_deg":76.3148544,"latitude_deg":9.9935248,"altitude":13,"angle":351,"satellites":38,"speed":27,"hex_longitude":"2d7cb900","hex_latitude":"05f4e410","is_valid_coordinates":true} 
[2026-04-28 19:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010846720001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282585311656017920,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989044144324231168,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777386132000,"timestamp_ms":1777386132000,"timestamp_seconds":1777386132,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4781220"} 
[2026-04-28 19:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010846720001,"66":27365,"178":206,"87":12800,"24":27,"16":282585311656017920,"45":8989044144324231168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010846720001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:54:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282585311656017920,"km_value":282585311656017.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989044144324231168,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010846720001,"power":27365,"unknown_178":206,"unknown_87":12800,"ignition":27,"odometer":null,"unknown_45":8989044144324231168}} 
[2026-04-28 19:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":56978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:03] local.INFO: GPS data processed {"connection_id":56978,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:03] local.INFO: Acknowledgment sent {"connection_id":56978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:06] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4785488012d7cb28005f50798000c015e29..."} 
[2026-04-28 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4785488012d7cb28005f50798000c015e29..."} 
[2026-04-28 19:54:06] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4785488012d7cb28005f50798000c015e29..."} 
[2026-04-28 19:54:06] local.INFO: Packet analysis {"connection_id":56978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:06] local.INFO: Extracted packet for processing {"connection_id":56978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":99944344,"longitude_deg":76.314688,"latitude_deg":9.9944344,"altitude":12,"angle":350,"satellites":41,"speed":22,"hex_longitude":"2d7cb280","hex_latitude":"05f50798","is_valid_coordinates":true} 
[2026-04-28 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010849792001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282585762627584000,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556977958912,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777386149000,"timestamp_ms":1777386149000,"timestamp_seconds":1777386149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4785488"} 
[2026-04-28 19:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":56978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:06] 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-04-28 19:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010849792001,"66":27343,"178":206,"87":12800,"24":22,"16":282585762627584000,"45":8987214556977958912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010849792001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:06] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282585762627584000,"km_value":282585762627584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556977958912,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010849792001,"power":27343,"unknown_178":206,"unknown_87":12800,"ignition":22,"odometer":null,"unknown_45":8987214556977958912}} 
[2026-04-28 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":56978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:06] local.INFO: GPS data processed {"connection_id":56978,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:06] local.INFO: Acknowledgment sent {"connection_id":56978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:08] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:08] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:08] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:54:13] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:13] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:54:13] local.INFO: IMEI packet received {"connection_id":56731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":56731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:54:14] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:14] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:14] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:54:14] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 19:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54:14] 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-04-28 19:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:54:14] 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-04-28 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:14] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:14] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:24] local.INFO: TCP Data received {"connection_id":57649,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4787f80012d889a4005c49cd8000500831f..."} 
[2026-04-28 19:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4787f80012d889a4005c49cd8000500831f..."} 
[2026-04-28 19:54:24] local.INFO: Processing buffer {"connection_id":57649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4787f80012d889a4005c49cd8000500831f..."} 
[2026-04-28 19:54:24] local.INFO: Packet analysis {"connection_id":57649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:24] local.INFO: Extracted packet for processing {"connection_id":57649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763927104,"raw_latitude":96771288,"longitude_deg":76.3927104,"latitude_deg":9.6771288,"altitude":5,"angle":131,"satellites":31,"speed":32,"hex_longitude":"2d889a40","hex_latitude":"05c49cd8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010855168001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77059006144708608,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8609334350385975296,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:24] 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-04-28 19:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777386160000,"timestamp_ms":1777386160000,"timestamp_seconds":1777386160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4787f80"} 
[2026-04-28 19:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54: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-04-28 19:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 19:54: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-04-28 19:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 19:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 19:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010855168001,"66":12341,"191":206,"85":12288,"24":32,"16":77059006144708608,"45":-8609334350385975296},"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-04-28 19:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 19:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 19:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010855168001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:24] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-28 19:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-28 19:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77059006144708608,"km_value":77059006144708.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8609334350385975296,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010855168001,"power":12341,"unknown_191":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-8609334350385975296}} 
[2026-04-28 19:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":57649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:24] local.INFO: GPS data processed {"connection_id":57649,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:24] local.INFO: Acknowledgment sent {"connection_id":57649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:37] local.INFO: TCP Data received {"connection_id":56978,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4788f20012d7cae0005f52328000d00012b..."} 
[2026-04-28 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4788f20012d7cae0005f52328000d00012b..."} 
[2026-04-28 19:54:37] local.INFO: Processing buffer {"connection_id":56978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4788f20012d7cae0005f52328000d00012b..."} 
[2026-04-28 19:54:37] local.INFO: Packet analysis {"connection_id":56978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:37] local.INFO: Extracted packet for processing {"connection_id":56978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763145728,"raw_latitude":99951400,"longitude_deg":76.3145728,"latitude_deg":9.99514,"altitude":13,"angle":1,"satellites":43,"speed":7,"hex_longitude":"2d7cae00","hex_latitude":"05f52328","is_valid_coordinates":true} 
[2026-04-28 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010854144001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282586110519934976,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969631668224,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777386164000,"timestamp_ms":1777386164000,"timestamp_seconds":1777386164,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4788f20"} 
[2026-04-28 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:37] 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-04-28 19:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":56978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":56978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:37] 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-04-28 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010854144001,"66":27332,"178":206,"87":12800,"24":7,"16":282586110519934976,"45":8985384969631668224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010854144001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282586110519934976,"km_value":282586110519935.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969631668224,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010854144001,"power":27332,"unknown_178":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8985384969631668224}} 
[2026-04-28 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":56978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:37] local.INFO: GPS data processed {"connection_id":56978,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:37] local.INFO: Acknowledgment sent {"connection_id":56978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:45] local.INFO: TCP Data received {"connection_id":56731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:45] local.INFO: Processing buffer {"connection_id":56731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4756688012d196540071ff0280042013229..."} 
[2026-04-28 19:54:45] local.INFO: Packet analysis {"connection_id":56731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:54:45] local.INFO: Extracted packet for processing {"connection_id":56731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd475"} 
[2026-04-28 19:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010727936001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777385957000,"timestamp_ms":1777385957000,"timestamp_seconds":1777385957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4756688"} 
[2026-04-28 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-04-28 19:54:45] 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-04-28 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:54:45] 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-04-28 19:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010727936001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010727936001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010727936001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":56731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:45] local.INFO: GPS data processed {"connection_id":56731,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:45] local.INFO: Acknowledgment sent {"connection_id":56731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:54:53] local.INFO: TCP Data received {"connection_id":57650,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:53] local.INFO: Processing buffer {"connection_id":57650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:53] local.INFO: IMEI packet received {"connection_id":57650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":57650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:54:58] local.INFO: TCP Data received {"connection_id":57650,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:58] local.INFO: Processing buffer {"connection_id":57650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:54:58] local.INFO: IMEI packet received {"connection_id":57650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":57650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:54:58] local.INFO: TCP Data received {"connection_id":57650,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd478aa78012d7cad4005f52ac0000e015d2b..."} 
[2026-04-28 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd478aa78012d7cad4005f52ac0000e015d2b..."} 
[2026-04-28 19:54:58] local.INFO: Processing buffer {"connection_id":57650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd478aa78012d7cad4005f52ac0000e015d2b..."} 
[2026-04-28 19:54:58] local.INFO: Packet analysis {"connection_id":57650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:58] local.INFO: Extracted packet for processing {"connection_id":57650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763145536,"raw_latitude":99953344,"longitude_deg":76.3145536,"latitude_deg":9.9953344,"altitude":14,"angle":349,"satellites":43,"speed":15,"hex_longitude":"2d7cad40","hex_latitude":"05f52ac0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010857984001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282586205009215488,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984118332238276608,"note":"Value kept but may cause issues"} 
[2026-04-28 19:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386171000,"timestamp_ms":1777386171000,"timestamp_seconds":1777386171,"priority":1,"record_length":96,"hex_timestamp":"0000019dd478aa78"} 
[2026-04-28 19:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010857984001,"66":27365,"178":206,"87":12800,"24":15,"16":282586205009215488,"45":8984118332238276608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-04-28 19:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010857984001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:54:58] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-28 19:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282586205009215488,"km_value":282586205009215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984118332238276608,"description":"Unknown IO ID 45"} 
[2026-04-28 19:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010857984001,"power":27365,"unknown_178":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8984118332238276608}} 
[2026-04-28 19:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":57650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:54:58] local.INFO: GPS data processed {"connection_id":57650,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:54:58] local.INFO: Acknowledgment sent {"connection_id":57650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:55:02] local.INFO: TCP Data received {"connection_id":57651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:55:02] local.INFO: Processing buffer {"connection_id":57651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 19:55:02] local.INFO: IMEI packet received {"connection_id":57651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 19:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":57651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:55:08] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:08] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:08] local.INFO: IMEI packet received {"connection_id":56948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":56948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:55:18] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:18] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:55:18] local.INFO: IMEI packet received {"connection_id":56948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":56948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:55:19] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:19] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:19] local.INFO: Packet analysis {"connection_id":56948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:19] local.INFO: Extracted packet for processing {"connection_id":56948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:55:19] 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-04-28 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:55:19] 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-04-28 19:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:55:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":56948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:55:19] local.INFO: GPS data processed {"connection_id":56948,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:55:19] local.INFO: Acknowledgment sent {"connection_id":56948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:55:30] local.INFO: TCP Data received {"connection_id":57650,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd478e510012d7ca70005f54fd0000d015f2a..."} 
[2026-04-28 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd478e510012d7ca70005f54fd0000d015f2a..."} 
[2026-04-28 19:55:30] local.INFO: Processing buffer {"connection_id":57650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd478e510012d7ca70005f54fd0000d015f2a..."} 
[2026-04-28 19:55:30] local.INFO: Packet analysis {"connection_id":57650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:55:30] local.INFO: Extracted packet for processing {"connection_id":57650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd478"} 
[2026-04-28 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763143936,"raw_latitude":99962832,"longitude_deg":76.3143936,"latitude_deg":9.9962832,"altitude":13,"angle":351,"satellites":42,"speed":30,"hex_longitude":"2d7ca700","hex_latitude":"05f54fd0","is_valid_coordinates":true} 
[2026-04-28 19:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010859776001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282586673160650752,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983907226006241280,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386186000,"timestamp_ms":1777386186000,"timestamp_seconds":1777386186,"priority":1,"record_length":96,"hex_timestamp":"0000019dd478e510"} 
[2026-04-28 19:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 19:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010859776001,"66":27397,"165":206,"87":12800,"24":30,"16":282586673160650752,"45":8983907226006241280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-04-28 19:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010859776001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:55:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282586673160650752,"km_value":282586673160650.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983907226006241280,"description":"Unknown IO ID 45"} 
[2026-04-28 19:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010859776001,"power":27397,"unknown_165":206,"unknown_87":12800,"ignition":30,"odometer":null,"unknown_45":8983907226006241280}} 
[2026-04-28 19:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":57650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:55:30] local.INFO: GPS data processed {"connection_id":57650,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:55:30] local.INFO: Acknowledgment sent {"connection_id":57650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:55:49] local.INFO: TCP Data received {"connection_id":56732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:55:49] local.INFO: Processing buffer {"connection_id":56732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:55:49] local.INFO: IMEI packet received {"connection_id":56732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":56732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:55:50] local.INFO: TCP Data received {"connection_id":56948,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:50] local.INFO: Processing buffer {"connection_id":56948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:55:50] local.INFO: Packet analysis {"connection_id":56948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:50] local.INFO: Extracted packet for processing {"connection_id":56948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:55:50] 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-04-28 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:55:50] 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-04-28 19:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:55:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:55:50] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:50] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:50] local.INFO: IMEI packet received {"connection_id":56979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":56979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":56948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:55:51] local.INFO: GPS data processed {"connection_id":56948,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:55:51] local.INFO: Acknowledgment sent {"connection_id":56948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:55:52] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:52] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:52] local.INFO: IMEI packet received {"connection_id":56979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":56979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:55:57] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:57] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:55:57] local.INFO: IMEI packet received {"connection_id":56979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":56979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:55:59] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4791008012d7ca00005f57470000d015f27..."} 
[2026-04-28 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4791008012d7ca00005f57470000d015f27..."} 
[2026-04-28 19:55:59] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4791008012d7ca00005f57470000d015f27..."} 
[2026-04-28 19:55:59] local.INFO: Packet analysis {"connection_id":56979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:59] local.INFO: Extracted packet for processing {"connection_id":56979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763142144,"raw_latitude":99972208,"longitude_deg":76.3142144,"latitude_deg":9.9972208,"altitude":13,"angle":351,"satellites":39,"speed":37,"hex_longitude":"2d7ca000","hex_latitude":"05f57470","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010863616001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282587132722151424,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982148007404228608,"note":"Value kept but may cause issues"} 
[2026-04-28 19:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386197000,"timestamp_ms":1777386197000,"timestamp_seconds":1777386197,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4791008"} 
[2026-04-28 19:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 19:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010863616001,"66":27332,"165":206,"87":12800,"24":37,"16":282587132722151424,"45":8982148007404228608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-04-28 19:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010863616001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:55:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-28 19:55:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282587132722151424,"km_value":282587132722151.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982148007404228608,"description":"Unknown IO ID 45"} 
[2026-04-28 19:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010863616001,"power":27332,"unknown_165":206,"unknown_87":12800,"ignition":37,"odometer":null,"unknown_45":8982148007404228608}} 
[2026-04-28 19:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":56979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:55:59] local.INFO: GPS data processed {"connection_id":56979,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:55:59] local.INFO: Acknowledgment sent {"connection_id":56979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:56:08] local.INFO: TCP Data received {"connection_id":57653,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:08] local.INFO: Processing buffer {"connection_id":57653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:08] local.INFO: IMEI packet received {"connection_id":57653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":57653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:56:13] local.INFO: TCP Data received {"connection_id":57653,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:13] local.INFO: Processing buffer {"connection_id":57653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:56:13] local.INFO: IMEI packet received {"connection_id":57653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":57653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:56:15] local.INFO: TCP Data received {"connection_id":57653,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:15] local.INFO: Processing buffer {"connection_id":57653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:15] local.INFO: Packet analysis {"connection_id":57653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:56:15] local.INFO: Extracted packet for processing {"connection_id":57653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:15] 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-04-28 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:56: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-04-28 19:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:56:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":57653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:56:15] local.INFO: GPS data processed {"connection_id":57653,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:56:15] local.INFO: Acknowledgment sent {"connection_id":57653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:56:30] local.INFO: TCP Data received {"connection_id":56979,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47b2730012d7c68c005f6a268000e011d2a..."} 
[2026-04-28 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47b2730012d7c68c005f6a268000e011d2a..."} 
[2026-04-28 19:56:30] local.INFO: Processing buffer {"connection_id":56979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47b2730012d7c68c005f6a268000e011d2a..."} 
[2026-04-28 19:56:30] local.INFO: Packet analysis {"connection_id":56979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:56:30] local.INFO: Extracted packet for processing {"connection_id":56979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763128000,"raw_latitude":100049512,"longitude_deg":76.3128,"latitude_deg":10.0049512,"altitude":14,"angle":285,"satellites":42,"speed":12,"hex_longitude":"2d7c68c0","hex_latitude":"05f6a268","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010901248001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282590963832979456,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964907665102858240,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386334000,"timestamp_ms":1777386334000,"timestamp_seconds":1777386334,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47b2730"} 
[2026-04-28 19:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010901248001,"66":27321,"32":206,"87":12800,"24":12,"16":282590963832979456,"45":8964907665102858240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-04-28 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010901248001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:56:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-28 19:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282590963832979456,"km_value":282590963832979.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964907665102858240,"description":"Unknown IO ID 45"} 
[2026-04-28 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010901248001,"power":27321,"unknown_32":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8964907665102858240}} 
[2026-04-28 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":56979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:56:30] local.INFO: GPS data processed {"connection_id":56979,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:56:30] local.INFO: Acknowledgment sent {"connection_id":56979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:56:33] local.INFO: TCP Data received {"connection_id":57654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:56:33] local.INFO: Processing buffer {"connection_id":57654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 19:56:33] local.INFO: IMEI packet received {"connection_id":57654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 19:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":57654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:56:52] local.INFO: TCP Data received {"connection_id":57653,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:52] local.INFO: Processing buffer {"connection_id":57653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:56:52] local.INFO: Packet analysis {"connection_id":57653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:56:52] local.INFO: Extracted packet for processing {"connection_id":57653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:56: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-04-28 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:56:52] 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-04-28 19:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:56:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":57653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:56:53] local.INFO: GPS data processed {"connection_id":57653,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:56:53] local.INFO: Acknowledgment sent {"connection_id":57653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:56:53] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:53] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:53] local.INFO: IMEI packet received {"connection_id":56949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:56:54] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:54] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:54] local.INFO: IMEI packet received {"connection_id":56949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":56949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:56:58] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:58] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:56:58] local.INFO: IMEI packet received {"connection_id":56949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":56949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:56:58] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47b2b18012d7c678005f6a2a0000f010f2b..."} 
[2026-04-28 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47b2b18012d7c678005f6a2a0000f010f2b..."} 
[2026-04-28 19:56:58] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47b2b18012d7c678005f6a2a0000f010f2b..."} 
[2026-04-28 19:56:58] local.INFO: Packet analysis {"connection_id":56949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:56:58] local.INFO: Extracted packet for processing {"connection_id":56949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763127680,"raw_latitude":100049568,"longitude_deg":76.312768,"latitude_deg":10.0049568,"altitude":15,"angle":271,"satellites":43,"speed":14,"hex_longitude":"2d7c6780","hex_latitude":"05f6a2a0","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010901504001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282590976717881344,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964626190126180352,"note":"Value kept but may cause issues"} 
[2026-04-28 19:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386335000,"timestamp_ms":1777386335000,"timestamp_seconds":1777386335,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47b2b18"} 
[2026-04-28 19:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010901504001,"66":27321,"32":206,"87":12800,"24":14,"16":282590976717881344,"45":8964626190126180352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-04-28 19:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010901504001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:56:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-28 19:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282590976717881344,"km_value":282590976717881.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964626190126180352,"description":"Unknown IO ID 45"} 
[2026-04-28 19:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010901504001,"power":27321,"unknown_32":206,"unknown_87":12800,"ignition":14,"odometer":null,"unknown_45":8964626190126180352}} 
[2026-04-28 19:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":56949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:56:58] local.INFO: GPS data processed {"connection_id":56949,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:56:58] local.INFO: Acknowledgment sent {"connection_id":56949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:57:08] local.INFO: TCP Data received {"connection_id":56734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:08] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:08] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:57:13] local.INFO: TCP Data received {"connection_id":56734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:13] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:57:13] local.INFO: IMEI packet received {"connection_id":56734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":56734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:57:14] local.INFO: TCP Data received {"connection_id":56734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:14] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:14] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:57:14] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:57:14] 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-04-28 19:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:57:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:57:14] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:57:14] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:57:30] local.INFO: TCP Data received {"connection_id":56949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47b36d0012d7c62c005f6a220000e01022b..."} 
[2026-04-28 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47b36d0012d7c62c005f6a220000e01022b..."} 
[2026-04-28 19:57:30] local.INFO: Processing buffer {"connection_id":56949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47b36d0012d7c62c005f6a220000e01022b..."} 
[2026-04-28 19:57:30] local.INFO: Packet analysis {"connection_id":56949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:57:30] local.INFO: Extracted packet for processing {"connection_id":56949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763126464,"raw_latitude":100049440,"longitude_deg":76.3126464,"latitude_deg":10.004944,"altitude":14,"angle":258,"satellites":43,"speed":14,"hex_longitude":"2d7c62c0","hex_latitude":"05f6a220","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010901760001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282591036847423488,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964274346405306368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386338000,"timestamp_ms":1777386338000,"timestamp_seconds":1777386338,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47b36d0"} 
[2026-04-28 19:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-28 19:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010901760001,"66":27343,"32":206,"87":12800,"24":14,"16":282591036847423488,"45":8964274346405306368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-04-28 19:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010901760001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:57:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-28 19:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282591036847423488,"km_value":282591036847423.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964274346405306368,"description":"Unknown IO ID 45"} 
[2026-04-28 19:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010901760001,"power":27343,"unknown_32":206,"unknown_87":12800,"ignition":14,"odometer":null,"unknown_45":8964274346405306368}} 
[2026-04-28 19:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":56949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:57:30] local.INFO: GPS data processed {"connection_id":56949,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:57:30] local.INFO: Acknowledgment sent {"connection_id":56949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:57:45] local.INFO: TCP Data received {"connection_id":56734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:45] local.INFO: Processing buffer {"connection_id":56734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:57:45] local.INFO: Packet analysis {"connection_id":56734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:57:45] local.INFO: Extracted packet for processing {"connection_id":56734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 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-04-28 19:57:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:57:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":56734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:57:45] local.INFO: GPS data processed {"connection_id":56734,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:57:45] local.INFO: Acknowledgment sent {"connection_id":56734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:57:52] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:52] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:52] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:57:54] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:54] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:54] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:57:58] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:58] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:57:58] local.INFO: IMEI packet received {"connection_id":56951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":56951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:57:59] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47b84f0012d7c400005f69950000900ff2b..."} 
[2026-04-28 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47b84f0012d7c400005f69950000900ff2b..."} 
[2026-04-28 19:57:59] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47b84f0012d7c400005f69950000900ff2b..."} 
[2026-04-28 19:57:59] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:57:59] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":100047184,"longitude_deg":76.3117568,"latitude_deg":10.0047184,"altitude":9,"angle":255,"satellites":43,"speed":15,"hex_longitude":"2d7c4000","hex_latitude":"05f69950","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010902528001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282591474934087680,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937340265897984,"note":"Value kept but may cause issues"} 
[2026-04-28 19:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386358000,"timestamp_ms":1777386358000,"timestamp_seconds":1777386358,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47b84f0"} 
[2026-04-28 19:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:57: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-04-28 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 19:57: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-04-28 19: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-04-28 19:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010902528001,"66":27376,"32":206,"87":12800,"24":15,"16":282591474934087680,"45":8962937340265897984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-04-28 19:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010902528001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:57:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-28 19:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282591474934087680,"km_value":282591474934087.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937340265897984,"description":"Unknown IO ID 45"} 
[2026-04-28 19:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010902528001,"power":27376,"unknown_32":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8962937340265897984}} 
[2026-04-28 19:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:57:59] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:57:59] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:58:13] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:13] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:13] local.INFO: IMEI packet received {"connection_id":56737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":56737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:58:18] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:18] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:58:18] local.INFO: IMEI packet received {"connection_id":56737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":56737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:58:19] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:19] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:19] local.INFO: Packet analysis {"connection_id":56737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:58:19] local.INFO: Extracted packet for processing {"connection_id":56737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:58:19] 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-04-28 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:58:19] 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-04-28 19:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:58:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":56737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:58:19] local.INFO: GPS data processed {"connection_id":56737,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:58:19] local.INFO: Acknowledgment sent {"connection_id":56737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:58:23] local.INFO: TCP Data received {"connection_id":56737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:23] local.INFO: Processing buffer {"connection_id":56737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:58:23] local.INFO: Packet analysis {"connection_id":56737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:58:23] local.INFO: Extracted packet for processing {"connection_id":56737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 19:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:58:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":56737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:58:23] local.INFO: GPS data processed {"connection_id":56737,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:58:23] local.INFO: Acknowledgment sent {"connection_id":56737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:58:30] local.INFO: TCP Data received {"connection_id":56951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47bc758012d7c1d8005f69150000800ff29..."} 
[2026-04-28 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47bc758012d7c1d8005f69150000800ff29..."} 
[2026-04-28 19:58:30] local.INFO: Processing buffer {"connection_id":56951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47bc758012d7c1d8005f69150000800ff29..."} 
[2026-04-28 19:58:30] local.INFO: Packet analysis {"connection_id":56951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:58:30] local.INFO: Extracted packet for processing {"connection_id":56951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47b"} 
[2026-04-28 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":100045136,"longitude_deg":76.3108736,"latitude_deg":10.0045136,"altitude":8,"angle":255,"satellites":41,"speed":26,"hex_longitude":"2d7c1d80","hex_latitude":"05f69150","is_valid_coordinates":true} 
[2026-04-28 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010907648001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282591908725784576,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084824625152,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386375000,"timestamp_ms":1777386375000,"timestamp_seconds":1777386375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47bc758"} 
[2026-04-28 19:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010907648001,"66":27376,"152":206,"87":12800,"24":26,"16":282591908725784576,"45":8953156084824625152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-04-28 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010907648001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:58:30] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-04-28 19:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282591908725784576,"km_value":282591908725784.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084824625152,"description":"Unknown IO ID 45"} 
[2026-04-28 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010907648001,"power":27376,"unknown_152":206,"unknown_87":12800,"ignition":26,"odometer":null,"unknown_45":8953156084824625152}} 
[2026-04-28 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":56951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:58:30] local.INFO: GPS data processed {"connection_id":56951,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:58:30] local.INFO: Acknowledgment sent {"connection_id":56951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:58:52] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:52] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:52] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:58:56] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:56] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:56] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:58:57] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:57] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:58:57] local.INFO: IMEI packet received {"connection_id":56952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":56952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:58:58] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47d6950012d7b6b0005f63998000e00922b..."} 
[2026-04-28 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47d6950012d7b6b0005f63998000e00922b..."} 
[2026-04-28 19:58:58] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47d6950012d7b6b0005f63998000e00922b..."} 
[2026-04-28 19:58:58] local.INFO: Packet analysis {"connection_id":56952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:58:58] local.INFO: Extracted packet for processing {"connection_id":56952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":100022680,"longitude_deg":76.306304,"latitude_deg":10.002268,"altitude":14,"angle":146,"satellites":43,"speed":9,"hex_longitude":"2d7b6b00","hex_latitude":"05f63998","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010938880001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282594408396750848,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061177290721280,"note":"Value kept but may cause issues"} 
[2026-04-28 19:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386482000,"timestamp_ms":1777386482000,"timestamp_seconds":1777386482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47d6950"} 
[2026-04-28 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-28 19:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010938880001,"66":27376,"162":206,"87":12800,"24":9,"16":282594408396750848,"45":8893061177290721280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-04-28 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010938880001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:58:58] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-28 19:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282594408396750848,"km_value":282594408396750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061177290721280,"description":"Unknown IO ID 45"} 
[2026-04-28 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010938880001,"power":27376,"unknown_162":206,"unknown_87":12800,"ignition":9,"odometer":null,"unknown_45":8893061177290721280}} 
[2026-04-28 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":56952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:58:58] local.INFO: GPS data processed {"connection_id":56952,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:58:58] local.INFO: Acknowledgment sent {"connection_id":56952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:59:08] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:08] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:08] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 19:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:59:16] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:16] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 19:59:16] local.INFO: IMEI packet received {"connection_id":56953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 19:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":56953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:59:17] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:17] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:17] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:59:17] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 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-04-28 19:59:17] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:59:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:59:17] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:59:17] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:59:29] local.INFO: TCP Data received {"connection_id":56952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47d9448012d7b720005f62ef0000b009f2b..."} 
[2026-04-28 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47d9448012d7b720005f62ef0000b009f2b..."} 
[2026-04-28 19:59:29] local.INFO: Processing buffer {"connection_id":56952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47d9448012d7b720005f62ef0000b009f2b..."} 
[2026-04-28 19:59:29] local.INFO: Packet analysis {"connection_id":56952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:59:29] local.INFO: Extracted packet for processing {"connection_id":56952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":100019952,"longitude_deg":76.3064832,"latitude_deg":10.0019952,"altitude":11,"angle":159,"satellites":43,"speed":15,"hex_longitude":"2d7b7200","hex_latitude":"05f62ef0","is_valid_coordinates":true} 
[2026-04-28 19:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 19:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010939392001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282594563015573504,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914778982400,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777386493000,"timestamp_ms":1777386493000,"timestamp_seconds":1777386493,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47d9448"} 
[2026-04-28 19:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:59: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-04-28 19:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 19:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 19:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010939392001,"66":27300,"160":206,"87":12800,"24":15,"16":282594563015573504,"45":8893201914778982400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 19:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010939392001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:59:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 19:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282594563015573504,"km_value":282594563015573.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914778982400,"description":"Unknown IO ID 45"} 
[2026-04-28 19:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010939392001,"power":27300,"unknown_160":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8893201914778982400}} 
[2026-04-28 19:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":56952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:59:29] local.INFO: GPS data processed {"connection_id":56952,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:59:29] local.INFO: Acknowledgment sent {"connection_id":56952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:59:48] local.INFO: TCP Data received {"connection_id":56953,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:48] local.INFO: Processing buffer {"connection_id":56953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd479fe50012d196540071ff0280042013225..."} 
[2026-04-28 19:59:48] local.INFO: Packet analysis {"connection_id":56953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:59:48] local.INFO: Extracted packet for processing {"connection_id":56953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd479"} 
[2026-04-28 19:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010804992001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777386258000,"timestamp_ms":1777386258000,"timestamp_seconds":1777386258,"priority":1,"record_length":96,"hex_timestamp":"0000019dd479fe50"} 
[2026-04-28 19:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:59:48] 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-04-28 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 19:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 19:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 19:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 19:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010804992001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 19:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 19:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 19:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010804992001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:59:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 19:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 19:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 19:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010804992001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 19:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":56953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:59:48] local.INFO: GPS data processed {"connection_id":56953,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:59:48] local.INFO: Acknowledgment sent {"connection_id":56953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 19:59:52] local.INFO: TCP Data received {"connection_id":57656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:52] local.INFO: Processing buffer {"connection_id":57656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:52] local.INFO: IMEI packet received {"connection_id":57656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":57656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 19:59:58] local.INFO: TCP Data received {"connection_id":57656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:58] local.INFO: Processing buffer {"connection_id":57656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 19:59:58] local.INFO: IMEI packet received {"connection_id":57656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":57656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 19:59:59] local.INFO: TCP Data received {"connection_id":57656,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47da3e8012d7b740005f627c8000c00ae2b..."} 
[2026-04-28 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47da3e8012d7b740005f627c8000c00ae2b..."} 
[2026-04-28 19:59:59] local.INFO: Processing buffer {"connection_id":57656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47da3e8012d7b740005f627c8000c00ae2b..."} 
[2026-04-28 19:59:59] local.INFO: Packet analysis {"connection_id":57656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:59:59] local.INFO: Extracted packet for processing {"connection_id":57656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 19:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":100018120,"longitude_deg":76.3065344,"latitude_deg":10.001812,"altitude":12,"angle":174,"satellites":43,"speed":20,"hex_longitude":"2d7b7400","hex_latitude":"05f627c8","is_valid_coordinates":true} 
[2026-04-28 19: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-04-28 19:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010942208001,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282594657504854016,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895172239615258624,"note":"Value kept but may cause issues"} 
[2026-04-28 19:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 19:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386497000,"timestamp_ms":1777386497000,"timestamp_seconds":1777386497,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47da3e8"} 
[2026-04-28 19:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 19:59: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-04-28 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 19:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 19: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-04-28 19:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 19:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 19:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 19:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 19:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 19:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 19:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 19:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010942208001,"66":27463,"160":206,"87":12800,"24":20,"16":282594657504854016,"45":8895172239615258624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 19:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 19:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 19:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010942208001,"description":"Unknown IO ID 0"} 
[2026-04-28 19:59:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 19:59:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 19:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282594657504854016,"km_value":282594657504854.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 19:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895172239615258624,"description":"Unknown IO ID 45"} 
[2026-04-28 19:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010942208001,"power":27463,"unknown_160":206,"unknown_87":12800,"ignition":20,"odometer":null,"unknown_45":8895172239615258624}} 
[2026-04-28 19:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":57656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 19:59:59] local.INFO: GPS data processed {"connection_id":57656,"processed":1,"errors":0,"total":1} 
[2026-04-28 19:59:59] local.INFO: Acknowledgment sent {"connection_id":57656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:08] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:08] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:08] local.INFO: IMEI packet received {"connection_id":56955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":56955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:00:13] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:13] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:00:13] local.INFO: IMEI packet received {"connection_id":56955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":56955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:00:14] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:14] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:14] local.INFO: Packet analysis {"connection_id":56955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:14] local.INFO: Extracted packet for processing {"connection_id":56955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:00:14] 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-04-28 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:00:14] 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-04-28 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":56955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:14] local.INFO: GPS data processed {"connection_id":56955,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:14] local.INFO: Acknowledgment sent {"connection_id":56955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:15] local.INFO: TCP Data received {"connection_id":56954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:15] local.INFO: Processing buffer {"connection_id":56954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:15] local.INFO: IMEI packet received {"connection_id":56954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":56954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:00:16] local.INFO: TCP Data received {"connection_id":56954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47ee438012d8d034005c426c80005015c1f..."} 
[2026-04-28 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47ee438012d8d034005c426c80005015c1f..."} 
[2026-04-28 20:00:16] local.INFO: Processing buffer {"connection_id":56954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47ee438012d8d034005c426c80005015c1f..."} 
[2026-04-28 20:00:16] local.INFO: Packet analysis {"connection_id":56954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:16] local.INFO: Extracted packet for processing {"connection_id":56954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":764216128,"raw_latitude":96741064,"longitude_deg":76.4216128,"latitude_deg":9.6741064,"altitude":5,"angle":348,"satellites":31,"speed":13,"hex_longitude":"2d8d0340","hex_latitude":"05c426c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010963712001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77073651983187968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8285567758433503232,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777386579000,"timestamp_ms":1777386579000,"timestamp_seconds":1777386579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47ee438"} 
[2026-04-28 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-04-28 20:00: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-04-28 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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:16] 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-04-28 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-04-28 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-04-28 20:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:00: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-04-28 20:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010963712001,"66":12385,"205":206,"83":16384,"24":13,"16":77073651983187968,"45":-8285567758433503232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,83,24,16,45]} 
[2026-04-28 20:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010963712001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77073651983187968,"km_value":77073651983187.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8285567758433503232,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010963712001,"power":12385,"cell_id":206,"unknown_83":16384,"ignition":13,"odometer":null,"unknown_45":-8285567758433503232}} 
[2026-04-28 20:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":56954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:16] local.INFO: GPS data processed {"connection_id":56954,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:16] local.INFO: Acknowledgment sent {"connection_id":56954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:31] local.INFO: TCP Data received {"connection_id":57656,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47dcaf8012d7b770005f617d0000e00a12b..."} 
[2026-04-28 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47dcaf8012d7b770005f617d0000e00a12b..."} 
[2026-04-28 20:00:31] local.INFO: Processing buffer {"connection_id":57656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47dcaf8012d7b770005f617d0000e00a12b..."} 
[2026-04-28 20:00:31] local.INFO: Packet analysis {"connection_id":57656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 20:00:31] local.INFO: Extracted packet for processing {"connection_id":57656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47d"} 
[2026-04-28 20:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":100014032,"longitude_deg":76.3066112,"latitude_deg":10.0014032,"altitude":14,"angle":161,"satellites":43,"speed":14,"hex_longitude":"2d7b7700","hex_latitude":"05f617d0","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010943232001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282594859368316928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189568210944,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777386507000,"timestamp_ms":1777386507000,"timestamp_seconds":1777386507,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47dcaf8"} 
[2026-04-28 20:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:00: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-04-28 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010943232001,"66":27484,"160":206,"87":12800,"24":14,"16":282594859368316928,"45":8895735189568210944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010943232001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282594859368316928,"km_value":282594859368316.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189568210944,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010943232001,"power":27484,"unknown_160":206,"unknown_87":12800,"ignition":14,"odometer":null,"unknown_45":8895735189568210944}} 
[2026-04-28 20:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":57656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:31] local.INFO: GPS data processed {"connection_id":57656,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:31] local.INFO: Acknowledgment sent {"connection_id":57656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:45] local.INFO: TCP Data received {"connection_id":56955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:45] local.INFO: Processing buffer {"connection_id":56955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:00:45] local.INFO: Packet analysis {"connection_id":56955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:45] local.INFO: Extracted packet for processing {"connection_id":56955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 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-04-28 20:00:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:00:45] 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-04-28 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":56955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:45] local.INFO: GPS data processed {"connection_id":56955,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:45] local.INFO: Acknowledgment sent {"connection_id":56955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:46] local.INFO: TCP Data received {"connection_id":57658,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:46] local.INFO: Processing buffer {"connection_id":57658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:46] local.INFO: IMEI packet received {"connection_id":57658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":57658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:00:47] local.INFO: TCP Data received {"connection_id":57658,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:47] local.INFO: Processing buffer {"connection_id":57658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:47] local.INFO: IMEI packet received {"connection_id":57658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":57658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:00:51] local.INFO: TCP Data received {"connection_id":57658,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:51] local.INFO: Processing buffer {"connection_id":57658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:00:51] local.INFO: IMEI packet received {"connection_id":57658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":57658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:00:52] local.INFO: TCP Data received {"connection_id":57658,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47f26a0012d8cf74005c449880005015120..."} 
[2026-04-28 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47f26a0012d8cf74005c449880005015120..."} 
[2026-04-28 20:00:52] local.INFO: Processing buffer {"connection_id":57658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47f26a0012d8cf74005c449880005015120..."} 
[2026-04-28 20:00:52] local.INFO: Packet analysis {"connection_id":57658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:00:52] local.INFO: Extracted packet for processing {"connection_id":57658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:00:52] local.INFO: GPS Element Parsed {"raw_longitude":764213056,"raw_latitude":96749960,"longitude_deg":76.4213056,"latitude_deg":9.674996,"altitude":5,"angle":337,"satellites":32,"speed":30,"hex_longitude":"2d8cf740","hex_latitude":"05c44988","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010964224001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77074107249721344,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8285708495921690624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777386596000,"timestamp_ms":1777386596000,"timestamp_seconds":1777386596,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47f26a0"} 
[2026-04-28 20:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:00: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-04-28 20:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:00: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-04-28 20:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010964224001,"66":12330,"207":206,"83":16384,"24":30,"16":77074107249721344,"45":-8285708495921690624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-04-28 20:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010964224001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:52] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 20:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77074107249721344,"km_value":77074107249721.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8285708495921690624,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010964224001,"power":12330,"unknown_207":206,"unknown_83":16384,"ignition":30,"odometer":null,"unknown_45":-8285708495921690624}} 
[2026-04-28 20:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":57658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:52] local.INFO: GPS data processed {"connection_id":57658,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:52] local.INFO: Acknowledgment sent {"connection_id":57658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:00:52] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:52] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:52] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:00:58] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:58] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:00:58] local.INFO: IMEI packet received {"connection_id":56739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":56739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:00:58] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e1918012d7b810005f5f568000b009e2b..."} 
[2026-04-28 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e1918012d7b810005f5f568000b009e2b..."} 
[2026-04-28 20:00:58] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e1918012d7b810005f5f568000b009e2b..."} 
[2026-04-28 20:00:58] local.INFO: Packet analysis {"connection_id":56739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:58] local.INFO: Extracted packet for processing {"connection_id":56739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763068672,"raw_latitude":100005224,"longitude_deg":76.3068672,"latitude_deg":10.0005224,"altitude":11,"angle":158,"satellites":43,"speed":15,"hex_longitude":"2d7b8100","hex_latitude":"05f5f568","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010945792001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595306044915712,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614497296384,"note":"Value kept but may cause issues"} 
[2026-04-28 20:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386527000,"timestamp_ms":1777386527000,"timestamp_seconds":1777386527,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e1918"} 
[2026-04-28 20:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:00: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-04-28 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-28 20:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010945792001,"66":27267,"160":206,"87":12800,"24":15,"16":282595306044915712,"45":8896579614497296384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010945792001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:00:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595306044915712,"km_value":282595306044915.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614497296384,"description":"Unknown IO ID 45"} 
[2026-04-28 20:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010945792001,"power":27267,"unknown_160":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8896579614497296384}} 
[2026-04-28 20:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":56739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:00:58] local.INFO: GPS data processed {"connection_id":56739,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:00:58] local.INFO: Acknowledgment sent {"connection_id":56739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:08] local.INFO: TCP Data received {"connection_id":57659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:08] local.INFO: Processing buffer {"connection_id":57659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:08] local.INFO: IMEI packet received {"connection_id":57659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":57659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:01:13] local.INFO: TCP Data received {"connection_id":57659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:13] local.INFO: Processing buffer {"connection_id":57659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:01:13] local.INFO: IMEI packet received {"connection_id":57659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":57659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:01:14] local.INFO: TCP Data received {"connection_id":57659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:14] local.INFO: Processing buffer {"connection_id":57659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:14] local.INFO: Packet analysis {"connection_id":57659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:14] local.INFO: Extracted packet for processing {"connection_id":57659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:01:14] 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-04-28 20:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:01:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":57659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:01:14] local.INFO: GPS data processed {"connection_id":57659,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:01:14] local.INFO: Acknowledgment sent {"connection_id":57659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:23] local.INFO: TCP Data received {"connection_id":57658,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47f41f8012d8cefc005c45f100006015e20..."} 
[2026-04-28 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47f41f8012d8cefc005c45f100006015e20..."} 
[2026-04-28 20:01:23] local.INFO: Processing buffer {"connection_id":57658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47f41f8012d8cefc005c45f100006015e20..."} 
[2026-04-28 20:01:23] local.INFO: Packet analysis {"connection_id":57658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:01:23] local.INFO: Extracted packet for processing {"connection_id":57658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":764211136,"raw_latitude":96755472,"longitude_deg":76.4211136,"latitude_deg":9.6755472,"altitude":6,"angle":350,"satellites":32,"speed":34,"hex_longitude":"2d8cefc0","hex_latitude":"05c45f10","is_valid_coordinates":true} 
[2026-04-28 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010968576001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77074390717562880,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8289086195639941120,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777386603000,"timestamp_ms":1777386603000,"timestamp_seconds":1777386603,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47f41f8"} 
[2026-04-28 20:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:01: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-04-28 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 20:01: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-04-28 20:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:01: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-04-28 20:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010968576001,"66":12189,"207":206,"83":16384,"24":34,"16":77074390717562880,"45":-8289086195639941120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-04-28 20:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010968576001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:01:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 20:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77074390717562880,"km_value":77074390717562.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8289086195639941120,"description":"Unknown IO ID 45"} 
[2026-04-28 20:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010968576001,"power":12189,"unknown_207":206,"unknown_83":16384,"ignition":34,"odometer":null,"unknown_45":-8289086195639941120}} 
[2026-04-28 20:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":57658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:01:23] local.INFO: GPS data processed {"connection_id":57658,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:01:23] local.INFO: Acknowledgment sent {"connection_id":57658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:30] local.INFO: TCP Data received {"connection_id":56739,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e3088012d7b84c005f5ef48000b00912b..."} 
[2026-04-28 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e3088012d7b84c005f5ef48000b00912b..."} 
[2026-04-28 20:01:30] local.INFO: Processing buffer {"connection_id":56739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e3088012d7b84c005f5ef48000b00912b..."} 
[2026-04-28 20:01:30] local.INFO: Packet analysis {"connection_id":56739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:30] local.INFO: Extracted packet for processing {"connection_id":56739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003656,"longitude_deg":76.3069632,"latitude_deg":10.0003656,"altitude":11,"angle":145,"satellites":43,"speed":7,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010950912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595396239228928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899394364262148096,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386533000,"timestamp_ms":1777386533000,"timestamp_seconds":1777386533,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e3088"} 
[2026-04-28 20:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-28 20:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010950912001,"66":27213,"160":206,"87":12800,"24":7,"16":282595396239228928,"45":8899394364262148096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010950912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:01:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595396239228928,"km_value":282595396239228.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899394364262148096,"description":"Unknown IO ID 45"} 
[2026-04-28 20:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010950912001,"power":27213,"unknown_160":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8899394364262148096}} 
[2026-04-28 20:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":56739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:01:30] local.INFO: GPS data processed {"connection_id":56739,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:01:30] local.INFO: Acknowledgment sent {"connection_id":56739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:45] local.INFO: TCP Data received {"connection_id":57659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:45] local.INFO: Processing buffer {"connection_id":57659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:01:45] local.INFO: Packet analysis {"connection_id":57659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:45] local.INFO: Extracted packet for processing {"connection_id":57659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 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-04-28 20:01:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:01:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":57659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:01:45] local.INFO: GPS data processed {"connection_id":57659,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:01:45] local.INFO: Acknowledgment sent {"connection_id":57659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:46] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:46] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:46] local.INFO: IMEI packet received {"connection_id":56740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":56740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:01:49] local.INFO: TCP Data received {"connection_id":56981,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:01:49] local.INFO: Processing buffer {"connection_id":56981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:01:49] local.INFO: IMEI packet received {"connection_id":56981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":56981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:01:52] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:52] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:01:52] local.INFO: IMEI packet received {"connection_id":56740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":56740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:01:53] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47f6908012d8cee4005c482080007016620..."} 
[2026-04-28 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47f6908012d8cee4005c482080007016620..."} 
[2026-04-28 20:01:53] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47f6908012d8cee4005c482080007016620..."} 
[2026-04-28 20:01:53] local.INFO: Packet analysis {"connection_id":56740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:01:53] local.INFO: Extracted packet for processing {"connection_id":56740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47f"} 
[2026-04-28 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":764210752,"raw_latitude":96764424,"longitude_deg":76.4210752,"latitude_deg":9.6764424,"altitude":7,"angle":358,"satellites":32,"speed":37,"hex_longitude":"2d8cee40","hex_latitude":"05c48208","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010970368001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77074824509259776,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291197257963859968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777386613000,"timestamp_ms":1777386613000,"timestamp_seconds":1777386613,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47f6908"} 
[2026-04-28 20:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:01: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-04-28 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-28 20:01:53] 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-04-28 20: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-04-28 20:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:01: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-04-28 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010970368001,"66":12330,"207":206,"83":16384,"24":37,"16":77074824509259776,"45":-8291197257963859968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-04-28 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010970368001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77074824509259776,"km_value":77074824509259.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291197257963859968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010970368001,"power":12330,"unknown_207":206,"unknown_83":16384,"ignition":37,"odometer":null,"unknown_45":-8291197257963859968}} 
[2026-04-28 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":56740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:01:53] local.INFO: GPS data processed {"connection_id":56740,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:01:53] local.INFO: Acknowledgment sent {"connection_id":56740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:01:58] local.INFO: TCP Data received {"connection_id":56982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:01:58] local.INFO: Processing buffer {"connection_id":56982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:01:58] local.INFO: IMEI packet received {"connection_id":56982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":56982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:02:03] local.INFO: TCP Data received {"connection_id":56982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:03] local.INFO: Processing buffer {"connection_id":56982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:03] local.INFO: IMEI packet received {"connection_id":56982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":56982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:02:04] local.INFO: TCP Data received {"connection_id":56982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e4410012d7b868005f5ec40000b009e2b..."} 
[2026-04-28 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e4410012d7b868005f5ec40000b009e2b..."} 
[2026-04-28 20:02:04] local.INFO: Processing buffer {"connection_id":56982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e4410012d7b868005f5ec40000b009e2b..."} 
[2026-04-28 20:02:04] local.INFO: Packet analysis {"connection_id":56982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:04] local.INFO: Extracted packet for processing {"connection_id":56982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002880,"longitude_deg":76.307008,"latitude_deg":10.000288,"altitude":11,"angle":158,"satellites":43,"speed":5,"hex_longitude":"2d7b8680","hex_latitude":"05f5ec40","is_valid_coordinates":true} 
[2026-04-28 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010952448001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595439188901888,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424411648,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777386538000,"timestamp_ms":1777386538000,"timestamp_seconds":1777386538,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e4410"} 
[2026-04-28 20:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:04] 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-04-28 20:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:04] 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-04-28 20:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010952448001,"66":27843,"160":206,"87":12800,"24":5,"16":282595439188901888,"45":8900449895424411648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010952448001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:02:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595439188901888,"km_value":282595439188901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424411648,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010952448001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8900449895424411648}} 
[2026-04-28 20:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":56982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:04] local.INFO: GPS data processed {"connection_id":56982,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:04] local.INFO: Acknowledgment sent {"connection_id":56982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:08] local.INFO: TCP Data received {"connection_id":56982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:09] local.INFO: Processing buffer {"connection_id":56982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:09] local.INFO: Packet analysis {"connection_id":56982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:09] local.INFO: Extracted packet for processing {"connection_id":56982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002296,"longitude_deg":76.307008,"latitude_deg":10.0002296,"altitude":11,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5e9f8","is_valid_coordinates":true} 
[2026-04-28 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010953728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633456640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777386545000,"timestamp_ms":1777386545000,"timestamp_seconds":1777386545,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e5f68"} 
[2026-04-28 20:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":56982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":56982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":56982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:09] 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-04-28 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010953728001,"66":27604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633456640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010953728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:02:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633456640,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010953728001,"power":27604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633456640}} 
[2026-04-28 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":56982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:09] local.INFO: GPS data processed {"connection_id":56982,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:09] local.INFO: Acknowledgment sent {"connection_id":56982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:13] local.INFO: TCP Data received {"connection_id":57660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:13] local.INFO: Processing buffer {"connection_id":57660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:13] local.INFO: IMEI packet received {"connection_id":57660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":57660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:02:18] local.INFO: TCP Data received {"connection_id":57660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:18] local.INFO: Processing buffer {"connection_id":57660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:02:18] local.INFO: IMEI packet received {"connection_id":57660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":57660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:02:19] local.INFO: TCP Data received {"connection_id":57660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:19] local.INFO: Processing buffer {"connection_id":57660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:19] local.INFO: Packet analysis {"connection_id":57660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:19] local.INFO: Extracted packet for processing {"connection_id":57660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:19] 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-04-28 20:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":57660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:19] local.INFO: GPS data processed {"connection_id":57660,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:19] local.INFO: Acknowledgment sent {"connection_id":57660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:23] local.INFO: TCP Data received {"connection_id":57660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:23] local.INFO: Processing buffer {"connection_id":57660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:02:23] local.INFO: Packet analysis {"connection_id":57660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:23] local.INFO: Extracted packet for processing {"connection_id":57660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":57660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:23] local.INFO: GPS data processed {"connection_id":57660,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:23] local.INFO: Acknowledgment sent {"connection_id":57660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:24] local.INFO: TCP Data received {"connection_id":56740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd480e7d8012d8cc50005c5f9000007016420..."} 
[2026-04-28 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd480e7d8012d8cc50005c5f9000007016420..."} 
[2026-04-28 20:02:24] local.INFO: Processing buffer {"connection_id":56740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd480e7d8012d8cc50005c5f9000007016420..."} 
[2026-04-28 20:02:24] local.INFO: Packet analysis {"connection_id":56740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd480"} 
[2026-04-28 20:02:24] local.INFO: Extracted packet for processing {"connection_id":56740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd480"} 
[2026-04-28 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":764200192,"raw_latitude":96860416,"longitude_deg":76.4200192,"latitude_deg":9.6860416,"altitude":7,"angle":356,"satellites":32,"speed":33,"hex_longitude":"2d8cc500","hex_latitude":"05c5f900","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010995456001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77079518908514304,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8302385888263587840,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777386711000,"timestamp_ms":1777386711000,"timestamp_seconds":1777386711,"priority":1,"record_length":96,"hex_timestamp":"0000019dd480e7d8"} 
[2026-04-28 20:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02: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-04-28 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:24] 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-04-28 20: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-04-28 20:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02: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-04-28 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010995456001,"66":12178,"210":206,"83":16384,"24":33,"16":77079518908514304,"45":-8302385888263587840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-04-28 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010995456001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77079518908514304,"km_value":77079518908514.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8302385888263587840,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010995456001,"power":12178,"unknown_210":206,"unknown_83":16384,"ignition":33,"odometer":null,"unknown_45":-8302385888263587840}} 
[2026-04-28 20:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":56740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:24] local.INFO: GPS data processed {"connection_id":56740,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:24] local.INFO: Acknowledgment sent {"connection_id":56740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:33] local.INFO: TCP Data received {"connection_id":56983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:02:33] local.INFO: Processing buffer {"connection_id":56983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:02:33] local.INFO: IMEI packet received {"connection_id":56983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":56983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:02:47] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:47] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:47] local.INFO: IMEI packet received {"connection_id":56956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":56956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:02:52] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:52] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:52] local.INFO: IMEI packet received {"connection_id":56956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":56956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:02:52] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:52] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:52] local.INFO: IMEI packet received {"connection_id":56957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":56957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:02:57] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:57] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:02:57] local.INFO: IMEI packet received {"connection_id":56956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:02:58] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4811e88012d8cc30005c61a18000a000822..."} 
[2026-04-28 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4811e88012d8cc30005c61a18000a000822..."} 
[2026-04-28 20:02:58] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4811e88012d8cc30005c61a18000a000822..."} 
[2026-04-28 20:02:58] local.INFO: Packet analysis {"connection_id":56956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:02:58] local.INFO: Extracted packet for processing {"connection_id":56956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":764199680,"raw_latitude":96868888,"longitude_deg":76.419968,"latitude_deg":9.6868888,"altitude":10,"angle":8,"satellites":34,"speed":18,"hex_longitude":"2d8cc300","hex_latitude":"05c61a18","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010998016001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77079931225374720,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303230313191374848,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386725000,"timestamp_ms":1777386725000,"timestamp_seconds":1777386725,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4811e88"} 
[2026-04-28 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:58] 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-04-28 20: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-04-28 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02:58] 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-04-28 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010998016001,"66":12330,"210":206,"83":16384,"24":18,"16":77079931225374720,"45":-8303230313191374848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010998016001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77079931225374720,"km_value":77079931225374.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303230313191374848,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010998016001,"power":12330,"unknown_210":206,"unknown_83":16384,"ignition":18,"odometer":null,"unknown_45":-8303230313191374848}} 
[2026-04-28 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":56956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:58] local.INFO: GPS data processed {"connection_id":56956,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:58] local.INFO: Acknowledgment sent {"connection_id":56956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:58] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:58] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:02:58] local.INFO: IMEI packet received {"connection_id":56957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":56957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:02:58] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4815d08012d8cc5c005c63928000f016421..."} 
[2026-04-28 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4815d08012d8cc5c005c63928000f016421..."} 
[2026-04-28 20:02:58] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4815d08012d8cc5c005c63928000f016421..."} 
[2026-04-28 20:02:58] local.INFO: Packet analysis {"connection_id":56956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:02:58] local.INFO: Extracted packet for processing {"connection_id":56956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":764200384,"raw_latitude":96876840,"longitude_deg":76.4200384,"latitude_deg":9.687684,"altitude":15,"angle":356,"satellites":33,"speed":26,"hex_longitude":"2d8cc5c0","hex_latitude":"05c63928","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011001600001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77080322067398656,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303793263142627328,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386741000,"timestamp_ms":1777386741000,"timestamp_seconds":1777386741,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4815d08"} 
[2026-04-28 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:58] 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-04-28 20: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-04-28 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:02:58] 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-04-28 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011001600001,"66":12232,"209":206,"83":16384,"24":26,"16":77080322067398656,"45":-8303793263142627328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,45]} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011001600001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77080322067398656,"km_value":77080322067398.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303793263142627328,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011001600001,"power":12232,"unknown_209":206,"unknown_83":16384,"ignition":26,"odometer":null,"unknown_45":-8303793263142627328}} 
[2026-04-28 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":56956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:58] local.INFO: GPS data processed {"connection_id":56956,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:58] local.INFO: Acknowledgment sent {"connection_id":56956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:02:58] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:58] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:02:58] local.INFO: Packet analysis {"connection_id":56957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:58] local.INFO: Extracted packet for processing {"connection_id":56957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002296,"longitude_deg":76.307008,"latitude_deg":10.0002296,"altitude":11,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5e9f8","is_valid_coordinates":true} 
[2026-04-28 20:02: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-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010953728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633456640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386545000,"timestamp_ms":1777386545000,"timestamp_seconds":1777386545,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e5f68"} 
[2026-04-28 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 20:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010953728001,"66":27604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633456640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010953728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633456640,"description":"Unknown IO ID 45"} 
[2026-04-28 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010953728001,"power":27604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633456640}} 
[2026-04-28 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":56957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:02:58] local.INFO: GPS data processed {"connection_id":56957,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:02:58] local.INFO: Acknowledgment sent {"connection_id":56957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:08] local.INFO: TCP Data received {"connection_id":57662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:08] local.INFO: Processing buffer {"connection_id":57662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:08] local.INFO: IMEI packet received {"connection_id":57662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":57662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:03:13] local.INFO: TCP Data received {"connection_id":57662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:13] local.INFO: Processing buffer {"connection_id":57662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:03:13] local.INFO: IMEI packet received {"connection_id":57662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":57662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:03:14] local.INFO: TCP Data received {"connection_id":57662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:14] local.INFO: Processing buffer {"connection_id":57662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:14] local.INFO: Packet analysis {"connection_id":57662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:14] local.INFO: Extracted packet for processing {"connection_id":57662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:03:14] 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-04-28 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":57662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:14] local.INFO: GPS data processed {"connection_id":57662,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:14] local.INFO: Acknowledgment sent {"connection_id":57662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:30] local.INFO: TCP Data received {"connection_id":56957,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:30] local.INFO: Processing buffer {"connection_id":56957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:30] local.INFO: Packet analysis {"connection_id":56957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:30] local.INFO: Extracted packet for processing {"connection_id":56957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002296,"longitude_deg":76.307008,"latitude_deg":10.0002296,"altitude":11,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5e9f8","is_valid_coordinates":true} 
[2026-04-28 20:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010953728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633456640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386545000,"timestamp_ms":1777386545000,"timestamp_seconds":1777386545,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e5f68"} 
[2026-04-28 20:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 20:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010953728001,"66":27604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633456640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010953728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633456640,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010953728001,"power":27604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633456640}} 
[2026-04-28 20:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":56957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:30] local.INFO: GPS data processed {"connection_id":56957,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:30] local.INFO: Acknowledgment sent {"connection_id":56957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:31] local.INFO: TCP Data received {"connection_id":56956,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4818be8012d8cc18005c65c90000e016120..."} 
[2026-04-28 20:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4818be8012d8cc18005c65c90000e016120..."} 
[2026-04-28 20:03:31] local.INFO: Processing buffer {"connection_id":56956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4818be8012d8cc18005c65c90000e016120..."} 
[2026-04-28 20:03:31] local.INFO: Packet analysis {"connection_id":56956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:31] local.INFO: Extracted packet for processing {"connection_id":56956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:31] local.INFO: GPS Element Parsed {"raw_longitude":764199296,"raw_latitude":96885904,"longitude_deg":76.4199296,"latitude_deg":9.6885904,"altitude":14,"angle":353,"satellites":32,"speed":31,"hex_longitude":"2d8cc180","hex_latitude":"05c65c90","is_valid_coordinates":true} 
[2026-04-28 20:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011005696001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77080764449030144,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303019206954637312,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777386753000,"timestamp_ms":1777386753000,"timestamp_seconds":1777386753,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4818be8"} 
[2026-04-28 20:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 20:03: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-04-28 20:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":56956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":56956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03:31] 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-04-28 20:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011005696001,"66":12200,"209":206,"83":16384,"24":31,"16":77080764449030144,"45":-8303019206954637312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,45]} 
[2026-04-28 20:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011005696001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 20:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77080764449030144,"km_value":77080764449030.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303019206954637312,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011005696001,"power":12200,"unknown_209":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8303019206954637312}} 
[2026-04-28 20:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":56956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:31] local.INFO: GPS data processed {"connection_id":56956,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:31] local.INFO: Acknowledgment sent {"connection_id":56956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:45] local.INFO: TCP Data received {"connection_id":57662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:45] local.INFO: Processing buffer {"connection_id":57662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:03:45] local.INFO: Packet analysis {"connection_id":57662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:45] local.INFO: Extracted packet for processing {"connection_id":57662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 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-04-28 20:03:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":57662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:45] local.INFO: GPS data processed {"connection_id":57662,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:45] local.INFO: Acknowledgment sent {"connection_id":57662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:47] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:47] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:47] local.INFO: IMEI packet received {"connection_id":56958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":56958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:03:49] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:49] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:03:49] local.INFO: IMEI packet received {"connection_id":56958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":56958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:03:49] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4819b88012d8cc18005c66828000d000422..."} 
[2026-04-28 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4819b88012d8cc18005c66828000d000422..."} 
[2026-04-28 20:03:49] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4819b88012d8cc18005c66828000d000422..."} 
[2026-04-28 20:03:49] local.INFO: Packet analysis {"connection_id":56958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:49] local.INFO: Extracted packet for processing {"connection_id":56958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:49] local.INFO: GPS Element Parsed {"raw_longitude":764199296,"raw_latitude":96888872,"longitude_deg":76.4199296,"latitude_deg":9.6888872,"altitude":13,"angle":4,"satellites":34,"speed":29,"hex_longitude":"2d8cc180","hex_latitude":"05c66828","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011008768001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77080910477918208,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304215475603337216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777386757000,"timestamp_ms":1777386757000,"timestamp_seconds":1777386757,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4819b88"} 
[2026-04-28 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-04-28 20:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":168,"data_length":795,"current_offset":136} 
[2026-04-28 20:03: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-04-28 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-04-28 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-04-28 20:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":56958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03: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-04-28 20:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011008768001,"66":12385,"209":206,"83":16384,"24":29,"16":77080910477918208,"45":-8304215475603337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,45]} 
[2026-04-28 20:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011008768001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:49] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-28 20:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77080910477918208,"km_value":77080910477918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304215475603337216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011008768001,"power":12385,"unknown_209":206,"unknown_83":16384,"ignition":29,"odometer":null,"unknown_45":-8304215475603337216}} 
[2026-04-28 20:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":56958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:49] local.INFO: GPS data processed {"connection_id":56958,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:49] local.INFO: Acknowledgment sent {"connection_id":56958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:52] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd481beb0012d8cc2c005c687c0000b016222..."} 
[2026-04-28 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd481beb0012d8cc2c005c687c0000b016222..."} 
[2026-04-28 20:03:52] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd481beb0012d8cc2c005c687c0000b016222..."} 
[2026-04-28 20:03:52] local.INFO: Packet analysis {"connection_id":56958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:52] local.INFO: Extracted packet for processing {"connection_id":56958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":764199616,"raw_latitude":96896960,"longitude_deg":76.4199616,"latitude_deg":9.689696,"altitude":11,"angle":354,"satellites":34,"speed":37,"hex_longitude":"2d8cc2c0","hex_latitude":"05c687c0","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011009792001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77081301319942144,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304215475602577408,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777386766000,"timestamp_ms":1777386766000,"timestamp_seconds":1777386766,"priority":1,"record_length":96,"hex_timestamp":"0000019dd481beb0"} 
[2026-04-28 20:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:03: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-04-28 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 20:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:03: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-04-28 20:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011009792001,"66":12287,"211":206,"83":16384,"24":37,"16":77081301319942144,"45":-8304215475602577408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-04-28 20:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011009792001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77081301319942144,"km_value":77081301319942.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304215475602577408,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011009792001,"power":12287,"unknown_211":206,"unknown_83":16384,"ignition":37,"odometer":null,"unknown_45":-8304215475602577408}} 
[2026-04-28 20:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":56958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:52] local.INFO: GPS data processed {"connection_id":56958,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:52] local.INFO: Acknowledgment sent {"connection_id":56958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:03:52] local.INFO: TCP Data received {"connection_id":56741,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:52] local.INFO: Processing buffer {"connection_id":56741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:52] local.INFO: IMEI packet received {"connection_id":56741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":56741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:03:58] local.INFO: TCP Data received {"connection_id":56741,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:58] local.INFO: Processing buffer {"connection_id":56741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:03:58] local.INFO: IMEI packet received {"connection_id":56741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":56741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:03:59] local.INFO: TCP Data received {"connection_id":56741,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:59] local.INFO: Processing buffer {"connection_id":56741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:03:59] local.INFO: Packet analysis {"connection_id":56741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:59] local.INFO: Extracted packet for processing {"connection_id":56741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002296,"longitude_deg":76.307008,"latitude_deg":10.0002296,"altitude":11,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5e9f8","is_valid_coordinates":true} 
[2026-04-28 20:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010953728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633456640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386545000,"timestamp_ms":1777386545000,"timestamp_seconds":1777386545,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e5f68"} 
[2026-04-28 20:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:03: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-04-28 20:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 20:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010953728001,"66":27604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633456640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010953728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:03:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633456640,"description":"Unknown IO ID 45"} 
[2026-04-28 20:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010953728001,"power":27604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633456640}} 
[2026-04-28 20:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":56741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:03:59] local.INFO: GPS data processed {"connection_id":56741,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:03:59] local.INFO: Acknowledgment sent {"connection_id":56741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:08] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:08] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:08] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:04:13] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:13] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:04:13] local.INFO: IMEI packet received {"connection_id":56959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":56959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:04:14] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:14] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:14] local.INFO: Packet analysis {"connection_id":56959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:14] local.INFO: Extracted packet for processing {"connection_id":56959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 20:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:04:14] 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-04-28 20:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":56959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:14] local.INFO: GPS data processed {"connection_id":56959,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:14] local.INFO: Acknowledgment sent {"connection_id":56959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:23] local.INFO: TCP Data received {"connection_id":56958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd481e5c0012d8cc18005c6ada80009000123..."} 
[2026-04-28 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd481e5c0012d8cc18005c6ada80009000123..."} 
[2026-04-28 20:04:23] local.INFO: Processing buffer {"connection_id":56958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd481e5c0012d8cc18005c6ada80009000123..."} 
[2026-04-28 20:04:23] local.INFO: Packet analysis {"connection_id":56958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:04:23] local.INFO: Extracted packet for processing {"connection_id":56958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":764199296,"raw_latitude":96906664,"longitude_deg":76.4199296,"latitude_deg":9.6906664,"altitude":9,"angle":1,"satellites":35,"speed":36,"hex_longitude":"2d8cc180","hex_latitude":"05c6ada8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011012096001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77081773766344704,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303863631879618560,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777386776000,"timestamp_ms":1777386776000,"timestamp_seconds":1777386776,"priority":1,"record_length":96,"hex_timestamp":"0000019dd481e5c0"} 
[2026-04-28 20:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20: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":255,"data_length":795,"current_offset":136} 
[2026-04-28 20:04: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-04-28 20: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-04-28 20:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:04: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-04-28 20:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011012096001,"66":12178,"211":206,"83":16384,"24":36,"16":77081773766344704,"45":-8303863631879618560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-04-28 20:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011012096001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77081773766344704,"km_value":77081773766344.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303863631879618560,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011012096001,"power":12178,"unknown_211":206,"unknown_83":16384,"ignition":36,"odometer":null,"unknown_45":-8303863631879618560}} 
[2026-04-28 20:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":56958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:23] local.INFO: GPS data processed {"connection_id":56958,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:23] local.INFO: Acknowledgment sent {"connection_id":56958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:30] local.INFO: TCP Data received {"connection_id":56741,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:04:30] local.INFO: Processing buffer {"connection_id":56741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e5f68012d7b868005f5e9f8000b009e2a..."} 
[2026-04-28 20:04:30] local.INFO: Packet analysis {"connection_id":56741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:30] local.INFO: Extracted packet for processing {"connection_id":56741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":100002296,"longitude_deg":76.307008,"latitude_deg":10.0002296,"altitude":11,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05f5e9f8","is_valid_coordinates":true} 
[2026-04-28 20:04: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-04-28 20:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010953728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633456640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386545000,"timestamp_ms":1777386545000,"timestamp_seconds":1777386545,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e5f68"} 
[2026-04-28 20:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-28 20:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010953728001,"66":27604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633456640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010953728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633456640,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010953728001,"power":27604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633456640}} 
[2026-04-28 20:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":56741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:30] local.INFO: GPS data processed {"connection_id":56741,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:30] local.INFO: Acknowledgment sent {"connection_id":56741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:45] local.INFO: TCP Data received {"connection_id":56959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:45] local.INFO: Processing buffer {"connection_id":56959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd47e9618012d196540071ff0280042013228..."} 
[2026-04-28 20:04:45] local.INFO: Packet analysis {"connection_id":56959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:45] local.INFO: Extracted packet for processing {"connection_id":56959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd47e"} 
[2026-04-28 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010882048001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386559000,"timestamp_ms":1777386559000,"timestamp_seconds":1777386559,"priority":1,"record_length":96,"hex_timestamp":"0000019dd47e9618"} 
[2026-04-28 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-04-28 20:04:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010882048001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010882048001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010882048001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":56959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:45] local.INFO: GPS data processed {"connection_id":56959,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:45] local.INFO: Acknowledgment sent {"connection_id":56959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:47] local.INFO: TCP Data received {"connection_id":56984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:47] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:47] local.INFO: IMEI packet received {"connection_id":56984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":56984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:04:52] local.INFO: TCP Data received {"connection_id":56984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:52] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:04:52] local.INFO: IMEI packet received {"connection_id":56984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":56984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:04:52] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:52] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:52] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:04:53] local.INFO: TCP Data received {"connection_id":56984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48358d8012d8cab8005c821980007016623..."} 
[2026-04-28 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48358d8012d8cab8005c821980007016623..."} 
[2026-04-28 20:04:53] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48358d8012d8cab8005c821980007016623..."} 
[2026-04-28 20:04:53] local.INFO: Packet analysis {"connection_id":56984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:04:53] local.INFO: Extracted packet for processing {"connection_id":56984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:04:53] local.INFO: GPS Element Parsed {"raw_longitude":764193664,"raw_latitude":97001880,"longitude_deg":76.4193664,"latitude_deg":9.700188,"altitude":7,"angle":358,"satellites":35,"speed":44,"hex_longitude":"2d8cab80","hex_latitude":"05c82198","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77086416625991680,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310478293807775744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777386871000,"timestamp_ms":1777386871000,"timestamp_seconds":1777386871,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48358d8"} 
[2026-04-28 20:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-28 20:04:53] 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-04-28 20: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-04-28 20:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:04: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-04-28 20:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036928001,"66":12526,"179":206,"83":16384,"24":44,"16":77086416625991680,"45":-8310478293807775744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-04-28 20:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:53] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 20:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77086416625991680,"km_value":77086416625991.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310478293807775744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036928001,"power":12526,"unknown_179":206,"unknown_83":16384,"ignition":44,"odometer":null,"unknown_45":-8310478293807775744}} 
[2026-04-28 20:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":56984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:53] local.INFO: GPS data processed {"connection_id":56984,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:53] local.INFO: Acknowledgment sent {"connection_id":56984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:04:58] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:58] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:04:58] local.INFO: IMEI packet received {"connection_id":56960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":56960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:04:59] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:04:59] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:04:59] local.INFO: Packet analysis {"connection_id":56960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:04:59] local.INFO: Extracted packet for processing {"connection_id":56960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:04: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-04-28 20:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:04:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":56960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:04:59] local.INFO: GPS data processed {"connection_id":56960,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:04:59] local.INFO: Acknowledgment sent {"connection_id":56960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:08] local.INFO: TCP Data received {"connection_id":57665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:08] local.INFO: Processing buffer {"connection_id":57665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:08] local.INFO: IMEI packet received {"connection_id":57665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":57665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:05:13] local.INFO: TCP Data received {"connection_id":57665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:13] local.INFO: Processing buffer {"connection_id":57665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:05:13] local.INFO: IMEI packet received {"connection_id":57665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":57665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:05:14] local.INFO: TCP Data received {"connection_id":57665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:14] local.INFO: Processing buffer {"connection_id":57665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:14] local.INFO: Packet analysis {"connection_id":57665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:14] local.INFO: Extracted packet for processing {"connection_id":57665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":57665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:14] local.INFO: GPS data processed {"connection_id":57665,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:14] local.INFO: Acknowledgment sent {"connection_id":57665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:24] local.INFO: TCP Data received {"connection_id":56984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4837430012d8ca84005c83e880006015b23..."} 
[2026-04-28 20:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4837430012d8ca84005c83e880006015b23..."} 
[2026-04-28 20:05:24] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4837430012d8ca84005c83e880006015b23..."} 
[2026-04-28 20:05:24] local.INFO: Packet analysis {"connection_id":56984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:24] local.INFO: Extracted packet for processing {"connection_id":56984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:24] local.INFO: GPS Element Parsed {"raw_longitude":764192832,"raw_latitude":97009288,"longitude_deg":76.4192832,"latitude_deg":9.7009288,"altitude":6,"angle":347,"satellites":35,"speed":37,"hex_longitude":"2d8ca840","hex_latitude":"05c83e88","is_valid_coordinates":true} 
[2026-04-28 20:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011038976001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77086777403244544,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310407925061281792,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777386878000,"timestamp_ms":1777386878000,"timestamp_seconds":1777386878,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4837430"} 
[2026-04-28 20:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:05: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-04-28 20:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:05: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-04-28 20:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011038976001,"66":12200,"179":206,"83":16384,"24":37,"16":77086777403244544,"45":-8310407925061281792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-04-28 20:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011038976001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:24] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-28 20:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77086777403244544,"km_value":77086777403244.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310407925061281792,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011038976001,"power":12200,"unknown_179":206,"unknown_83":16384,"ignition":37,"odometer":null,"unknown_45":-8310407925061281792}} 
[2026-04-28 20:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":56984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:24] local.INFO: GPS data processed {"connection_id":56984,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:24] local.INFO: Acknowledgment sent {"connection_id":56984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:30] local.INFO: TCP Data received {"connection_id":56960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:30] local.INFO: Processing buffer {"connection_id":56960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:30] local.INFO: Packet analysis {"connection_id":56960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:30] local.INFO: Extracted packet for processing {"connection_id":56960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:05:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":56960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:30] local.INFO: GPS data processed {"connection_id":56960,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:30] local.INFO: Acknowledgment sent {"connection_id":56960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:45] local.INFO: TCP Data received {"connection_id":57665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:45] local.INFO: Processing buffer {"connection_id":57665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:05:45] local.INFO: Packet analysis {"connection_id":57665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:45] local.INFO: Extracted packet for processing {"connection_id":57665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 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-04-28 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":57665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:45] local.INFO: GPS data processed {"connection_id":57665,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:45] local.INFO: Acknowledgment sent {"connection_id":57665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:46] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:46] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:46] local.INFO: IMEI packet received {"connection_id":56962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":56962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:05:52] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:52] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:05:52] local.INFO: IMEI packet received {"connection_id":56962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":56962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:05:52] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:52] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:52] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:05:53] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd483a310012d8ca28005c862d00006015f22..."} 
[2026-04-28 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd483a310012d8ca28005c862d00006015f22..."} 
[2026-04-28 20:05:53] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd483a310012d8ca28005c862d00006015f22..."} 
[2026-04-28 20:05:53] local.INFO: Packet analysis {"connection_id":56962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:53] local.INFO: Extracted packet for processing {"connection_id":56962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:53] local.INFO: GPS Element Parsed {"raw_longitude":764191360,"raw_latitude":97018576,"longitude_deg":76.419136,"latitude_deg":9.7018576,"altitude":6,"angle":351,"satellites":34,"speed":24,"hex_longitude":"2d8ca280","hex_latitude":"05c862d0","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011040768001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77087232669777920,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8311322718733694976,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777386890000,"timestamp_ms":1777386890000,"timestamp_seconds":1777386890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd483a310"} 
[2026-04-28 20:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:05: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-04-28 20: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":168,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:53] 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-04-28 20: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-04-28 20:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:05: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-04-28 20:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011040768001,"66":12461,"177":206,"83":16384,"24":24,"16":77087232669777920,"45":-8311322718733694976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 20:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011040768001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 20:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77087232669777920,"km_value":77087232669777.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8311322718733694976,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011040768001,"power":12461,"unknown_177":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8311322718733694976}} 
[2026-04-28 20:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":56962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:53] local.INFO: GPS data processed {"connection_id":56962,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:53] local.INFO: Acknowledgment sent {"connection_id":56962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:05:58] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:58] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:05:58] local.INFO: IMEI packet received {"connection_id":56963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":56963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:05:59] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:59] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:05:59] local.INFO: Packet analysis {"connection_id":56963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:59] local.INFO: Extracted packet for processing {"connection_id":56963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:05: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-04-28 20:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:05:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:05:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":56963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:05:59] local.INFO: GPS data processed {"connection_id":56963,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:05:59] local.INFO: Acknowledgment sent {"connection_id":56963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:08] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:08] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:08] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:06:13] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:13] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:06:13] local.INFO: IMEI packet received {"connection_id":56742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":56742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:06:14] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:14] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:14] local.INFO: Packet analysis {"connection_id":56742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:14] local.INFO: Extracted packet for processing {"connection_id":56742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":56742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:14] local.INFO: GPS data processed {"connection_id":56742,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:14] local.INFO: Acknowledgment sent {"connection_id":56742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:23] local.INFO: TCP Data received {"connection_id":56962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd483d1f0012d8c9c8005c886a80006016623..."} 
[2026-04-28 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd483d1f0012d8c9c8005c886a80006016623..."} 
[2026-04-28 20:06:23] local.INFO: Processing buffer {"connection_id":56962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd483d1f0012d8c9c8005c886a80006016623..."} 
[2026-04-28 20:06:23] local.INFO: Packet analysis {"connection_id":56962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:23] local.INFO: Extracted packet for processing {"connection_id":56962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":764189824,"raw_latitude":97027752,"longitude_deg":76.4189824,"latitude_deg":9.7027752,"altitude":6,"angle":358,"satellites":35,"speed":23,"hex_longitude":"2d8c9c80","hex_latitude":"05c886a8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011043840001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77087687936311296,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8312941199847403520,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777386902000,"timestamp_ms":1777386902000,"timestamp_seconds":1777386902,"priority":1,"record_length":96,"hex_timestamp":"0000019dd483d1f0"} 
[2026-04-28 20:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06: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-04-28 20:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 20:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:06: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-04-28 20:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011043840001,"66":12058,"177":206,"83":16384,"24":23,"16":77087687936311296,"45":-8312941199847403520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 20:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011043840001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 20:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77087687936311296,"km_value":77087687936311.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8312941199847403520,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011043840001,"power":12058,"unknown_177":206,"unknown_83":16384,"ignition":23,"odometer":null,"unknown_45":-8312941199847403520}} 
[2026-04-28 20:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":56962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:23] local.INFO: GPS data processed {"connection_id":56962,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:23] local.INFO: Acknowledgment sent {"connection_id":56962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:30] local.INFO: TCP Data received {"connection_id":56963,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:30] local.INFO: Processing buffer {"connection_id":56963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:30] local.INFO: Packet analysis {"connection_id":56963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:30] local.INFO: Extracted packet for processing {"connection_id":56963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":56963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:30] local.INFO: GPS data processed {"connection_id":56963,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:30] local.INFO: Acknowledgment sent {"connection_id":56963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:44] local.INFO: TCP Data received {"connection_id":56742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:44] local.INFO: Processing buffer {"connection_id":56742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:06:44] local.INFO: Packet analysis {"connection_id":56742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:44] local.INFO: Extracted packet for processing {"connection_id":56742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:06: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-04-28 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:44] 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-04-28 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:06: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:06: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-04-28 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:06:44] 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-04-28 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":56742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:44] local.INFO: GPS data processed {"connection_id":56742,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:44] local.INFO: Acknowledgment sent {"connection_id":56742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:46] local.INFO: TCP Data received {"connection_id":57666,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:46] local.INFO: Processing buffer {"connection_id":57666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:46] local.INFO: IMEI packet received {"connection_id":57666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":57666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:06:47] local.INFO: TCP Data received {"connection_id":57666,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:47] local.INFO: Processing buffer {"connection_id":57666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:47] local.INFO: IMEI packet received {"connection_id":57666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":57666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:06:51] local.INFO: TCP Data received {"connection_id":57666,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:51] local.INFO: Processing buffer {"connection_id":57666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:06:51] local.INFO: IMEI packet received {"connection_id":57666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":57666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:06:52] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:52] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:52] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:06:53] local.INFO: TCP Data received {"connection_id":57666,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4840c88012d8c9d4005c8ab180005000223..."} 
[2026-04-28 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4840c88012d8c9d4005c8ab180005000223..."} 
[2026-04-28 20:06:53] local.INFO: Processing buffer {"connection_id":57666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4840c88012d8c9d4005c8ab180005000223..."} 
[2026-04-28 20:06:53] local.INFO: Packet analysis {"connection_id":57666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd484"} 
[2026-04-28 20:06:53] local.INFO: Extracted packet for processing {"connection_id":57666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd484"} 
[2026-04-28 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":764190016,"raw_latitude":97037080,"longitude_deg":76.4190016,"latitude_deg":9.703708,"altitude":5,"angle":2,"satellites":35,"speed":28,"hex_longitude":"2d8c9d40","hex_latitude":"05c8ab18","is_valid_coordinates":true} 
[2026-04-28 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011046912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77088138907877376,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8314630049705318400,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777386917000,"timestamp_ms":1777386917000,"timestamp_seconds":1777386917,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4840c88"} 
[2026-04-28 20:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06: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-04-28 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-28 20:06: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-04-28 20:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:06: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-04-28 20:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011046912001,"66":12385,"177":206,"83":16384,"24":28,"16":77088138907877376,"45":-8314630049705318400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 20:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011046912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 20:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77088138907877376,"km_value":77088138907877.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8314630049705318400,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011046912001,"power":12385,"unknown_177":206,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8314630049705318400}} 
[2026-04-28 20:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":57666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:53] local.INFO: GPS data processed {"connection_id":57666,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:53] local.INFO: Acknowledgment sent {"connection_id":57666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:06:58] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:58] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:06:58] local.INFO: IMEI packet received {"connection_id":56965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":56965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:06:58] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:58] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:06:58] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:58] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:06: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-04-28 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:06:58] 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-04-28 20:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:06:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:06:58] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:06:58] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:08] local.INFO: TCP Data received {"connection_id":57667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:08] local.INFO: Processing buffer {"connection_id":57667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:08] local.INFO: IMEI packet received {"connection_id":57667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":57667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:07:13] local.INFO: TCP Data received {"connection_id":57667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:13] local.INFO: Processing buffer {"connection_id":57667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:07:13] local.INFO: IMEI packet received {"connection_id":57667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":57667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:07:14] local.INFO: TCP Data received {"connection_id":57667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:14] local.INFO: Processing buffer {"connection_id":57667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:14] local.INFO: Packet analysis {"connection_id":57667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:14] local.INFO: Extracted packet for processing {"connection_id":57667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:07:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":57667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:07:14] local.INFO: GPS data processed {"connection_id":57667,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:07:14] local.INFO: Acknowledgment sent {"connection_id":57667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:25] local.INFO: TCP Data received {"connection_id":57666,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4843f50012d8c9f8005c8cd900006000022..."} 
[2026-04-28 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4843f50012d8c9f8005c8cd900006000022..."} 
[2026-04-28 20:07:25] local.INFO: Processing buffer {"connection_id":57666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4843f50012d8c9f8005c8cd900006000022..."} 
[2026-04-28 20:07:25] local.INFO: Packet analysis {"connection_id":57666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd484"} 
[2026-04-28 20:07:25] local.INFO: Extracted packet for processing {"connection_id":57666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd484"} 
[2026-04-28 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":764190592,"raw_latitude":97045904,"longitude_deg":76.4190592,"latitude_deg":9.7045904,"altitude":6,"angle":0,"satellites":34,"speed":19,"hex_longitude":"2d8c9f80","hex_latitude":"05c8cd90","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011050752001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77088568404606976,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8314418943470397440,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777386930000,"timestamp_ms":1777386930000,"timestamp_seconds":1777386930,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4843f50"} 
[2026-04-28 20:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:07: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-04-28 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 20:07:25] 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-04-28 20: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-04-28 20:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:07:25] 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-04-28 20:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011050752001,"66":12341,"177":206,"83":16384,"24":19,"16":77088568404606976,"45":-8314418943470397440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-28 20:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011050752001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:07:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-28 20:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77088568404606976,"km_value":77088568404606.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8314418943470397440,"description":"Unknown IO ID 45"} 
[2026-04-28 20:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011050752001,"power":12341,"unknown_177":206,"unknown_83":16384,"ignition":19,"odometer":null,"unknown_45":-8314418943470397440}} 
[2026-04-28 20:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":57666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:07:25] local.INFO: GPS data processed {"connection_id":57666,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:07:25] local.INFO: Acknowledgment sent {"connection_id":57666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:29] local.INFO: TCP Data received {"connection_id":56965,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:07:29] local.INFO: Processing buffer {"connection_id":56965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:07:29] local.INFO: Packet analysis {"connection_id":56965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:29] local.INFO: Extracted packet for processing {"connection_id":56965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:07:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":56965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:07:29] local.INFO: GPS data processed {"connection_id":56965,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:07:29] local.INFO: Acknowledgment sent {"connection_id":56965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:45] local.INFO: TCP Data received {"connection_id":57667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:45] local.INFO: Processing buffer {"connection_id":57667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:07:45] local.INFO: Packet analysis {"connection_id":57667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:45] local.INFO: Extracted packet for processing {"connection_id":57667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 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-04-28 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:07:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":57667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:07:45] local.INFO: GPS data processed {"connection_id":57667,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:07:45] local.INFO: Acknowledgment sent {"connection_id":57667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:52] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:52] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:52] local.INFO: IMEI packet received {"connection_id":56966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":56966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:07:54] local.INFO: TCP Data received {"connection_id":56743,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:07:54] local.INFO: Processing buffer {"connection_id":56743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:07:54] local.INFO: IMEI packet received {"connection_id":56743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":56743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:07:55] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:55] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:07:55] local.INFO: IMEI packet received {"connection_id":56966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":56966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:07:56] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd485e530012d8c714005c9e7080009016023..."} 
[2026-04-28 20:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd485e530012d8c714005c9e7080009016023..."} 
[2026-04-28 20:07:56] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd485e530012d8c714005c9e7080009016023..."} 
[2026-04-28 20:07:56] local.INFO: Packet analysis {"connection_id":56966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd485"} 
[2026-04-28 20:07:56] local.INFO: Extracted packet for processing {"connection_id":56966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd485"} 
[2026-04-28 20:07:56] local.INFO: GPS Element Parsed {"raw_longitude":764178752,"raw_latitude":97117960,"longitude_deg":76.4178752,"latitude_deg":9.711796,"altitude":9,"angle":352,"satellites":35,"speed":35,"hex_longitude":"2d8c7140","hex_latitude":"05c9e708","is_valid_coordinates":true} 
[2026-04-28 20:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011078656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77092141817397248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8325255730055366656,"note":"Value kept but may cause issues"} 
[2026-04-28 20:07:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777387038000,"timestamp_ms":1777387038000,"timestamp_seconds":1777387038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd485e530"} 
[2026-04-28 20:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:07: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-04-28 20:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-28 20:07: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-04-28 20:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:07: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-04-28 20:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011078656001,"66":12232,"83":16384,"24":35,"16":77092141817397248,"45":-8325255730055366656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011078656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77092141817397248,"km_value":77092141817397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8325255730055366656,"description":"Unknown IO ID 45"} 
[2026-04-28 20:07:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011078656001,"power":12232,"unknown_83":16384,"ignition":35,"odometer":null,"unknown_45":-8325255730055366656}} 
[2026-04-28 20:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":56966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:07:56] local.INFO: GPS data processed {"connection_id":56966,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:07:56] local.INFO: Acknowledgment sent {"connection_id":56966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:07:58] local.INFO: TCP Data received {"connection_id":56985,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:07:58] local.INFO: Processing buffer {"connection_id":56985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:07:58] local.INFO: IMEI packet received {"connection_id":56985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":56985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:08:03] local.INFO: TCP Data received {"connection_id":56985,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:03] local.INFO: Processing buffer {"connection_id":56985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:03] local.INFO: IMEI packet received {"connection_id":56985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":56985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:04] local.INFO: TCP Data received {"connection_id":56985,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:04] local.INFO: Processing buffer {"connection_id":56985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:04] local.INFO: Packet analysis {"connection_id":56985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:04] local.INFO: Extracted packet for processing {"connection_id":56985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:08:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":56985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:04] local.INFO: GPS data processed {"connection_id":56985,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:04] local.INFO: Acknowledgment sent {"connection_id":56985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:08] local.INFO: TCP Data received {"connection_id":56744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:08] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:08] local.INFO: IMEI packet received {"connection_id":56744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":56744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:08:08] local.INFO: TCP Data received {"connection_id":56985,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:08] local.INFO: Processing buffer {"connection_id":56985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:08] local.INFO: Packet analysis {"connection_id":56985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:08] local.INFO: Extracted packet for processing {"connection_id":56985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:08] 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-04-28 20:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":56985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:08] local.INFO: GPS data processed {"connection_id":56985,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:08] local.INFO: Acknowledgment sent {"connection_id":56985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:13] local.INFO: TCP Data received {"connection_id":56744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:13] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:08:13] local.INFO: IMEI packet received {"connection_id":56744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":56744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:14] local.INFO: TCP Data received {"connection_id":56744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:14] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:14] local.INFO: Packet analysis {"connection_id":56744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:14] local.INFO: Extracted packet for processing {"connection_id":56744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":56744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:14] local.INFO: GPS data processed {"connection_id":56744,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:14] local.INFO: Acknowledgment sent {"connection_id":56744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:28] local.INFO: TCP Data received {"connection_id":56966,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4860c40012d8c690005ca0a000008015522..."} 
[2026-04-28 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4860c40012d8c690005ca0a000008015522..."} 
[2026-04-28 20:08:28] local.INFO: Processing buffer {"connection_id":56966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4860c40012d8c690005ca0a000008015522..."} 
[2026-04-28 20:08:28] local.INFO: Packet analysis {"connection_id":56966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:08:28] local.INFO: Extracted packet for processing {"connection_id":56966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":764176640,"raw_latitude":97126912,"longitude_deg":76.417664,"latitude_deg":9.7126912,"altitude":8,"angle":341,"satellites":34,"speed":28,"hex_longitude":"2d8c6900","hex_latitude":"05ca0a00","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011081728001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77092588493996032,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8326803842424961024,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777387048000,"timestamp_ms":1777387048000,"timestamp_seconds":1777387048,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4860c40"} 
[2026-04-28 20:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08: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-04-28 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:28] 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-04-28 20: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-04-28 20:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:08:28] 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-04-28 20:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011081728001,"66":12069,"83":16384,"24":28,"16":77092588493996032,"45":-8326803842424961024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011081728001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77092588493996032,"km_value":77092588493996.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8326803842424961024,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011081728001,"power":12069,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8326803842424961024}} 
[2026-04-28 20:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":56966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:28] local.INFO: GPS data processed {"connection_id":56966,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:28] local.INFO: Acknowledgment sent {"connection_id":56966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:31] local.INFO: TCP Data received {"connection_id":56986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:08:31] local.INFO: Processing buffer {"connection_id":56986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:08:31] local.INFO: IMEI packet received {"connection_id":56986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":56986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:08:44] local.INFO: TCP Data received {"connection_id":56744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:44] local.INFO: Processing buffer {"connection_id":56744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:08:44] local.INFO: Packet analysis {"connection_id":56744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:44] local.INFO: Extracted packet for processing {"connection_id":56744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:44] 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-04-28 20:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:08:44] 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-04-28 20:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":56744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:44] local.INFO: GPS data processed {"connection_id":56744,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:44] local.INFO: Acknowledgment sent {"connection_id":56744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:46] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:46] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:46] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:08:47] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:47] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:47] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:48] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:48] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:48] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:49] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:49] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:08:49] local.INFO: IMEI packet received {"connection_id":56745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":56745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:51] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4863b20012d8c618005ca24f8000a016323..."} 
[2026-04-28 20:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4863b20012d8c618005ca24f8000a016323..."} 
[2026-04-28 20:08:51] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4863b20012d8c618005ca24f8000a016323..."} 
[2026-04-28 20:08:51] local.INFO: Packet analysis {"connection_id":56745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:08:51] local.INFO: Extracted packet for processing {"connection_id":56745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:08:51] local.INFO: GPS Element Parsed {"raw_longitude":764174720,"raw_latitude":97133816,"longitude_deg":76.417472,"latitude_deg":9.7133816,"altitude":10,"angle":355,"satellites":35,"speed":29,"hex_longitude":"2d8c6180","hex_latitude":"05ca24f8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011084288001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77092936386347008,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8329126010980532224,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777387060000,"timestamp_ms":1777387060000,"timestamp_seconds":1777387060,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4863b20"} 
[2026-04-28 20:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08: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-04-28 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:51] 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-04-28 20: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-04-28 20:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":56745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":56745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":56745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:08: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-04-28 20:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011084288001,"66":12428,"83":16384,"24":29,"16":77092936386347008,"45":-8329126010980532224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011084288001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77092936386347008,"km_value":77092936386347.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8329126010980532224,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011084288001,"power":12428,"unknown_83":16384,"ignition":29,"odometer":null,"unknown_45":-8329126010980532224}} 
[2026-04-28 20:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":56745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:51] local.INFO: GPS data processed {"connection_id":56745,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:51] local.INFO: Acknowledgment sent {"connection_id":56745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:08:53] local.INFO: TCP Data received {"connection_id":57668,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:53] local.INFO: Processing buffer {"connection_id":57668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:53] local.INFO: IMEI packet received {"connection_id":57668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":57668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:08:58] local.INFO: TCP Data received {"connection_id":57668,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:58] local.INFO: Processing buffer {"connection_id":57668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:08:58] local.INFO: IMEI packet received {"connection_id":57668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":57668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:08:59] local.INFO: TCP Data received {"connection_id":57668,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:59] local.INFO: Processing buffer {"connection_id":57668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:08:59] local.INFO: Packet analysis {"connection_id":57668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:59] local.INFO: Extracted packet for processing {"connection_id":57668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:08:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":57668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:08:59] local.INFO: GPS data processed {"connection_id":57668,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:08:59] local.INFO: Acknowledgment sent {"connection_id":57668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:08] local.INFO: TCP Data received {"connection_id":56746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:08] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:08] local.INFO: IMEI packet received {"connection_id":56746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":56746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:09:13] local.INFO: TCP Data received {"connection_id":56746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:13] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:09:13] local.INFO: IMEI packet received {"connection_id":56746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":56746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:09:14] local.INFO: TCP Data received {"connection_id":56746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:14] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:14] local.INFO: Packet analysis {"connection_id":56746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:14] local.INFO: Extracted packet for processing {"connection_id":56746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 20:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":56746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:14] local.INFO: GPS data processed {"connection_id":56746,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:14] local.INFO: Acknowledgment sent {"connection_id":56746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:22] local.INFO: TCP Data received {"connection_id":56745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4865678012d8c61c005ca3ab8000a000622..."} 
[2026-04-28 20:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4865678012d8c61c005ca3ab8000a000622..."} 
[2026-04-28 20:09:22] local.INFO: Processing buffer {"connection_id":56745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4865678012d8c61c005ca3ab8000a000622..."} 
[2026-04-28 20:09:22] local.INFO: Packet analysis {"connection_id":56745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:09:22] local.INFO: Extracted packet for processing {"connection_id":56745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd486"} 
[2026-04-28 20:09:22] local.INFO: GPS Element Parsed {"raw_longitude":764174784,"raw_latitude":97139384,"longitude_deg":76.4174784,"latitude_deg":9.7139384,"altitude":10,"angle":6,"satellites":34,"speed":33,"hex_longitude":"2d8c61c0","hex_latitude":"05ca3ab8","is_valid_coordinates":true} 
[2026-04-28 20:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011087360001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77093206969286656,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8331237073304094720,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777387067000,"timestamp_ms":1777387067000,"timestamp_seconds":1777387067,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4865678"} 
[2026-04-28 20:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:09: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-04-28 20:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:22] 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-04-28 20:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":56745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":56745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":56745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:09: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-04-28 20:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011087360001,"66":11461,"83":16384,"24":33,"16":77093206969286656,"45":-8331237073304094720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011087360001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77093206969286656,"km_value":77093206969286.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8331237073304094720,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011087360001,"power":11461,"unknown_83":16384,"ignition":33,"odometer":null,"unknown_45":-8331237073304094720}} 
[2026-04-28 20:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":56745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:22] local.INFO: GPS data processed {"connection_id":56745,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:22] local.INFO: Acknowledgment sent {"connection_id":56745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:30] local.INFO: TCP Data received {"connection_id":57668,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:09:30] local.INFO: Processing buffer {"connection_id":57668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4830ab8012d7b838005f5ea58000d009e27..."} 
[2026-04-28 20:09:30] local.INFO: Packet analysis {"connection_id":57668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:30] local.INFO: Extracted packet for processing {"connection_id":57668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010955520001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476633307136,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777386851000,"timestamp_ms":1777386851000,"timestamp_seconds":1777386851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4830ab8"} 
[2026-04-28 20:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010955520001,"66":26158,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900942476633307136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010955520001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476633307136,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010955520001,"power":26158,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900942476633307136}} 
[2026-04-28 20:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":57668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:30] local.INFO: GPS data processed {"connection_id":57668,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:30] local.INFO: Acknowledgment sent {"connection_id":57668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:45] local.INFO: TCP Data received {"connection_id":56746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:45] local.INFO: Processing buffer {"connection_id":56746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4832de0012d196540071ff0280042013226..."} 
[2026-04-28 20:09:45] local.INFO: Packet analysis {"connection_id":56746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:45] local.INFO: Extracted packet for processing {"connection_id":56746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd483"} 
[2026-04-28 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010959104001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777386860000,"timestamp_ms":1777386860000,"timestamp_seconds":1777386860,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4832de0"} 
[2026-04-28 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-04-28 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010959104001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010959104001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010959104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":56746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:45] local.INFO: GPS data processed {"connection_id":56746,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:45] local.INFO: Acknowledgment sent {"connection_id":56746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:51] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:51] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:51] local.INFO: IMEI packet received {"connection_id":56968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":56968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:09:53] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:53] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:53] local.INFO: IMEI packet received {"connection_id":56969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":56969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:09:56] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:56] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:09:56] local.INFO: IMEI packet received {"connection_id":56968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":56968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:09:57] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:57] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:09:57] local.INFO: IMEI packet received {"connection_id":56969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":56969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:09:57] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c1c0012d8c7ec005cacc60000a004d20..."} 
[2026-04-28 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c1c0012d8c7ec005cacc60000a004d20..."} 
[2026-04-28 20:09:57] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c1c0012d8c7ec005cacc60000a004d20..."} 
[2026-04-28 20:09:57] local.INFO: Packet analysis {"connection_id":56968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:09:57] local.INFO: Extracted packet for processing {"connection_id":56968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:09:57] local.INFO: GPS Element Parsed {"raw_longitude":764182208,"raw_latitude":97176672,"longitude_deg":76.4182208,"latitude_deg":9.7176672,"altitude":10,"angle":77,"satellites":32,"speed":18,"hex_longitude":"2d8c7ec0","hex_latitude":"05cacc60","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011109632001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77095564906332160,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8328070479805898752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777387160000,"timestamp_ms":1777387160000,"timestamp_seconds":1777387160,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c1c0"} 
[2026-04-28 20:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:09: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-04-28 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:09:57] 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-04-28 20:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011109632001,"66":12232,"83":16384,"24":18,"16":77095564906332160,"45":-8328070479805898752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011109632001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77095564906332160,"km_value":77095564906332.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8328070479805898752,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011109632001,"power":12232,"unknown_83":16384,"ignition":18,"odometer":null,"unknown_45":-8328070479805898752}} 
[2026-04-28 20:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":56968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:57] local.INFO: GPS data processed {"connection_id":56968,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:57] local.INFO: Acknowledgment sent {"connection_id":56968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:09:58] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:09:58] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:09:58] local.INFO: Packet analysis {"connection_id":56969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:09:58] local.INFO: Extracted packet for processing {"connection_id":56969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:09: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-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:09:58] 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-04-28 20: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-04-28 20:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:09:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":56969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:09:58] local.INFO: GPS data processed {"connection_id":56969,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:09:58] local.INFO: Acknowledgment sent {"connection_id":56969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:13] local.INFO: TCP Data received {"connection_id":56747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:13] local.INFO: Processing buffer {"connection_id":56747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:13] local.INFO: IMEI packet received {"connection_id":56747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":56747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:10:18] local.INFO: TCP Data received {"connection_id":56747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:18] local.INFO: Processing buffer {"connection_id":56747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:10:18] local.INFO: IMEI packet received {"connection_id":56747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":56747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:10:19] local.INFO: TCP Data received {"connection_id":56747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:19] local.INFO: Processing buffer {"connection_id":56747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:19] local.INFO: Packet analysis {"connection_id":56747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:19] local.INFO: Extracted packet for processing {"connection_id":56747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10:19] 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-04-28 20:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":56747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:19] local.INFO: GPS data processed {"connection_id":56747,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:19] local.INFO: Acknowledgment sent {"connection_id":56747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:23] local.INFO: TCP Data received {"connection_id":56747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:23] local.INFO: Processing buffer {"connection_id":56747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:10:23] local.INFO: Packet analysis {"connection_id":56747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:23] local.INFO: Extracted packet for processing {"connection_id":56747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":56747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:23] local.INFO: GPS data processed {"connection_id":56747,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:23] local.INFO: Acknowledgment sent {"connection_id":56747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:29] local.INFO: TCP Data received {"connection_id":56969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:29] local.INFO: Processing buffer {"connection_id":56969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:29] local.INFO: Packet analysis {"connection_id":56969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:29] local.INFO: Extracted packet for processing {"connection_id":56969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:10:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":56969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:29] local.INFO: GPS data processed {"connection_id":56969,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:29] local.INFO: Acknowledgment sent {"connection_id":56969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:30] local.INFO: TCP Data received {"connection_id":56968,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4889c80012d8cf18005cae8380008004623..."} 
[2026-04-28 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4889c80012d8cf18005cae8380008004623..."} 
[2026-04-28 20:10:30] local.INFO: Processing buffer {"connection_id":56968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4889c80012d8cf18005cae8380008004623..."} 
[2026-04-28 20:10:30] local.INFO: Packet analysis {"connection_id":56968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:10:30] local.INFO: Extracted packet for processing {"connection_id":56968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":764211584,"raw_latitude":97183800,"longitude_deg":76.4211584,"latitude_deg":9.71838,"altitude":8,"angle":70,"satellites":35,"speed":18,"hex_longitude":"2d8cf180","hex_latitude":"05cae838","is_valid_coordinates":true} 
[2026-04-28 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011125504001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77097089619722240,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8295067538784071680,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387216000,"timestamp_ms":1777387216000,"timestamp_seconds":1777387216,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4889c80"} 
[2026-04-28 20:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10: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-04-28 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-28 20:10:30] 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-04-28 20:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:10:30] 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-04-28 20:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011125504001,"66":12211,"83":16384,"24":18,"16":77097089619722240,"45":-8295067538784071680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011125504001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77097089619722240,"km_value":77097089619722.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8295067538784071680,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011125504001,"power":12211,"unknown_83":16384,"ignition":18,"odometer":null,"unknown_45":-8295067538784071680}} 
[2026-04-28 20:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":56968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:30] local.INFO: GPS data processed {"connection_id":56968,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:30] local.INFO: Acknowledgment sent {"connection_id":56968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:51] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:51] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:51] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:10:52] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:52] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:52] local.INFO: IMEI packet received {"connection_id":56987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":56987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:10:56] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:56] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:10:56] local.INFO: IMEI packet received {"connection_id":56970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":56970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:10:57] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd488a450012d8cf4c005caea000009003623..."} 
[2026-04-28 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd488a450012d8cf4c005caea000009003623..."} 
[2026-04-28 20:10:57] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd488a450012d8cf4c005caea000009003623..."} 
[2026-04-28 20:10:57] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:10:57] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:10:57] local.INFO: GPS Element Parsed {"raw_longitude":764212416,"raw_latitude":97184256,"longitude_deg":76.4212416,"latitude_deg":9.7184256,"altitude":9,"angle":54,"satellites":35,"speed":17,"hex_longitude":"2d8cf4c0","hex_latitude":"05caea00","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011127296001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77097136864362496,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8290704676644964352,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777387218000,"timestamp_ms":1777387218000,"timestamp_seconds":1777387218,"priority":1,"record_length":96,"hex_timestamp":"0000019dd488a450"} 
[2026-04-28 20:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10: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-04-28 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 20:10: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-04-28 20: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-04-28 20:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:10:57] 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-04-28 20:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011127296001,"66":12330,"83":16384,"24":17,"16":77097136864362496,"45":-8290704676644964352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011127296001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77097136864362496,"km_value":77097136864362.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8290704676644964352,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011127296001,"power":12330,"unknown_83":16384,"ignition":17,"odometer":null,"unknown_45":-8290704676644964352}} 
[2026-04-28 20:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:57] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:57] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:10:58] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:58] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:10:58] local.INFO: IMEI packet received {"connection_id":56987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":56987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:10:58] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:58] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:10:58] local.INFO: Packet analysis {"connection_id":56987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:58] local.INFO: Extracted packet for processing {"connection_id":56987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:10: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-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:10:58] 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-04-28 20: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-04-28 20:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:10:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":56987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:10:58] local.INFO: GPS data processed {"connection_id":56987,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:10:58] local.INFO: Acknowledgment sent {"connection_id":56987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:08] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:08] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:08] local.INFO: IMEI packet received {"connection_id":56971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":56971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:11:13] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:13] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:11:13] local.INFO: IMEI packet received {"connection_id":56971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":56971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:11:14] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:14] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:14] local.INFO: Packet analysis {"connection_id":56971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:14] local.INFO: Extracted packet for processing {"connection_id":56971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:11:14] 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-04-28 20:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":56971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:14] local.INFO: GPS data processed {"connection_id":56971,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:14] local.INFO: Acknowledgment sent {"connection_id":56971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:28] local.INFO: TCP Data received {"connection_id":56970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd488ac20012d8cf74005caecb00009002923..."} 
[2026-04-28 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd488ac20012d8cf74005caecb00009002923..."} 
[2026-04-28 20:11:28] local.INFO: Processing buffer {"connection_id":56970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd488ac20012d8cf74005caecb00009002923..."} 
[2026-04-28 20:11:28] local.INFO: Packet analysis {"connection_id":56970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:11:28] local.INFO: Extracted packet for processing {"connection_id":56970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":764213056,"raw_latitude":97184944,"longitude_deg":76.4213056,"latitude_deg":9.7184944,"altitude":9,"angle":41,"satellites":35,"speed":19,"hex_longitude":"2d8cf740","hex_latitude":"05caecb0","is_valid_coordinates":true} 
[2026-04-28 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011127808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77097179814035456,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8289789882970537984,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777387220000,"timestamp_ms":1777387220000,"timestamp_seconds":1777387220,"priority":1,"record_length":96,"hex_timestamp":"0000019dd488ac20"} 
[2026-04-28 20:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-28 20:11: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-04-28 20:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:11:28] 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-04-28 20:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011127808001,"66":12232,"83":16384,"24":19,"16":77097179814035456,"45":-8289789882970537984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011127808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77097179814035456,"km_value":77097179814035.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8289789882970537984,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011127808001,"power":12232,"unknown_83":16384,"ignition":19,"odometer":null,"unknown_45":-8289789882970537984}} 
[2026-04-28 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":56970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:28] local.INFO: GPS data processed {"connection_id":56970,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:28] local.INFO: Acknowledgment sent {"connection_id":56970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:30] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:30] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:30] local.INFO: Packet analysis {"connection_id":56987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:30] local.INFO: Extracted packet for processing {"connection_id":56987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":56987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:30] local.INFO: GPS data processed {"connection_id":56987,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:30] local.INFO: Acknowledgment sent {"connection_id":56987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:45] local.INFO: TCP Data received {"connection_id":56971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:45] local.INFO: Processing buffer {"connection_id":56971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:11:45] local.INFO: Packet analysis {"connection_id":56971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:45] local.INFO: Extracted packet for processing {"connection_id":56971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:11:45] 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-04-28 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":56971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:45] local.INFO: GPS data processed {"connection_id":56971,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:45] local.INFO: Acknowledgment sent {"connection_id":56971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:46] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:46] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:46] local.INFO: IMEI packet received {"connection_id":56988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":56988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:11:51] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:51] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:11:51] local.INFO: IMEI packet received {"connection_id":56988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":56988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:11:52] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd488fa40012d8d018005cafac80007002422..."} 
[2026-04-28 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd488fa40012d8d018005cafac80007002422..."} 
[2026-04-28 20:11:52] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd488fa40012d8d018005cafac80007002422..."} 
[2026-04-28 20:11:52] local.INFO: Packet analysis {"connection_id":56988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:11:52] local.INFO: Extracted packet for processing {"connection_id":56988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd488"} 
[2026-04-28 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":764215680,"raw_latitude":97188552,"longitude_deg":76.421568,"latitude_deg":9.7188552,"altitude":7,"angle":36,"satellites":34,"speed":0,"hex_longitude":"2d8d0180","hex_latitude":"05cafac8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011128320001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77097398857367552,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8289086195528585216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-28 20:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777387240000,"timestamp_ms":1777387240000,"timestamp_seconds":1777387240,"priority":1,"record_length":96,"hex_timestamp":"0000019dd488fa40"} 
[2026-04-28 20:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:11: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-04-28 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-28 20:11: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-04-28 20: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-04-28 20:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:11: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-04-28 20:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011128320001,"66":13059,"83":16384,"24":0,"16":77097398857367552,"45":-8289086195528585216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-04-28 20:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011128320001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-04-28 20:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77097398857367552,"km_value":77097398857367.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8289086195528585216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455011128320001,"power":13059,"unknown_83":16384,"ignition":0,"odometer":null,"unknown_45":-8289086195528585216}} 
[2026-04-28 20:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":56988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:52] local.INFO: GPS data processed {"connection_id":56988,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:52] local.INFO: Acknowledgment sent {"connection_id":56988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:11:52] local.INFO: TCP Data received {"connection_id":57672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:52] local.INFO: Processing buffer {"connection_id":57672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:52] local.INFO: IMEI packet received {"connection_id":57672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":57672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:11:58] local.INFO: TCP Data received {"connection_id":57672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:58] local.INFO: Processing buffer {"connection_id":57672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:11:58] local.INFO: IMEI packet received {"connection_id":57672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":57672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:11:58] local.INFO: TCP Data received {"connection_id":57672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:58] local.INFO: Processing buffer {"connection_id":57672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:11:58] local.INFO: Packet analysis {"connection_id":57672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:58] local.INFO: Extracted packet for processing {"connection_id":57672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:11: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-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:11:58] 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-04-28 20: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-04-28 20:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:11:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":57672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:11:58] local.INFO: GPS data processed {"connection_id":57672,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:11:58] local.INFO: Acknowledgment sent {"connection_id":57672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:12:08] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:08] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:08] local.INFO: IMEI packet received {"connection_id":56972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":56972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:12:13] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:13] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:12:13] local.INFO: IMEI packet received {"connection_id":56972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":56972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:12:14] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:14] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:14] local.INFO: Packet analysis {"connection_id":56972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:14] local.INFO: Extracted packet for processing {"connection_id":56972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:12:14] 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-04-28 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:12:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":56972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:12:14] local.INFO: GPS data processed {"connection_id":56972,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:12:14] local.INFO: Acknowledgment sent {"connection_id":56972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:12:24] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4894478012d8d07c005cb01f80008003323..."} 
[2026-04-28 20:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4894478012d8d07c005cb01f80008003323..."} 
[2026-04-28 20:12:24] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4894478012d8d07c005cb01f80008003323..."} 
[2026-04-28 20:12:24] local.INFO: Packet analysis {"connection_id":56988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd489"} 
[2026-04-28 20:12:24] local.INFO: Extracted packet for processing {"connection_id":56988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd489"} 
[2026-04-28 20:12:24] local.INFO: GPS Element Parsed {"raw_longitude":764217280,"raw_latitude":97190392,"longitude_deg":76.421728,"latitude_deg":9.7190392,"altitude":8,"angle":51,"satellites":35,"speed":17,"hex_longitude":"2d8d07c0","hex_latitude":"05cb01f8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011133440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77097519116451840,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286201077016377344,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777387259000,"timestamp_ms":1777387259000,"timestamp_seconds":1777387259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4894478"} 
[2026-04-28 20:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:12: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-04-28 20: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150782270883,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":58075379546980379,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3565705752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363621381,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2290165761,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3872391177,"corrected_to":0} 
[2026-04-28 20:12:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2740125902,"corrected_to":0} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3489738124,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":655459,"corrected_to":0} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3875471360,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3404281856,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,83,24,241,157,16,231,172,45,64,236,9,35,10,66,164,192,234,156,128,1,240,179,227,212,202,4,113,205,27,101,206,200,239,47,2,17,5,11],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":202,"original":3872391177,"validated":0},{"io_id":205,"original":2740125902,"validated":0},{"io_id":200,"original":655459,"validated":0}]} 
[2026-04-28 20:12:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504442886712983552,"timestamp_seconds":504442886712983.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 20:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:12: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-04-28 20:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011133440001,"66":12200,"94":206,"85":13824,"24":17,"16":77097519116451840,"45":-8286201077016377344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011133440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:12:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77097519116451840,"km_value":77097519116451.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286201077016377344,"description":"Unknown IO ID 45"} 
[2026-04-28 20:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011133440001,"power":12200,"unknown_94":206,"unknown_85":13824,"ignition":17,"odometer":null,"unknown_45":-8286201077016377344}} 
[2026-04-28 20:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":56988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:12:24] local.INFO: GPS data processed {"connection_id":56988,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:12:24] local.INFO: Acknowledgment sent {"connection_id":56988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:12:29] local.INFO: TCP Data received {"connection_id":57672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:29] local.INFO: Processing buffer {"connection_id":57672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:29] local.INFO: Packet analysis {"connection_id":57672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:29] local.INFO: Extracted packet for processing {"connection_id":57672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:12:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":57672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:12:29] local.INFO: GPS data processed {"connection_id":57672,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:12:29] local.INFO: Acknowledgment sent {"connection_id":57672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:12:44] local.INFO: TCP Data received {"connection_id":56972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:44] local.INFO: Processing buffer {"connection_id":56972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:12:44] local.INFO: Packet analysis {"connection_id":56972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:44] local.INFO: Extracted packet for processing {"connection_id":56972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:44] 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-04-28 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:12:44] 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-04-28 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:12:44] 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-04-28 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:12:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":56972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:12:44] local.INFO: GPS data processed {"connection_id":56972,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:12:44] local.INFO: Acknowledgment sent {"connection_id":56972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:12:52] local.INFO: TCP Data received {"connection_id":57673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:52] local.INFO: Processing buffer {"connection_id":57673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:52] local.INFO: IMEI packet received {"connection_id":57673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":57673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:12:58] local.INFO: TCP Data received {"connection_id":57673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:58] local.INFO: Processing buffer {"connection_id":57673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:12:58] local.INFO: IMEI packet received {"connection_id":57673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":57673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:12:59] local.INFO: TCP Data received {"connection_id":57673,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:59] local.INFO: Processing buffer {"connection_id":57673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:12:59] local.INFO: Packet analysis {"connection_id":57673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:59] local.INFO: Extracted packet for processing {"connection_id":57673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:12:59] 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-04-28 20:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:12:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:12:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":57673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:12:59] local.INFO: GPS data processed {"connection_id":57673,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:12:59] local.INFO: Acknowledgment sent {"connection_id":57673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:13:12] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:12] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:12] local.INFO: IMEI packet received {"connection_id":56749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":56749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:13:13] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:13] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:13] local.INFO: IMEI packet received {"connection_id":56749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":56749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:13:18] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:18] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:13:18] local.INFO: IMEI packet received {"connection_id":56749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":56749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:13:19] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:19] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:19] local.INFO: Packet analysis {"connection_id":56749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:19] local.INFO: Extracted packet for processing {"connection_id":56749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:13:19] 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-04-28 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:13:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":56749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:13:19] local.INFO: GPS data processed {"connection_id":56749,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:13:19] local.INFO: Acknowledgment sent {"connection_id":56749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:13:30] local.INFO: TCP Data received {"connection_id":57673,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:13:30] local.INFO: Processing buffer {"connection_id":57673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:13:30] local.INFO: Packet analysis {"connection_id":57673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:30] local.INFO: Extracted packet for processing {"connection_id":57673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:13:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:13:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":57673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:13:30] local.INFO: GPS data processed {"connection_id":57673,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:13:30] local.INFO: Acknowledgment sent {"connection_id":57673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:13:50] local.INFO: TCP Data received {"connection_id":56749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:50] local.INFO: Processing buffer {"connection_id":56749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:13:50] local.INFO: Packet analysis {"connection_id":56749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:50] local.INFO: Extracted packet for processing {"connection_id":56749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:13:50] 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-04-28 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:13:50] 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-04-28 20:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:13:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":56749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:13:50] local.INFO: GPS data processed {"connection_id":56749,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:13:50] local.INFO: Acknowledgment sent {"connection_id":56749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:13:58] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:13:58] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:13:58] local.INFO: IMEI packet received {"connection_id":56973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":56973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:13:59] local.INFO: TCP Data received {"connection_id":56989,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:13:59] local.INFO: Processing buffer {"connection_id":56989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:13:59] local.INFO: IMEI packet received {"connection_id":56989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":56989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:14:03] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:03] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:03] local.INFO: IMEI packet received {"connection_id":56973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":56973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:14:04] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:04] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:04] local.INFO: Packet analysis {"connection_id":56973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:04] local.INFO: Extracted packet for processing {"connection_id":56973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:04] 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-04-28 20:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:04] 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-04-28 20:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:14:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":56973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:04] local.INFO: GPS data processed {"connection_id":56973,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:04] local.INFO: Acknowledgment sent {"connection_id":56973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:14:08] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:08] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:08] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:14:13] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:13] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:14:13] local.INFO: IMEI packet received {"connection_id":56974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":56974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:14:14] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:14] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:14] local.INFO: Packet analysis {"connection_id":56974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:14] local.INFO: Extracted packet for processing {"connection_id":56974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 20:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:14:14] 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-04-28 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":56974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:14] local.INFO: GPS data processed {"connection_id":56974,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:14] local.INFO: Acknowledgment sent {"connection_id":56974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:14:33] local.INFO: TCP Data received {"connection_id":57674,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:33] local.INFO: Processing buffer {"connection_id":57674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:33] local.INFO: IMEI packet received {"connection_id":57674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":57674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:14:35] local.INFO: TCP Data received {"connection_id":56973,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:35] local.INFO: Processing buffer {"connection_id":56973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487a280012d7b838005f5ea58000d009e26..."} 
[2026-04-28 20:14:35] local.INFO: Packet analysis {"connection_id":56973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:35] local.INFO: Extracted packet for processing {"connection_id":56973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":13,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011033856001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777387152000,"timestamp_ms":1777387152000,"timestamp_seconds":1777387152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487a280"} 
[2026-04-28 20:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":56973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":56973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":56973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:35] 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-04-28 20:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011033856001,"66":26006,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011033856001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011033856001,"power":26006,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":56973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:35] local.INFO: GPS data processed {"connection_id":56973,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:35] local.INFO: Acknowledgment sent {"connection_id":56973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:14:39] local.INFO: TCP Data received {"connection_id":57674,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:39] local.INFO: Processing buffer {"connection_id":57674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:14:39] local.INFO: IMEI packet received {"connection_id":57674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-28 20:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":57674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:14:40] local.INFO: TCP Data received {"connection_id":57674,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd481da08012cb29bc007823b00005400be25..."} 
[2026-04-28 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd481da08012cb29bc007823b00005400be25..."} 
[2026-04-28 20:14:40] local.INFO: Processing buffer {"connection_id":57674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd481da08012cb29bc007823b00005400be25..."} 
[2026-04-28 20:14:40] local.INFO: Packet analysis {"connection_id":57674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:14:40] local.INFO: Extracted packet for processing {"connection_id":57674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd481"} 
[2026-04-28 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975296,"longitude_deg":74.9902784,"latitude_deg":12.5975296,"altitude":84,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-04-28 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455010936832001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951400234778624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086018560,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777386773000,"timestamp_ms":1777386773000,"timestamp_seconds":1777386773,"priority":1,"record_length":96,"hex_timestamp":"0000019dd481da08"} 
[2026-04-28 20:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:14:40] 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-04-28 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":57674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":57674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 20:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":57674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-28 20:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-28 20:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-28 20:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455010936832001,"66":25125,"184":206,"85":36096,"24":0,"16":107951400234778624,"44":-5576652575086018560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-28 20:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-28 20:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-28 20:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455010936832001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-28 20:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-28 20:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951400234778624,"km_value":107951400234778.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086018560,"description":"Unknown IO ID 44"} 
[2026-04-28 20:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455010936832001,"power":25125,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575086018560}} 
[2026-04-28 20:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":57674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:40] local.INFO: GPS data processed {"connection_id":57674,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:40] local.INFO: Acknowledgment sent {"connection_id":57674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:14:45] local.INFO: TCP Data received {"connection_id":56974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:45] local.INFO: Processing buffer {"connection_id":56974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd487c5a8012d196540071ff0280042013228..."} 
[2026-04-28 20:14:45] local.INFO: Packet analysis {"connection_id":56974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:45] local.INFO: Extracted packet for processing {"connection_id":56974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd487"} 
[2026-04-28 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011036160001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387161000,"timestamp_ms":1777387161000,"timestamp_seconds":1777387161,"priority":1,"record_length":96,"hex_timestamp":"0000019dd487c5a8"} 
[2026-04-28 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-04-28 20:14:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011036160001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011036160001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011036160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":56974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:45] local.INFO: GPS data processed {"connection_id":56974,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:45] local.INFO: Acknowledgment sent {"connection_id":56974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:14:50] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:50] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:50] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:14:52] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:52] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:52] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:14:58] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:58] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:14:58] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:14:59] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:14:59] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:14:59] local.INFO: Packet analysis {"connection_id":56990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:14:59] local.INFO: Extracted packet for processing {"connection_id":56990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:14:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":56990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:14:59] local.INFO: GPS data processed {"connection_id":56990,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:14:59] local.INFO: Acknowledgment sent {"connection_id":56990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:15:08] local.INFO: TCP Data received {"connection_id":57675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:08] local.INFO: Processing buffer {"connection_id":57675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:08] local.INFO: IMEI packet received {"connection_id":57675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":57675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:15:13] local.INFO: TCP Data received {"connection_id":57675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:13] local.INFO: Processing buffer {"connection_id":57675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:15:13] local.INFO: IMEI packet received {"connection_id":57675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":57675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:15:14] local.INFO: TCP Data received {"connection_id":57675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:14] local.INFO: Processing buffer {"connection_id":57675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:14] local.INFO: Packet analysis {"connection_id":57675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:14] local.INFO: Extracted packet for processing {"connection_id":57675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:15:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":57675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:15:14] local.INFO: GPS data processed {"connection_id":57675,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:15:14] local.INFO: Acknowledgment sent {"connection_id":57675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:15:24] local.INFO: TCP Data received {"connection_id":56991,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:15:24] local.INFO: Processing buffer {"connection_id":56991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:15:24] local.INFO: IMEI packet received {"connection_id":56991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":56991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:15:30] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:30] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:30] local.INFO: Packet analysis {"connection_id":56990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:30] local.INFO: Extracted packet for processing {"connection_id":56990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:15:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":56990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:15:30] local.INFO: GPS data processed {"connection_id":56990,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:15:30] local.INFO: Acknowledgment sent {"connection_id":56990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:15:45] local.INFO: TCP Data received {"connection_id":57675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:45] local.INFO: Processing buffer {"connection_id":57675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:15:45] local.INFO: Packet analysis {"connection_id":57675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:45] local.INFO: Extracted packet for processing {"connection_id":57675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 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-04-28 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:15:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":57675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:15:45] local.INFO: GPS data processed {"connection_id":57675,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:15:45] local.INFO: Acknowledgment sent {"connection_id":57675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:15:52] local.INFO: TCP Data received {"connection_id":57676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:52] local.INFO: Processing buffer {"connection_id":57676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:52] local.INFO: IMEI packet received {"connection_id":57676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":57676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:15:58] local.INFO: TCP Data received {"connection_id":57676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:58] local.INFO: Processing buffer {"connection_id":57676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:15:58] local.INFO: IMEI packet received {"connection_id":57676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":57676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:15:58] local.INFO: TCP Data received {"connection_id":57676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:59] local.INFO: Processing buffer {"connection_id":57676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:15:59] local.INFO: Packet analysis {"connection_id":57676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:59] local.INFO: Extracted packet for processing {"connection_id":57676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:15:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":57676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:15:59] local.INFO: GPS data processed {"connection_id":57676,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:15:59] local.INFO: Acknowledgment sent {"connection_id":57676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:16:08] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:08] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:08] local.INFO: IMEI packet received {"connection_id":56750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":56750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:16:13] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:13] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:16:13] local.INFO: IMEI packet received {"connection_id":56750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":56750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:16:14] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:14] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:14] local.INFO: Packet analysis {"connection_id":56750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:14] local.INFO: Extracted packet for processing {"connection_id":56750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:16:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":56750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:16:14] local.INFO: GPS data processed {"connection_id":56750,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:16:14] local.INFO: Acknowledgment sent {"connection_id":56750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:16:30] local.INFO: TCP Data received {"connection_id":57676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:30] local.INFO: Processing buffer {"connection_id":57676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:30] local.INFO: Packet analysis {"connection_id":57676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:30] local.INFO: Extracted packet for processing {"connection_id":57676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:16:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":57676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:16:30] local.INFO: GPS data processed {"connection_id":57676,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:16:30] local.INFO: Acknowledgment sent {"connection_id":57676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:16:31] local.INFO: TCP Data received {"connection_id":56992,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:31] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:31] local.INFO: IMEI packet received {"connection_id":56992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":56992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:16:32] local.INFO: TCP Data received {"connection_id":56992,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:32] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:32] local.INFO: IMEI packet received {"connection_id":56992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":56992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:16:44] local.INFO: TCP Data received {"connection_id":56750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:44] local.INFO: Processing buffer {"connection_id":56750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:16:44] local.INFO: Packet analysis {"connection_id":56750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:44] local.INFO: Extracted packet for processing {"connection_id":56750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:16: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-04-28 20:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:44] 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-04-28 20:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:16: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-04-28 20:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":56750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":56750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:16:44] 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-04-28 20:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:16:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":56750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:16:44] local.INFO: GPS data processed {"connection_id":56750,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:16:44] local.INFO: Acknowledgment sent {"connection_id":56750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:16:52] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:52] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:52] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:16:58] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:58] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:16:58] local.INFO: IMEI packet received {"connection_id":56975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":56975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:16:58] local.INFO: TCP Data received {"connection_id":57677,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:58] local.INFO: Processing buffer {"connection_id":57677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:16:58] local.INFO: IMEI packet received {"connection_id":57677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":57677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:16:59] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:59] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:16:59] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:59] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:16:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:16:59] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:16:59] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:17:01] local.INFO: TCP Data received {"connection_id":57677,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:17:01] local.INFO: Processing buffer {"connection_id":57677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:17:01] local.INFO: IMEI packet received {"connection_id":57677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":57677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:17:08] local.INFO: TCP Data received {"connection_id":56976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:08] local.INFO: Processing buffer {"connection_id":56976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:08] local.INFO: IMEI packet received {"connection_id":56976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":56976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:17:13] local.INFO: TCP Data received {"connection_id":56976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:13] local.INFO: Processing buffer {"connection_id":56976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:17:13] local.INFO: IMEI packet received {"connection_id":56976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":56976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:17:14] local.INFO: TCP Data received {"connection_id":56976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:14] local.INFO: Processing buffer {"connection_id":56976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:14] local.INFO: Packet analysis {"connection_id":56976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:14] local.INFO: Extracted packet for processing {"connection_id":56976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:17:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":56976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:17:14] local.INFO: GPS data processed {"connection_id":56976,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:17:14] local.INFO: Acknowledgment sent {"connection_id":56976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:17:30] local.INFO: TCP Data received {"connection_id":56975,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:30] local.INFO: Processing buffer {"connection_id":56975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:30] local.INFO: Packet analysis {"connection_id":56975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:30] local.INFO: Extracted packet for processing {"connection_id":56975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:17:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":56975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:17:30] local.INFO: GPS data processed {"connection_id":56975,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:17:30] local.INFO: Acknowledgment sent {"connection_id":56975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:17:45] local.INFO: TCP Data received {"connection_id":56976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:45] local.INFO: Processing buffer {"connection_id":56976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:17:45] local.INFO: Packet analysis {"connection_id":56976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:45] local.INFO: Extracted packet for processing {"connection_id":56976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":56976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:17:45] local.INFO: GPS data processed {"connection_id":56976,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:17:45] local.INFO: Acknowledgment sent {"connection_id":56976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:17:52] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:52] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:52] local.INFO: IMEI packet received {"connection_id":56753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":56753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:17:58] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:58] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:17:58] local.INFO: IMEI packet received {"connection_id":56753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":56753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:17:58] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:58] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:17:58] local.INFO: Packet analysis {"connection_id":56753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:58] local.INFO: Extracted packet for processing {"connection_id":56753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:17: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-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:17:58] 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-04-28 20: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-04-28 20:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:17:58] 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-04-28 20:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:17:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":56753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:17:58] local.INFO: GPS data processed {"connection_id":56753,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:17:58] local.INFO: Acknowledgment sent {"connection_id":56753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:18:08] local.INFO: TCP Data received {"connection_id":57678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:08] local.INFO: Processing buffer {"connection_id":57678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:08] local.INFO: IMEI packet received {"connection_id":57678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":57678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:18:13] local.INFO: TCP Data received {"connection_id":57678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:13] local.INFO: Processing buffer {"connection_id":57678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:18:13] local.INFO: IMEI packet received {"connection_id":57678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":57678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:18:14] local.INFO: TCP Data received {"connection_id":57678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:14] local.INFO: Processing buffer {"connection_id":57678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:14] local.INFO: Packet analysis {"connection_id":57678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:14] local.INFO: Extracted packet for processing {"connection_id":57678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:18:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":57678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:18:14] local.INFO: GPS data processed {"connection_id":57678,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:18:14] local.INFO: Acknowledgment sent {"connection_id":57678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:18:30] local.INFO: TCP Data received {"connection_id":56753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:18:30] local.INFO: Processing buffer {"connection_id":56753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:18:30] local.INFO: Packet analysis {"connection_id":56753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:30] local.INFO: Extracted packet for processing {"connection_id":56753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:18:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":56753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:18:30] local.INFO: GPS data processed {"connection_id":56753,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:18:30] local.INFO: Acknowledgment sent {"connection_id":56753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:18:45] local.INFO: TCP Data received {"connection_id":57678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:45] local.INFO: Processing buffer {"connection_id":57678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:18:45] local.INFO: Packet analysis {"connection_id":57678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:45] local.INFO: Extracted packet for processing {"connection_id":57678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 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-04-28 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:18:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":57678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:18:45] local.INFO: GPS data processed {"connection_id":57678,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:18:45] local.INFO: Acknowledgment sent {"connection_id":57678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:18:58] local.INFO: TCP Data received {"connection_id":57679,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:18:58] local.INFO: Processing buffer {"connection_id":57679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:18:58] local.INFO: IMEI packet received {"connection_id":57679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":57679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:19:03] local.INFO: TCP Data received {"connection_id":57679,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:03] local.INFO: Processing buffer {"connection_id":57679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:03] local.INFO: IMEI packet received {"connection_id":57679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":57679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:19:03] local.INFO: TCP Data received {"connection_id":57679,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:04] local.INFO: Processing buffer {"connection_id":57679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:04] local.INFO: Packet analysis {"connection_id":57679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:04] local.INFO: Extracted packet for processing {"connection_id":57679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:19: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-04-28 20:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:19:04] local.INFO: IO Element 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-04-28 20:19:04] 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-04-28 20:19: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-04-28 20:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19: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-04-28 20:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:19:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:19:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":57679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:19:04] local.INFO: GPS data processed {"connection_id":57679,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:19:04] local.INFO: Acknowledgment sent {"connection_id":57679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:19:08] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:08] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:08] local.INFO: IMEI packet received {"connection_id":56994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":56994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:19:08] local.INFO: TCP Data received {"connection_id":57679,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:08] local.INFO: Processing buffer {"connection_id":57679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c3a48012d7b838005f5ea58000a009e2b..."} 
[2026-04-28 20:19:08] local.INFO: Packet analysis {"connection_id":57679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:08] local.INFO: Extracted packet for processing {"connection_id":57679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011110912001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777387453000,"timestamp_ms":1777387453000,"timestamp_seconds":1777387453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c3a48"} 
[2026-04-28 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-28 20:19:08] 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-04-28 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19:08] 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-04-28 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011110912001,"66":25875,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011110912001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011110912001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":57679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:19:08] local.INFO: GPS data processed {"connection_id":57679,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:19:08] local.INFO: Acknowledgment sent {"connection_id":57679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:19:13] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:13] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:19:13] local.INFO: IMEI packet received {"connection_id":56994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":56994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:19:17] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:17] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:17] local.INFO: Packet analysis {"connection_id":56994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:17] local.INFO: Extracted packet for processing {"connection_id":56994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":56994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:19:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":56994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:19:17] local.INFO: GPS data processed {"connection_id":56994,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:19:17] local.INFO: Acknowledgment sent {"connection_id":56994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:19:48] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:48] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd48c5d70012d196540071ff0280042013228..."} 
[2026-04-28 20:19:48] local.INFO: Packet analysis {"connection_id":56994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:48] local.INFO: Extracted packet for processing {"connection_id":56994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd48c"} 
[2026-04-28 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011113216001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777387462000,"timestamp_ms":1777387462000,"timestamp_seconds":1777387462,"priority":1,"record_length":96,"hex_timestamp":"0000019dd48c5d70"} 
[2026-04-28 20:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:19:48] 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-04-28 20:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011113216001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011113216001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011113216001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":56994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:19:48] local.INFO: GPS data processed {"connection_id":56994,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:19:48] local.INFO: Acknowledgment sent {"connection_id":56994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:19:52] local.INFO: TCP Data received {"connection_id":56754,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:52] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:52] local.INFO: IMEI packet received {"connection_id":56754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":56754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:19:53] local.INFO: TCP Data received {"connection_id":56754,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:53] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:53] local.INFO: IMEI packet received {"connection_id":56754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":56754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:19:57] local.INFO: TCP Data received {"connection_id":56754,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:57] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:19:57] local.INFO: IMEI packet received {"connection_id":56754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":56754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:19:58] local.INFO: TCP Data received {"connection_id":56754,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:19:58] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:19:58] local.INFO: Packet analysis {"connection_id":56754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:19:58] local.INFO: Extracted packet for processing {"connection_id":56754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:19:58] 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-04-28 20: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-04-28 20:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:19: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-04-28 20:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:19:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":56754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:19:58] local.INFO: GPS data processed {"connection_id":56754,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:19:58] local.INFO: Acknowledgment sent {"connection_id":56754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:20:13] local.INFO: TCP Data received {"connection_id":56980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:13] local.INFO: Processing buffer {"connection_id":56980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:13] local.INFO: IMEI packet received {"connection_id":56980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":56980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:20:18] local.INFO: TCP Data received {"connection_id":56980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:18] local.INFO: Processing buffer {"connection_id":56980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:20:18] local.INFO: IMEI packet received {"connection_id":56980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":56980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:20:19] local.INFO: TCP Data received {"connection_id":56980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:19] local.INFO: Processing buffer {"connection_id":56980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:19] local.INFO: Packet analysis {"connection_id":56980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:19] local.INFO: Extracted packet for processing {"connection_id":56980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:20:19] 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-04-28 20: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":56980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:20:19] local.INFO: GPS data processed {"connection_id":56980,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:20:19] local.INFO: Acknowledgment sent {"connection_id":56980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:20:23] local.INFO: TCP Data received {"connection_id":56980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:23] local.INFO: Processing buffer {"connection_id":56980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:20:23] local.INFO: Packet analysis {"connection_id":56980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:23] local.INFO: Extracted packet for processing {"connection_id":56980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:20:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":56980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:20:23] local.INFO: GPS data processed {"connection_id":56980,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:20:23] local.INFO: Acknowledgment sent {"connection_id":56980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:20:30] local.INFO: TCP Data received {"connection_id":56754,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:30] local.INFO: Processing buffer {"connection_id":56754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:30] local.INFO: Packet analysis {"connection_id":56754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:30] local.INFO: Extracted packet for processing {"connection_id":56754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:20:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:20:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":56754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:20:30] local.INFO: GPS data processed {"connection_id":56754,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:20:30] local.INFO: Acknowledgment sent {"connection_id":56754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:20:53] local.INFO: TCP Data received {"connection_id":56995,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:53] local.INFO: Processing buffer {"connection_id":56995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:53] local.INFO: IMEI packet received {"connection_id":56995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":56995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:20:54] local.INFO: TCP Data received {"connection_id":56755,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:20:54] local.INFO: Processing buffer {"connection_id":56755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:20:54] local.INFO: IMEI packet received {"connection_id":56755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":56755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:20:58] local.INFO: TCP Data received {"connection_id":56995,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:58] local.INFO: Processing buffer {"connection_id":56995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:20:58] local.INFO: IMEI packet received {"connection_id":56995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":56995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:20:59] local.INFO: TCP Data received {"connection_id":56995,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:59] local.INFO: Processing buffer {"connection_id":56995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:20:59] local.INFO: Packet analysis {"connection_id":56995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:59] local.INFO: Extracted packet for processing {"connection_id":56995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:20:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":56995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:20:59] local.INFO: GPS data processed {"connection_id":56995,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:20:59] local.INFO: Acknowledgment sent {"connection_id":56995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:21:10] local.INFO: TCP Data received {"connection_id":56981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:10] local.INFO: Processing buffer {"connection_id":56981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:10] local.INFO: IMEI packet received {"connection_id":56981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":56981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:21:13] local.INFO: TCP Data received {"connection_id":56981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:13] local.INFO: Processing buffer {"connection_id":56981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:21:13] local.INFO: IMEI packet received {"connection_id":56981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":56981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:21:14] local.INFO: TCP Data received {"connection_id":56981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:14] local.INFO: Processing buffer {"connection_id":56981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:14] local.INFO: Packet analysis {"connection_id":56981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:14] local.INFO: Extracted packet for processing {"connection_id":56981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:21:14] 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-04-28 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:21:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":56981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:21:14] local.INFO: GPS data processed {"connection_id":56981,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:21:14] local.INFO: Acknowledgment sent {"connection_id":56981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:21:18] local.INFO: TCP Data received {"connection_id":56981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:18] local.INFO: Processing buffer {"connection_id":56981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:21:18] local.INFO: Packet analysis {"connection_id":56981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:18] local.INFO: Extracted packet for processing {"connection_id":56981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:21:18] 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-04-28 20:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:21:18] 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-04-28 20:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:21:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":56981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:21:18] local.INFO: GPS data processed {"connection_id":56981,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:21:18] local.INFO: Acknowledgment sent {"connection_id":56981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:21:30] local.INFO: TCP Data received {"connection_id":56995,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:30] local.INFO: Processing buffer {"connection_id":56995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:30] local.INFO: Packet analysis {"connection_id":56995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:30] local.INFO: Extracted packet for processing {"connection_id":56995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:21:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":56995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:21:30] local.INFO: GPS data processed {"connection_id":56995,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:21:30] local.INFO: Acknowledgment sent {"connection_id":56995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:21:34] local.INFO: TCP Data received {"connection_id":56982,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:21:34] local.INFO: Processing buffer {"connection_id":56982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:21:34] local.INFO: IMEI packet received {"connection_id":56982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":56982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:21:52] local.INFO: TCP Data received {"connection_id":56757,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:52] local.INFO: Processing buffer {"connection_id":56757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:52] local.INFO: IMEI packet received {"connection_id":56757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":56757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:21:58] local.INFO: TCP Data received {"connection_id":56757,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:58] local.INFO: Processing buffer {"connection_id":56757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:21:58] local.INFO: IMEI packet received {"connection_id":56757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":56757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:21:58] local.INFO: TCP Data received {"connection_id":56757,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:58] local.INFO: Processing buffer {"connection_id":56757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:21:58] local.INFO: Packet analysis {"connection_id":56757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:58] local.INFO: Extracted packet for processing {"connection_id":56757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:21:58] 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-04-28 20: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-04-28 20:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:21: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-04-28 20:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:21:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":56757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:21:58] local.INFO: GPS data processed {"connection_id":56757,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:21:58] local.INFO: Acknowledgment sent {"connection_id":56757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:21:59] local.INFO: TCP Data received {"connection_id":57681,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:21:59] local.INFO: Processing buffer {"connection_id":57681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:21:59] local.INFO: IMEI packet received {"connection_id":57681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":57681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:22:00] local.INFO: TCP Data received {"connection_id":57681,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49206a8012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49206a8012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:22:00] local.INFO: Processing buffer {"connection_id":57681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49206a8012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:22:00] local.INFO: Packet analysis {"connection_id":57681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:00] local.INFO: Extracted packet for processing {"connection_id":57681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011279872001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777387833000,"timestamp_ms":1777387833000,"timestamp_seconds":1777387833,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49206a8"} 
[2026-04-28 20:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22: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-04-28 20:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-28 20:22:00] 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-04-28 20:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011279872001,"66":13319,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011279872001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:00] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:22:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011279872001,"power":13319,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":57681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:00] local.INFO: GPS data processed {"connection_id":57681,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:00] local.INFO: Acknowledgment sent {"connection_id":57681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:22:18] local.INFO: TCP Data received {"connection_id":56983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:18] local.INFO: Processing buffer {"connection_id":56983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:18] local.INFO: IMEI packet received {"connection_id":56983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":56983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:22:27] local.INFO: TCP Data received {"connection_id":56983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:27] local.INFO: Processing buffer {"connection_id":56983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:22:27] local.INFO: IMEI packet received {"connection_id":56983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":56983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:22:27] local.INFO: TCP Data received {"connection_id":56983,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:22:27] local.INFO: Processing buffer {"connection_id":56983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:22:27] local.INFO: Packet analysis {"connection_id":56983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:27] local.INFO: Extracted packet for processing {"connection_id":56983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:22: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-04-28 20:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:22:27] 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-04-28 20:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":56983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:27] local.INFO: GPS data processed {"connection_id":56983,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:27] local.INFO: Acknowledgment sent {"connection_id":56983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:22:30] local.INFO: TCP Data received {"connection_id":56757,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:30] local.INFO: Processing buffer {"connection_id":56757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:30] local.INFO: Packet analysis {"connection_id":56757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:30] local.INFO: Extracted packet for processing {"connection_id":56757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":56757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:30] local.INFO: GPS data processed {"connection_id":56757,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:30] local.INFO: Acknowledgment sent {"connection_id":56757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:22:33] local.INFO: TCP Data received {"connection_id":57681,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49258b0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49258b0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:33] local.INFO: Processing buffer {"connection_id":57681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49258b0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:33] local.INFO: Packet analysis {"connection_id":57681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:33] local.INFO: Extracted packet for processing {"connection_id":57681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011285248001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777387854000,"timestamp_ms":1777387854000,"timestamp_seconds":1777387854,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49258b0"} 
[2026-04-28 20:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22: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-04-28 20:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2818578432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3566213752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221605200,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2377433093,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2428405761,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":5771362943953676800,"corrected_to":0} 
[2026-04-28 20:22:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2050097358,"corrected_to":0} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147560845,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3924754432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57836725406143400,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-4003698773569781755,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,50,19,24,241,158,16,233,157,180,45,192,80,5,44,10,66,98,42,1,240,62,212,203,4,113,205,108,43,239,53,2,17,182,143],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":203,"original":5771362943953676800,"validated":0},{"io_id":205,"original":2050097358,"validated":0}]} 
[2026-04-28 20:22:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360347537091067904,"timestamp_seconds":360347537091067.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 20:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":57681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":57681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":57681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011285248001,"66":13276,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011285248001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:33] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011285248001,"power":13276,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":57681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:33] local.INFO: GPS data processed {"connection_id":57681,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:33] local.INFO: Acknowledgment sent {"connection_id":57681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:22:46] local.INFO: TCP Data received {"connection_id":56758,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:46] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:46] local.INFO: IMEI packet received {"connection_id":56758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":56758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:22:52] local.INFO: TCP Data received {"connection_id":56758,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:52] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:22:52] local.INFO: IMEI packet received {"connection_id":56758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":56758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:22:52] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:52] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:52] local.INFO: IMEI packet received {"connection_id":56997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":56997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:22:53] local.INFO: TCP Data received {"connection_id":56758,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd492aab8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd492aab8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:53] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd492aab8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:22:53] local.INFO: Packet analysis {"connection_id":56758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:53] local.INFO: Extracted packet for processing {"connection_id":56758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:22: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-04-28 20:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011290624001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777387875000,"timestamp_ms":1777387875000,"timestamp_seconds":1777387875,"priority":1,"record_length":96,"hex_timestamp":"0000019dd492aab8"} 
[2026-04-28 20:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22: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-04-28 20:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-28 20:22:53] 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-04-28 20:22: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-04-28 20:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011290624001,"66":12624,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011290624001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:53] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:22:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011290624001,"power":12624,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":56758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:53] local.INFO: GPS data processed {"connection_id":56758,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:53] local.INFO: Acknowledgment sent {"connection_id":56758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:22:58] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:58] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:22:58] local.INFO: IMEI packet received {"connection_id":56997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":56997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:22:59] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:59] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:22:59] local.INFO: Packet analysis {"connection_id":56997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:59] local.INFO: Extracted packet for processing {"connection_id":56997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:22:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":56997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:22:59] local.INFO: GPS data processed {"connection_id":56997,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:22:59] local.INFO: Acknowledgment sent {"connection_id":56997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:13] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:13] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:13] local.INFO: IMEI packet received {"connection_id":56998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":56998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:23:18] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:18] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:23:18] local.INFO: IMEI packet received {"connection_id":56998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":56998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:23:19] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:19] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:19] local.INFO: Packet analysis {"connection_id":56998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:19] local.INFO: Extracted packet for processing {"connection_id":56998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23:19] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":56998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:19] local.INFO: GPS data processed {"connection_id":56998,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:19] local.INFO: Acknowledgment sent {"connection_id":56998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:24] local.INFO: TCP Data received {"connection_id":56758,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd492fcc0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd492fcc0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:24] local.INFO: Processing buffer {"connection_id":56758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd492fcc0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:24] local.INFO: Packet analysis {"connection_id":56758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:23:24] local.INFO: Extracted packet for processing {"connection_id":56758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd492"} 
[2026-04-28 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011296000001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777387896000,"timestamp_ms":1777387896000,"timestamp_seconds":1777387896,"priority":1,"record_length":96,"hex_timestamp":"0000019dd492fcc0"} 
[2026-04-28 20:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:24] 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-04-28 20:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011296000001,"66":13059,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011296000001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011296000001,"power":13059,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":56758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:24] local.INFO: GPS data processed {"connection_id":56758,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:24] local.INFO: Acknowledgment sent {"connection_id":56758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:30] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:30] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:30] local.INFO: Packet analysis {"connection_id":56997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:30] local.INFO: Extracted packet for processing {"connection_id":56997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":56997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:30] local.INFO: GPS data processed {"connection_id":56997,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:30] local.INFO: Acknowledgment sent {"connection_id":56997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:46] local.INFO: TCP Data received {"connection_id":56984,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:46] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:46] local.INFO: IMEI packet received {"connection_id":56984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":56984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:23:50] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:50] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:23:50] local.INFO: Packet analysis {"connection_id":56998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:50] local.INFO: Extracted packet for processing {"connection_id":56998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23:50] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:23:50] 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-04-28 20:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":56998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:50] local.INFO: GPS data processed {"connection_id":56998,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:50] local.INFO: Acknowledgment sent {"connection_id":56998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:51] local.INFO: TCP Data received {"connection_id":56984,"ip":"117.225.200.185","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:51] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:23:51] local.INFO: IMEI packet received {"connection_id":56984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":56984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:23:52] local.INFO: TCP Data received {"connection_id":57682,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:52] local.INFO: Processing buffer {"connection_id":57682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:52] local.INFO: IMEI packet received {"connection_id":57682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":57682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:23:53] local.INFO: TCP Data received {"connection_id":56984,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4934ec8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4934ec8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:53] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4934ec8012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:23:53] local.INFO: Packet analysis {"connection_id":56984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:23:53] local.INFO: Extracted packet for processing {"connection_id":56984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:23:53] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011301376001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777387917000,"timestamp_ms":1777387917000,"timestamp_seconds":1777387917,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4934ec8"} 
[2026-04-28 20:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23: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-04-28 20:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684346,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":58005457479401472,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2818578432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3566276752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2377433093,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2444533761,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1343750149,"corrected_to":0} 
[2026-04-28 20:23:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2050097358,"corrected_to":0} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2550214029,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221605200,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040122,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3924754432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:53] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,50,19,24,241,158,16,233,157,170,45,192,80,5,42,10,66,88,6,1,240,7,212,203,4,113,205,98,180,239,51,2,17],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":203,"original":1343750149,"validated":0},{"io_id":205,"original":2050097358,"validated":0}]} 
[2026-04-28 20:23:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360347524206166016,"timestamp_seconds":360347524206166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 20:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011301376001,"66":13472,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011301376001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:53] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:23:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011301376001,"power":13472,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":56984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:53] local.INFO: GPS data processed {"connection_id":56984,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:53] local.INFO: Acknowledgment sent {"connection_id":56984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:23:58] local.INFO: TCP Data received {"connection_id":57682,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:58] local.INFO: Processing buffer {"connection_id":57682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:23:58] local.INFO: IMEI packet received {"connection_id":57682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":57682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:23:58] local.INFO: TCP Data received {"connection_id":57682,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:58] local.INFO: Processing buffer {"connection_id":57682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:23:58] local.INFO: Packet analysis {"connection_id":57682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:58] local.INFO: Extracted packet for processing {"connection_id":57682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:23:58] 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-04-28 20: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-04-28 20:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:23: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-04-28 20:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:23:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":57682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:23:58] local.INFO: GPS data processed {"connection_id":57682,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:23:58] local.INFO: Acknowledgment sent {"connection_id":57682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:24:08] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:08] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:08] local.INFO: IMEI packet received {"connection_id":56999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":56999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:24:13] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:13] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:24:13] local.INFO: IMEI packet received {"connection_id":56999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":56999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:24:14] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:14] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:14] local.INFO: Packet analysis {"connection_id":56999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:14] local.INFO: Extracted packet for processing {"connection_id":56999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:24:14] 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-04-28 20:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:24:14] 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-04-28 20:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:24:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":56999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:24:14] local.INFO: GPS data processed {"connection_id":56999,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:24:14] local.INFO: Acknowledgment sent {"connection_id":56999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:24:27] local.INFO: TCP Data received {"connection_id":56984,"ip":"117.225.200.185","data_length":795,"data_hex":"000000000000030f8e0a0000019dd493a0d0012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd493a0d0012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:24:27] local.INFO: Processing buffer {"connection_id":56984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd493a0d0012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:24:27] local.INFO: Packet analysis {"connection_id":56984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:24:27] local.INFO: Extracted packet for processing {"connection_id":56984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:24: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-04-28 20:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011306752001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777387938000,"timestamp_ms":1777387938000,"timestamp_seconds":1777387938,"priority":1,"record_length":96,"hex_timestamp":"0000019dd493a0d0"} 
[2026-04-28 20:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:24: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-04-28 20:24: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":160,"data_length":795,"current_offset":136} 
[2026-04-28 20:24:27] 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-04-28 20:24: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-04-28 20:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":56984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":56984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.200.185","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011306752001,"66":13450,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"117.225.200.185","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011306752001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:24:27] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:24:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011306752001,"power":13450,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":56984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:24:27] local.INFO: GPS data processed {"connection_id":56984,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:24:27] local.INFO: Acknowledgment sent {"connection_id":56984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:24:30] local.INFO: TCP Data received {"connection_id":57682,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:24:30] local.INFO: Processing buffer {"connection_id":57682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490d210012d7b838005f5ea58000a009e2a..."} 
[2026-04-28 20:24:30] local.INFO: Packet analysis {"connection_id":57682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:30] local.INFO: Extracted packet for processing {"connection_id":57682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":10,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011187968001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777387754000,"timestamp_ms":1777387754000,"timestamp_seconds":1777387754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490d210"} 
[2026-04-28 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-28 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011187968001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011187968001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:24:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011187968001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":57682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:24:30] local.INFO: GPS data processed {"connection_id":57682,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:24:30] local.INFO: Acknowledgment sent {"connection_id":57682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:24:45] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:45] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd490f538012d196540071ff028004201322b..."} 
[2026-04-28 20:24:45] local.INFO: Packet analysis {"connection_id":56999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:45] local.INFO: Extracted packet for processing {"connection_id":56999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd490"} 
[2026-04-28 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011190272001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777387763000,"timestamp_ms":1777387763000,"timestamp_seconds":1777387763,"priority":1,"record_length":96,"hex_timestamp":"0000019dd490f538"} 
[2026-04-28 20:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:24:45] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:24:45] 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-04-28 20:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011190272001,"66":2144,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011190272001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:24:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011190272001,"power":2144,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":56999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:24:45] local.INFO: GPS data processed {"connection_id":56999,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:24:45] local.INFO: Acknowledgment sent {"connection_id":56999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:24:58] local.INFO: TCP Data received {"connection_id":57683,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:24:58] local.INFO: Processing buffer {"connection_id":57683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:24:58] local.INFO: IMEI packet received {"connection_id":57683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":57683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:25:03] local.INFO: TCP Data received {"connection_id":57683,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:03] local.INFO: Processing buffer {"connection_id":57683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:03] local.INFO: IMEI packet received {"connection_id":57683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":57683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:25:04] local.INFO: TCP Data received {"connection_id":57683,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:04] local.INFO: Processing buffer {"connection_id":57683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:04] local.INFO: Packet analysis {"connection_id":57683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:04] local.INFO: Extracted packet for processing {"connection_id":57683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:25:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":57683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:25:04] local.INFO: GPS data processed {"connection_id":57683,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:25:04] local.INFO: Acknowledgment sent {"connection_id":57683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:25:08] local.INFO: TCP Data received {"connection_id":57683,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:08] local.INFO: Processing buffer {"connection_id":57683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:08] local.INFO: Packet analysis {"connection_id":57683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:08] local.INFO: Extracted packet for processing {"connection_id":57683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":57683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:25:08] local.INFO: GPS data processed {"connection_id":57683,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:25:08] local.INFO: Acknowledgment sent {"connection_id":57683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:25:13] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:13] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:13] local.INFO: IMEI packet received {"connection_id":57000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":57000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:25:18] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:18] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:25:18] local.INFO: IMEI packet received {"connection_id":57000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":57000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:25:19] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:19] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:19] local.INFO: Packet analysis {"connection_id":57000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:19] local.INFO: Extracted packet for processing {"connection_id":57000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:25:19] 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-04-28 20:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:25:19] 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-04-28 20:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:25:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":57000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:25:19] local.INFO: GPS data processed {"connection_id":57000,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:25:19] local.INFO: Acknowledgment sent {"connection_id":57000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:25:51] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:51] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:25:51] local.INFO: Packet analysis {"connection_id":57000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:51] local.INFO: Extracted packet for processing {"connection_id":57000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 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-04-28 20:25:51] 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-04-28 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:25:51] 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-04-28 20:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:25:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":57000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:25:51] local.INFO: GPS data processed {"connection_id":57000,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:25:51] local.INFO: Acknowledgment sent {"connection_id":57000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:25:52] local.INFO: TCP Data received {"connection_id":56760,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:52] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:52] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:25:58] local.INFO: TCP Data received {"connection_id":56760,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:58] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:25:58] local.INFO: IMEI packet received {"connection_id":56760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":56760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:25:58] local.INFO: TCP Data received {"connection_id":56760,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:58] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:25:58] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:58] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:25: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-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:25: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-04-28 20: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-04-28 20:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:25: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-04-28 20:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:25:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:25:58] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:25:58] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:08] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:08] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:08] local.INFO: IMEI packet received {"connection_id":57001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":57001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:26:16] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:16] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:26:16] local.INFO: IMEI packet received {"connection_id":57001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":57001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:26:17] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:17] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:17] local.INFO: Packet analysis {"connection_id":57001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:17] local.INFO: Extracted packet for processing {"connection_id":57001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26: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-04-28 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":57001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:17] local.INFO: GPS data processed {"connection_id":57001,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:17] local.INFO: Acknowledgment sent {"connection_id":57001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:22] local.INFO: TCP Data received {"connection_id":57685,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: Processing buffer {"connection_id":57685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: IMEI packet received {"connection_id":57685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":57685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:26:22] local.INFO: TCP Data received {"connection_id":57685,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: Processing buffer {"connection_id":57685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:22] local.INFO: IMEI packet received {"connection_id":57685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":57685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:26:27] local.INFO: TCP Data received {"connection_id":57685,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:27] local.INFO: Processing buffer {"connection_id":57685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:27] local.INFO: IMEI packet received {"connection_id":57685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":57685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:26:28] local.INFO: TCP Data received {"connection_id":57685,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd493f2d8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd493f2d8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:26:28] local.INFO: Processing buffer {"connection_id":57685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd493f2d8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:26:28] local.INFO: Packet analysis {"connection_id":57685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:26:28] local.INFO: Extracted packet for processing {"connection_id":57685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd493"} 
[2026-04-28 20:26:28] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011312128001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777387959000,"timestamp_ms":1777387959000,"timestamp_seconds":1777387959,"priority":1,"record_length":96,"hex_timestamp":"0000019dd493f2d8"} 
[2026-04-28 20:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26: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-04-28 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:28] 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-04-28 20: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-04-28 20:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011312128001,"66":13493,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011312128001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:28] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:26:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011312128001,"power":13493,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":57685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:28] local.INFO: GPS data processed {"connection_id":57685,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:28] local.INFO: Acknowledgment sent {"connection_id":57685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:30] local.INFO: TCP Data received {"connection_id":56760,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:30] local.INFO: Processing buffer {"connection_id":56760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:30] local.INFO: Packet analysis {"connection_id":56760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:30] local.INFO: Extracted packet for processing {"connection_id":56760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":56760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:30] local.INFO: GPS data processed {"connection_id":56760,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:30] local.INFO: Acknowledgment sent {"connection_id":56760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:48] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:48] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:26:48] local.INFO: Packet analysis {"connection_id":57001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:48] local.INFO: Extracted packet for processing {"connection_id":57001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26:48] 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-04-28 20:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:26:48] 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-04-28 20:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":57001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:48] local.INFO: GPS data processed {"connection_id":57001,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:48] local.INFO: Acknowledgment sent {"connection_id":57001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:51] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:51] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:51] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:26:52] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:52] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:52] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:26:56] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:56] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:26:56] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:26:58] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:58] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:26:58] local.INFO: IMEI packet received {"connection_id":56761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":56761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:26:58] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49444e0012d8db4c005cb50180005003629..."} 
[2026-04-28 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49444e0012d8db4c005cb50180005003629..."} 
[2026-04-28 20:26:58] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49444e0012d8db4c005cb50180005003629..."} 
[2026-04-28 20:26:58] local.INFO: Packet analysis {"connection_id":57003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:26:58] local.INFO: Extracted packet for processing {"connection_id":57003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011317504001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777387980000,"timestamp_ms":1777387980000,"timestamp_seconds":1777387980,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49444e0"} 
[2026-04-28 20:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011317504001,"66":13450,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011317504001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:26:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011317504001,"power":13450,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":57003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:58] local.INFO: GPS data processed {"connection_id":57003,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:58] local.INFO: Acknowledgment sent {"connection_id":57003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:26:59] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:59] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:26:59] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:59] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:26: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-04-28 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:26:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:26:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:26:59] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:26:59] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:04] local.INFO: TCP Data received {"connection_id":57002,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:04] local.INFO: Processing buffer {"connection_id":57002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:04] local.INFO: IMEI packet received {"connection_id":57002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":57002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:27:08] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:08] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:08] local.INFO: IMEI packet received {"connection_id":57004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":57004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:27:13] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:13] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:27:13] local.INFO: IMEI packet received {"connection_id":57004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":57004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:27:14] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:14] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:14] local.INFO: Packet analysis {"connection_id":57004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:14] local.INFO: Extracted packet for processing {"connection_id":57004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:27:14] 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-04-28 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:27:14] 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-04-28 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":57004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:14] local.INFO: GPS data processed {"connection_id":57004,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:14] local.INFO: Acknowledgment sent {"connection_id":57004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:30] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49496e8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49496e8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:27:30] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49496e8012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:27:30] local.INFO: Packet analysis {"connection_id":57003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:27:30] local.INFO: Extracted packet for processing {"connection_id":57003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011322880001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388001000,"timestamp_ms":1777388001000,"timestamp_seconds":1777388001,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49496e8"} 
[2026-04-28 20:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 20:27:30] 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-04-28 20:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011322880001,"66":13504,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011322880001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011322880001,"power":13504,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":57003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:30] local.INFO: GPS data processed {"connection_id":57003,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:30] local.INFO: Acknowledgment sent {"connection_id":57003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:30] local.INFO: TCP Data received {"connection_id":56761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:30] local.INFO: Processing buffer {"connection_id":56761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:30] local.INFO: Packet analysis {"connection_id":56761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:30] local.INFO: Extracted packet for processing {"connection_id":56761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":56761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:30] local.INFO: GPS data processed {"connection_id":56761,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:30] local.INFO: Acknowledgment sent {"connection_id":56761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:33] local.INFO: TCP Data received {"connection_id":56987,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:33] local.INFO: Processing buffer {"connection_id":56987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:27:33] local.INFO: IMEI packet received {"connection_id":56987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":56987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:27:45] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:45] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:27:45] local.INFO: Packet analysis {"connection_id":57004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:45] local.INFO: Extracted packet for processing {"connection_id":57004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 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-04-28 20:27:45] 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-04-28 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:27:45] 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-04-28 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":57004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:45] local.INFO: GPS data processed {"connection_id":57004,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:45] local.INFO: Acknowledgment sent {"connection_id":57004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:46] local.INFO: TCP Data received {"connection_id":57686,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:46] local.INFO: Processing buffer {"connection_id":57686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:46] local.INFO: IMEI packet received {"connection_id":57686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":57686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:27:51] local.INFO: TCP Data received {"connection_id":57686,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:51] local.INFO: Processing buffer {"connection_id":57686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:27:51] local.INFO: IMEI packet received {"connection_id":57686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":57686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:27:52] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:52] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:52] local.INFO: IMEI packet received {"connection_id":56988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":56988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:27:52] local.INFO: TCP Data received {"connection_id":57686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd494e8f0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd494e8f0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:27:52] local.INFO: Processing buffer {"connection_id":57686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd494e8f0012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:27:52] local.INFO: Packet analysis {"connection_id":57686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:27:52] local.INFO: Extracted packet for processing {"connection_id":57686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd494"} 
[2026-04-28 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011328256001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388022000,"timestamp_ms":1777388022000,"timestamp_seconds":1777388022,"priority":1,"record_length":96,"hex_timestamp":"0000019dd494e8f0"} 
[2026-04-28 20:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-28 20:27:52] 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-04-28 20:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011328256001,"66":13048,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011328256001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:52] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:27:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011328256001,"power":13048,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":57686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:52] local.INFO: GPS data processed {"connection_id":57686,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:52] local.INFO: Acknowledgment sent {"connection_id":57686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:27:58] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:58] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:27:58] local.INFO: IMEI packet received {"connection_id":56988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":56988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:27:58] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:58] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:27:58] local.INFO: Packet analysis {"connection_id":56988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:58] local.INFO: Extracted packet for processing {"connection_id":56988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:27: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-04-28 20:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:27: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-04-28 20: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-04-28 20:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:27: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-04-28 20:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:27:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":56988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:27:58] local.INFO: GPS data processed {"connection_id":56988,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:27:58] local.INFO: Acknowledgment sent {"connection_id":56988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:08] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:08] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:08] local.INFO: IMEI packet received {"connection_id":57005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":57005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:28:13] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:13] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:28:13] local.INFO: IMEI packet received {"connection_id":57005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":57005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:28:14] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:14] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:14] local.INFO: Packet analysis {"connection_id":57005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:14] local.INFO: Extracted packet for processing {"connection_id":57005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:28:14] 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-04-28 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:28:14] 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-04-28 20:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":57005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:14] local.INFO: GPS data processed {"connection_id":57005,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:14] local.INFO: Acknowledgment sent {"connection_id":57005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:24] local.INFO: TCP Data received {"connection_id":57686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4953af8012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4953af8012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:24] local.INFO: Processing buffer {"connection_id":57686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4953af8012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:24] local.INFO: Packet analysis {"connection_id":57686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:24] local.INFO: Extracted packet for processing {"connection_id":57686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011333632001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777388043000,"timestamp_ms":1777388043000,"timestamp_seconds":1777388043,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4953af8"} 
[2026-04-28 20:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011333632001,"66":13504,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011333632001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011333632001,"power":13504,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":57686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:24] local.INFO: GPS data processed {"connection_id":57686,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:24] local.INFO: Acknowledgment sent {"connection_id":57686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:30] local.INFO: TCP Data received {"connection_id":56988,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:30] local.INFO: Processing buffer {"connection_id":56988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:30] local.INFO: Packet analysis {"connection_id":56988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:30] local.INFO: Extracted packet for processing {"connection_id":56988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:28:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":56988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:30] local.INFO: GPS data processed {"connection_id":56988,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:30] local.INFO: Acknowledgment sent {"connection_id":56988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:45] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:45] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:28:45] local.INFO: Packet analysis {"connection_id":57005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:45] local.INFO: Extracted packet for processing {"connection_id":57005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 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-04-28 20:28:45] 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-04-28 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:28:45] 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-04-28 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":57005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:45] local.INFO: GPS data processed {"connection_id":57005,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:45] local.INFO: Acknowledgment sent {"connection_id":57005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:51] local.INFO: TCP Data received {"connection_id":56989,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:51] local.INFO: Processing buffer {"connection_id":56989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:51] local.INFO: IMEI packet received {"connection_id":56989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":56989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:28:52] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:52] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:52] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:28:56] local.INFO: TCP Data received {"connection_id":56989,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:56] local.INFO: Processing buffer {"connection_id":56989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:28:56] local.INFO: IMEI packet received {"connection_id":56989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":56989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:28:57] local.INFO: TCP Data received {"connection_id":56989,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:57] local.INFO: Processing buffer {"connection_id":56989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:28:57] local.INFO: Packet analysis {"connection_id":56989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:57] local.INFO: Extracted packet for processing {"connection_id":56989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:57] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011339008001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:57] 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-04-28 20: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-04-28 20:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011339008001,"66":13580,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011339008001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:57] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:28:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011339008001,"power":13580,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":56989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:57] local.INFO: GPS data processed {"connection_id":56989,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:57] local.INFO: Acknowledgment sent {"connection_id":56989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:28:58] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:58] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:28:58] local.INFO: IMEI packet received {"connection_id":56990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":56990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:28:59] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:59] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:28:59] local.INFO: Packet analysis {"connection_id":56990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:59] local.INFO: Extracted packet for processing {"connection_id":56990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:28: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-04-28 20:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:28:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:28:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":56990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:28:59] local.INFO: GPS data processed {"connection_id":56990,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:28:59] local.INFO: Acknowledgment sent {"connection_id":56990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:02] local.INFO: TCP Data received {"connection_id":56989,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd495df08012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd495df08012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:29:02] local.INFO: Processing buffer {"connection_id":56989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd495df08012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:29:02] local.INFO: Packet analysis {"connection_id":56989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:02] local.INFO: Extracted packet for processing {"connection_id":56989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:02] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777388085000,"timestamp_ms":1777388085000,"timestamp_seconds":1777388085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd495df08"} 
[2026-04-28 20:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29: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-04-28 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867855849,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2818578432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3566444752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2377433093,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1290825551497396224,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2487541761,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1343750149,"corrected_to":0} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786500658,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2050097358,"corrected_to":0} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3623955853,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221605200,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303102932464109,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3924754432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-5422327580573827067,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.WARNING: Large IO value detected {"io_id":168,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,50,19,24,241,158,16,233,157,58,45,192,80,5,44,10,66,232,42,150,1,240,212,203,4,113,205,242,180,43,239,52,2,17,141,168],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":203,"original":1343750149,"validated":0},{"io_id":205,"original":2050097358,"validated":0}]} 
[2026-04-28 20:29:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360347532796100608,"timestamp_seconds":360347532796100.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 20:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":13243,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":13243,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":56989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:02] local.INFO: GPS data processed {"connection_id":56989,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:02] local.INFO: Acknowledgment sent {"connection_id":56989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:13] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:13] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:13] local.INFO: IMEI packet received {"connection_id":57006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":57006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:29:18] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:18] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:29:18] local.INFO: IMEI packet received {"connection_id":57006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":57006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:29:19] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:19] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:19] local.INFO: Packet analysis {"connection_id":57006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:19] local.INFO: Extracted packet for processing {"connection_id":57006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29:19] 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-04-28 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:29:19] 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-04-28 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":57006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:19] local.INFO: GPS data processed {"connection_id":57006,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:19] local.INFO: Acknowledgment sent {"connection_id":57006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:23] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:23] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4958d00012d196540071ff0280042013227..."} 
[2026-04-28 20:29:23] local.INFO: Packet analysis {"connection_id":57006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:23] local.INFO: Extracted packet for processing {"connection_id":57006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011267328001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388064000,"timestamp_ms":1777388064000,"timestamp_seconds":1777388064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4958d00"} 
[2026-04-28 20:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29: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-04-28 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-28 20:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011267328001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011267328001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011267328001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":57006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:23] local.INFO: GPS data processed {"connection_id":57006,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:23] local.INFO: Acknowledgment sent {"connection_id":57006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:30] local.INFO: TCP Data received {"connection_id":56990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:29:30] local.INFO: Processing buffer {"connection_id":56990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49571a8012d7b838005f5ea580011009e29..."} 
[2026-04-28 20:29:30] local.INFO: Packet analysis {"connection_id":56990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:30] local.INFO: Extracted packet for processing {"connection_id":56990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd495"} 
[2026-04-28 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011265024001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388057000,"timestamp_ms":1777388057000,"timestamp_seconds":1777388057,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49571a8"} 
[2026-04-28 20:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011265024001,"66":25756,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011265024001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011265024001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":56990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:30] local.INFO: GPS data processed {"connection_id":56990,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:30] local.INFO: Acknowledgment sent {"connection_id":56990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:47] local.INFO: TCP Data received {"connection_id":57687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:47] local.INFO: Processing buffer {"connection_id":57687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:47] local.INFO: IMEI packet received {"connection_id":57687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":57687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:29:51] local.INFO: TCP Data received {"connection_id":57687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:51] local.INFO: Processing buffer {"connection_id":57687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:29:51] local.INFO: IMEI packet received {"connection_id":57687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":57687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:29:52] local.INFO: TCP Data received {"connection_id":57687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4963110012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4963110012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:29:52] local.INFO: Processing buffer {"connection_id":57687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4963110012d8db4c005cb5018000500362b..."} 
[2026-04-28 20:29:52] local.INFO: Packet analysis {"connection_id":57687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd496"} 
[2026-04-28 20:29:52] local.INFO: Extracted packet for processing {"connection_id":57687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd496"} 
[2026-04-28 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011349760001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388106000,"timestamp_ms":1777388106000,"timestamp_seconds":1777388106,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4963110"} 
[2026-04-28 20:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29: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-04-28 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-28 20:29: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-04-28 20:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011349760001,"66":13515,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011349760001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:52] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:29:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011349760001,"power":13515,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":57687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:52] local.INFO: GPS data processed {"connection_id":57687,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:52] local.INFO: Acknowledgment sent {"connection_id":57687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:53] local.INFO: TCP Data received {"connection_id":57688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:53] local.INFO: Processing buffer {"connection_id":57688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:53] local.INFO: IMEI packet received {"connection_id":57688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":57688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:29:57] local.INFO: TCP Data received {"connection_id":57687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd496b5e0012d8db4c005cb50180005003628..."} 
[2026-04-28 20:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd496b5e0012d8db4c005cb50180005003628..."} 
[2026-04-28 20:29:57] local.INFO: Processing buffer {"connection_id":57687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd496b5e0012d8db4c005cb50180005003628..."} 
[2026-04-28 20:29:57] local.INFO: Packet analysis {"connection_id":57687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd496"} 
[2026-04-28 20:29:57] local.INFO: Extracted packet for processing {"connection_id":57687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd496"} 
[2026-04-28 20:29:57] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011355136001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777388140000,"timestamp_ms":1777388140000,"timestamp_seconds":1777388140,"priority":1,"record_length":96,"hex_timestamp":"0000019dd496b5e0"} 
[2026-04-28 20:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 20:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011355136001,"66":13450,"50":206,"19":43008,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-04-28 20:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011355136001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:29:57] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-28 20:29:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43008,"description":"Unknown IO ID 19"} 
[2026-04-28 20:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011355136001,"power":13450,"unknown_50":206,"unknown_19":43008,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":57687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:29:57] local.INFO: GPS data processed {"connection_id":57687,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:29:57] local.INFO: Acknowledgment sent {"connection_id":57687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:29:58] local.INFO: TCP Data received {"connection_id":57688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:58] local.INFO: Processing buffer {"connection_id":57688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:29:58] local.INFO: IMEI packet received {"connection_id":57688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":57688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:30:03] local.INFO: TCP Data received {"connection_id":57688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:03] local.INFO: Processing buffer {"connection_id":57688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:03] local.INFO: IMEI packet received {"connection_id":57688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":57688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:30:04] local.INFO: TCP Data received {"connection_id":57688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:04] local.INFO: Processing buffer {"connection_id":57688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:04] local.INFO: Packet analysis {"connection_id":57688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:04] local.INFO: Extracted packet for processing {"connection_id":57688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":57688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:04] local.INFO: GPS data processed {"connection_id":57688,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:04] local.INFO: Acknowledgment sent {"connection_id":57688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:08] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:08] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:08] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:30:08] local.INFO: TCP Data received {"connection_id":57688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:08] local.INFO: Processing buffer {"connection_id":57688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:08] local.INFO: Packet analysis {"connection_id":57688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:08] local.INFO: Extracted packet for processing {"connection_id":57688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":57688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:08] local.INFO: GPS data processed {"connection_id":57688,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:08] local.INFO: Acknowledgment sent {"connection_id":57688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:13] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:13] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:30:13] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:30:14] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:14] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:14] local.INFO: Packet analysis {"connection_id":57008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:14] local.INFO: Extracted packet for processing {"connection_id":57008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:14] 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-04-28 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:30:14] 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-04-28 20:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":57008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:14] local.INFO: GPS data processed {"connection_id":57008,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:14] local.INFO: Acknowledgment sent {"connection_id":57008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:28] local.INFO: TCP Data received {"connection_id":57687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4975220012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4975220012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:30:28] local.INFO: Processing buffer {"connection_id":57687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4975220012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:30:28] local.INFO: Packet analysis {"connection_id":57687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:30:28] local.INFO: Extracted packet for processing {"connection_id":57687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011363840001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777388180000,"timestamp_ms":1777388180000,"timestamp_seconds":1777388180,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4975220"} 
[2026-04-28 20:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:28] 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-04-28 20:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011363840001,"66":13580,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011363840001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011363840001,"power":13580,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":57687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:28] local.INFO: GPS data processed {"connection_id":57687,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:28] local.INFO: Acknowledgment sent {"connection_id":57687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:45] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:45] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:30:45] local.INFO: Packet analysis {"connection_id":57008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:45] local.INFO: Extracted packet for processing {"connection_id":57008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:45] 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-04-28 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:30:45] 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-04-28 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":57008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:45] local.INFO: GPS data processed {"connection_id":57008,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:45] local.INFO: Acknowledgment sent {"connection_id":57008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:46] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:46] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:46] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:30:51] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:51] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:30:51] local.INFO: IMEI packet received {"connection_id":56763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":56763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:30:52] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd497a428012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd497a428012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:30:52] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd497a428012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:30:52] local.INFO: Packet analysis {"connection_id":56763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:30:52] local.INFO: Extracted packet for processing {"connection_id":56763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011374080001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388201000,"timestamp_ms":1777388201000,"timestamp_seconds":1777388201,"priority":1,"record_length":96,"hex_timestamp":"0000019dd497a428"} 
[2026-04-28 20:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30: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-04-28 20: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":12,"data_length":795,"current_offset":136} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867855849,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3566528752,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2377433093,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2818578432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1290825551497396224,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2509045761,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1343750149,"corrected_to":0} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209647666,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2050097358,"corrected_to":0} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4160826765,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221605200,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4611460093718770157,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3924754432,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-5422327580573827067,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.WARNING: Large IO value detected {"io_id":168,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,94,85,24,241,157,16,233,181,45,192,80,5,40,10,66,50,19,49,43,158,223,1,240,187,212,203,4,113,205,58,180,44,239,52,2,17,141,168],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":1343750149,"validated":0},{"io_id":205,"original":2050097358,"validated":0}]} 
[2026-04-28 20:30:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360347532796100608,"timestamp_seconds":360347532796100.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-28 20:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011374080001,"66":13450,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011374080001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011374080001,"power":13450,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":56763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:52] local.INFO: GPS data processed {"connection_id":56763,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:52] local.INFO: Acknowledgment sent {"connection_id":56763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:30:53] local.INFO: TCP Data received {"connection_id":57010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:53] local.INFO: Processing buffer {"connection_id":57010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:53] local.INFO: IMEI packet received {"connection_id":57010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":57010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:30:58] local.INFO: TCP Data received {"connection_id":57010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:58] local.INFO: Processing buffer {"connection_id":57010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:30:58] local.INFO: IMEI packet received {"connection_id":57010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":57010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:30:58] local.INFO: TCP Data received {"connection_id":57010,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:58] local.INFO: Processing buffer {"connection_id":57010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:30:58] local.INFO: Packet analysis {"connection_id":57010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:58] local.INFO: Extracted packet for processing {"connection_id":57010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:30: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-04-28 20:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:30:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":57010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:30:58] local.INFO: GPS data processed {"connection_id":57010,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:30:58] local.INFO: Acknowledgment sent {"connection_id":57010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:08] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:08] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:08] local.INFO: IMEI packet received {"connection_id":56764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":56764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:31:13] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:13] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:31:13] local.INFO: IMEI packet received {"connection_id":56764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":56764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:31:14] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:14] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:14] local.INFO: Packet analysis {"connection_id":56764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:14] local.INFO: Extracted packet for processing {"connection_id":56764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:31:14] 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-04-28 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:31:14] 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-04-28 20:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":56764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:14] local.INFO: GPS data processed {"connection_id":56764,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:14] local.INFO: Acknowledgment sent {"connection_id":56764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:24] local.INFO: TCP Data received {"connection_id":56763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd497f630012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd497f630012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:31:24] local.INFO: Processing buffer {"connection_id":56763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd497f630012d8db4c005cb5018000500362d..."} 
[2026-04-28 20:31:24] local.INFO: Packet analysis {"connection_id":56763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:31:24] local.INFO: Extracted packet for processing {"connection_id":56763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd497"} 
[2026-04-28 20:31:24] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011379456001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777388222000,"timestamp_ms":1777388222000,"timestamp_seconds":1777388222,"priority":1,"record_length":96,"hex_timestamp":"0000019dd497f630"} 
[2026-04-28 20:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:31: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-04-28 20:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-28 20:31: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-04-28 20:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011379456001,"66":13472,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011379456001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011379456001,"power":13472,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":56763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:24] local.INFO: GPS data processed {"connection_id":56763,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:24] local.INFO: Acknowledgment sent {"connection_id":56763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:30] local.INFO: TCP Data received {"connection_id":57010,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:30] local.INFO: Processing buffer {"connection_id":57010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:30] local.INFO: Packet analysis {"connection_id":57010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:30] local.INFO: Extracted packet for processing {"connection_id":57010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":57010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:30] local.INFO: GPS data processed {"connection_id":57010,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:30] local.INFO: Acknowledgment sent {"connection_id":57010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:45] local.INFO: TCP Data received {"connection_id":56764,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:45] local.INFO: Processing buffer {"connection_id":56764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:31:45] local.INFO: Packet analysis {"connection_id":56764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:45] local.INFO: Extracted packet for processing {"connection_id":56764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 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-04-28 20:31:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:31:45] 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-04-28 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":56764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:45] local.INFO: GPS data processed {"connection_id":56764,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:45] local.INFO: Acknowledgment sent {"connection_id":56764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:51] local.INFO: TCP Data received {"connection_id":56992,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:51] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:51] local.INFO: IMEI packet received {"connection_id":56992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":56992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:31:52] local.INFO: TCP Data received {"connection_id":56993,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:52] local.INFO: Processing buffer {"connection_id":56993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:52] local.INFO: IMEI packet received {"connection_id":56993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":56993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:31:56] local.INFO: TCP Data received {"connection_id":56992,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:56] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:31:56] local.INFO: IMEI packet received {"connection_id":56992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":56992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:31:58] local.INFO: TCP Data received {"connection_id":56992,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4984838012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4984838012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:31:58] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4984838012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:31:58] local.INFO: Packet analysis {"connection_id":56992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:31:58] local.INFO: Extracted packet for processing {"connection_id":56992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:31:58] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011384832001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388243000,"timestamp_ms":1777388243000,"timestamp_seconds":1777388243,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4984838"} 
[2026-04-28 20:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-28 20:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011384832001,"66":13276,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011384832001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011384832001,"power":13276,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":56992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:58] local.INFO: GPS data processed {"connection_id":56992,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:58] local.INFO: Acknowledgment sent {"connection_id":56992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:31:58] local.INFO: TCP Data received {"connection_id":56993,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:58] local.INFO: Processing buffer {"connection_id":56993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:31:58] local.INFO: IMEI packet received {"connection_id":56993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":56993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:31:59] local.INFO: TCP Data received {"connection_id":56993,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:59] local.INFO: Processing buffer {"connection_id":56993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:31:59] local.INFO: Packet analysis {"connection_id":56993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:59] local.INFO: Extracted packet for processing {"connection_id":56993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:31:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:31:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":56993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:31:59] local.INFO: GPS data processed {"connection_id":56993,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:31:59] local.INFO: Acknowledgment sent {"connection_id":56993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:02] local.INFO: TCP Data received {"connection_id":56992,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4989a40012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4989a40012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:32:02] local.INFO: Processing buffer {"connection_id":56992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4989a40012d8db4c005cb5018000500362a..."} 
[2026-04-28 20:32:02] local.INFO: Packet analysis {"connection_id":56992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:02] local.INFO: Extracted packet for processing {"connection_id":56992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011390208001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777388264000,"timestamp_ms":1777388264000,"timestamp_seconds":1777388264,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4989a40"} 
[2026-04-28 20:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:02] 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-04-28 20:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011390208001,"66":13515,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011390208001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011390208001,"power":13515,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":56992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:02] local.INFO: GPS data processed {"connection_id":56992,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:02] local.INFO: Acknowledgment sent {"connection_id":56992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:08] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:08] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:08] local.INFO: IMEI packet received {"connection_id":56994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":56994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:32:13] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:13] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:32:13] local.INFO: IMEI packet received {"connection_id":56994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":56994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:32:14] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:14] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:14] local.INFO: Packet analysis {"connection_id":56994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:14] local.INFO: Extracted packet for processing {"connection_id":56994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32:14] 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-04-28 20:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:32:14] 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-04-28 20:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":56994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:14] local.INFO: GPS data processed {"connection_id":56994,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:14] local.INFO: Acknowledgment sent {"connection_id":56994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:30] local.INFO: TCP Data received {"connection_id":56993,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:30] local.INFO: Processing buffer {"connection_id":56993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:30] local.INFO: Packet analysis {"connection_id":56993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:30] local.INFO: Extracted packet for processing {"connection_id":56993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:32:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":56993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:30] local.INFO: GPS data processed {"connection_id":56993,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:30] local.INFO: Acknowledgment sent {"connection_id":56993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:45] local.INFO: TCP Data received {"connection_id":56994,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:45] local.INFO: Processing buffer {"connection_id":56994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:32:45] local.INFO: Packet analysis {"connection_id":56994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:45] local.INFO: Extracted packet for processing {"connection_id":56994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 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-04-28 20:32:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:32:45] 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-04-28 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":56994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:45] local.INFO: GPS data processed {"connection_id":56994,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:45] local.INFO: Acknowledgment sent {"connection_id":56994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:46] local.INFO: TCP Data received {"connection_id":56765,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:46] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:46] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:32:52] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:52] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:52] local.INFO: IMEI packet received {"connection_id":57011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":57011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:32:53] local.INFO: TCP Data received {"connection_id":56995,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:32:53] local.INFO: Processing buffer {"connection_id":56995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:32:53] local.INFO: IMEI packet received {"connection_id":56995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":56995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:32:54] local.INFO: TCP Data received {"connection_id":56765,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:54] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:32:54] local.INFO: IMEI packet received {"connection_id":56765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":56765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:32:55] local.INFO: TCP Data received {"connection_id":56765,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:55] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:55] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:55] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:55] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011395584001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777388276000,"timestamp_ms":1777388276000,"timestamp_seconds":1777388276,"priority":1,"record_length":96,"hex_timestamp":"0000019dd498c920"} 
[2026-04-28 20:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011395584001,"66":13646,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011395584001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011395584001,"power":13646,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:55] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:55] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:56] local.INFO: TCP Data received {"connection_id":56765,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:56] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd498c920012d8db4c005cb5018000500362c..."} 
[2026-04-28 20:32:56] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:56] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd498"} 
[2026-04-28 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":764261568,"raw_latitude":97210392,"longitude_deg":76.4261568,"latitude_deg":9.7210392,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db4c0","hex_latitude":"05cb5018","is_valid_coordinates":true} 
[2026-04-28 20:32: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-04-28 20:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777388276000,"timestamp_ms":1777388276000,"timestamp_seconds":1777388276,"priority":1,"record_length":96,"hex_timestamp":"0000019dd498c920"} 
[2026-04-28 20:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32: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-04-28 20:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":13646,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":13646,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:57] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:57] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:32:58] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:58] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:32:58] local.INFO: IMEI packet received {"connection_id":57011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":57011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:32:59] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:59] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:32:59] local.INFO: Packet analysis {"connection_id":57011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:59] local.INFO: Extracted packet for processing {"connection_id":57011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:32:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:32:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":57011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:32:59] local.INFO: GPS data processed {"connection_id":57011,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:32:59] local.INFO: Acknowledgment sent {"connection_id":57011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:08] local.INFO: TCP Data received {"connection_id":56996,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:08] local.INFO: Processing buffer {"connection_id":56996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:08] local.INFO: IMEI packet received {"connection_id":56996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":56996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:33:13] local.INFO: TCP Data received {"connection_id":56996,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:13] local.INFO: Processing buffer {"connection_id":56996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:33:13] local.INFO: IMEI packet received {"connection_id":56996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":56996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:33:14] local.INFO: TCP Data received {"connection_id":56996,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:14] local.INFO: Processing buffer {"connection_id":56996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:14] local.INFO: Packet analysis {"connection_id":56996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:14] local.INFO: Extracted packet for processing {"connection_id":56996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:33:14] 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-04-28 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:33:14] 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-04-28 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":56996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:14] local.INFO: GPS data processed {"connection_id":56996,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:14] local.INFO: Acknowledgment sent {"connection_id":56996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:28] local.INFO: TCP Data received {"connection_id":56765,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:28] local.INFO: Processing buffer {"connection_id":56765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:28] local.INFO: Packet analysis {"connection_id":56765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:33:28] local.INFO: Extracted packet for processing {"connection_id":56765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:33:28] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:28] 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-04-28 20: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-04-28 20:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":56765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":56765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":56765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:28] local.INFO: GPS data processed {"connection_id":56765,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:28] local.INFO: Acknowledgment sent {"connection_id":56765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:30] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:30] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:30] local.INFO: Packet analysis {"connection_id":57011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:30] local.INFO: Extracted packet for processing {"connection_id":57011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":57011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:30] local.INFO: GPS data processed {"connection_id":57011,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:30] local.INFO: Acknowledgment sent {"connection_id":57011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:37] local.INFO: TCP Data received {"connection_id":57689,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:33:37] local.INFO: Processing buffer {"connection_id":57689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:33:37] local.INFO: IMEI packet received {"connection_id":57689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":57689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:33:45] local.INFO: TCP Data received {"connection_id":56996,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:45] local.INFO: Processing buffer {"connection_id":56996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:33:45] local.INFO: Packet analysis {"connection_id":56996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:45] local.INFO: Extracted packet for processing {"connection_id":56996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 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-04-28 20:33:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:33:45] 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-04-28 20:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":56996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:45] local.INFO: GPS data processed {"connection_id":56996,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:45] local.INFO: Acknowledgment sent {"connection_id":56996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:46] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:46] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:46] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:33:51] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:51] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:33:51] local.INFO: IMEI packet received {"connection_id":56766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":56766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:33:52] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:52] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:33:52] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:33:52] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:33:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:33: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-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:52] 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-04-28 20: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-04-28 20:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:52] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:52] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:33:52] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:52] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:52] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:33:58] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:58] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:33:58] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:33:59] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:59] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:33:59] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:59] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:33:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:33:59] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:33:59] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:13] local.INFO: TCP Data received {"connection_id":57690,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:13] local.INFO: Processing buffer {"connection_id":57690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:13] local.INFO: IMEI packet received {"connection_id":57690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":57690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:34:18] local.INFO: TCP Data received {"connection_id":57690,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:18] local.INFO: Processing buffer {"connection_id":57690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:34:18] local.INFO: IMEI packet received {"connection_id":57690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":57690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:34:19] local.INFO: TCP Data received {"connection_id":57690,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:19] local.INFO: Processing buffer {"connection_id":57690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:19] local.INFO: Packet analysis {"connection_id":57690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:19] local.INFO: Extracted packet for processing {"connection_id":57690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:34:19] 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-04-28 20:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:34:19] 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-04-28 20:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:34:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":57690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:34:19] local.INFO: GPS data processed {"connection_id":57690,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:34:19] local.INFO: Acknowledgment sent {"connection_id":57690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:23] local.INFO: TCP Data received {"connection_id":56766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:23] local.INFO: Processing buffer {"connection_id":56766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:23] local.INFO: Packet analysis {"connection_id":56766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:34:23] local.INFO: Extracted packet for processing {"connection_id":56766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:34:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:34: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-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:34:23] 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-04-28 20: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-04-28 20:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":56766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:34:23] local.INFO: GPS data processed {"connection_id":56766,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:34:23] local.INFO: Acknowledgment sent {"connection_id":56766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:24] local.INFO: TCP Data received {"connection_id":57690,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:24] local.INFO: Processing buffer {"connection_id":57690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a24c8012d196540071ff0280042013229..."} 
[2026-04-28 20:34:24] local.INFO: Packet analysis {"connection_id":57690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:24] local.INFO: Extracted packet for processing {"connection_id":57690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011344384001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:24] 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-04-28 20:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777388365000,"timestamp_ms":1777388365000,"timestamp_seconds":1777388365,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a24c8"} 
[2026-04-28 20:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:34:24] 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-04-28 20:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011344384001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011344384001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:34:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011344384001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":57690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:34:24] local.INFO: GPS data processed {"connection_id":57690,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:34:24] local.INFO: Acknowledgment sent {"connection_id":57690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:30] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:34:30] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49a1cf8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:34:30] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:30] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49a"} 
[2026-04-28 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011342592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388363000,"timestamp_ms":1777388363000,"timestamp_seconds":1777388363,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49a1cf8"} 
[2026-04-28 20:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 20:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011342592001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011342592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:34:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011342592001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:34:30] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:34:30] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:51] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:51] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:51] local.INFO: IMEI packet received {"connection_id":56767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":56767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:34:54] local.INFO: TCP Data received {"connection_id":57013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:54] local.INFO: Processing buffer {"connection_id":57013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:54] local.INFO: IMEI packet received {"connection_id":57013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":57013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:34:56] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:56] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:34:56] local.INFO: IMEI packet received {"connection_id":56767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":56767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:34:57] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:57] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:34:57] local.INFO: Packet analysis {"connection_id":56767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:34:57] local.INFO: Extracted packet for processing {"connection_id":56767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:34: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-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:34:57] 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-04-28 20: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-04-28 20:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:34:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":56767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:34:57] local.INFO: GPS data processed {"connection_id":56767,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:34:57] local.INFO: Acknowledgment sent {"connection_id":56767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:34:58] local.INFO: TCP Data received {"connection_id":57013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:58] local.INFO: Processing buffer {"connection_id":57013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:34:58] local.INFO: IMEI packet received {"connection_id":57013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":57013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:35:02] local.INFO: TCP Data received {"connection_id":56767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:02] local.INFO: Processing buffer {"connection_id":56767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:02] local.INFO: Packet analysis {"connection_id":56767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:35:02] local.INFO: Extracted packet for processing {"connection_id":56767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:35:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:35: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-04-28 20:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":56767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:02] local.INFO: GPS data processed {"connection_id":56767,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:02] local.INFO: Acknowledgment sent {"connection_id":56767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:03] local.INFO: TCP Data received {"connection_id":57013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:03] local.INFO: Processing buffer {"connection_id":57013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:03] local.INFO: IMEI packet received {"connection_id":57013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":57013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:35:03] local.INFO: TCP Data received {"connection_id":57013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:03] local.INFO: Processing buffer {"connection_id":57013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:03] local.INFO: Packet analysis {"connection_id":57013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:03] local.INFO: Extracted packet for processing {"connection_id":57013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:35:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":57013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:03] local.INFO: GPS data processed {"connection_id":57013,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:03] local.INFO: Acknowledgment sent {"connection_id":57013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:08] local.INFO: TCP Data received {"connection_id":57013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:08] local.INFO: Processing buffer {"connection_id":57013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:08] local.INFO: Packet analysis {"connection_id":57013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:08] local.INFO: Extracted packet for processing {"connection_id":57013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":57013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:08] local.INFO: GPS data processed {"connection_id":57013,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:08] local.INFO: Acknowledgment sent {"connection_id":57013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:08] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:08] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:08] local.INFO: IMEI packet received {"connection_id":56997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":56997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:35:13] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:13] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:35:13] local.INFO: IMEI packet received {"connection_id":56997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":56997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:35:14] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:14] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:14] local.INFO: Packet analysis {"connection_id":56997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:14] local.INFO: Extracted packet for processing {"connection_id":56997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35:14] 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-04-28 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":56997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:14] local.INFO: GPS data processed {"connection_id":56997,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:14] local.INFO: Acknowledgment sent {"connection_id":56997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:45] local.INFO: TCP Data received {"connection_id":56997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:45] local.INFO: Processing buffer {"connection_id":56997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:35:45] local.INFO: Packet analysis {"connection_id":56997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:45] local.INFO: Extracted packet for processing {"connection_id":56997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 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-04-28 20:35:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":56997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:45] local.INFO: GPS data processed {"connection_id":56997,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:45] local.INFO: Acknowledgment sent {"connection_id":56997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:46] local.INFO: TCP Data received {"connection_id":57694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:46] local.INFO: Processing buffer {"connection_id":57694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:46] local.INFO: IMEI packet received {"connection_id":57694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":57694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:35:51] local.INFO: TCP Data received {"connection_id":57694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:51] local.INFO: Processing buffer {"connection_id":57694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:35:51] local.INFO: IMEI packet received {"connection_id":57694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":57694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:35:53] local.INFO: TCP Data received {"connection_id":57695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:53] local.INFO: Processing buffer {"connection_id":57695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:53] local.INFO: IMEI packet received {"connection_id":57695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":57695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:35:53] local.INFO: TCP Data received {"connection_id":57694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:53] local.INFO: Processing buffer {"connection_id":57694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:35:53] local.INFO: Packet analysis {"connection_id":57694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:35:53] local.INFO: Extracted packet for processing {"connection_id":57694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35: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-04-28 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:35:53] 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-04-28 20:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":57694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":57694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":57694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":57694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:54] local.INFO: GPS data processed {"connection_id":57694,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:54] local.INFO: Acknowledgment sent {"connection_id":57694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:35:58] local.INFO: TCP Data received {"connection_id":57695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:58] local.INFO: Processing buffer {"connection_id":57695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:35:58] local.INFO: IMEI packet received {"connection_id":57695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":57695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:35:58] local.INFO: TCP Data received {"connection_id":57695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:58] local.INFO: Processing buffer {"connection_id":57695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:35:58] local.INFO: Packet analysis {"connection_id":57695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:58] local.INFO: Extracted packet for processing {"connection_id":57695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:35: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-04-28 20: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-04-28 20:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:35:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":57695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:35:58] local.INFO: GPS data processed {"connection_id":57695,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:35:58] local.INFO: Acknowledgment sent {"connection_id":57695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:08] local.INFO: TCP Data received {"connection_id":56768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:08] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:08] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:36:13] local.INFO: TCP Data received {"connection_id":56768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:13] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:36:13] local.INFO: IMEI packet received {"connection_id":56768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":56768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:36:14] local.INFO: TCP Data received {"connection_id":56768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:14] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:14] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:14] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:36:14] 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-04-28 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:14] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:14] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:25] local.INFO: TCP Data received {"connection_id":57694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:25] local.INFO: Processing buffer {"connection_id":57694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:25] local.INFO: Packet analysis {"connection_id":57694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:36:25] local.INFO: Extracted packet for processing {"connection_id":57694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:36:25] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:36: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-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":57694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:25] local.INFO: GPS data processed {"connection_id":57694,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:25] local.INFO: Acknowledgment sent {"connection_id":57694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:29] local.INFO: TCP Data received {"connection_id":57695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:29] local.INFO: Processing buffer {"connection_id":57695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:29] local.INFO: Packet analysis {"connection_id":57695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:29] local.INFO: Extracted packet for processing {"connection_id":57695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":57695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:29] local.INFO: GPS data processed {"connection_id":57695,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:29] local.INFO: Acknowledgment sent {"connection_id":57695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:45] local.INFO: TCP Data received {"connection_id":56768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:45] local.INFO: Processing buffer {"connection_id":56768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:36:45] local.INFO: Packet analysis {"connection_id":56768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:45] local.INFO: Extracted packet for processing {"connection_id":56768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 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-04-28 20:36:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":56768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:45] local.INFO: GPS data processed {"connection_id":56768,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:45] local.INFO: Acknowledgment sent {"connection_id":56768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:46] local.INFO: TCP Data received {"connection_id":57696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:46] local.INFO: Processing buffer {"connection_id":57696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:46] local.INFO: IMEI packet received {"connection_id":57696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":57696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:36:52] local.INFO: TCP Data received {"connection_id":57696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:52] local.INFO: Processing buffer {"connection_id":57696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:36:52] local.INFO: IMEI packet received {"connection_id":57696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":57696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:36:52] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:52] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:52] local.INFO: IMEI packet received {"connection_id":56998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":56998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:36:52] local.INFO: TCP Data received {"connection_id":57696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:52] local.INFO: Processing buffer {"connection_id":57696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:36:52] local.INFO: Packet analysis {"connection_id":57696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:36:52] local.INFO: Extracted packet for processing {"connection_id":57696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:36:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:36:52] 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-04-28 20: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-04-28 20:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":57696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:52] local.INFO: GPS data processed {"connection_id":57696,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:52] local.INFO: Acknowledgment sent {"connection_id":57696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:36:58] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:58] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:36:58] local.INFO: IMEI packet received {"connection_id":56998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":56998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:36:59] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:59] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:36:59] local.INFO: Packet analysis {"connection_id":56998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:59] local.INFO: Extracted packet for processing {"connection_id":56998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:36: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-04-28 20:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:36:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":56998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:36:59] local.INFO: GPS data processed {"connection_id":56998,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:36:59] local.INFO: Acknowledgment sent {"connection_id":56998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:08] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:08] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:08] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:37:13] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:13] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:37:13] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:37:14] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:14] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:14] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:14] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:37:14] 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-04-28 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:37:14] 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-04-28 20:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:14] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:14] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:24] local.INFO: TCP Data received {"connection_id":57696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:24] local.INFO: Processing buffer {"connection_id":57696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:24] local.INFO: Packet analysis {"connection_id":57696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:37:24] local.INFO: Extracted packet for processing {"connection_id":57696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:37:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:37: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-04-28 20:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:37:24] 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-04-28 20:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":57696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:24] local.INFO: GPS data processed {"connection_id":57696,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:24] local.INFO: Acknowledgment sent {"connection_id":57696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:30] local.INFO: TCP Data received {"connection_id":56998,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:30] local.INFO: Processing buffer {"connection_id":56998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:30] local.INFO: Packet analysis {"connection_id":56998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:30] local.INFO: Extracted packet for processing {"connection_id":56998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":56998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:30] local.INFO: GPS data processed {"connection_id":56998,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:30] local.INFO: Acknowledgment sent {"connection_id":56998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:45] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:45] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:37:45] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:45] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 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-04-28 20:37:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:45] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:45] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:46] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:46] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:46] local.INFO: IMEI packet received {"connection_id":56999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":56999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:37:52] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:52] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:37:52] local.INFO: IMEI packet received {"connection_id":56999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":56999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:37:52] local.INFO: TCP Data received {"connection_id":57698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:52] local.INFO: Processing buffer {"connection_id":57698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:52] local.INFO: IMEI packet received {"connection_id":57698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":57698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:37:53] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:53] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49d6ca0012d8db70005cb50380005003628..."} 
[2026-04-28 20:37:53] local.INFO: Packet analysis {"connection_id":56999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:37:53] local.INFO: Extracted packet for processing {"connection_id":56999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49d"} 
[2026-04-28 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011398656001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235746687435401216,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777388580000,"timestamp_ms":1777388580000,"timestamp_seconds":1777388580,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49d6ca0"} 
[2026-04-28 20:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:37: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-04-28 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-28 20:37:53] 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-04-28 20:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011398656001,"66":12982,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235746687435401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011398656001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235746687435401216,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011398656001,"power":12982,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235746687435401216}} 
[2026-04-28 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":56999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:53] local.INFO: GPS data processed {"connection_id":56999,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:53] local.INFO: Acknowledgment sent {"connection_id":56999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:37:58] local.INFO: TCP Data received {"connection_id":57698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:58] local.INFO: Processing buffer {"connection_id":57698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:37:58] local.INFO: IMEI packet received {"connection_id":57698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":57698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:37:58] local.INFO: TCP Data received {"connection_id":57698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:58] local.INFO: Processing buffer {"connection_id":57698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:37:58] local.INFO: Packet analysis {"connection_id":57698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:58] local.INFO: Extracted packet for processing {"connection_id":57698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:37: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-04-28 20: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-04-28 20:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:37:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":57698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:37:58] local.INFO: GPS data processed {"connection_id":57698,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:37:58] local.INFO: Acknowledgment sent {"connection_id":57698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:13] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:13] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:13] local.INFO: IMEI packet received {"connection_id":57000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":57000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:38:18] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:18] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:38:18] local.INFO: IMEI packet received {"connection_id":57000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":57000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:38:19] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:19] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:19] local.INFO: Packet analysis {"connection_id":57000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:19] local.INFO: Extracted packet for processing {"connection_id":57000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38:19] 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-04-28 20:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:38:19] 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-04-28 20:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":57000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:19] local.INFO: GPS data processed {"connection_id":57000,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:19] local.INFO: Acknowledgment sent {"connection_id":57000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:23] local.INFO: TCP Data received {"connection_id":56999,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:23] local.INFO: Processing buffer {"connection_id":56999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:23] local.INFO: Packet analysis {"connection_id":56999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a1"} 
[2026-04-28 20:38:23] local.INFO: Extracted packet for processing {"connection_id":56999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a1"} 
[2026-04-28 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:38: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-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011476480001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388874000,"timestamp_ms":1777388874000,"timestamp_seconds":1777388874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a1e910"} 
[2026-04-28 20:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38: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-04-28 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-28 20:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011476480001,"66":12526,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011476480001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011476480001,"power":12526,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":56999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:23] local.INFO: GPS data processed {"connection_id":56999,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:23] local.INFO: Acknowledgment sent {"connection_id":56999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:23] local.INFO: TCP Data received {"connection_id":57000,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:23] local.INFO: Processing buffer {"connection_id":57000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:38:23] local.INFO: Packet analysis {"connection_id":57000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:23] local.INFO: Extracted packet for processing {"connection_id":57000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:38:23] 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-04-28 20:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":57000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:23] local.INFO: GPS data processed {"connection_id":57000,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:23] local.INFO: Acknowledgment sent {"connection_id":57000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:29] local.INFO: TCP Data received {"connection_id":57698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:29] local.INFO: Processing buffer {"connection_id":57698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:29] local.INFO: Packet analysis {"connection_id":57698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:29] local.INFO: Extracted packet for processing {"connection_id":57698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":57698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:29] local.INFO: GPS data processed {"connection_id":57698,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:29] local.INFO: Acknowledgment sent {"connection_id":57698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:52] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:52] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:52] local.INFO: IMEI packet received {"connection_id":57001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":57001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:38:52] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:52] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:52] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:38:57] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:57] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:38:57] local.INFO: IMEI packet received {"connection_id":57001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":57001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:38:58] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:58] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:38:58] local.INFO: IMEI packet received {"connection_id":56769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":56769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:38:58] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:58] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a1e910012d8db70005cb50380005003629..."} 
[2026-04-28 20:38:58] local.INFO: Packet analysis {"connection_id":57001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a1"} 
[2026-04-28 20:38:58] local.INFO: Extracted packet for processing {"connection_id":57001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a1"} 
[2026-04-28 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:38: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-04-28 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388874000,"timestamp_ms":1777388874000,"timestamp_seconds":1777388874,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a1e910"} 
[2026-04-28 20:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38: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-04-28 20: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:38: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-04-28 20: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-04-28 20:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":12526,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":12526,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":57001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:58] local.INFO: GPS data processed {"connection_id":57001,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:58] local.INFO: Acknowledgment sent {"connection_id":57001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:38:59] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:59] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:38:59] local.INFO: Packet analysis {"connection_id":56769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:59] local.INFO: Extracted packet for processing {"connection_id":56769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:38: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-04-28 20: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-04-28 20:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:38:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:38:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":56769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:38:59] local.INFO: GPS data processed {"connection_id":56769,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:38:59] local.INFO: Acknowledgment sent {"connection_id":56769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:02] local.INFO: TCP Data received {"connection_id":57001,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:02] local.INFO: Processing buffer {"connection_id":57001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:02] local.INFO: Packet analysis {"connection_id":57001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:39:02] local.INFO: Extracted packet for processing {"connection_id":57001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39: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-04-28 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:02] 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-04-28 20:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":57001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:02] local.INFO: GPS data processed {"connection_id":57001,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:02] local.INFO: Acknowledgment sent {"connection_id":57001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:06] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:06] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:06] local.INFO: IMEI packet received {"connection_id":57016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":57016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:39:08] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:08] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:08] local.INFO: IMEI packet received {"connection_id":57017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":57017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:39:13] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:13] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:39:13] local.INFO: IMEI packet received {"connection_id":57017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":57017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:39:14] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:14] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:14] local.INFO: Packet analysis {"connection_id":57017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:14] local.INFO: Extracted packet for processing {"connection_id":57017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39:14] 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-04-28 20:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":57017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:14] local.INFO: GPS data processed {"connection_id":57017,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:14] local.INFO: Acknowledgment sent {"connection_id":57017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:30] local.INFO: TCP Data received {"connection_id":56769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:39:30] local.INFO: Processing buffer {"connection_id":56769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49eacf0012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:39:30] local.INFO: Packet analysis {"connection_id":56769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:30] local.INFO: Extracted packet for processing {"connection_id":56769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011420928001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388662000,"timestamp_ms":1777388662000,"timestamp_seconds":1777388662,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49eacf0"} 
[2026-04-28 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011420928001,"66":25702,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011420928001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011420928001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":56769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:30] local.INFO: GPS data processed {"connection_id":56769,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:30] local.INFO: Acknowledgment sent {"connection_id":56769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:34] local.INFO: TCP Data received {"connection_id":57002,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:34] local.INFO: Processing buffer {"connection_id":57002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:39:34] local.INFO: IMEI packet received {"connection_id":57002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":57002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:39:45] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:45] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd49ebc90012d196540071ff0280042013227..."} 
[2026-04-28 20:39:45] local.INFO: Packet analysis {"connection_id":57017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:45] local.INFO: Extracted packet for processing {"connection_id":57017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd49e"} 
[2026-04-28 20:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011421440001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388666000,"timestamp_ms":1777388666000,"timestamp_seconds":1777388666,"priority":1,"record_length":96,"hex_timestamp":"0000019dd49ebc90"} 
[2026-04-28 20:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39:45] 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-04-28 20:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011421440001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011421440001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011421440001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":57017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:45] local.INFO: GPS data processed {"connection_id":57017,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:45] local.INFO: Acknowledgment sent {"connection_id":57017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:47] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:47] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:47] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:39:51] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:51] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:39:51] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:39:52] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:52] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:39:52] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:39:52] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:52] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:52] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:39:53] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:53] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:53] local.INFO: IMEI packet received {"connection_id":57019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":57019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:39:56] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:56] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:39:56] local.INFO: IMEI packet received {"connection_id":57019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":57019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:39:56] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:39:56] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:39:56] local.INFO: Packet analysis {"connection_id":57019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:39:56] local.INFO: Extracted packet for processing {"connection_id":57019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:39: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-04-28 20: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":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":57019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":57019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":57019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:39: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-04-28 20:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:39:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:39:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":57019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:39:56] local.INFO: GPS data processed {"connection_id":57019,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:39:56] local.INFO: Acknowledgment sent {"connection_id":57019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:05] local.INFO: TCP Data received {"connection_id":56770,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:05] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:05] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:40:08] local.INFO: TCP Data received {"connection_id":56770,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:08] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:08] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:40:13] local.INFO: TCP Data received {"connection_id":56770,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:13] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:40:13] local.INFO: IMEI packet received {"connection_id":56770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":56770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:40:14] local.INFO: TCP Data received {"connection_id":56770,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:14] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:14] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:14] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:40:14] 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-04-28 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:14] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:14] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:23] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:23] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:23] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:40:23] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:40:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:40: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-04-28 20:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:23] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:23] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:28] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:28] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:28] local.INFO: Packet analysis {"connection_id":57019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:28] local.INFO: Extracted packet for processing {"connection_id":57019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:40: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-04-28 20: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-04-28 20:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:28] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:40:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":57019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:28] local.INFO: GPS data processed {"connection_id":57019,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:28] local.INFO: Acknowledgment sent {"connection_id":57019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:45] local.INFO: TCP Data received {"connection_id":56770,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:45] local.INFO: Processing buffer {"connection_id":56770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:40:45] local.INFO: Packet analysis {"connection_id":56770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:45] local.INFO: Extracted packet for processing {"connection_id":56770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 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-04-28 20:40:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":56770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:45] local.INFO: GPS data processed {"connection_id":56770,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:45] local.INFO: Acknowledgment sent {"connection_id":56770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:46] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:46] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:46] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:40:51] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:51] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:40:51] local.INFO: IMEI packet received {"connection_id":57003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":57003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:40:52] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:52] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:40:52] local.INFO: Packet analysis {"connection_id":57003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:40:52] local.INFO: Extracted packet for processing {"connection_id":57003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:40: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-04-28 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":57003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:52] local.INFO: GPS data processed {"connection_id":57003,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:52] local.INFO: Acknowledgment sent {"connection_id":57003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:40:52] local.INFO: TCP Data received {"connection_id":57699,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:52] local.INFO: Processing buffer {"connection_id":57699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:52] local.INFO: IMEI packet received {"connection_id":57699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":57699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:40:58] local.INFO: TCP Data received {"connection_id":57699,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:58] local.INFO: Processing buffer {"connection_id":57699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:40:58] local.INFO: IMEI packet received {"connection_id":57699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":57699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:40:58] local.INFO: TCP Data received {"connection_id":57699,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:58] local.INFO: Processing buffer {"connection_id":57699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:40:58] local.INFO: Packet analysis {"connection_id":57699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:58] local.INFO: Extracted packet for processing {"connection_id":57699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:40: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-04-28 20: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":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:40: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-04-28 20: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-04-28 20:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:40:58] 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-04-28 20:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:40:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":57699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:40:58] local.INFO: GPS data processed {"connection_id":57699,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:40:58] local.INFO: Acknowledgment sent {"connection_id":57699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:08] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:08] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:08] local.INFO: IMEI packet received {"connection_id":57004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":57004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:41:13] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:13] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:41:13] local.INFO: IMEI packet received {"connection_id":57004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":57004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:41:14] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:14] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:14] local.INFO: Packet analysis {"connection_id":57004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:14] local.INFO: Extracted packet for processing {"connection_id":57004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:41:14] 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-04-28 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:41:14] 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-04-28 20:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":57004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:14] local.INFO: GPS data processed {"connection_id":57004,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:14] local.INFO: Acknowledgment sent {"connection_id":57004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:23] local.INFO: TCP Data received {"connection_id":57003,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:23] local.INFO: Processing buffer {"connection_id":57003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:23] local.INFO: Packet analysis {"connection_id":57003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:41:23] local.INFO: Extracted packet for processing {"connection_id":57003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":57003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:23] local.INFO: GPS data processed {"connection_id":57003,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:23] local.INFO: Acknowledgment sent {"connection_id":57003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:30] local.INFO: TCP Data received {"connection_id":57699,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:30] local.INFO: Processing buffer {"connection_id":57699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:30] local.INFO: Packet analysis {"connection_id":57699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:30] local.INFO: Extracted packet for processing {"connection_id":57699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":57699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:30] local.INFO: GPS data processed {"connection_id":57699,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:30] local.INFO: Acknowledgment sent {"connection_id":57699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:45] local.INFO: TCP Data received {"connection_id":57004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:45] local.INFO: Processing buffer {"connection_id":57004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:41:45] local.INFO: Packet analysis {"connection_id":57004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:45] local.INFO: Extracted packet for processing {"connection_id":57004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:41:45] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":57004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:45] local.INFO: GPS data processed {"connection_id":57004,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:45] local.INFO: Acknowledgment sent {"connection_id":57004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:47] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:47] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:47] local.INFO: IMEI packet received {"connection_id":57005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":57005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:41:51] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:51] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:41:51] local.INFO: IMEI packet received {"connection_id":57005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":57005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:41:52] local.INFO: TCP Data received {"connection_id":56771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:52] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:52] local.INFO: IMEI packet received {"connection_id":56771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":56771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:41:52] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:52] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:41:52] local.INFO: Packet analysis {"connection_id":57005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:41:52] local.INFO: Extracted packet for processing {"connection_id":57005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:41:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":57005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:52] local.INFO: GPS data processed {"connection_id":57005,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:52] local.INFO: Acknowledgment sent {"connection_id":57005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:41:58] local.INFO: TCP Data received {"connection_id":56771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:58] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:41:58] local.INFO: IMEI packet received {"connection_id":56771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":56771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:41:58] local.INFO: TCP Data received {"connection_id":56771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:58] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:41:58] local.INFO: Packet analysis {"connection_id":56771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:58] local.INFO: Extracted packet for processing {"connection_id":56771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:41: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-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:41: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-04-28 20: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-04-28 20:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:41: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-04-28 20:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:41:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:41:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":56771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:41:58] local.INFO: GPS data processed {"connection_id":56771,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:41:58] local.INFO: Acknowledgment sent {"connection_id":56771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:08] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:08] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:08] local.INFO: IMEI packet received {"connection_id":57006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":57006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:42:13] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:13] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:42:13] local.INFO: IMEI packet received {"connection_id":57006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":57006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:42:14] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:14] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:14] local.INFO: Packet analysis {"connection_id":57006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:14] local.INFO: Extracted packet for processing {"connection_id":57006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:42:14] 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-04-28 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":57006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:14] local.INFO: GPS data processed {"connection_id":57006,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:14] local.INFO: Acknowledgment sent {"connection_id":57006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:25] local.INFO: TCP Data received {"connection_id":57005,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:25] local.INFO: Processing buffer {"connection_id":57005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:25] local.INFO: Packet analysis {"connection_id":57005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:42:25] local.INFO: Extracted packet for processing {"connection_id":57005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:42:25] 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-04-28 20:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":57005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:25] local.INFO: GPS data processed {"connection_id":57005,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:25] local.INFO: Acknowledgment sent {"connection_id":57005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:29] local.INFO: TCP Data received {"connection_id":56771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:29] local.INFO: Processing buffer {"connection_id":56771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:29] local.INFO: Packet analysis {"connection_id":56771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:29] local.INFO: Extracted packet for processing {"connection_id":56771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:42:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":56771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:29] local.INFO: GPS data processed {"connection_id":56771,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:29] local.INFO: Acknowledgment sent {"connection_id":56771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:45] local.INFO: TCP Data received {"connection_id":57006,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:45] local.INFO: Processing buffer {"connection_id":57006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:42:45] local.INFO: Packet analysis {"connection_id":57006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:45] local.INFO: Extracted packet for processing {"connection_id":57006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 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-04-28 20:42:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":57006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:45] local.INFO: GPS data processed {"connection_id":57006,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:45] local.INFO: Acknowledgment sent {"connection_id":57006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:46] local.INFO: TCP Data received {"connection_id":56772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:46] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:46] local.INFO: IMEI packet received {"connection_id":56772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":56772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:42:52] local.INFO: TCP Data received {"connection_id":56773,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:52] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:52] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:42:52] local.INFO: TCP Data received {"connection_id":56772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:52] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:42:52] local.INFO: IMEI packet received {"connection_id":56772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":56772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:42:53] local.INFO: TCP Data received {"connection_id":56772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:53] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a20468012d8db70005cb50380005003629..."} 
[2026-04-28 20:42:53] local.INFO: Packet analysis {"connection_id":56772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:42:53] local.INFO: Extracted packet for processing {"connection_id":56772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a2"} 
[2026-04-28 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011551744001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777388881000,"timestamp_ms":1777388881000,"timestamp_seconds":1777388881,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a20468"} 
[2026-04-28 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:42: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-04-28 20: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-28 20:42:53] 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-04-28 20:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011551744001,"66":2438,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011551744001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011551744001,"power":2438,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":56772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:53] local.INFO: GPS data processed {"connection_id":56772,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:53] local.INFO: Acknowledgment sent {"connection_id":56772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:42:58] local.INFO: TCP Data received {"connection_id":56773,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:58] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:42:58] local.INFO: IMEI packet received {"connection_id":56773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":56773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:42:58] local.INFO: TCP Data received {"connection_id":56773,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:58] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:42:58] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:58] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:42: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-04-28 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:42: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-04-28 20: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-04-28 20:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:42:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:42:58] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:42:58] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:13] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:13] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:13] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:43:18] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:18] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:43:18] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:43:19] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:19] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:19] local.INFO: Packet analysis {"connection_id":57022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:19] local.INFO: Extracted packet for processing {"connection_id":57022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:43:19] 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-04-28 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:43:19] 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-04-28 20:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:43:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":57022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:43:19] local.INFO: GPS data processed {"connection_id":57022,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:43:19] local.INFO: Acknowledgment sent {"connection_id":57022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:24] local.INFO: TCP Data received {"connection_id":56772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:24] local.INFO: Processing buffer {"connection_id":56772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:24] local.INFO: Packet analysis {"connection_id":56772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:43:24] local.INFO: Extracted packet for processing {"connection_id":56772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:43: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-04-28 20:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:43:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":56772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:43:24] local.INFO: GPS data processed {"connection_id":56772,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:43:24] local.INFO: Acknowledgment sent {"connection_id":56772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:30] local.INFO: TCP Data received {"connection_id":56773,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:43:30] local.INFO: Processing buffer {"connection_id":56773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:43:30] local.INFO: Packet analysis {"connection_id":56773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:30] local.INFO: Extracted packet for processing {"connection_id":56773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:43:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":56773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:43:30] local.INFO: GPS data processed {"connection_id":56773,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:43:30] local.INFO: Acknowledgment sent {"connection_id":56773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:51] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:51] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:43:51] local.INFO: Packet analysis {"connection_id":57022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:51] local.INFO: Extracted packet for processing {"connection_id":57022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:43:51] 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-04-28 20:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:43:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":57022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:43:51] local.INFO: GPS data processed {"connection_id":57022,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:43:51] local.INFO: Acknowledgment sent {"connection_id":57022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:51] local.INFO: TCP Data received {"connection_id":57702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:51] local.INFO: Processing buffer {"connection_id":57702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:51] local.INFO: IMEI packet received {"connection_id":57702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":57702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:43:52] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:52] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:52] local.INFO: IMEI packet received {"connection_id":56774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":56774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:43:56] local.INFO: TCP Data received {"connection_id":57702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:56] local.INFO: Processing buffer {"connection_id":57702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:43:56] local.INFO: IMEI packet received {"connection_id":57702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":57702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:43:57] local.INFO: TCP Data received {"connection_id":57702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:57] local.INFO: Processing buffer {"connection_id":57702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:43:57] local.INFO: Packet analysis {"connection_id":57702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:43:57] local.INFO: Extracted packet for processing {"connection_id":57702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:43:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:43:57] 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-04-28 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:43:57] 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-04-28 20: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-04-28 20:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:43:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":57702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:43:57] local.INFO: GPS data processed {"connection_id":57702,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:43:57] local.INFO: Acknowledgment sent {"connection_id":57702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:43:58] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:58] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:43:58] local.INFO: IMEI packet received {"connection_id":56774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":56774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:44:00] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:00] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:00] local.INFO: Packet analysis {"connection_id":56774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:00] local.INFO: Extracted packet for processing {"connection_id":56774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":56774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":56774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":56774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":56774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:00] local.INFO: GPS data processed {"connection_id":56774,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:00] local.INFO: Acknowledgment sent {"connection_id":56774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:02] local.INFO: TCP Data received {"connection_id":57702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:02] local.INFO: Processing buffer {"connection_id":57702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:02] local.INFO: Packet analysis {"connection_id":57702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:44:02] local.INFO: Extracted packet for processing {"connection_id":57702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:02] 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-04-28 20:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:44:02] 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-04-28 20:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":57702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:02] local.INFO: GPS data processed {"connection_id":57702,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:02] local.INFO: Acknowledgment sent {"connection_id":57702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:08] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:08] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:08] local.INFO: IMEI packet received {"connection_id":57023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":57023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:44:13] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:13] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:44:13] local.INFO: IMEI packet received {"connection_id":57023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":57023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:44:14] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:14] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:14] local.INFO: Packet analysis {"connection_id":57023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:14] local.INFO: Extracted packet for processing {"connection_id":57023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:14] 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-04-28 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":57023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:14] local.INFO: GPS data processed {"connection_id":57023,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:14] local.INFO: Acknowledgment sent {"connection_id":57023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:32] local.INFO: TCP Data received {"connection_id":56774,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:32] local.INFO: Processing buffer {"connection_id":56774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a32d48012d7b838005f5ea580011009e2b..."} 
[2026-04-28 20:44:32] local.INFO: Packet analysis {"connection_id":56774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:32] local.INFO: Extracted packet for processing {"connection_id":56774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011497472001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777388957000,"timestamp_ms":1777388957000,"timestamp_seconds":1777388957,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a32d48"} 
[2026-04-28 20:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-28 20:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":56774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":56774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":56774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:44:32] 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-04-28 20:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011497472001,"66":25625,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011497472001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:44:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011497472001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":56774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:32] local.INFO: GPS data processed {"connection_id":56774,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:32] local.INFO: Acknowledgment sent {"connection_id":56774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:45] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:45] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a35458012d196540071ff0280042013227..."} 
[2026-04-28 20:44:45] local.INFO: Packet analysis {"connection_id":57023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:45] local.INFO: Extracted packet for processing {"connection_id":57023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a3"} 
[2026-04-28 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011498496001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777388967000,"timestamp_ms":1777388967000,"timestamp_seconds":1777388967,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a35458"} 
[2026-04-28 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:45] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011498496001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011498496001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011498496001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":57023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:45] local.INFO: GPS data processed {"connection_id":57023,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:45] local.INFO: Acknowledgment sent {"connection_id":57023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:46] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:46] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:46] local.INFO: IMEI packet received {"connection_id":57024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":57024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:44:49] local.INFO: TCP Data received {"connection_id":57007,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:44:49] local.INFO: Processing buffer {"connection_id":57007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:44:49] local.INFO: IMEI packet received {"connection_id":57007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":57007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:44:51] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:51] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:44:51] local.INFO: IMEI packet received {"connection_id":57024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":57024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:44:52] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:52] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:44:52] local.INFO: Packet analysis {"connection_id":57024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:44:52] local.INFO: Extracted packet for processing {"connection_id":57024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:44:52] 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-04-28 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:44: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-04-28 20: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-04-28 20:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:44:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":57024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:44:52] local.INFO: GPS data processed {"connection_id":57024,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:44:52] local.INFO: Acknowledgment sent {"connection_id":57024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:44:57] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:44:57] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:44:57] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:45:03] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:03] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:03] local.INFO: IMEI packet received {"connection_id":57008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":57008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:45:04] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:04] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:04] local.INFO: Packet analysis {"connection_id":57008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:04] local.INFO: Extracted packet for processing {"connection_id":57008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:45: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-04-28 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:04] 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-04-28 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:45:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":57008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:04] local.INFO: GPS data processed {"connection_id":57008,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:04] local.INFO: Acknowledgment sent {"connection_id":57008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:08] local.INFO: TCP Data received {"connection_id":57703,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:08] local.INFO: Processing buffer {"connection_id":57703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:08] local.INFO: IMEI packet received {"connection_id":57703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":57703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:45:13] local.INFO: TCP Data received {"connection_id":57703,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:13] local.INFO: Processing buffer {"connection_id":57703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:45:13] local.INFO: IMEI packet received {"connection_id":57703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":57703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:45:14] local.INFO: TCP Data received {"connection_id":57703,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:14] local.INFO: Processing buffer {"connection_id":57703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:14] local.INFO: Packet analysis {"connection_id":57703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:14] local.INFO: Extracted packet for processing {"connection_id":57703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011575552001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389268000,"timestamp_ms":1777389268000,"timestamp_seconds":1777389268,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7ec20"} 
[2026-04-28 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:14] 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-04-28 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:45:14] 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-04-28 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011575552001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011575552001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011575552001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":57703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:14] local.INFO: GPS data processed {"connection_id":57703,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:14] local.INFO: Acknowledgment sent {"connection_id":57703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:23] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:23] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:23] local.INFO: Packet analysis {"connection_id":57024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:45:23] local.INFO: Extracted packet for processing {"connection_id":57024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:45:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:45:23] 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-04-28 20:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":57024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:23] local.INFO: GPS data processed {"connection_id":57024,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:23] local.INFO: Acknowledgment sent {"connection_id":57024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:34] local.INFO: TCP Data received {"connection_id":57704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:45:34] local.INFO: Processing buffer {"connection_id":57704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:45:34] local.INFO: IMEI packet received {"connection_id":57704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":57704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:45:36] local.INFO: TCP Data received {"connection_id":57008,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:36] local.INFO: Processing buffer {"connection_id":57008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:36] local.INFO: Packet analysis {"connection_id":57008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:36] local.INFO: Extracted packet for processing {"connection_id":57008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:36] 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-04-28 20:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:45:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":57008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:36] local.INFO: GPS data processed {"connection_id":57008,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:36] local.INFO: Acknowledgment sent {"connection_id":57008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:45] local.INFO: TCP Data received {"connection_id":57703,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:45] local.INFO: Processing buffer {"connection_id":57703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:45:45] local.INFO: Packet analysis {"connection_id":57703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:45] local.INFO: Extracted packet for processing {"connection_id":57703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011575552001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389268000,"timestamp_ms":1777389268000,"timestamp_seconds":1777389268,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7ec20"} 
[2026-04-28 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-04-28 20:45:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:45:45] 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-04-28 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011575552001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011575552001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011575552001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":57703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:45] local.INFO: GPS data processed {"connection_id":57703,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:45] local.INFO: Acknowledgment sent {"connection_id":57703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:46] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:46] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:46] local.INFO: IMEI packet received {"connection_id":56775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":56775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:45:52] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:52] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:45:52] local.INFO: IMEI packet received {"connection_id":56775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":56775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:45:53] local.INFO: TCP Data received {"connection_id":56776,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:53] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:53] local.INFO: IMEI packet received {"connection_id":56776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":56776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:45:53] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:53] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:45:53] local.INFO: Packet analysis {"connection_id":56775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:45:53] local.INFO: Extracted packet for processing {"connection_id":56775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:53] 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-04-28 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:45:53] 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-04-28 20: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-04-28 20:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":56775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:53] local.INFO: GPS data processed {"connection_id":56775,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:53] local.INFO: Acknowledgment sent {"connection_id":56775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:45:58] local.INFO: TCP Data received {"connection_id":56776,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:58] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:45:58] local.INFO: IMEI packet received {"connection_id":56776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":56776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:45:58] local.INFO: TCP Data received {"connection_id":56776,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:58] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:45:58] local.INFO: Packet analysis {"connection_id":56776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:58] local.INFO: Extracted packet for processing {"connection_id":56776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:45: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-04-28 20: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-04-28 20:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:45:58] 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-04-28 20:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:45:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:45:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":56776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:45:58] local.INFO: GPS data processed {"connection_id":56776,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:45:58] local.INFO: Acknowledgment sent {"connection_id":56776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:08] local.INFO: TCP Data received {"connection_id":57009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:08] local.INFO: Processing buffer {"connection_id":57009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:08] local.INFO: IMEI packet received {"connection_id":57009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":57009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:46:13] local.INFO: TCP Data received {"connection_id":57009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:13] local.INFO: Processing buffer {"connection_id":57009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:46:13] local.INFO: IMEI packet received {"connection_id":57009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":57009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:46:14] local.INFO: TCP Data received {"connection_id":57009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:46:14] local.INFO: Processing buffer {"connection_id":57009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7ec20012d196540071ff0280042013227..."} 
[2026-04-28 20:46:14] local.INFO: Packet analysis {"connection_id":57009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:14] local.INFO: Extracted packet for processing {"connection_id":57009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533608,"longitude_deg":75.663904,"latitude_deg":11.9533608,"altitude":66,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-04-28 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011575552001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389268000,"timestamp_ms":1777389268000,"timestamp_seconds":1777389268,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7ec20"} 
[2026-04-28 20:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:46:14] 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-04-28 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:46:14] 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-04-28 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011575552001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011575552001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011575552001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":57009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:14] local.INFO: GPS data processed {"connection_id":57009,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:14] local.INFO: Acknowledgment sent {"connection_id":57009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:24] local.INFO: TCP Data received {"connection_id":56775,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:24] local.INFO: Processing buffer {"connection_id":56775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:24] local.INFO: Packet analysis {"connection_id":56775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:46:24] local.INFO: Extracted packet for processing {"connection_id":56775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:46: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-04-28 20:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":56775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:24] local.INFO: GPS data processed {"connection_id":56775,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:24] local.INFO: Acknowledgment sent {"connection_id":56775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:29] local.INFO: TCP Data received {"connection_id":56776,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:29] local.INFO: Processing buffer {"connection_id":56776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:29] local.INFO: Packet analysis {"connection_id":56776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:29] local.INFO: Extracted packet for processing {"connection_id":56776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:46: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-04-28 20:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:46:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":56776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:29] local.INFO: GPS data processed {"connection_id":56776,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:29] local.INFO: Acknowledgment sent {"connection_id":56776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:45] local.INFO: TCP Data received {"connection_id":57009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:46:45] local.INFO: Processing buffer {"connection_id":57009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:46:45] local.INFO: Packet analysis {"connection_id":57009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:46:45] local.INFO: Extracted packet for processing {"connection_id":57009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 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-04-28 20:46:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:46:45] 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-04-28 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":57009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:45] local.INFO: GPS data processed {"connection_id":57009,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:45] local.INFO: Acknowledgment sent {"connection_id":57009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:46] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:46] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:46] local.INFO: IMEI packet received {"connection_id":57011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":57011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:46:51] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:51] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:46:51] local.INFO: IMEI packet received {"connection_id":57011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":57011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:46:52] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:52] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:46:52] local.INFO: Packet analysis {"connection_id":57011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:46:52] local.INFO: Extracted packet for processing {"connection_id":57011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:46:52] 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-04-28 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:46: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-04-28 20: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-04-28 20:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:46:52] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":57011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:52] local.INFO: GPS data processed {"connection_id":57011,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:52] local.INFO: Acknowledgment sent {"connection_id":57011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:52] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:52] local.INFO: IMEI packet received {"connection_id":57025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":57025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:46:58] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:58] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:46:58] local.INFO: IMEI packet received {"connection_id":57025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":57025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:46:58] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:58] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:46:58] local.INFO: Packet analysis {"connection_id":57025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:58] local.INFO: Extracted packet for processing {"connection_id":57025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:46: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-04-28 20: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-04-28 20:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:46:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":57025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:46:58] local.INFO: GPS data processed {"connection_id":57025,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:46:58] local.INFO: Acknowledgment sent {"connection_id":57025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:08] local.INFO: TCP Data received {"connection_id":57026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:08] local.INFO: Processing buffer {"connection_id":57026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:08] local.INFO: IMEI packet received {"connection_id":57026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":57026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:47:13] local.INFO: TCP Data received {"connection_id":57026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:13] local.INFO: Processing buffer {"connection_id":57026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:47:13] local.INFO: IMEI packet received {"connection_id":57026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":57026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:47:14] local.INFO: TCP Data received {"connection_id":57026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:14] local.INFO: Processing buffer {"connection_id":57026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:14] local.INFO: Packet analysis {"connection_id":57026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:47:14] local.INFO: Extracted packet for processing {"connection_id":57026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:14] 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-04-28 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:47:14] 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-04-28 20:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":57026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:14] local.INFO: GPS data processed {"connection_id":57026,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:14] local.INFO: Acknowledgment sent {"connection_id":57026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:23] local.INFO: TCP Data received {"connection_id":57011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:23] local.INFO: Processing buffer {"connection_id":57011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:23] local.INFO: Packet analysis {"connection_id":57011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:47:23] local.INFO: Extracted packet for processing {"connection_id":57011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:47:23] 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-04-28 20: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-04-28 20:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":57011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:23] local.INFO: GPS data processed {"connection_id":57011,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:23] local.INFO: Acknowledgment sent {"connection_id":57011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:29] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:29] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:29] local.INFO: Packet analysis {"connection_id":57025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:47:29] local.INFO: Extracted packet for processing {"connection_id":57025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:47:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":57025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:29] local.INFO: GPS data processed {"connection_id":57025,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:29] local.INFO: Acknowledgment sent {"connection_id":57025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:46] local.INFO: TCP Data received {"connection_id":57026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:46] local.INFO: Processing buffer {"connection_id":57026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:47:46] local.INFO: Packet analysis {"connection_id":57026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:47:46] local.INFO: Extracted packet for processing {"connection_id":57026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":57026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:46] local.INFO: GPS data processed {"connection_id":57026,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:46] local.INFO: Acknowledgment sent {"connection_id":57026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:46] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:46] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:46] local.INFO: IMEI packet received {"connection_id":57027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":57027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:47:51] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:51] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:47:51] local.INFO: IMEI packet received {"connection_id":57027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":57027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:47:52] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:52] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a69c30012d8db70005cb5038000500362b..."} 
[2026-04-28 20:47:52] local.INFO: Packet analysis {"connection_id":57027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:47:52] local.INFO: Extracted packet for processing {"connection_id":57027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a6"} 
[2026-04-28 20:47:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011553536001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389182000,"timestamp_ms":1777389182000,"timestamp_seconds":1777389182,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a69c30"} 
[2026-04-28 20:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:52] 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-04-28 20:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-28 20:47: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-04-28 20:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011553536001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011553536001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011553536001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:47:52] local.INFO: TCP Data received {"connection_id":57706,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:52] local.INFO: Processing buffer {"connection_id":57706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:52] local.INFO: IMEI packet received {"connection_id":57706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":57706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":57027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:52] local.INFO: GPS data processed {"connection_id":57027,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:52] local.INFO: Acknowledgment sent {"connection_id":57027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:47:58] local.INFO: TCP Data received {"connection_id":57706,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:58] local.INFO: Processing buffer {"connection_id":57706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:47:58] local.INFO: IMEI packet received {"connection_id":57706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":57706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:47:58] local.INFO: TCP Data received {"connection_id":57706,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:58] local.INFO: Processing buffer {"connection_id":57706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:47:58] local.INFO: Packet analysis {"connection_id":57706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:47:58] local.INFO: Extracted packet for processing {"connection_id":57706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:47: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-04-28 20:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:47:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":57706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:47:58] local.INFO: GPS data processed {"connection_id":57706,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:47:58] local.INFO: Acknowledgment sent {"connection_id":57706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:08] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:08] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:08] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:48:13] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:13] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:48:13] local.INFO: IMEI packet received {"connection_id":57012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":57012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:48:14] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:14] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:14] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:48:14] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:48:14] 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-04-28 20:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:48:14] 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-04-28 20:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:14] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:14] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:23] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:23] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:23] local.INFO: Packet analysis {"connection_id":57027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:48:23] local.INFO: Extracted packet for processing {"connection_id":57027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:48:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 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-04-28 20:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:48: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-04-28 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-04-28 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-04-28 20:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:48:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":57027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:23] local.INFO: GPS data processed {"connection_id":57027,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:23] local.INFO: Acknowledgment sent {"connection_id":57027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:30] local.INFO: TCP Data received {"connection_id":57706,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:30] local.INFO: Processing buffer {"connection_id":57706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:30] local.INFO: Packet analysis {"connection_id":57706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:48:30] local.INFO: Extracted packet for processing {"connection_id":57706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:48:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":57706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:30] local.INFO: GPS data processed {"connection_id":57706,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:30] local.INFO: Acknowledgment sent {"connection_id":57706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:45] local.INFO: TCP Data received {"connection_id":57012,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:45] local.INFO: Processing buffer {"connection_id":57012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:48:45] local.INFO: Packet analysis {"connection_id":57012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:48:45] local.INFO: Extracted packet for processing {"connection_id":57012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:48:45] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:48:45] 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-04-28 20:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":57012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:45] local.INFO: GPS data processed {"connection_id":57012,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:45] local.INFO: Acknowledgment sent {"connection_id":57012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:51] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:51] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:51] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:48:52] local.INFO: TCP Data received {"connection_id":57014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:52] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:52] local.INFO: IMEI packet received {"connection_id":57014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":57014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:48:56] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:56] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:48:56] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:48:57] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:57] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:48:57] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:48:57] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:48:57] 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-04-28 20: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-04-28 20:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:57] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:57] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:48:58] local.INFO: TCP Data received {"connection_id":57014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:58] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:48:58] local.INFO: IMEI packet received {"connection_id":57014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":57014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:48:58] local.INFO: TCP Data received {"connection_id":57014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:58] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:48:58] local.INFO: Packet analysis {"connection_id":57014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:48:58] local.INFO: Extracted packet for processing {"connection_id":57014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:48: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-04-28 20: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-04-28 20:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:48:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":57014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:48:58] local.INFO: GPS data processed {"connection_id":57014,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:48:58] local.INFO: Acknowledgment sent {"connection_id":57014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:02] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:02] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:02] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:49:02] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:49:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:49:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:49:02] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:49:02] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:08] local.INFO: TCP Data received {"connection_id":57707,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:08] local.INFO: Processing buffer {"connection_id":57707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:08] local.INFO: IMEI packet received {"connection_id":57707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":57707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:49:13] local.INFO: TCP Data received {"connection_id":57707,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:13] local.INFO: Processing buffer {"connection_id":57707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:49:13] local.INFO: IMEI packet received {"connection_id":57707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":57707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:49:14] local.INFO: TCP Data received {"connection_id":57707,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:14] local.INFO: Processing buffer {"connection_id":57707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:14] local.INFO: Packet analysis {"connection_id":57707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:49:14] local.INFO: Extracted packet for processing {"connection_id":57707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:49:14] 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-04-28 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:49:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":57707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:49:14] local.INFO: GPS data processed {"connection_id":57707,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:49:14] local.INFO: Acknowledgment sent {"connection_id":57707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:29] local.INFO: TCP Data received {"connection_id":57014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:49:29] local.INFO: Processing buffer {"connection_id":57014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a7c8f8012d7b838005f5ea580011009e2c..."} 
[2026-04-28 20:49:29] local.INFO: Packet analysis {"connection_id":57014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:49:29] local.INFO: Extracted packet for processing {"connection_id":57014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a7"} 
[2026-04-28 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":17,"angle":158,"satellites":44,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011572992001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777389259000,"timestamp_ms":1777389259000,"timestamp_seconds":1777389259,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a7c8f8"} 
[2026-04-28 20:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 20:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011572992001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011572992001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:49:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:49:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011572992001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":57014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:49:29] local.INFO: GPS data processed {"connection_id":57014,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:49:29] local.INFO: Acknowledgment sent {"connection_id":57014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:45] local.INFO: TCP Data received {"connection_id":57707,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:45] local.INFO: Processing buffer {"connection_id":57707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:49:45] local.INFO: Packet analysis {"connection_id":57707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:49:45] local.INFO: Extracted packet for processing {"connection_id":57707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 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-04-28 20:49:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:49:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":57707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:49:45] local.INFO: GPS data processed {"connection_id":57707,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:49:45] local.INFO: Acknowledgment sent {"connection_id":57707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:46] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:46] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:46] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:49:51] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:51] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:49:51] local.INFO: IMEI packet received {"connection_id":56778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":56778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:49:52] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:52] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:49:52] local.INFO: Packet analysis {"connection_id":56778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:49:52] local.INFO: Extracted packet for processing {"connection_id":56778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:49:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:49: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-04-28 20: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-04-28 20:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:49:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":56778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:49:52] local.INFO: GPS data processed {"connection_id":56778,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:49:52] local.INFO: Acknowledgment sent {"connection_id":56778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:49:58] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:49:58] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:49:58] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:50:03] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:03] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:03] local.INFO: IMEI packet received {"connection_id":56779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":56779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:50:03] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:03] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:03] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:03] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:03] 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-04-28 20:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:03] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:03] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:08] local.INFO: TCP Data received {"connection_id":56779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:08] local.INFO: Processing buffer {"connection_id":56779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:08] local.INFO: Packet analysis {"connection_id":56779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:08] local.INFO: Extracted packet for processing {"connection_id":56779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:08] 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-04-28 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":56779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:08] local.INFO: GPS data processed {"connection_id":56779,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:08] local.INFO: Acknowledgment sent {"connection_id":56779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:13] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:13] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:13] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:50:18] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:18] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:50:18] local.INFO: IMEI packet received {"connection_id":57015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":57015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:50:19] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:19] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:19] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:50:19] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50: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-04-28 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:19] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:19] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:23] local.INFO: TCP Data received {"connection_id":57015,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:23] local.INFO: Processing buffer {"connection_id":57015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:50:23] local.INFO: Packet analysis {"connection_id":57015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:50:23] local.INFO: Extracted packet for processing {"connection_id":57015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":57015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:23] local.INFO: GPS data processed {"connection_id":57015,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:23] local.INFO: Acknowledgment sent {"connection_id":57015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:23] local.INFO: TCP Data received {"connection_id":56778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:23] local.INFO: Processing buffer {"connection_id":56778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:23] local.INFO: Packet analysis {"connection_id":56778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:50:23] local.INFO: Extracted packet for processing {"connection_id":56778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:50: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-04-28 20:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":56778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:24] local.INFO: GPS data processed {"connection_id":56778,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:24] local.INFO: Acknowledgment sent {"connection_id":56778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:46] local.INFO: TCP Data received {"connection_id":57709,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:46] local.INFO: Processing buffer {"connection_id":57709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:46] local.INFO: IMEI packet received {"connection_id":57709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":57709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:50:51] local.INFO: TCP Data received {"connection_id":57709,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:51] local.INFO: Processing buffer {"connection_id":57709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:50:51] local.INFO: IMEI packet received {"connection_id":57709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":57709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:50:52] local.INFO: TCP Data received {"connection_id":57709,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:52] local.INFO: Processing buffer {"connection_id":57709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:50:52] local.INFO: Packet analysis {"connection_id":57709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:50:52] local.INFO: Extracted packet for processing {"connection_id":57709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:50:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:50: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-04-28 20: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-04-28 20:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":57709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:52] local.INFO: GPS data processed {"connection_id":57709,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:52] local.INFO: Acknowledgment sent {"connection_id":57709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:50:53] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:53] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:53] local.INFO: IMEI packet received {"connection_id":57016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":57016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:50:58] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:58] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:50:58] local.INFO: IMEI packet received {"connection_id":57016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":57016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:50:58] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:58] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:50:58] local.INFO: Packet analysis {"connection_id":57016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:58] local.INFO: Extracted packet for processing {"connection_id":57016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:50: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-04-28 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:50:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":57016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:50:59] local.INFO: GPS data processed {"connection_id":57016,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:50:59] local.INFO: Acknowledgment sent {"connection_id":57016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:04] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:04] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:04] local.INFO: IMEI packet received {"connection_id":57029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":57029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:51:08] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:08] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:08] local.INFO: IMEI packet received {"connection_id":57017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":57017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:51:13] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:13] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:51:13] local.INFO: IMEI packet received {"connection_id":57017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":57017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:51:14] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:51:14] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4a91118012d196680071ff0c80042014a28..."} 
[2026-04-28 20:51:14] local.INFO: Packet analysis {"connection_id":57017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:51:14] local.INFO: Extracted packet for processing {"connection_id":57017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4a9"} 
[2026-04-28 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533768,"longitude_deg":75.663936,"latitude_deg":11.9533768,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-04-28 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011652608001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940755968,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389343000,"timestamp_ms":1777389343000,"timestamp_seconds":1777389343,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4a91118"} 
[2026-04-28 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51:14] 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-04-28 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:51:14] 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-04-28 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011652608001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829939222940755968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011652608001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940755968,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011652608001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940755968}} 
[2026-04-28 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":57017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:14] local.INFO: GPS data processed {"connection_id":57017,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:14] local.INFO: Acknowledgment sent {"connection_id":57017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:24] local.INFO: TCP Data received {"connection_id":57709,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:24] local.INFO: Processing buffer {"connection_id":57709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:24] local.INFO: Packet analysis {"connection_id":57709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:51:24] local.INFO: Extracted packet for processing {"connection_id":57709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:51:24] 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-04-28 20: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-04-28 20:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":57709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:24] local.INFO: GPS data processed {"connection_id":57709,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:24] local.INFO: Acknowledgment sent {"connection_id":57709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:30] local.INFO: TCP Data received {"connection_id":57016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:30] local.INFO: Processing buffer {"connection_id":57016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:30] local.INFO: Packet analysis {"connection_id":57016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:51:30] local.INFO: Extracted packet for processing {"connection_id":57016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":57016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:30] local.INFO: GPS data processed {"connection_id":57016,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:30] local.INFO: Acknowledgment sent {"connection_id":57016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:33] local.INFO: TCP Data received {"connection_id":56780,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:33] local.INFO: Processing buffer {"connection_id":56780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:51:33] local.INFO: IMEI packet received {"connection_id":56780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":56780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:51:45] local.INFO: TCP Data received {"connection_id":57017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:51:45] local.INFO: Processing buffer {"connection_id":57017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:51:45] local.INFO: Packet analysis {"connection_id":57017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:51:45] local.INFO: Extracted packet for processing {"connection_id":57017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51:45] 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-04-28 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:51:45] 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-04-28 20:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":57017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:45] local.INFO: GPS data processed {"connection_id":57017,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:45] local.INFO: Acknowledgment sent {"connection_id":57017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:46] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:46] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:46] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:51:51] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:51] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:51:51] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:51:52] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:52] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:51:52] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:51:52] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:51: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-04-28 20: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-04-28 20:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:52] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:52] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:51:52] local.INFO: TCP Data received {"connection_id":57710,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:52] local.INFO: Processing buffer {"connection_id":57710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:52] local.INFO: IMEI packet received {"connection_id":57710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":57710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:51:57] local.INFO: TCP Data received {"connection_id":57710,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:57] local.INFO: Processing buffer {"connection_id":57710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:51:57] local.INFO: IMEI packet received {"connection_id":57710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":57710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:51:58] local.INFO: TCP Data received {"connection_id":57710,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:58] local.INFO: Processing buffer {"connection_id":57710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:51:58] local.INFO: Packet analysis {"connection_id":57710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:51:58] local.INFO: Extracted packet for processing {"connection_id":57710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:51: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-04-28 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:51:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":57710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:51:58] local.INFO: GPS data processed {"connection_id":57710,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:51:58] local.INFO: Acknowledgment sent {"connection_id":57710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:08] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:08] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:08] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:52:13] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:13] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:52:13] local.INFO: IMEI packet received {"connection_id":57018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":57018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:52:14] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:14] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:14] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:52:14] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52:14] 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-04-28 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:52:14] 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-04-28 20:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:14] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:14] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:23] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:23] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:23] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:52:23] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:52:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:52: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-04-28 20: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-04-28 20:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:23] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:23] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:29] local.INFO: TCP Data received {"connection_id":57710,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:30] local.INFO: Processing buffer {"connection_id":57710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:30] local.INFO: Packet analysis {"connection_id":57710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:52:30] local.INFO: Extracted packet for processing {"connection_id":57710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":57710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:30] local.INFO: GPS data processed {"connection_id":57710,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:30] local.INFO: Acknowledgment sent {"connection_id":57710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:45] local.INFO: TCP Data received {"connection_id":57018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:45] local.INFO: Processing buffer {"connection_id":57018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:52:45] local.INFO: Packet analysis {"connection_id":57018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:52:45] local.INFO: Extracted packet for processing {"connection_id":57018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52:45] 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-04-28 20:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:52:45] 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-04-28 20:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":57018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:45] local.INFO: GPS data processed {"connection_id":57018,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:45] local.INFO: Acknowledgment sent {"connection_id":57018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:47] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:47] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:47] local.INFO: IMEI packet received {"connection_id":57019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":57019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:52:51] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:51] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:52:51] local.INFO: IMEI packet received {"connection_id":57019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":57019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:52:52] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:52] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:52] local.INFO: IMEI packet received {"connection_id":57031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":57031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:52:52] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:52] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ab33f8012d8db70005cb5038000500362a..."} 
[2026-04-28 20:52:52] local.INFO: Packet analysis {"connection_id":57019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:52:52] local.INFO: Extracted packet for processing {"connection_id":57019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ab"} 
[2026-04-28 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011630592001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389483000,"timestamp_ms":1777389483000,"timestamp_seconds":1777389483,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ab33f8"} 
[2026-04-28 20:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:52: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-04-28 20: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-04-28 20:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011630592001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011630592001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011630592001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":57019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:52] local.INFO: GPS data processed {"connection_id":57019,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:52] local.INFO: Acknowledgment sent {"connection_id":57019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:52:58] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:58] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:52:58] local.INFO: IMEI packet received {"connection_id":57031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":57031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:52:58] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:58] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:52:58] local.INFO: Packet analysis {"connection_id":57031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:52:58] local.INFO: Extracted packet for processing {"connection_id":57031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:52: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-04-28 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:52:58] 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-04-28 20:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:52:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":57031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:52:58] local.INFO: GPS data processed {"connection_id":57031,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:52:58] local.INFO: Acknowledgment sent {"connection_id":57031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:08] local.INFO: TCP Data received {"connection_id":57711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:08] local.INFO: Processing buffer {"connection_id":57711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:08] local.INFO: IMEI packet received {"connection_id":57711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":57711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:53:13] local.INFO: TCP Data received {"connection_id":57711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:13] local.INFO: Processing buffer {"connection_id":57711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:53:13] local.INFO: IMEI packet received {"connection_id":57711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":57711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:53:14] local.INFO: TCP Data received {"connection_id":57711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:14] local.INFO: Processing buffer {"connection_id":57711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:14] local.INFO: Packet analysis {"connection_id":57711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:53:14] local.INFO: Extracted packet for processing {"connection_id":57711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:53:14] 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-04-28 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:53:14] 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-04-28 20:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":57711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:14] local.INFO: GPS data processed {"connection_id":57711,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:14] local.INFO: Acknowledgment sent {"connection_id":57711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:25] local.INFO: TCP Data received {"connection_id":57019,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:25] local.INFO: Processing buffer {"connection_id":57019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:25] local.INFO: Packet analysis {"connection_id":57019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:53:25] local.INFO: Extracted packet for processing {"connection_id":57019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:53:25] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:53:25] 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-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":57019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:25] local.INFO: GPS data processed {"connection_id":57019,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:25] local.INFO: Acknowledgment sent {"connection_id":57019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:30] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:30] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:30] local.INFO: Packet analysis {"connection_id":57031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:53:30] local.INFO: Extracted packet for processing {"connection_id":57031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 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-04-28 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":57031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:30] local.INFO: GPS data processed {"connection_id":57031,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:30] local.INFO: Acknowledgment sent {"connection_id":57031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:45] local.INFO: TCP Data received {"connection_id":57711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:45] local.INFO: Processing buffer {"connection_id":57711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:53:45] local.INFO: Packet analysis {"connection_id":57711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:53:45] local.INFO: Extracted packet for processing {"connection_id":57711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 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-04-28 20:53:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:53:45] 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-04-28 20:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":57711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:45] local.INFO: GPS data processed {"connection_id":57711,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:45] local.INFO: Acknowledgment sent {"connection_id":57711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:46] local.INFO: TCP Data received {"connection_id":56783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:46] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:46] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:53:51] local.INFO: TCP Data received {"connection_id":56783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:51] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:53:51] local.INFO: IMEI packet received {"connection_id":56783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":56783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:53:52] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:52] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:52] local.INFO: IMEI packet received {"connection_id":56784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":56784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:53:52] local.INFO: TCP Data received {"connection_id":56783,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:52] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:53:52] local.INFO: Packet analysis {"connection_id":56783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:53:52] local.INFO: Extracted packet for processing {"connection_id":56783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:53:52] 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-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:53: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-04-28 20: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-04-28 20:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":56783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:52] local.INFO: GPS data processed {"connection_id":56783,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:52] local.INFO: Acknowledgment sent {"connection_id":56783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:53:57] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:57] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:53:57] local.INFO: IMEI packet received {"connection_id":56784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":56784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:53:58] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:58] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:53:58] local.INFO: Packet analysis {"connection_id":56784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:53:58] local.INFO: Extracted packet for processing {"connection_id":56784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:53: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-04-28 20:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:53:58] 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-04-28 20:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:53:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":56784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:53:58] local.INFO: GPS data processed {"connection_id":56784,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:53:58] local.INFO: Acknowledgment sent {"connection_id":56784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:13] local.INFO: TCP Data received {"connection_id":57020,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:13] local.INFO: Processing buffer {"connection_id":57020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:13] local.INFO: IMEI packet received {"connection_id":57020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":57020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:54:18] local.INFO: TCP Data received {"connection_id":57020,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:18] local.INFO: Processing buffer {"connection_id":57020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:54:18] local.INFO: IMEI packet received {"connection_id":57020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":57020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:54:22] local.INFO: TCP Data received {"connection_id":57020,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:22] local.INFO: Processing buffer {"connection_id":57020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:22] local.INFO: Packet analysis {"connection_id":57020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:54:22] local.INFO: Extracted packet for processing {"connection_id":57020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:54:22] 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-04-28 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:54:22] 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-04-28 20:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":57020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:22] local.INFO: GPS data processed {"connection_id":57020,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:22] local.INFO: Acknowledgment sent {"connection_id":57020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:23] local.INFO: TCP Data received {"connection_id":57020,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:23] local.INFO: Processing buffer {"connection_id":57020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:54:23] local.INFO: Packet analysis {"connection_id":57020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:54:23] local.INFO: Extracted packet for processing {"connection_id":57020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 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-04-28 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":57020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:23] local.INFO: GPS data processed {"connection_id":57020,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:23] local.INFO: Acknowledgment sent {"connection_id":57020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:23] local.INFO: TCP Data received {"connection_id":56783,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:23] local.INFO: Processing buffer {"connection_id":56783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:23] local.INFO: Packet analysis {"connection_id":56783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:54:23] local.INFO: Extracted packet for processing {"connection_id":56783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 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-04-28 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:54: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-04-28 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-04-28 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-04-28 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":56783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:24] local.INFO: GPS data processed {"connection_id":56783,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:24] local.INFO: Acknowledgment sent {"connection_id":56783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:29] local.INFO: TCP Data received {"connection_id":56784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:29] local.INFO: Processing buffer {"connection_id":56784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:29] local.INFO: Packet analysis {"connection_id":56784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:54:29] local.INFO: Extracted packet for processing {"connection_id":56784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":56784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:29] local.INFO: GPS data processed {"connection_id":56784,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:29] local.INFO: Acknowledgment sent {"connection_id":56784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:46] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:46] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:46] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:54:51] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:51] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:54:51] local.INFO: IMEI packet received {"connection_id":57022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":57022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:54:52] local.INFO: TCP Data received {"connection_id":57712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:52] local.INFO: Processing buffer {"connection_id":57712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:52] local.INFO: IMEI packet received {"connection_id":57712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":57712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:54:53] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:53] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:54:53] local.INFO: Packet analysis {"connection_id":57022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:54:53] local.INFO: Extracted packet for processing {"connection_id":57022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 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-04-28 20:54:53] 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-04-28 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:54:53] 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-04-28 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-04-28 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-04-28 20:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":57022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:53] local.INFO: GPS data processed {"connection_id":57022,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:53] local.INFO: Acknowledgment sent {"connection_id":57022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:54:58] local.INFO: TCP Data received {"connection_id":57712,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:58] local.INFO: Processing buffer {"connection_id":57712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:54:58] local.INFO: IMEI packet received {"connection_id":57712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":57712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:54:58] local.INFO: TCP Data received {"connection_id":57712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:58] local.INFO: Processing buffer {"connection_id":57712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ac64a8012d7b838005f5ea58000b009e2b..."} 
[2026-04-28 20:54:58] local.INFO: Packet analysis {"connection_id":57712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:54:58] local.INFO: Extracted packet for processing {"connection_id":57712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ac"} 
[2026-04-28 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":11,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011650304001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389561000,"timestamp_ms":1777389561000,"timestamp_seconds":1777389561,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ac64a8"} 
[2026-04-28 20:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20: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-04-28 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 20:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011650304001,"66":25604,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011650304001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:54:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011650304001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":57712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:54:59] local.INFO: GPS data processed {"connection_id":57712,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:54:59] local.INFO: Acknowledgment sent {"connection_id":57712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:08] local.INFO: TCP Data received {"connection_id":56785,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:08] local.INFO: Processing buffer {"connection_id":56785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:08] local.INFO: IMEI packet received {"connection_id":56785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":56785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:55:13] local.INFO: TCP Data received {"connection_id":56785,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:13] local.INFO: Processing buffer {"connection_id":56785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:55:13] local.INFO: IMEI packet received {"connection_id":56785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":56785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:55:14] local.INFO: TCP Data received {"connection_id":56785,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:14] local.INFO: Processing buffer {"connection_id":56785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:14] local.INFO: Packet analysis {"connection_id":56785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:55:14] local.INFO: Extracted packet for processing {"connection_id":56785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:55:14] 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-04-28 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:55:14] 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-04-28 20:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":56785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:14] local.INFO: GPS data processed {"connection_id":56785,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:14] local.INFO: Acknowledgment sent {"connection_id":56785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:24] local.INFO: TCP Data received {"connection_id":57022,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:24] local.INFO: Processing buffer {"connection_id":57022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:24] local.INFO: Packet analysis {"connection_id":57022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:55:24] local.INFO: Extracted packet for processing {"connection_id":57022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 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-04-28 20:55:24] 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-04-28 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:24] 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-04-28 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-04-28 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-04-28 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":57022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:24] local.INFO: GPS data processed {"connection_id":57022,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:24] local.INFO: Acknowledgment sent {"connection_id":57022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:30] local.INFO: TCP Data received {"connection_id":57712,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:30] local.INFO: Processing buffer {"connection_id":57712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:30] local.INFO: Packet analysis {"connection_id":57712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:55:30] local.INFO: Extracted packet for processing {"connection_id":57712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":57712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:30] local.INFO: GPS data processed {"connection_id":57712,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:30] local.INFO: Acknowledgment sent {"connection_id":57712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:45] local.INFO: TCP Data received {"connection_id":56785,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:45] local.INFO: Processing buffer {"connection_id":56785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:55:45] local.INFO: Packet analysis {"connection_id":56785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:55:45] local.INFO: Extracted packet for processing {"connection_id":56785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 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-04-28 20:55:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:55:45] 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-04-28 20:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":56785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:45] local.INFO: GPS data processed {"connection_id":56785,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:45] local.INFO: Acknowledgment sent {"connection_id":56785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:46] local.INFO: TCP Data received {"connection_id":57713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:46] local.INFO: Processing buffer {"connection_id":57713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:46] local.INFO: IMEI packet received {"connection_id":57713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":57713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:55:51] local.INFO: TCP Data received {"connection_id":57713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:51] local.INFO: Processing buffer {"connection_id":57713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:55:51] local.INFO: IMEI packet received {"connection_id":57713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":57713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:55:53] local.INFO: TCP Data received {"connection_id":57713,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:53] local.INFO: Processing buffer {"connection_id":57713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:55:53] local.INFO: Packet analysis {"connection_id":57713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:55:53] local.INFO: Extracted packet for processing {"connection_id":57713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:55:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:55:53] 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-04-28 20:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:53] 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-04-28 20:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:55:53] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:53] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:53] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":57713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:53] local.INFO: GPS data processed {"connection_id":57713,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:53] local.INFO: Acknowledgment sent {"connection_id":57713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:55:58] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:58] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:55:58] local.INFO: IMEI packet received {"connection_id":56786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":56786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:55:58] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:58] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:55:58] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:55:58] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:55: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-04-28 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:55:58] 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-04-28 20:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:55:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:55:58] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:55:58] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:08] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:08] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:08] local.INFO: IMEI packet received {"connection_id":57023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":57023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:56:13] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:13] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:56:13] local.INFO: IMEI packet received {"connection_id":57023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":57023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:56:14] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:56:14] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ada8e0012d196500071ff0900042014a27..."} 
[2026-04-28 20:56:14] local.INFO: Packet analysis {"connection_id":57023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:56:14] local.INFO: Extracted packet for processing {"connection_id":57023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ad"} 
[2026-04-28 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011671808001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389644000,"timestamp_ms":1777389644000,"timestamp_seconds":1777389644,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ada8e0"} 
[2026-04-28 20:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:56:14] 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-04-28 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:56:14] 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-04-28 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011671808001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1830291066661685248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011671808001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011671808001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-04-28 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":57023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:14] local.INFO: GPS data processed {"connection_id":57023,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:14] local.INFO: Acknowledgment sent {"connection_id":57023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:24] local.INFO: TCP Data received {"connection_id":57713,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:24] local.INFO: Processing buffer {"connection_id":57713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:24] local.INFO: Packet analysis {"connection_id":57713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:56:24] local.INFO: Extracted packet for processing {"connection_id":57713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:56:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 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-04-28 20:56:24] 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-04-28 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:24] 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-04-28 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-04-28 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-04-28 20:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":57713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:24] local.INFO: GPS data processed {"connection_id":57713,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:24] local.INFO: Acknowledgment sent {"connection_id":57713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:30] local.INFO: TCP Data received {"connection_id":56786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:30] local.INFO: Processing buffer {"connection_id":56786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:30] local.INFO: Packet analysis {"connection_id":56786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:56:30] local.INFO: Extracted packet for processing {"connection_id":56786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:56:30] 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-04-28 20:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":56786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:30] local.INFO: GPS data processed {"connection_id":56786,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:30] local.INFO: Acknowledgment sent {"connection_id":56786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:45] local.INFO: TCP Data received {"connection_id":57023,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:56:45] local.INFO: Processing buffer {"connection_id":57023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:56:45] local.INFO: Packet analysis {"connection_id":57023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:56:45] local.INFO: Extracted packet for processing {"connection_id":57023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 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-04-28 20:56:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:56:45] 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-04-28 20:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":57023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:45] local.INFO: GPS data processed {"connection_id":57023,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:45] local.INFO: Acknowledgment sent {"connection_id":57023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:46] local.INFO: TCP Data received {"connection_id":57714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:46] local.INFO: Processing buffer {"connection_id":57714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:46] local.INFO: IMEI packet received {"connection_id":57714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":57714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:56:49] local.INFO: TCP Data received {"connection_id":56787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:56:49] local.INFO: Processing buffer {"connection_id":56787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:56:49] local.INFO: IMEI packet received {"connection_id":56787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":56787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:56:51] local.INFO: TCP Data received {"connection_id":57714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:51] local.INFO: Processing buffer {"connection_id":57714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:56:51] local.INFO: IMEI packet received {"connection_id":57714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":57714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:56:52] local.INFO: TCP Data received {"connection_id":57715,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:52] local.INFO: Processing buffer {"connection_id":57715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:52] local.INFO: IMEI packet received {"connection_id":57715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":57715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:56:53] local.INFO: TCP Data received {"connection_id":57714,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:53] local.INFO: Processing buffer {"connection_id":57714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:56:53] local.INFO: Packet analysis {"connection_id":57714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:56:53] local.INFO: Extracted packet for processing {"connection_id":57714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:56:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:56:53] 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-04-28 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:53] 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-04-28 20:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:56:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":57714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:53] local.INFO: GPS data processed {"connection_id":57714,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:53] local.INFO: Acknowledgment sent {"connection_id":57714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:56:58] local.INFO: TCP Data received {"connection_id":57715,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:58] local.INFO: Processing buffer {"connection_id":57715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:56:58] local.INFO: IMEI packet received {"connection_id":57715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":57715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:56:59] local.INFO: TCP Data received {"connection_id":57715,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:59] local.INFO: Processing buffer {"connection_id":57715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:56:59] local.INFO: Packet analysis {"connection_id":57715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:56:59] local.INFO: Extracted packet for processing {"connection_id":57715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:56: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-04-28 20:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:56:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:56:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":57715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:56:59] local.INFO: GPS data processed {"connection_id":57715,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:56:59] local.INFO: Acknowledgment sent {"connection_id":57715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:08] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:08] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:08] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:57:14] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:14] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:57:14] local.INFO: IMEI packet received {"connection_id":56788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":56788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:57:15] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:15] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:15] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:57:15] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:15] 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-04-28 20:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:15] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:15] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:24] local.INFO: TCP Data received {"connection_id":57714,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:24] local.INFO: Processing buffer {"connection_id":57714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:24] local.INFO: Packet analysis {"connection_id":57714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:57:24] local.INFO: Extracted packet for processing {"connection_id":57714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:57:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57:24] 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-04-28 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:57:24] 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-04-28 20:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":57714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:24] local.INFO: GPS data processed {"connection_id":57714,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:24] local.INFO: Acknowledgment sent {"connection_id":57714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:30] local.INFO: TCP Data received {"connection_id":57715,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:30] local.INFO: Processing buffer {"connection_id":57715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:30] local.INFO: Packet analysis {"connection_id":57715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:57:30] local.INFO: Extracted packet for processing {"connection_id":57715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":57715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:30] local.INFO: GPS data processed {"connection_id":57715,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:30] local.INFO: Acknowledgment sent {"connection_id":57715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:39] local.INFO: TCP Data received {"connection_id":57033,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:57:39] local.INFO: Processing buffer {"connection_id":57033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 20:57:39] local.INFO: IMEI packet received {"connection_id":57033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 20:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":57033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:57:46] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:46] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:46] local.INFO: IMEI packet received {"connection_id":57024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":57024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:57:47] local.INFO: TCP Data received {"connection_id":56788,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:47] local.INFO: Processing buffer {"connection_id":56788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:57:47] local.INFO: Packet analysis {"connection_id":56788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:57:47] local.INFO: Extracted packet for processing {"connection_id":56788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57:47] 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-04-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:57:47] 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-04-28 20:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":56788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:47] local.INFO: GPS data processed {"connection_id":56788,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:47] local.INFO: Acknowledgment sent {"connection_id":56788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:51] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:51] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:57:51] local.INFO: IMEI packet received {"connection_id":57024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":57024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:57:52] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:52] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4afcbc0012d8db70005cb5038000500362b..."} 
[2026-04-28 20:57:52] local.INFO: Packet analysis {"connection_id":57024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:57:52] local.INFO: Extracted packet for processing {"connection_id":57024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4af"} 
[2026-04-28 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011707648001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777389784000,"timestamp_ms":1777389784000,"timestamp_seconds":1777389784,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4afcbc0"} 
[2026-04-28 20:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57:52] 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-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:57: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-04-28 20: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-04-28 20:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:57:52] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011707648001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011707648001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011707648001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:52] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:52] local.INFO: IMEI packet received {"connection_id":57034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":57034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":57024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:52] local.INFO: GPS data processed {"connection_id":57024,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:52] local.INFO: Acknowledgment sent {"connection_id":57024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:57:57] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:57] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:57:57] local.INFO: IMEI packet received {"connection_id":57034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":57034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:57:58] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:58] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:57:58] local.INFO: Packet analysis {"connection_id":57034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:57:58] local.INFO: Extracted packet for processing {"connection_id":57034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:57: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-04-28 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:57:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":57034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:57:58] local.INFO: GPS data processed {"connection_id":57034,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:57:58] local.INFO: Acknowledgment sent {"connection_id":57034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:13] local.INFO: TCP Data received {"connection_id":57035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:13] local.INFO: Processing buffer {"connection_id":57035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:13] local.INFO: IMEI packet received {"connection_id":57035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":57035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:58:18] local.INFO: TCP Data received {"connection_id":57035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:18] local.INFO: Processing buffer {"connection_id":57035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:58:18] local.INFO: IMEI packet received {"connection_id":57035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":57035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:58:19] local.INFO: TCP Data received {"connection_id":57035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:19] local.INFO: Processing buffer {"connection_id":57035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:19] local.INFO: Packet analysis {"connection_id":57035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:19] local.INFO: Extracted packet for processing {"connection_id":57035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:19] 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-04-28 20:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":57035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:19] local.INFO: GPS data processed {"connection_id":57035,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:19] local.INFO: Acknowledgment sent {"connection_id":57035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:23] local.INFO: TCP Data received {"connection_id":57024,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:23] local.INFO: Processing buffer {"connection_id":57024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:23] local.INFO: Packet analysis {"connection_id":57024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:58:23] local.INFO: Extracted packet for processing {"connection_id":57024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 20:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:58: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-04-28 20: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-04-28 20:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":57024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:23] local.INFO: GPS data processed {"connection_id":57024,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:23] local.INFO: Acknowledgment sent {"connection_id":57024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:23] local.INFO: TCP Data received {"connection_id":57035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:23] local.INFO: Processing buffer {"connection_id":57035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:23] local.INFO: Packet analysis {"connection_id":57035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:23] local.INFO: Extracted packet for processing {"connection_id":57035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":57035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:23] local.INFO: GPS data processed {"connection_id":57035,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:23] local.INFO: Acknowledgment sent {"connection_id":57035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:28] local.INFO: TCP Data received {"connection_id":57035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:28] local.INFO: Processing buffer {"connection_id":57035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:58:28] local.INFO: Packet analysis {"connection_id":57035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:28] local.INFO: Extracted packet for processing {"connection_id":57035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20: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-04-28 20: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-04-28 20:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:58:28] 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-04-28 20:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":57035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:29] local.INFO: GPS data processed {"connection_id":57035,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:29] local.INFO: Acknowledgment sent {"connection_id":57035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:30] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:30] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:30] local.INFO: Packet analysis {"connection_id":57034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:58:30] local.INFO: Extracted packet for processing {"connection_id":57034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":57034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:30] local.INFO: GPS data processed {"connection_id":57034,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:30] local.INFO: Acknowledgment sent {"connection_id":57034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:46] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:46] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:46] local.INFO: IMEI packet received {"connection_id":57025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":57025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:58:51] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:51] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:58:51] local.INFO: IMEI packet received {"connection_id":57025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":57025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:58:52] local.INFO: TCP Data received {"connection_id":57716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:52] local.INFO: Processing buffer {"connection_id":57716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:52] local.INFO: IMEI packet received {"connection_id":57716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":57716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:58:52] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:52] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:58:52] local.INFO: Packet analysis {"connection_id":57025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:58:52] local.INFO: Extracted packet for processing {"connection_id":57025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:58:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 20:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:52] 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-04-28 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:58: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-04-28 20: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-04-28 20:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":57025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:52] local.INFO: GPS data processed {"connection_id":57025,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:52] local.INFO: Acknowledgment sent {"connection_id":57025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:58:57] local.INFO: TCP Data received {"connection_id":57716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:57] local.INFO: Processing buffer {"connection_id":57716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:58:57] local.INFO: IMEI packet received {"connection_id":57716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":57716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:58:59] local.INFO: TCP Data received {"connection_id":57716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:59] local.INFO: Processing buffer {"connection_id":57716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:58:59] local.INFO: Packet analysis {"connection_id":57716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:58:59] local.INFO: Extracted packet for processing {"connection_id":57716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:58:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:58:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":57716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:58:59] local.INFO: GPS data processed {"connection_id":57716,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:58:59] local.INFO: Acknowledgment sent {"connection_id":57716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:08] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:08] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:08] local.INFO: IMEI packet received {"connection_id":56789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 20:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":56789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:59:13] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:13] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 20:59:13] local.INFO: IMEI packet received {"connection_id":56789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 20:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":56789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:59:14] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:14] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:14] local.INFO: Packet analysis {"connection_id":56789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:59:14] local.INFO: Extracted packet for processing {"connection_id":56789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 20:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 20:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 20:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:59:14] 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-04-28 20:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 20:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:59:14] 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-04-28 20:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":56789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:14] local.INFO: GPS data processed {"connection_id":56789,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:14] local.INFO: Acknowledgment sent {"connection_id":56789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:24] local.INFO: TCP Data received {"connection_id":57025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:24] local.INFO: Processing buffer {"connection_id":57025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:24] local.INFO: Packet analysis {"connection_id":57025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:59:24] local.INFO: Extracted packet for processing {"connection_id":57025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:59:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 20:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:59:24] 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-04-28 20:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:59:24] 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-04-28 20: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-04-28 20:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":57025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:24] local.INFO: GPS data processed {"connection_id":57025,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:24] local.INFO: Acknowledgment sent {"connection_id":57025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:30] local.INFO: TCP Data received {"connection_id":57716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:30] local.INFO: Processing buffer {"connection_id":57716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:30] local.INFO: Packet analysis {"connection_id":57716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:59:30] local.INFO: Extracted packet for processing {"connection_id":57716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":57716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:30] local.INFO: GPS data processed {"connection_id":57716,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:30] local.INFO: Acknowledgment sent {"connection_id":57716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:45] local.INFO: TCP Data received {"connection_id":56789,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:45] local.INFO: Processing buffer {"connection_id":56789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 20:59:45] local.INFO: Packet analysis {"connection_id":56789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:59:45] local.INFO: Extracted packet for processing {"connection_id":56789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 20:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 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-04-28 20:59:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 20:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 20:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 20:59:45] 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-04-28 20:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 20:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 20:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 20:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 20:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 20:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 20:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 20:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 20:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":56789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:45] local.INFO: GPS data processed {"connection_id":56789,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:45] local.INFO: Acknowledgment sent {"connection_id":56789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:46] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:47] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:47] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 20:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:59:51] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:51] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 20:59:51] local.INFO: IMEI packet received {"connection_id":56790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 20:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":56790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:59:52] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:52] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 20:59:52] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:59:52] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 20:59:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 20:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:59:52] 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-04-28 20: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":194,"data_length":795,"current_offset":136} 
[2026-04-28 20:59: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-04-28 20: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-04-28 20:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 20:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 20:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 20:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 20:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 20:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 20:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 20:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 20:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 20:59:52] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:52] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:52] local.INFO: IMEI packet received {"connection_id":57027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 20:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":57027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 20:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:52] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:52] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 20:59:58] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:58] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 20:59:58] local.INFO: IMEI packet received {"connection_id":57027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 20:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":57027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 20:59:58] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:58] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b10c10012d7b838005f5ea580009009e2b..."} 
[2026-04-28 20:59:58] local.INFO: Packet analysis {"connection_id":57027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:59:58] local.INFO: Extracted packet for processing {"connection_id":57027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b1"} 
[2026-04-28 20:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 20: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-04-28 20:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011727616001,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 20:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 20:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777389866000,"timestamp_ms":1777389866000,"timestamp_seconds":1777389866,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b10c10"} 
[2026-04-28 20:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 20:59: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-04-28 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-28 20:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 20: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-04-28 20:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 20:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 20:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 20:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 20:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 20:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 20:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 20:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011727616001,"66":25615,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 20:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 20:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 20:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011727616001,"description":"Unknown IO ID 0"} 
[2026-04-28 20:59:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 20:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 20:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 20:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 20:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011727616001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 20:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":57027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 20:59:58] local.INFO: GPS data processed {"connection_id":57027,"processed":1,"errors":0,"total":1} 
[2026-04-28 20:59:58] local.INFO: Acknowledgment sent {"connection_id":57027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:08] local.INFO: TCP Data received {"connection_id":57717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:08] local.INFO: Processing buffer {"connection_id":57717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:08] local.INFO: IMEI packet received {"connection_id":57717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":57717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:00:13] local.INFO: TCP Data received {"connection_id":57717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:13] local.INFO: Processing buffer {"connection_id":57717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:00:13] local.INFO: IMEI packet received {"connection_id":57717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":57717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:00:14] local.INFO: TCP Data received {"connection_id":57717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:14] local.INFO: Processing buffer {"connection_id":57717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:14] local.INFO: Packet analysis {"connection_id":57717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:00:14] local.INFO: Extracted packet for processing {"connection_id":57717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 21:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:14] 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-04-28 21:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":57717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:14] local.INFO: GPS data processed {"connection_id":57717,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:14] local.INFO: Acknowledgment sent {"connection_id":57717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:23] local.INFO: TCP Data received {"connection_id":56790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:23] local.INFO: Processing buffer {"connection_id":56790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:23] local.INFO: Packet analysis {"connection_id":56790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:00:23] local.INFO: Extracted packet for processing {"connection_id":56790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 21:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:00: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-04-28 21:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":56790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:23] local.INFO: GPS data processed {"connection_id":56790,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:23] local.INFO: Acknowledgment sent {"connection_id":56790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:29] local.INFO: TCP Data received {"connection_id":57027,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:29] local.INFO: Processing buffer {"connection_id":57027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:29] local.INFO: Packet analysis {"connection_id":57027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:00:29] local.INFO: Extracted packet for processing {"connection_id":57027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:00:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":57027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:29] local.INFO: GPS data processed {"connection_id":57027,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:29] local.INFO: Acknowledgment sent {"connection_id":57027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:45] local.INFO: TCP Data received {"connection_id":57717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:45] local.INFO: Processing buffer {"connection_id":57717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:00:45] local.INFO: Packet analysis {"connection_id":57717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:00:45] local.INFO: Extracted packet for processing {"connection_id":57717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 21:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:45] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":57717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:45] local.INFO: GPS data processed {"connection_id":57717,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:45] local.INFO: Acknowledgment sent {"connection_id":57717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:47] local.INFO: TCP Data received {"connection_id":57719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:47] local.INFO: Processing buffer {"connection_id":57719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:47] local.INFO: IMEI packet received {"connection_id":57719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":57719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:00:51] local.INFO: TCP Data received {"connection_id":57719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:51] local.INFO: Processing buffer {"connection_id":57719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:00:51] local.INFO: IMEI packet received {"connection_id":57719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":57719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:00:52] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:52] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:53] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:00:53] local.INFO: TCP Data received {"connection_id":57719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:53] local.INFO: Processing buffer {"connection_id":57719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:00:53] local.INFO: Packet analysis {"connection_id":57719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:00:53] local.INFO: Extracted packet for processing {"connection_id":57719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 21:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:53] 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-04-28 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:00:53] 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-04-28 21:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:00:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":57719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:53] local.INFO: GPS data processed {"connection_id":57719,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:53] local.INFO: Acknowledgment sent {"connection_id":57719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:00:57] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:57] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:00:57] local.INFO: IMEI packet received {"connection_id":56791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":56791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:00:58] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:59] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:00:59] local.INFO: Packet analysis {"connection_id":56791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:00:59] local.INFO: Extracted packet for processing {"connection_id":56791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:00:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":56791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:00:59] local.INFO: GPS data processed {"connection_id":56791,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:00:59] local.INFO: Acknowledgment sent {"connection_id":56791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:08] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:08] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:08] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:01:13] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:13] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:01:13] local.INFO: IMEI packet received {"connection_id":57028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":57028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:01:14] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:01:14] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b240a8012d196500071ff0900042014a25..."} 
[2026-04-28 21:01:14] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:01:14] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b2"} 
[2026-04-28 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011748864001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777389945000,"timestamp_ms":1777389945000,"timestamp_seconds":1777389945,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b240a8"} 
[2026-04-28 21:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:01:14] 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-04-28 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011748864001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011748864001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011748864001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:14] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:14] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:24] local.INFO: TCP Data received {"connection_id":57719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:24] local.INFO: Processing buffer {"connection_id":57719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:24] local.INFO: Packet analysis {"connection_id":57719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:01:24] local.INFO: Extracted packet for processing {"connection_id":57719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 21:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:01:24] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:01:24] 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-04-28 21: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-04-28 21:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":57719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:24] local.INFO: GPS data processed {"connection_id":57719,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:24] local.INFO: Acknowledgment sent {"connection_id":57719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:30] local.INFO: TCP Data received {"connection_id":56791,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:30] local.INFO: Processing buffer {"connection_id":56791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:30] local.INFO: Packet analysis {"connection_id":56791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:01:30] local.INFO: Extracted packet for processing {"connection_id":56791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 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-04-28 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":56791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:30] local.INFO: GPS data processed {"connection_id":56791,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:30] local.INFO: Acknowledgment sent {"connection_id":56791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:45] local.INFO: TCP Data received {"connection_id":57028,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:01:45] local.INFO: Processing buffer {"connection_id":57028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:01:45] local.INFO: Packet analysis {"connection_id":57028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:01:45] local.INFO: Extracted packet for processing {"connection_id":57028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:01:45] 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-04-28 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:01:45] 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-04-28 21: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-04-28 21:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":57028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:45] local.INFO: GPS data processed {"connection_id":57028,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:45] local.INFO: Acknowledgment sent {"connection_id":57028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:46] local.INFO: TCP Data received {"connection_id":57038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:46] local.INFO: Processing buffer {"connection_id":57038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:46] local.INFO: IMEI packet received {"connection_id":57038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":57038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:01:51] local.INFO: TCP Data received {"connection_id":57038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:51] local.INFO: Processing buffer {"connection_id":57038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:01:51] local.INFO: IMEI packet received {"connection_id":57038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":57038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:01:52] local.INFO: TCP Data received {"connection_id":57038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:52] local.INFO: Processing buffer {"connection_id":57038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:01:52] local.INFO: Packet analysis {"connection_id":57038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:01:52] local.INFO: Extracted packet for processing {"connection_id":57038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:01:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 21:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:01:52] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:01: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-04-28 21: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-04-28 21:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":57038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:52] local.INFO: GPS data processed {"connection_id":57038,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:52] local.INFO: Acknowledgment sent {"connection_id":57038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:01:53] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:53] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:53] local.INFO: IMEI packet received {"connection_id":57029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":57029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:01:57] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:57] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:01:57] local.INFO: IMEI packet received {"connection_id":57029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":57029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:01:58] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:58] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:01:58] local.INFO: Packet analysis {"connection_id":57029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:01:58] local.INFO: Extracted packet for processing {"connection_id":57029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:01: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-04-28 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:01:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":57029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:01:58] local.INFO: GPS data processed {"connection_id":57029,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:01:58] local.INFO: Acknowledgment sent {"connection_id":57029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:08] local.INFO: TCP Data received {"connection_id":56792,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:08] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:08] local.INFO: IMEI packet received {"connection_id":56792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":56792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:02:13] local.INFO: TCP Data received {"connection_id":56792,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:13] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:02:13] local.INFO: IMEI packet received {"connection_id":56792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":56792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:02:14] local.INFO: TCP Data received {"connection_id":56792,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:14] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:14] local.INFO: Packet analysis {"connection_id":56792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:02:14] local.INFO: Extracted packet for processing {"connection_id":56792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:02:14] 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-04-28 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:02:14] 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-04-28 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:02:14] 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-04-28 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":56792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:14] local.INFO: GPS data processed {"connection_id":56792,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:14] local.INFO: Acknowledgment sent {"connection_id":56792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:23] local.INFO: TCP Data received {"connection_id":57038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:23] local.INFO: Processing buffer {"connection_id":57038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:23] local.INFO: Packet analysis {"connection_id":57038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:02:23] local.INFO: Extracted packet for processing {"connection_id":57038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:02:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 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-04-28 21:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:02: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-04-28 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-04-28 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-04-28 21:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":57038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:23] local.INFO: GPS data processed {"connection_id":57038,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:23] local.INFO: Acknowledgment sent {"connection_id":57038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:29] local.INFO: TCP Data received {"connection_id":57029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:29] local.INFO: Processing buffer {"connection_id":57029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:29] local.INFO: Packet analysis {"connection_id":57029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:02:29] local.INFO: Extracted packet for processing {"connection_id":57029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:02:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":57029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:29] local.INFO: GPS data processed {"connection_id":57029,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:29] local.INFO: Acknowledgment sent {"connection_id":57029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:45] local.INFO: TCP Data received {"connection_id":56792,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:45] local.INFO: Processing buffer {"connection_id":56792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:02:45] local.INFO: Packet analysis {"connection_id":56792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:02:45] local.INFO: Extracted packet for processing {"connection_id":56792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 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-04-28 21:02:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:02:45] 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-04-28 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-04-28 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-04-28 21:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:02:45] 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-04-28 21:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":56792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:45] local.INFO: GPS data processed {"connection_id":56792,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:45] local.INFO: Acknowledgment sent {"connection_id":56792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:46] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:46] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:46] local.INFO: IMEI packet received {"connection_id":56793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":56793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:02:51] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:51] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:02:51] local.INFO: IMEI packet received {"connection_id":56793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":56793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:02:52] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:52] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b46388012d8db70005cb5038000500362a..."} 
[2026-04-28 21:02:52] local.INFO: Packet analysis {"connection_id":56793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:02:52] local.INFO: Extracted packet for processing {"connection_id":56793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b4"} 
[2026-04-28 21:02:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011784704001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390085000,"timestamp_ms":1777390085000,"timestamp_seconds":1777390085,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b46388"} 
[2026-04-28 21:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:02:52] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:02: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-04-28 21: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-04-28 21:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011784704001,"66":2253,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011784704001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011784704001,"power":2253,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":56793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:52] local.INFO: GPS data processed {"connection_id":56793,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:52] local.INFO: Acknowledgment sent {"connection_id":56793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:02:53] local.INFO: TCP Data received {"connection_id":57721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:53] local.INFO: Processing buffer {"connection_id":57721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:53] local.INFO: IMEI packet received {"connection_id":57721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":57721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:02:57] local.INFO: TCP Data received {"connection_id":57721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:57] local.INFO: Processing buffer {"connection_id":57721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:02:57] local.INFO: IMEI packet received {"connection_id":57721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":57721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:02:58] local.INFO: TCP Data received {"connection_id":57721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:58] local.INFO: Processing buffer {"connection_id":57721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:02:58] local.INFO: Packet analysis {"connection_id":57721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:02:58] local.INFO: Extracted packet for processing {"connection_id":57721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:02: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-04-28 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:02:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":57721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:02:58] local.INFO: GPS data processed {"connection_id":57721,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:02:58] local.INFO: Acknowledgment sent {"connection_id":57721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:04] local.INFO: TCP Data received {"connection_id":57039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:04] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:04] local.INFO: IMEI packet received {"connection_id":57039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":57039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:03:13] local.INFO: TCP Data received {"connection_id":57722,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:13] local.INFO: Processing buffer {"connection_id":57722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:13] local.INFO: IMEI packet received {"connection_id":57722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":57722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:03:18] local.INFO: TCP Data received {"connection_id":57722,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:18] local.INFO: Processing buffer {"connection_id":57722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:03:18] local.INFO: IMEI packet received {"connection_id":57722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":57722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:03:19] local.INFO: TCP Data received {"connection_id":57722,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:19] local.INFO: Processing buffer {"connection_id":57722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:19] local.INFO: Packet analysis {"connection_id":57722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:03:19] local.INFO: Extracted packet for processing {"connection_id":57722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03:19] 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-04-28 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:03:19] 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-04-28 21: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-04-28 21:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:03:19] 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-04-28 21:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":57722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:19] local.INFO: GPS data processed {"connection_id":57722,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:19] local.INFO: Acknowledgment sent {"connection_id":57722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:23] local.INFO: TCP Data received {"connection_id":56793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:23] local.INFO: Processing buffer {"connection_id":56793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:23] local.INFO: Packet analysis {"connection_id":56793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:03:23] local.INFO: Extracted packet for processing {"connection_id":56793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:03: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-04-28 21:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:03:23] local.INFO: TCP Data received {"connection_id":57722,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":56793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:23] local.INFO: GPS data processed {"connection_id":56793,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:23] local.INFO: Acknowledgment sent {"connection_id":56793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:23] local.INFO: Processing buffer {"connection_id":57722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:03:23] local.INFO: Packet analysis {"connection_id":57722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:03:23] local.INFO: Extracted packet for processing {"connection_id":57722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03: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-04-28 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":57722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:23] local.INFO: GPS data processed {"connection_id":57722,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:23] local.INFO: Acknowledgment sent {"connection_id":57722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:30] local.INFO: TCP Data received {"connection_id":57721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:30] local.INFO: Processing buffer {"connection_id":57721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:30] local.INFO: Packet analysis {"connection_id":57721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:03:30] local.INFO: Extracted packet for processing {"connection_id":57721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":57721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:30] local.INFO: GPS data processed {"connection_id":57721,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:30] local.INFO: Acknowledgment sent {"connection_id":57721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:38] local.INFO: TCP Data received {"connection_id":57040,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:38] local.INFO: Processing buffer {"connection_id":57040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:03:38] local.INFO: IMEI packet received {"connection_id":57040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":57040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:03:46] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:46] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:46] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:03:51] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:51] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:03:51] local.INFO: IMEI packet received {"connection_id":57030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":57030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:03:52] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:52] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:03:52] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:03:52] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03:52] 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-04-28 21: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:03: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-04-28 21: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-04-28 21:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:03:52] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:52] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:52] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:52] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:52] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:03:57] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:57] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:03:57] local.INFO: IMEI packet received {"connection_id":56794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":56794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:03:59] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:59] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:03:59] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:03:59] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:03: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-04-28 21:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:03:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:03:59] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:03:59] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:08] local.INFO: TCP Data received {"connection_id":57041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:08] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:08] local.INFO: IMEI packet received {"connection_id":57041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":57041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:04:13] local.INFO: TCP Data received {"connection_id":57041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:13] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:04:13] local.INFO: IMEI packet received {"connection_id":57041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":57041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:04:14] local.INFO: TCP Data received {"connection_id":57041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:14] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:14] local.INFO: Packet analysis {"connection_id":57041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:04:14] local.INFO: Extracted packet for processing {"connection_id":57041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:04:14] 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-04-28 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:04:14] 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-04-28 21:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:04:14] 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-04-28 21:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":57041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:14] local.INFO: GPS data processed {"connection_id":57041,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:14] local.INFO: Acknowledgment sent {"connection_id":57041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:23] local.INFO: TCP Data received {"connection_id":57030,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:23] local.INFO: Processing buffer {"connection_id":57030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:23] local.INFO: Packet analysis {"connection_id":57030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:04:23] local.INFO: Extracted packet for processing {"connection_id":57030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:04:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:04: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-04-28 21:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":57030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:23] local.INFO: GPS data processed {"connection_id":57030,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:23] local.INFO: Acknowledgment sent {"connection_id":57030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:30] local.INFO: TCP Data received {"connection_id":56794,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:30] local.INFO: Processing buffer {"connection_id":56794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:30] local.INFO: Packet analysis {"connection_id":56794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:04:30] local.INFO: Extracted packet for processing {"connection_id":56794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":56794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:30] local.INFO: GPS data processed {"connection_id":56794,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:30] local.INFO: Acknowledgment sent {"connection_id":56794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:45] local.INFO: TCP Data received {"connection_id":57041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:45] local.INFO: Processing buffer {"connection_id":57041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:04:45] local.INFO: Packet analysis {"connection_id":57041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:04:45] local.INFO: Extracted packet for processing {"connection_id":57041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 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-04-28 21:04:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:04:45] 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-04-28 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-04-28 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-04-28 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:04:45] 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-04-28 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":57041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:45] local.INFO: GPS data processed {"connection_id":57041,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:45] local.INFO: Acknowledgment sent {"connection_id":57041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:46] local.INFO: TCP Data received {"connection_id":57723,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:46] local.INFO: Processing buffer {"connection_id":57723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:46] local.INFO: IMEI packet received {"connection_id":57723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":57723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:04:51] local.INFO: TCP Data received {"connection_id":57723,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:51] local.INFO: Processing buffer {"connection_id":57723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:04:51] local.INFO: IMEI packet received {"connection_id":57723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":57723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:04:52] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:52] local.INFO: TCP Data received {"connection_id":57723,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:52] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:52] local.INFO: IMEI packet received {"connection_id":57031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":57031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:52] local.INFO: Processing buffer {"connection_id":57723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:04:52] local.INFO: Packet analysis {"connection_id":57723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:04:52] local.INFO: Extracted packet for processing {"connection_id":57723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:04:52] 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-04-28 21: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:04: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-04-28 21: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-04-28 21:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":57723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:52] local.INFO: GPS data processed {"connection_id":57723,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:52] local.INFO: Acknowledgment sent {"connection_id":57723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:04:58] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:58] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:04:58] local.INFO: IMEI packet received {"connection_id":57031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":57031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:04:59] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:59] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b5bb48012d7b838005f5ea580009009e2a..."} 
[2026-04-28 21:04:59] local.INFO: Packet analysis {"connection_id":57031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:04:59] local.INFO: Extracted packet for processing {"connection_id":57031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b5"} 
[2026-04-28 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011805696001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777390173000,"timestamp_ms":1777390173000,"timestamp_seconds":1777390173,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b5bb48"} 
[2026-04-28 21:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 21:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011805696001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011805696001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:04:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011805696001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":57031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:04:59] local.INFO: GPS data processed {"connection_id":57031,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:04:59] local.INFO: Acknowledgment sent {"connection_id":57031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:08] local.INFO: TCP Data received {"connection_id":57032,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:08] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:08] local.INFO: IMEI packet received {"connection_id":57032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":57032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:05:13] local.INFO: TCP Data received {"connection_id":57032,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:13] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:05:13] local.INFO: IMEI packet received {"connection_id":57032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":57032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:05:14] local.INFO: TCP Data received {"connection_id":57032,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:14] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:14] local.INFO: Packet analysis {"connection_id":57032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:05:14] local.INFO: Extracted packet for processing {"connection_id":57032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:05:14] 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-04-28 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:05:14] 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-04-28 21:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":57032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:14] local.INFO: GPS data processed {"connection_id":57032,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:14] local.INFO: Acknowledgment sent {"connection_id":57032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:24] local.INFO: TCP Data received {"connection_id":57723,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:24] local.INFO: Processing buffer {"connection_id":57723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:24] local.INFO: Packet analysis {"connection_id":57723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:05:24] local.INFO: Extracted packet for processing {"connection_id":57723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:05:24] 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-04-28 21:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:05:24] 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-04-28 21:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":57723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:24] local.INFO: GPS data processed {"connection_id":57723,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:24] local.INFO: Acknowledgment sent {"connection_id":57723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:29] local.INFO: TCP Data received {"connection_id":57031,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:29] local.INFO: Processing buffer {"connection_id":57031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:29] local.INFO: Packet analysis {"connection_id":57031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:05:29] local.INFO: Extracted packet for processing {"connection_id":57031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:05:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":57031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:29] local.INFO: GPS data processed {"connection_id":57031,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:29] local.INFO: Acknowledgment sent {"connection_id":57031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:45] local.INFO: TCP Data received {"connection_id":57032,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:45] local.INFO: Processing buffer {"connection_id":57032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:05:45] local.INFO: Packet analysis {"connection_id":57032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:05:45] local.INFO: Extracted packet for processing {"connection_id":57032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 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-04-28 21:05:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:05:45] 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-04-28 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-04-28 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-04-28 21:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":57032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:45] local.INFO: GPS data processed {"connection_id":57032,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:45] local.INFO: Acknowledgment sent {"connection_id":57032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:46] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:46] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:46] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:05:51] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:51] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:05:51] local.INFO: IMEI packet received {"connection_id":56795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":56795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:05:52] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:52] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:05:52] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:05:52] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:05:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 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-04-28 21:05:52] 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-04-28 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:05: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-04-28 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-04-28 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-04-28 21:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:52] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:52] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:05:53] local.INFO: TCP Data received {"connection_id":57724,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:53] local.INFO: Processing buffer {"connection_id":57724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:53] local.INFO: IMEI packet received {"connection_id":57724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":57724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:05:57] local.INFO: TCP Data received {"connection_id":57724,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:57] local.INFO: Processing buffer {"connection_id":57724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:05:57] local.INFO: IMEI packet received {"connection_id":57724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":57724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:05:58] local.INFO: TCP Data received {"connection_id":57724,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:58] local.INFO: Processing buffer {"connection_id":57724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:05:58] local.INFO: Packet analysis {"connection_id":57724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:05:58] local.INFO: Extracted packet for processing {"connection_id":57724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:05: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-04-28 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:05:58] 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-04-28 21:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:05:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":57724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:05:58] local.INFO: GPS data processed {"connection_id":57724,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:05:58] local.INFO: Acknowledgment sent {"connection_id":57724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:08] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:08] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:08] local.INFO: IMEI packet received {"connection_id":57034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":57034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:06:13] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:13] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:06:13] local.INFO: IMEI packet received {"connection_id":57034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":57034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:06:14] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:06:14] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b6d870012d196500071ff0900042014a28..."} 
[2026-04-28 21:06:14] local.INFO: Packet analysis {"connection_id":57034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:06:14] local.INFO: Extracted packet for processing {"connection_id":57034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b6"} 
[2026-04-28 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011825920001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390246000,"timestamp_ms":1777390246000,"timestamp_seconds":1777390246,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b6d870"} 
[2026-04-28 21:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:06:14] 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-04-28 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:06:14] 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-04-28 21:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:06:14] 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-04-28 21:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011825920001,"66":2177,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011825920001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011825920001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":57034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:14] local.INFO: GPS data processed {"connection_id":57034,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:14] local.INFO: Acknowledgment sent {"connection_id":57034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:23] local.INFO: TCP Data received {"connection_id":56795,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:23] local.INFO: Processing buffer {"connection_id":56795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:23] local.INFO: Packet analysis {"connection_id":56795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:06:23] local.INFO: Extracted packet for processing {"connection_id":56795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:06:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 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-04-28 21:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:06: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-04-28 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-04-28 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-04-28 21:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":56795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:23] local.INFO: GPS data processed {"connection_id":56795,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:23] local.INFO: Acknowledgment sent {"connection_id":56795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:30] local.INFO: TCP Data received {"connection_id":57724,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:30] local.INFO: Processing buffer {"connection_id":57724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:30] local.INFO: Packet analysis {"connection_id":57724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:06:30] local.INFO: Extracted packet for processing {"connection_id":57724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:06:30] 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-04-28 21:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":57724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:30] local.INFO: GPS data processed {"connection_id":57724,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:30] local.INFO: Acknowledgment sent {"connection_id":57724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:45] local.INFO: TCP Data received {"connection_id":57034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:06:45] local.INFO: Processing buffer {"connection_id":57034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:06:45] local.INFO: Packet analysis {"connection_id":57034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:06:45] local.INFO: Extracted packet for processing {"connection_id":57034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:06:45] 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-04-28 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:06:45] 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-04-28 21: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-04-28 21:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:06:45] 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-04-28 21:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":57034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:45] local.INFO: GPS data processed {"connection_id":57034,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:45] local.INFO: Acknowledgment sent {"connection_id":57034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:46] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:46] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:46] local.INFO: IMEI packet received {"connection_id":56796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":56796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:06:51] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:51] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:06:51] local.INFO: IMEI packet received {"connection_id":56796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":56796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:06:52] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:52] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:06:52] local.INFO: Packet analysis {"connection_id":56796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:06:52] local.INFO: Extracted packet for processing {"connection_id":56796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:06:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:06:52] 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-04-28 21: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:06: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-04-28 21: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-04-28 21:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":56796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:52] local.INFO: GPS data processed {"connection_id":56796,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:52] local.INFO: Acknowledgment sent {"connection_id":56796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:06:52] local.INFO: TCP Data received {"connection_id":57036,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:52] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:52] local.INFO: IMEI packet received {"connection_id":57036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":57036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:06:57] local.INFO: TCP Data received {"connection_id":57036,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:57] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:06:57] local.INFO: IMEI packet received {"connection_id":57036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":57036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:06:58] local.INFO: TCP Data received {"connection_id":57036,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:58] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:06:58] local.INFO: Packet analysis {"connection_id":57036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:06:58] local.INFO: Extracted packet for processing {"connection_id":57036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:06: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-04-28 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:06: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-04-28 21:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:06:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":57036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:06:58] local.INFO: GPS data processed {"connection_id":57036,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:06:58] local.INFO: Acknowledgment sent {"connection_id":57036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:13] local.INFO: TCP Data received {"connection_id":57725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:13] local.INFO: Processing buffer {"connection_id":57725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:13] local.INFO: IMEI packet received {"connection_id":57725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":57725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:07:18] local.INFO: TCP Data received {"connection_id":57725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:18] local.INFO: Processing buffer {"connection_id":57725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:07:18] local.INFO: IMEI packet received {"connection_id":57725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":57725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:07:19] local.INFO: TCP Data received {"connection_id":57725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:19] local.INFO: Processing buffer {"connection_id":57725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:19] local.INFO: Packet analysis {"connection_id":57725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:07:19] local.INFO: Extracted packet for processing {"connection_id":57725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:07:19] 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-04-28 21:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:07:19] 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-04-28 21:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":57725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:19] local.INFO: GPS data processed {"connection_id":57725,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:19] local.INFO: Acknowledgment sent {"connection_id":57725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:23] local.INFO: TCP Data received {"connection_id":56796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:23] local.INFO: Processing buffer {"connection_id":56796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:23] local.INFO: Packet analysis {"connection_id":56796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:07:23] local.INFO: Extracted packet for processing {"connection_id":56796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 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-04-28 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:07: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-04-28 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-04-28 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-04-28 21:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:07:23] local.INFO: TCP Data received {"connection_id":57725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:23] local.INFO: Processing buffer {"connection_id":57725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:07:23] local.INFO: Packet analysis {"connection_id":57725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:07:23] local.INFO: Extracted packet for processing {"connection_id":57725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 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-04-28 21:07: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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":56796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:23] local.INFO: GPS data processed {"connection_id":56796,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:23] local.INFO: Acknowledgment sent {"connection_id":56796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":57725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:23] local.INFO: GPS data processed {"connection_id":57725,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:23] local.INFO: Acknowledgment sent {"connection_id":57725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:29] local.INFO: TCP Data received {"connection_id":57036,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:29] local.INFO: Processing buffer {"connection_id":57036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:29] local.INFO: Packet analysis {"connection_id":57036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:07:29] local.INFO: Extracted packet for processing {"connection_id":57036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":57036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:29] local.INFO: GPS data processed {"connection_id":57036,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:29] local.INFO: Acknowledgment sent {"connection_id":57036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:51] local.INFO: TCP Data received {"connection_id":56797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:51] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:51] local.INFO: IMEI packet received {"connection_id":56797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":56797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:07:53] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:53] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:53] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:07:56] local.INFO: TCP Data received {"connection_id":56797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:56] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:07:56] local.INFO: IMEI packet received {"connection_id":56797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":56797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:07:57] local.INFO: TCP Data received {"connection_id":56797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:57] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:07:57] local.INFO: Packet analysis {"connection_id":56797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:07:57] local.INFO: Extracted packet for processing {"connection_id":56797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:07:57] 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-04-28 21: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":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:07: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-04-28 21: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-04-28 21:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":56797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":56797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":56797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":56797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:57] local.INFO: GPS data processed {"connection_id":56797,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:57] local.INFO: Acknowledgment sent {"connection_id":56797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:07:57] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:57] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:07:57] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:07:59] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:59] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:07:59] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:07:59] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:07:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:07:59] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:07:59] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:02] local.INFO: TCP Data received {"connection_id":56797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:08:02] local.INFO: Processing buffer {"connection_id":56797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4b8fb50012d8db70005cb5038000500362b..."} 
[2026-04-28 21:08:02] local.INFO: Packet analysis {"connection_id":56797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:08:02] local.INFO: Extracted packet for processing {"connection_id":56797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4b8"} 
[2026-04-28 21:08:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011861760001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777390386000,"timestamp_ms":1777390386000,"timestamp_seconds":1777390386,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4b8fb50"} 
[2026-04-28 21:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:08:02] 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-04-28 21:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:02] 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-04-28 21:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011861760001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011861760001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011861760001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":56797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:02] local.INFO: GPS data processed {"connection_id":56797,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:02] local.INFO: Acknowledgment sent {"connection_id":56797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:08] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:08] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:08] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:08:13] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:13] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:08:13] local.INFO: IMEI packet received {"connection_id":56798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":56798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:08:14] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:14] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:14] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:08:14] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:08:14] 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-04-28 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:14] 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-04-28 21:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:14] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:14] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:30] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:30] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:30] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:08:30] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:30] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:30] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:45] local.INFO: TCP Data received {"connection_id":56798,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:45] local.INFO: Processing buffer {"connection_id":56798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:08:45] local.INFO: Packet analysis {"connection_id":56798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:08:45] local.INFO: Extracted packet for processing {"connection_id":56798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 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-04-28 21:08:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:45] 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-04-28 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-04-28 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-04-28 21:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":56798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:45] local.INFO: GPS data processed {"connection_id":56798,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:45] local.INFO: Acknowledgment sent {"connection_id":56798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:46] local.INFO: TCP Data received {"connection_id":57728,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:46] local.INFO: Processing buffer {"connection_id":57728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:46] local.INFO: IMEI packet received {"connection_id":57728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":57728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:08:51] local.INFO: TCP Data received {"connection_id":57728,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:51] local.INFO: Processing buffer {"connection_id":57728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:08:51] local.INFO: IMEI packet received {"connection_id":57728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":57728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:08:52] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:52] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:52] local.INFO: IMEI packet received {"connection_id":57044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":57044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:08:52] local.INFO: TCP Data received {"connection_id":57728,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:08:52] local.INFO: Processing buffer {"connection_id":57728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:08:52] local.INFO: Packet analysis {"connection_id":57728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:08:52] local.INFO: Extracted packet for processing {"connection_id":57728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:08:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:08:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:52] 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-04-28 21: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-04-28 21:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":57728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:52] local.INFO: GPS data processed {"connection_id":57728,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:52] local.INFO: Acknowledgment sent {"connection_id":57728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:08:57] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:57] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:08:57] local.INFO: IMEI packet received {"connection_id":57044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":57044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:08:58] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:58] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:08:58] local.INFO: Packet analysis {"connection_id":57044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:08:58] local.INFO: Extracted packet for processing {"connection_id":57044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:08: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-04-28 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:08:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":57044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:08:59] local.INFO: GPS data processed {"connection_id":57044,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:08:59] local.INFO: Acknowledgment sent {"connection_id":57044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:04] local.INFO: TCP Data received {"connection_id":57727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:04] local.INFO: Processing buffer {"connection_id":57727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:04] local.INFO: IMEI packet received {"connection_id":57727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":57727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:09:08] local.INFO: TCP Data received {"connection_id":56799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:08] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:08] local.INFO: IMEI packet received {"connection_id":56799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":56799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:09:13] local.INFO: TCP Data received {"connection_id":56799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:13] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:09:13] local.INFO: IMEI packet received {"connection_id":56799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":56799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:09:14] local.INFO: TCP Data received {"connection_id":56799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:14] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:14] local.INFO: Packet analysis {"connection_id":56799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:09:14] local.INFO: Extracted packet for processing {"connection_id":56799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:09:14] 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-04-28 21:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:09:14] 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-04-28 21:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:09:14] 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-04-28 21:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:09:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":56799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:09:14] local.INFO: GPS data processed {"connection_id":56799,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:09:14] local.INFO: Acknowledgment sent {"connection_id":56799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:23] local.INFO: TCP Data received {"connection_id":57728,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:23] local.INFO: Processing buffer {"connection_id":57728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:23] local.INFO: Packet analysis {"connection_id":57728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:09:23] local.INFO: Extracted packet for processing {"connection_id":57728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":57728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:09:23] local.INFO: GPS data processed {"connection_id":57728,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:09:23] local.INFO: Acknowledgment sent {"connection_id":57728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:30] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:09:30] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ba6a80012d7b838005f5ea580009009e27..."} 
[2026-04-28 21:09:30] local.INFO: Packet analysis {"connection_id":57044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:09:30] local.INFO: Extracted packet for processing {"connection_id":57044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ba"} 
[2026-04-28 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011884288001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777390480000,"timestamp_ms":1777390480000,"timestamp_seconds":1777390480,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ba6a80"} 
[2026-04-28 21:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011884288001,"66":25495,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011884288001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:09:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011884288001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":57044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:09:30] local.INFO: GPS data processed {"connection_id":57044,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:09:30] local.INFO: Acknowledgment sent {"connection_id":57044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:34] local.INFO: TCP Data received {"connection_id":57045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:34] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:09:34] local.INFO: IMEI packet received {"connection_id":57045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":57045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:09:45] local.INFO: TCP Data received {"connection_id":56799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:45] local.INFO: Processing buffer {"connection_id":56799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:09:45] local.INFO: Packet analysis {"connection_id":56799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:09:45] local.INFO: Extracted packet for processing {"connection_id":56799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 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-04-28 21:09:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:09:45] 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-04-28 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-04-28 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-04-28 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:09:45] 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-04-28 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:09:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":56799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:09:45] local.INFO: GPS data processed {"connection_id":56799,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:09:45] local.INFO: Acknowledgment sent {"connection_id":56799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:47] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:47] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:47] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:09:51] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:51] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:09:51] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:09:52] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:52] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:09:52] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:09:52] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:09:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:09:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:09:52] 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-04-28 21:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:09:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:09:52] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:09:52] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:09:58] local.INFO: TCP Data received {"connection_id":57047,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:09:58] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:09:58] local.INFO: IMEI packet received {"connection_id":57047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":57047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:10:02] local.INFO: TCP Data received {"connection_id":57047,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:02] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:02] local.INFO: IMEI packet received {"connection_id":57047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":57047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:10:02] local.INFO: TCP Data received {"connection_id":57047,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:03] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:03] local.INFO: Packet analysis {"connection_id":57047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:03] local.INFO: Extracted packet for processing {"connection_id":57047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:10: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-04-28 21: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-04-28 21:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:10:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":57047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:03] local.INFO: GPS data processed {"connection_id":57047,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:03] local.INFO: Acknowledgment sent {"connection_id":57047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:04] local.INFO: TCP Data received {"connection_id":57047,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:04] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:04] local.INFO: Packet analysis {"connection_id":57047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:04] local.INFO: Extracted packet for processing {"connection_id":57047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:10: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-04-28 21: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-04-28 21:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:10:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":57047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:04] local.INFO: GPS data processed {"connection_id":57047,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:04] local.INFO: Acknowledgment sent {"connection_id":57047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:08] local.INFO: TCP Data received {"connection_id":57037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:08] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:08] local.INFO: IMEI packet received {"connection_id":57037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":57037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:10:13] local.INFO: TCP Data received {"connection_id":57037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:13] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:10:13] local.INFO: IMEI packet received {"connection_id":57037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":57037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:10:14] local.INFO: TCP Data received {"connection_id":57037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:14] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:14] local.INFO: Packet analysis {"connection_id":57037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:10:14] local.INFO: Extracted packet for processing {"connection_id":57037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10:14] 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-04-28 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:10:14] 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-04-28 21:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":57037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:14] local.INFO: GPS data processed {"connection_id":57037,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:14] local.INFO: Acknowledgment sent {"connection_id":57037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:23] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:23] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:23] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:10:23] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 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-04-28 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 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-04-28 21:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:23] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:23] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:35] local.INFO: TCP Data received {"connection_id":57047,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:35] local.INFO: Processing buffer {"connection_id":57047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:35] local.INFO: Packet analysis {"connection_id":57047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:35] local.INFO: Extracted packet for processing {"connection_id":57047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:10:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":57047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:35] local.INFO: GPS data processed {"connection_id":57047,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:35] local.INFO: Acknowledgment sent {"connection_id":57047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:45] local.INFO: TCP Data received {"connection_id":57037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:45] local.INFO: Processing buffer {"connection_id":57037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:10:45] local.INFO: Packet analysis {"connection_id":57037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:10:45] local.INFO: Extracted packet for processing {"connection_id":57037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 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-04-28 21:10:45] 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-04-28 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:10:45] 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-04-28 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-04-28 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-04-28 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":57037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:45] local.INFO: GPS data processed {"connection_id":57037,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:45] local.INFO: Acknowledgment sent {"connection_id":57037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:46] local.INFO: TCP Data received {"connection_id":57039,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:46] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:46] local.INFO: IMEI packet received {"connection_id":57039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":57039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:10:51] local.INFO: TCP Data received {"connection_id":57039,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:51] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:10:51] local.INFO: IMEI packet received {"connection_id":57039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":57039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:10:52] local.INFO: TCP Data received {"connection_id":57039,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:52] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:10:52] local.INFO: Packet analysis {"connection_id":57039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:10:52] local.INFO: Extracted packet for processing {"connection_id":57039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:10:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:10:52] 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-04-28 21: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-04-28 21:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":57039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:52] local.INFO: GPS data processed {"connection_id":57039,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:52] local.INFO: Acknowledgment sent {"connection_id":57039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:10:53] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:53] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:53] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:10:57] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:57] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:10:57] local.INFO: IMEI packet received {"connection_id":56800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":56800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:10:58] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:58] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:10:58] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:58] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:10: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:10: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-04-28 21: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-04-28 21:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:10:58] 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-04-28 21:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:10:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:10:58] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:10:58] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:08] local.INFO: TCP Data received {"connection_id":57040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:08] local.INFO: Processing buffer {"connection_id":57040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:08] local.INFO: IMEI packet received {"connection_id":57040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":57040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:11:13] local.INFO: TCP Data received {"connection_id":57040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:13] local.INFO: Processing buffer {"connection_id":57040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:11:13] local.INFO: IMEI packet received {"connection_id":57040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":57040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:11:14] local.INFO: TCP Data received {"connection_id":57040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:11:14] local.INFO: Processing buffer {"connection_id":57040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bb7038012d196500071ff0900042014a27..."} 
[2026-04-28 21:11:14] local.INFO: Packet analysis {"connection_id":57040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:11:14] local.INFO: Extracted packet for processing {"connection_id":57040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bb"} 
[2026-04-28 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011902976001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390547000,"timestamp_ms":1777390547000,"timestamp_seconds":1777390547,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bb7038"} 
[2026-04-28 21:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:11:14] 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-04-28 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 21:11:14] 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-04-28 21:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:11:14] 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-04-28 21:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011902976001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011902976001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011902976001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":57040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:14] local.INFO: GPS data processed {"connection_id":57040,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:14] local.INFO: Acknowledgment sent {"connection_id":57040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:23] local.INFO: TCP Data received {"connection_id":57039,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:23] local.INFO: Processing buffer {"connection_id":57039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:23] local.INFO: Packet analysis {"connection_id":57039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:11:23] local.INFO: Extracted packet for processing {"connection_id":57039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 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-04-28 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 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-04-28 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:11:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":57039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:23] local.INFO: GPS data processed {"connection_id":57039,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:23] local.INFO: Acknowledgment sent {"connection_id":57039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:29] local.INFO: TCP Data received {"connection_id":56800,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:29] local.INFO: Processing buffer {"connection_id":56800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:29] local.INFO: Packet analysis {"connection_id":56800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:11:29] local.INFO: Extracted packet for processing {"connection_id":56800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:11:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":56800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:29] local.INFO: GPS data processed {"connection_id":56800,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:29] local.INFO: Acknowledgment sent {"connection_id":56800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:45] local.INFO: TCP Data received {"connection_id":57040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:11:45] local.INFO: Processing buffer {"connection_id":57040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:11:45] local.INFO: Packet analysis {"connection_id":57040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:11:45] local.INFO: Extracted packet for processing {"connection_id":57040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:11:45] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:11:45] 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-04-28 21:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":57040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:45] local.INFO: GPS data processed {"connection_id":57040,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:45] local.INFO: Acknowledgment sent {"connection_id":57040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:46] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:46] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:46] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:11:52] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:52] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:11:52] local.INFO: IMEI packet received {"connection_id":56801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":56801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:11:52] local.INFO: TCP Data received {"connection_id":57729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:52] local.INFO: Processing buffer {"connection_id":57729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:52] local.INFO: IMEI packet received {"connection_id":57729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":57729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:11:53] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:53] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:11:53] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:11:53] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:11:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:11:53] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:11:53] 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-04-28 21: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-04-28 21:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:53] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:53] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:11:57] local.INFO: TCP Data received {"connection_id":57729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:57] local.INFO: Processing buffer {"connection_id":57729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:11:57] local.INFO: IMEI packet received {"connection_id":57729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":57729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:11:58] local.INFO: TCP Data received {"connection_id":57729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:58] local.INFO: Processing buffer {"connection_id":57729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:11:58] local.INFO: Packet analysis {"connection_id":57729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:11:58] local.INFO: Extracted packet for processing {"connection_id":57729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:11: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:11: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-04-28 21: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-04-28 21:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:11:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":57729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:11:58] local.INFO: GPS data processed {"connection_id":57729,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:11:58] local.INFO: Acknowledgment sent {"connection_id":57729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:08] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:08] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:08] local.INFO: IMEI packet received {"connection_id":57048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":57048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:12:13] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:13] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:12:13] local.INFO: IMEI packet received {"connection_id":57048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":57048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:12:14] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:14] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:14] local.INFO: Packet analysis {"connection_id":57048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:14] local.INFO: Extracted packet for processing {"connection_id":57048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:14] 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-04-28 21:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":57048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:14] local.INFO: GPS data processed {"connection_id":57048,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:14] local.INFO: Acknowledgment sent {"connection_id":57048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:18] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:18] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:18] local.INFO: Packet analysis {"connection_id":57048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:18] local.INFO: Extracted packet for processing {"connection_id":57048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:18] 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-04-28 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":57048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:18] local.INFO: GPS data processed {"connection_id":57048,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:18] local.INFO: Acknowledgment sent {"connection_id":57048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:24] local.INFO: TCP Data received {"connection_id":56801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:24] local.INFO: Processing buffer {"connection_id":56801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:24] local.INFO: Packet analysis {"connection_id":56801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:12:24] local.INFO: Extracted packet for processing {"connection_id":56801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:12:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:24] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:24] 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-04-28 21: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-04-28 21:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":56801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:24] local.INFO: GPS data processed {"connection_id":56801,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:24] local.INFO: Acknowledgment sent {"connection_id":56801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:29] local.INFO: TCP Data received {"connection_id":57729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:29] local.INFO: Processing buffer {"connection_id":57729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:29] local.INFO: Packet analysis {"connection_id":57729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:12:29] local.INFO: Extracted packet for processing {"connection_id":57729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":57729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:29] local.INFO: GPS data processed {"connection_id":57729,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:29] local.INFO: Acknowledgment sent {"connection_id":57729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:49] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:49] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:12:49] local.INFO: Packet analysis {"connection_id":57048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:49] local.INFO: Extracted packet for processing {"connection_id":57048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:49] 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-04-28 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":57048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:49] local.INFO: GPS data processed {"connection_id":57048,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:49] local.INFO: Acknowledgment sent {"connection_id":57048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:51] local.INFO: TCP Data received {"connection_id":57730,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:51] local.INFO: Processing buffer {"connection_id":57730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:51] local.INFO: IMEI packet received {"connection_id":57730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":57730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:12:52] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:52] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:52] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:12:56] local.INFO: TCP Data received {"connection_id":57730,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:56] local.INFO: Processing buffer {"connection_id":57730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:12:56] local.INFO: IMEI packet received {"connection_id":57730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":57730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:12:57] local.INFO: TCP Data received {"connection_id":57730,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:57] local.INFO: Processing buffer {"connection_id":57730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:12:57] local.INFO: Packet analysis {"connection_id":57730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:12:57] local.INFO: Extracted packet for processing {"connection_id":57730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:12:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:57] 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-04-28 21: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":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:12:57] 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-04-28 21: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-04-28 21:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":57730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:57] local.INFO: GPS data processed {"connection_id":57730,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:57] local.INFO: Acknowledgment sent {"connection_id":57730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:12:57] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:57] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:12:57] local.INFO: IMEI packet received {"connection_id":57043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":57043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:12:58] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:58] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4befa78012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:12:58] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:12:58] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4be"} 
[2026-04-28 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011962880001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777390779000,"timestamp_ms":1777390779000,"timestamp_seconds":1777390779,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4befa78"} 
[2026-04-28 21:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:12: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-04-28 21: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-04-28 21:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011962880001,"66":25593,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011962880001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:12:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011962880001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:12:58] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:12:58] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:13:02] local.INFO: TCP Data received {"connection_id":57730,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:13:02] local.INFO: Processing buffer {"connection_id":57730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4bd9318012d8db70005cb5038000500362a..."} 
[2026-04-28 21:13:02] local.INFO: Packet analysis {"connection_id":57730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:13:02] local.INFO: Extracted packet for processing {"connection_id":57730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4bd"} 
[2026-04-28 21:13:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011938816001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777390687000,"timestamp_ms":1777390687000,"timestamp_seconds":1777390687,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4bd9318"} 
[2026-04-28 21:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:13:02] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:13:02] 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-04-28 21: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-04-28 21:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011938816001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011938816001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:13:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011938816001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":57730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:13:02] local.INFO: GPS data processed {"connection_id":57730,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:13:02] local.INFO: Acknowledgment sent {"connection_id":57730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:13:08] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:08] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:08] local.INFO: IMEI packet received {"connection_id":57044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":57044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:13:13] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:13] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:13:13] local.INFO: IMEI packet received {"connection_id":57044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":57044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:13:14] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:14] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:14] local.INFO: Packet analysis {"connection_id":57044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:13:14] local.INFO: Extracted packet for processing {"connection_id":57044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:13:14] 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-04-28 21:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:13:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":57044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:13:14] local.INFO: GPS data processed {"connection_id":57044,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:13:14] local.INFO: Acknowledgment sent {"connection_id":57044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:13:29] local.INFO: TCP Data received {"connection_id":57043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c1c938012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c1c938012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:13:29] local.INFO: Processing buffer {"connection_id":57043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c1c938012d7b838005f5ea580009009e2b..."} 
[2026-04-28 21:13:29] local.INFO: Packet analysis {"connection_id":57043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c1"} 
[2026-04-28 21:13:29] local.INFO: Extracted packet for processing {"connection_id":57043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c1"} 
[2026-04-28 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002392,"longitude_deg":76.3069312,"latitude_deg":10.0002392,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7b8380","hex_latitude":"05f5ea58","is_valid_coordinates":true} 
[2026-04-28 21:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012039424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777390963000,"timestamp_ms":1777390963000,"timestamp_seconds":1777390963,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c1c938"} 
[2026-04-28 21:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012039424001,"66":25549,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012039424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:13:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:13:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012039424001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":57043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:13:29] local.INFO: GPS data processed {"connection_id":57043,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:13:29] local.INFO: Acknowledgment sent {"connection_id":57043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:13:45] local.INFO: TCP Data received {"connection_id":57044,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:45] local.INFO: Processing buffer {"connection_id":57044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:13:45] local.INFO: Packet analysis {"connection_id":57044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:13:45] local.INFO: Extracted packet for processing {"connection_id":57044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 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-04-28 21:13:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:13:45] 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-04-28 21:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:13:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":57044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:13:45] local.INFO: GPS data processed {"connection_id":57044,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:13:45] local.INFO: Acknowledgment sent {"connection_id":57044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:13:46] local.INFO: TCP Data received {"connection_id":57732,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:46] local.INFO: Processing buffer {"connection_id":57732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:46] local.INFO: IMEI packet received {"connection_id":57732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":57732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:13:51] local.INFO: TCP Data received {"connection_id":57732,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:51] local.INFO: Processing buffer {"connection_id":57732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:13:51] local.INFO: IMEI packet received {"connection_id":57732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":57732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:13:52] local.INFO: TCP Data received {"connection_id":57732,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:13:52] local.INFO: Processing buffer {"connection_id":57732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:13:52] local.INFO: Packet analysis {"connection_id":57732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:13:52] local.INFO: Extracted packet for processing {"connection_id":57732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:13:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:13:52] 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-04-28 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:13: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-04-28 21:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:13:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":57732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:13:52] local.INFO: GPS data processed {"connection_id":57732,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:13:52] local.INFO: Acknowledgment sent {"connection_id":57732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:07] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:07] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:07] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:14:08] local.INFO: TCP Data received {"connection_id":57733,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:08] local.INFO: Processing buffer {"connection_id":57733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:08] local.INFO: IMEI packet received {"connection_id":57733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":57733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:14:12] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:12] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:12] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:14:13] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d7b834005f5eac00009009e27..."} 
[2026-04-28 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d7b834005f5eac00009009e27..."} 
[2026-04-28 21:14:13] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d7b834005f5eac00009009e27..."} 
[2026-04-28 21:14:13] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:13] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100002496,"longitude_deg":76.3069248,"latitude_deg":10.0002496,"altitude":9,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5eac0","is_valid_coordinates":true} 
[2026-04-28 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012086528001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703199744,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 21:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012086528001,"66":27539,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900098051703199744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012086528001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:13] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703199744,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012086528001,"power":27539,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703199744}} 
[2026-04-28 21:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:13] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:13] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:13] local.INFO: TCP Data received {"connection_id":57733,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:13] local.INFO: Processing buffer {"connection_id":57733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:14:13] local.INFO: IMEI packet received {"connection_id":57733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":57733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:14:14] local.INFO: TCP Data received {"connection_id":57733,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:14] local.INFO: Processing buffer {"connection_id":57733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:14] local.INFO: Packet analysis {"connection_id":57733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:14:14] local.INFO: Extracted packet for processing {"connection_id":57733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":57733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:14] local.INFO: GPS data processed {"connection_id":57733,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:14] local.INFO: Acknowledgment sent {"connection_id":57733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:18] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c27ce8012d7b834005f5eac00009009e2a..."} 
[2026-04-28 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c27ce8012d7b834005f5eac00009009e2a..."} 
[2026-04-28 21:14:18] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c27ce8012d7b834005f5eac00009009e2a..."} 
[2026-04-28 21:14:18] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:18] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100002496,"longitude_deg":76.3069248,"latitude_deg":10.0002496,"altitude":9,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5eac0","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595469253672960,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959048704,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777391009000,"timestamp_ms":1777391009000,"timestamp_seconds":1777391009,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c27ce8"} 
[2026-04-28 21:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21: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-04-28 21: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 21:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14: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-04-28 21:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":27397,"160":206,"87":12800,"24":0,"16":282595469253672960,"45":8900027682959048704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:18] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:14:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595469253672960,"km_value":282595469253672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959048704,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":27397,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959048704}} 
[2026-04-28 21:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:18] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:18] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:23] local.INFO: TCP Data received {"connection_id":57732,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:23] local.INFO: Processing buffer {"connection_id":57732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:23] local.INFO: Packet analysis {"connection_id":57732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:23] local.INFO: Extracted packet for processing {"connection_id":57732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 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-04-28 21:14:23] 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-04-28 21:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:14: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-04-28 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-04-28 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-04-28 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":57732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:23] local.INFO: GPS data processed {"connection_id":57732,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:23] local.INFO: Acknowledgment sent {"connection_id":57732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:45] local.INFO: TCP Data received {"connection_id":57733,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:45] local.INFO: Processing buffer {"connection_id":57733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:14:45] local.INFO: Packet analysis {"connection_id":57733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:14:45] local.INFO: Extracted packet for processing {"connection_id":57733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 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-04-28 21:14:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":57733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:45] local.INFO: GPS data processed {"connection_id":57733,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:45] local.INFO: Acknowledgment sent {"connection_id":57733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:46] local.INFO: TCP Data received {"connection_id":57050,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:46] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:46] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:14:49] local.INFO: TCP Data received {"connection_id":57734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:14:49] local.INFO: Processing buffer {"connection_id":57734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:14:49] local.INFO: IMEI packet received {"connection_id":57734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":57734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:14:51] local.INFO: TCP Data received {"connection_id":57050,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:51] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:14:51] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:14:52] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:52] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:52] local.INFO: IMEI packet received {"connection_id":57051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":57051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:14:52] local.INFO: TCP Data received {"connection_id":57050,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:52] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:14:52] local.INFO: Packet analysis {"connection_id":57050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:52] local.INFO: Extracted packet for processing {"connection_id":57050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:14:52] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:14: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-04-28 21: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-04-28 21:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":57050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:52] local.INFO: GPS data processed {"connection_id":57050,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:52] local.INFO: Acknowledgment sent {"connection_id":57050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:14:57] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:57] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:14:57] local.INFO: IMEI packet received {"connection_id":57051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":57051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:14:58] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2cb08012d7b834005f5ec68000b009a2c..."} 
[2026-04-28 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2cb08012d7b834005f5ec68000b009a2c..."} 
[2026-04-28 21:14:58] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2cb08012d7b834005f5ec68000b009a2c..."} 
[2026-04-28 21:14:58] local.INFO: Packet analysis {"connection_id":57051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:58] local.INFO: Extracted packet for processing {"connection_id":57051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100002920,"longitude_deg":76.3069248,"latitude_deg":10.000292,"altitude":11,"angle":154,"satellites":44,"speed":3,"hex_longitude":"2d7b8340","hex_latitude":"05f5ec68","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012098304001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595490728509440,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959048704,"note":"Value kept but may cause issues"} 
[2026-04-28 21:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391029000,"timestamp_ms":1777391029000,"timestamp_seconds":1777391029,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2cb08"} 
[2026-04-28 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-04-28 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 21:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012098304001,"66":27234,"160":206,"87":12800,"24":3,"16":282595490728509440,"45":8900027682959048704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012098304001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:14:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595490728509440,"km_value":282595490728509.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959048704,"description":"Unknown IO ID 45"} 
[2026-04-28 21:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012098304001,"power":27234,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8900027682959048704}} 
[2026-04-28 21:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":57051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:14:58] local.INFO: GPS data processed {"connection_id":57051,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:14:58] local.INFO: Acknowledgment sent {"connection_id":57051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:08] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:08] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:08] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:15:13] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:13] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:15:13] local.INFO: IMEI packet received {"connection_id":56802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":56802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:15:14] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:14] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:14] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:15:14] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:15:14] 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-04-28 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:14] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:14] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:24] local.INFO: TCP Data received {"connection_id":57050,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:24] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:24] local.INFO: Packet analysis {"connection_id":57050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:24] local.INFO: Extracted packet for processing {"connection_id":57050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15:24] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:15:24] 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-04-28 21: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-04-28 21:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":57050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:24] local.INFO: GPS data processed {"connection_id":57050,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:24] local.INFO: Acknowledgment sent {"connection_id":57050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:30] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2cef0012d7b834005f5ebe0000a00b82c..."} 
[2026-04-28 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2cef0012d7b834005f5ebe0000a00b82c..."} 
[2026-04-28 21:15:30] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2cef0012d7b834005f5ebe0000a00b82c..."} 
[2026-04-28 21:15:30] local.INFO: Packet analysis {"connection_id":57051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:30] local.INFO: Extracted packet for processing {"connection_id":57051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100002784,"longitude_deg":76.3069248,"latitude_deg":10.0002784,"altitude":10,"angle":184,"satellites":44,"speed":6,"hex_longitude":"2d7b8340","hex_latitude":"05f5ebe0","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012103424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595499318444032,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959157248,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391030000,"timestamp_ms":1777391030000,"timestamp_seconds":1777391030,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2cef0"} 
[2026-04-28 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-28 21:15:30] 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-04-28 21: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-04-28 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012103424001,"66":27365,"160":206,"87":12800,"24":6,"16":282595499318444032,"45":8900027682959157248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012103424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595499318444032,"km_value":282595499318444.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959157248,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012103424001,"power":27365,"unknown_160":206,"unknown_87":12800,"ignition":6,"odometer":null,"unknown_45":8900027682959157248}} 
[2026-04-28 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":57051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:30] local.INFO: GPS data processed {"connection_id":57051,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:30] local.INFO: Acknowledgment sent {"connection_id":57051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:35] local.INFO: TCP Data received {"connection_id":57045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:15:35] local.INFO: Processing buffer {"connection_id":57045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:15:35] local.INFO: IMEI packet received {"connection_id":57045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":57045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:15:46] local.INFO: TCP Data received {"connection_id":56802,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:46] local.INFO: Processing buffer {"connection_id":56802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:15:46] local.INFO: Packet analysis {"connection_id":56802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:15:46] local.INFO: Extracted packet for processing {"connection_id":56802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:15:46] 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-04-28 21:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":56802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:46] local.INFO: GPS data processed {"connection_id":56802,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:46] local.INFO: Acknowledgment sent {"connection_id":56802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:46] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:46] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:46] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:15:51] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:51] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:15:51] local.INFO: IMEI packet received {"connection_id":57046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":57046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:15:52] local.INFO: TCP Data received {"connection_id":57735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:52] local.INFO: Processing buffer {"connection_id":57735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:52] local.INFO: IMEI packet received {"connection_id":57735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":57735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:15:52] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:52] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:15:52] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:52] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15:52] 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-04-28 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:15: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-04-28 21:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:52] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:52] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:15:57] local.INFO: TCP Data received {"connection_id":57735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:57] local.INFO: Processing buffer {"connection_id":57735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:15:57] local.INFO: IMEI packet received {"connection_id":57735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":57735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:15:59] local.INFO: TCP Data received {"connection_id":57735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2ea48012d7b834005f5eb08000a00472d..."} 
[2026-04-28 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2ea48012d7b834005f5eb08000a00472d..."} 
[2026-04-28 21:15:59] local.INFO: Processing buffer {"connection_id":57735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2ea48012d7b834005f5eb08000a00472d..."} 
[2026-04-28 21:15:59] local.INFO: Packet analysis {"connection_id":57735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:59] local.INFO: Extracted packet for processing {"connection_id":57735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100002568,"longitude_deg":76.3069248,"latitude_deg":10.0002568,"altitude":10,"angle":71,"satellites":45,"speed":2,"hex_longitude":"2d7b8340","hex_latitude":"05f5eb08","is_valid_coordinates":true} 
[2026-04-28 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012103680001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595512203345920,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959122432,"note":"Value kept but may cause issues"} 
[2026-04-28 21:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777391037000,"timestamp_ms":1777391037000,"timestamp_seconds":1777391037,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2ea48"} 
[2026-04-28 21:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:15: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-04-28 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 21:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012103680001,"66":27539,"160":206,"87":12800,"24":2,"16":282595512203345920,"45":8900027682959122432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012103680001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:15:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595512203345920,"km_value":282595512203345.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959122432,"description":"Unknown IO ID 45"} 
[2026-04-28 21:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012103680001,"power":27539,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8900027682959122432}} 
[2026-04-28 21:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":57735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:15:59] local.INFO: GPS data processed {"connection_id":57735,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:15:59] local.INFO: Acknowledgment sent {"connection_id":57735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:08] local.INFO: TCP Data received {"connection_id":57737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:08] local.INFO: Processing buffer {"connection_id":57737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:08] local.INFO: IMEI packet received {"connection_id":57737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":57737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:16:13] local.INFO: TCP Data received {"connection_id":57737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:13] local.INFO: Processing buffer {"connection_id":57737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:16:13] local.INFO: IMEI packet received {"connection_id":57737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":57737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:16:14] local.INFO: TCP Data received {"connection_id":57737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:16:14] local.INFO: Processing buffer {"connection_id":57737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c00800012d196500071ff0900042014a29..."} 
[2026-04-28 21:16:14] local.INFO: Packet analysis {"connection_id":57737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:16:14] local.INFO: Extracted packet for processing {"connection_id":57737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c0"} 
[2026-04-28 21:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455011980032001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777390848000,"timestamp_ms":1777390848000,"timestamp_seconds":1777390848,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c00800"} 
[2026-04-28 21:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:16:14] 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-04-28 21:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455011980032001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455011980032001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455011980032001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":57737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:14] local.INFO: GPS data processed {"connection_id":57737,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:14] local.INFO: Acknowledgment sent {"connection_id":57737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:23] local.INFO: TCP Data received {"connection_id":57046,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:23] local.INFO: Processing buffer {"connection_id":57046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:23] local.INFO: Packet analysis {"connection_id":57046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:23] local.INFO: Extracted packet for processing {"connection_id":57046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:16:23] 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-04-28 21:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:16: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-04-28 21:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":57046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:24] local.INFO: GPS data processed {"connection_id":57046,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:24] local.INFO: Acknowledgment sent {"connection_id":57046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:30] local.INFO: TCP Data received {"connection_id":57735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2ee30012d7b838005f5eb28000a00342b..."} 
[2026-04-28 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2ee30012d7b838005f5eb28000a00342b..."} 
[2026-04-28 21:16:30] local.INFO: Processing buffer {"connection_id":57735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2ee30012d7b838005f5eb28000a00342b..."} 
[2026-04-28 21:16:30] local.INFO: Packet analysis {"connection_id":57735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:30] local.INFO: Extracted packet for processing {"connection_id":57735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100002600,"longitude_deg":76.3069312,"latitude_deg":10.00026,"altitude":10,"angle":52,"satellites":43,"speed":2,"hex_longitude":"2d7b8380","hex_latitude":"05f5eb28","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012105472001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595516498313216,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959067136,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391038000,"timestamp_ms":1777391038000,"timestamp_seconds":1777391038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2ee30"} 
[2026-04-28 21:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:16: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-04-28 21: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-28 21:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012105472001,"66":27376,"160":206,"87":12800,"24":2,"16":282595516498313216,"45":8900027682959067136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012105472001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595516498313216,"km_value":282595516498313.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959067136,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012105472001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8900027682959067136}} 
[2026-04-28 21:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":57735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:30] local.INFO: GPS data processed {"connection_id":57735,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:30] local.INFO: Acknowledgment sent {"connection_id":57735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:46] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:46] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:46] local.INFO: IMEI packet received {"connection_id":56804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":56804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:16:49] local.INFO: TCP Data received {"connection_id":57737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:16:49] local.INFO: Processing buffer {"connection_id":57737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:16:49] local.INFO: Packet analysis {"connection_id":57737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:16:49] local.INFO: Extracted packet for processing {"connection_id":57737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:16:49] 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-04-28 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":57737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:49] local.INFO: GPS data processed {"connection_id":57737,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:49] local.INFO: Acknowledgment sent {"connection_id":57737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:51] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:51] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:16:51] local.INFO: IMEI packet received {"connection_id":56804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":56804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:16:52] local.INFO: TCP Data received {"connection_id":57052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:52] local.INFO: Processing buffer {"connection_id":57052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:52] local.INFO: IMEI packet received {"connection_id":57052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":57052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:16:52] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:52] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:16:52] local.INFO: Packet analysis {"connection_id":56804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:52] local.INFO: Extracted packet for processing {"connection_id":56804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:16:52] 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-04-28 21: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:16: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-04-28 21: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-04-28 21:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":56804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:52] local.INFO: GPS data processed {"connection_id":56804,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:52] local.INFO: Acknowledgment sent {"connection_id":56804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:16:57] local.INFO: TCP Data received {"connection_id":57052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:57] local.INFO: Processing buffer {"connection_id":57052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:16:57] local.INFO: IMEI packet received {"connection_id":57052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":57052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:16:58] local.INFO: TCP Data received {"connection_id":57052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2f218012d7b83c005f5eb80000b00142c..."} 
[2026-04-28 21:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2f218012d7b83c005f5eb80000b00142c..."} 
[2026-04-28 21:16:58] local.INFO: Processing buffer {"connection_id":57052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2f218012d7b83c005f5eb80000b00142c..."} 
[2026-04-28 21:16:58] local.INFO: Packet analysis {"connection_id":57052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:58] local.INFO: Extracted packet for processing {"connection_id":57052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100002688,"longitude_deg":76.3069376,"latitude_deg":10.0002688,"altitude":11,"angle":20,"satellites":44,"speed":3,"hex_longitude":"2d7b83c0","hex_latitude":"05f5eb80","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012105728001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595525088247808,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703252992,"note":"Value kept but may cause issues"} 
[2026-04-28 21:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391039000,"timestamp_ms":1777391039000,"timestamp_seconds":1777391039,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2f218"} 
[2026-04-28 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-04-28 21:16: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-04-28 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 21:16:58] 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-04-28 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-04-28 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-04-28 21:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012105728001,"66":27376,"160":206,"87":12800,"24":3,"16":282595525088247808,"45":8900098051703252992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012105728001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:16:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595525088247808,"km_value":282595525088247.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703252992,"description":"Unknown IO ID 45"} 
[2026-04-28 21:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012105728001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8900098051703252992}} 
[2026-04-28 21:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":57052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:16:58] local.INFO: GPS data processed {"connection_id":57052,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:16:58] local.INFO: Acknowledgment sent {"connection_id":57052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:08] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:08] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:08] local.INFO: IMEI packet received {"connection_id":57053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":57053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:17:13] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:13] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:17:13] local.INFO: IMEI packet received {"connection_id":57053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":57053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:17:14] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:14] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:14] local.INFO: Packet analysis {"connection_id":57053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:17:14] local.INFO: Extracted packet for processing {"connection_id":57053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17:14] 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-04-28 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":57053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:14] local.INFO: GPS data processed {"connection_id":57053,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:14] local.INFO: Acknowledgment sent {"connection_id":57053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:24] local.INFO: TCP Data received {"connection_id":56804,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:24] local.INFO: Processing buffer {"connection_id":56804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:24] local.INFO: Packet analysis {"connection_id":56804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:24] local.INFO: Extracted packet for processing {"connection_id":56804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17:24] 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-04-28 21:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:24] 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-04-28 21:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":56804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:24] local.INFO: GPS data processed {"connection_id":56804,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:24] local.INFO: Acknowledgment sent {"connection_id":56804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:29] local.INFO: TCP Data received {"connection_id":57052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2f600012d7b83c005f5ebc8000b015d2b..."} 
[2026-04-28 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2f600012d7b83c005f5ebc8000b015d2b..."} 
[2026-04-28 21:17:29] local.INFO: Processing buffer {"connection_id":57052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2f600012d7b83c005f5ebc8000b015d2b..."} 
[2026-04-28 21:17:29] local.INFO: Packet analysis {"connection_id":57052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:29] local.INFO: Extracted packet for processing {"connection_id":57052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100002760,"longitude_deg":76.3069376,"latitude_deg":10.000276,"altitude":11,"angle":349,"satellites":43,"speed":2,"hex_longitude":"2d7b83c0","hex_latitude":"05f5ebc8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012105984001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595525088247808,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447453184,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777391040000,"timestamp_ms":1777391040000,"timestamp_seconds":1777391040,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2f600"} 
[2026-04-28 21:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012105984001,"66":27397,"160":206,"87":12800,"24":2,"16":282595525088247808,"45":8900168420447453184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012105984001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:17:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595525088247808,"km_value":282595525088247.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447453184,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012105984001,"power":27397,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8900168420447453184}} 
[2026-04-28 21:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":57052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:29] local.INFO: GPS data processed {"connection_id":57052,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:29] local.INFO: Acknowledgment sent {"connection_id":57052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:46] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:46] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:17:46] local.INFO: Packet analysis {"connection_id":57053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:17:46] local.INFO: Extracted packet for processing {"connection_id":57053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17:46] 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-04-28 21:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":57053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:46] local.INFO: GPS data processed {"connection_id":57053,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:46] local.INFO: Acknowledgment sent {"connection_id":57053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:51] local.INFO: TCP Data received {"connection_id":57738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:51] local.INFO: Processing buffer {"connection_id":57738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:51] local.INFO: IMEI packet received {"connection_id":57738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":57738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:17:52] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:52] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:52] local.INFO: IMEI packet received {"connection_id":56805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":56805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:17:56] local.INFO: TCP Data received {"connection_id":57738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:56] local.INFO: Processing buffer {"connection_id":57738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:17:56] local.INFO: IMEI packet received {"connection_id":57738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":57738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:17:57] local.INFO: TCP Data received {"connection_id":57738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:57] local.INFO: Processing buffer {"connection_id":57738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:17:57] local.INFO: Packet analysis {"connection_id":57738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:57] local.INFO: Extracted packet for processing {"connection_id":57738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17:57] 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-04-28 21:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:57] 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-04-28 21:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":57738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:57] local.INFO: GPS data processed {"connection_id":57738,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:57] local.INFO: Acknowledgment sent {"connection_id":57738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:17:57] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:57] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:17:57] local.INFO: IMEI packet received {"connection_id":56805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":56805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:17:58] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c2fdd0012d7b83c005f5ec30000b00002b..."} 
[2026-04-28 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c2fdd0012d7b83c005f5ec30000b00002b..."} 
[2026-04-28 21:17:58] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c2fdd0012d7b83c005f5ec30000b00002b..."} 
[2026-04-28 21:17:58] local.INFO: Packet analysis {"connection_id":56805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:58] local.INFO: Extracted packet for processing {"connection_id":56805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100002864,"longitude_deg":76.3069376,"latitude_deg":10.0002864,"altitude":11,"angle":0,"satellites":43,"speed":2,"hex_longitude":"2d7b83c0","hex_latitude":"05f5ec30","is_valid_coordinates":true} 
[2026-04-28 21:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012106240001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595533678182400,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447471616,"note":"Value kept but may cause issues"} 
[2026-04-28 21:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391042000,"timestamp_ms":1777391042000,"timestamp_seconds":1777391042,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c2fdd0"} 
[2026-04-28 21:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:17: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-04-28 21:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 21:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012106240001,"66":27397,"160":206,"87":12800,"24":2,"16":282595533678182400,"45":8900168420447471616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012106240001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:17:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595533678182400,"km_value":282595533678182.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447471616,"description":"Unknown IO ID 45"} 
[2026-04-28 21:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012106240001,"power":27397,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8900168420447471616}} 
[2026-04-28 21:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":56805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:17:58] local.INFO: GPS data processed {"connection_id":56805,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:17:58] local.INFO: Acknowledgment sent {"connection_id":56805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:02] local.INFO: TCP Data received {"connection_id":57738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:02] local.INFO: Processing buffer {"connection_id":57738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c22ae0012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:02] local.INFO: Packet analysis {"connection_id":57738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:18:02] local.INFO: Extracted packet for processing {"connection_id":57738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c2"} 
[2026-04-28 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012015872001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777390988000,"timestamp_ms":1777390988000,"timestamp_seconds":1777390988,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c22ae0"} 
[2026-04-28 21:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:18:02] 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-04-28 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012015872001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012015872001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012015872001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":57738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:02] local.INFO: GPS data processed {"connection_id":57738,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:02] local.INFO: Acknowledgment sent {"connection_id":57738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:08] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:08] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:08] local.INFO: IMEI packet received {"connection_id":57054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":57054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:18:13] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:13] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:18:13] local.INFO: IMEI packet received {"connection_id":57054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":57054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:18:14] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:14] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:14] local.INFO: Packet analysis {"connection_id":57054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:18:14] local.INFO: Extracted packet for processing {"connection_id":57054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:18:14] 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-04-28 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:18:14] 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-04-28 21:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":57054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:14] local.INFO: GPS data processed {"connection_id":57054,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:14] local.INFO: Acknowledgment sent {"connection_id":57054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:29] local.INFO: TCP Data received {"connection_id":56805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c30988012d7b83c005f5ec78000b015c2b..."} 
[2026-04-28 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c30988012d7b83c005f5ec78000b015c2b..."} 
[2026-04-28 21:18:29] local.INFO: Processing buffer {"connection_id":56805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c30988012d7b83c005f5ec78000b015c2b..."} 
[2026-04-28 21:18:29] local.INFO: Packet analysis {"connection_id":56805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:18:29] local.INFO: Extracted packet for processing {"connection_id":56805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100002936,"longitude_deg":76.3069376,"latitude_deg":10.0002936,"altitude":11,"angle":348,"satellites":43,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5ec78","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012106752001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595533678182400,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447498240,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777391045000,"timestamp_ms":1777391045000,"timestamp_seconds":1777391045,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c30988"} 
[2026-04-28 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-04-28 21:18: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-04-28 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012106752001,"66":27593,"160":206,"87":12800,"24":0,"16":282595533678182400,"45":8900168420447498240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012106752001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595533678182400,"km_value":282595533678182.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447498240,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012106752001,"power":27593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900168420447498240}} 
[2026-04-28 21:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":56805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:29] local.INFO: GPS data processed {"connection_id":56805,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:29] local.INFO: Acknowledgment sent {"connection_id":56805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:46] local.INFO: TCP Data received {"connection_id":57740,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:46] local.INFO: Processing buffer {"connection_id":57740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:46] local.INFO: IMEI packet received {"connection_id":57740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":57740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:18:47] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:47] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:18:47] local.INFO: Packet analysis {"connection_id":57054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:18:47] local.INFO: Extracted packet for processing {"connection_id":57054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21: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-04-28 21: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:18:47] 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-04-28 21:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":57054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:47] local.INFO: GPS data processed {"connection_id":57054,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:47] local.INFO: Acknowledgment sent {"connection_id":57054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:51] local.INFO: TCP Data received {"connection_id":57740,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:51] local.INFO: Processing buffer {"connection_id":57740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:18:51] local.INFO: IMEI packet received {"connection_id":57740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":57740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:18:52] local.INFO: TCP Data received {"connection_id":57740,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:52] local.INFO: Processing buffer {"connection_id":57740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:18:52] local.INFO: Packet analysis {"connection_id":57740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:18:52] local.INFO: Extracted packet for processing {"connection_id":57740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:18:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:18:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:52] 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-04-28 21: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-04-28 21:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:18:52] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":57740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:52] local.INFO: GPS data processed {"connection_id":57740,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:52] local.INFO: Acknowledgment sent {"connection_id":57740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:52] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:52] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:18:57] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:57] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:18:57] local.INFO: IMEI packet received {"connection_id":56806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":56806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:18:58] local.INFO: TCP Data received {"connection_id":56806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:18:58] local.INFO: Processing buffer {"connection_id":56806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:18:58] local.INFO: Packet analysis {"connection_id":56806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:18:58] local.INFO: Extracted packet for processing {"connection_id":56806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100003096,"longitude_deg":76.3069312,"latitude_deg":10.0003096,"altitude":12,"angle":351,"satellites":43,"speed":1,"hex_longitude":"2d7b8380","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-04-28 21:18: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-04-28 21:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012107520001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447516672,"note":"Value kept but may cause issues"} 
[2026-04-28 21:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391049000,"timestamp_ms":1777391049000,"timestamp_seconds":1777391049,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c31928"} 
[2026-04-28 21:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:18: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-04-28 21: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 21:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012107520001,"66":27571,"160":206,"87":12800,"24":1,"16":282595546563084288,"45":8900168420447516672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012107520001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:18:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:18:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447516672,"description":"Unknown IO ID 45"} 
[2026-04-28 21:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012107520001,"power":27571,"unknown_160":206,"unknown_87":12800,"ignition":1,"odometer":null,"unknown_45":8900168420447516672}} 
[2026-04-28 21:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":56806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:18:58] local.INFO: GPS data processed {"connection_id":56806,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:18:58] local.INFO: Acknowledgment sent {"connection_id":56806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:08] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:08] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:08] local.INFO: IMEI packet received {"connection_id":57048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":57048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:19:13] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:13] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:19:13] local.INFO: IMEI packet received {"connection_id":57048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":57048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:19:14] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:14] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:14] local.INFO: Packet analysis {"connection_id":57048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:19:14] local.INFO: Extracted packet for processing {"connection_id":57048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:19:14] 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-04-28 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:19:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":57048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:19:14] local.INFO: GPS data processed {"connection_id":57048,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:19:14] local.INFO: Acknowledgment sent {"connection_id":57048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:22] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:22] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:22] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:19:23] local.INFO: TCP Data received {"connection_id":57740,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:23] local.INFO: Processing buffer {"connection_id":57740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:23] local.INFO: Packet analysis {"connection_id":57740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:19:23] local.INFO: Extracted packet for processing {"connection_id":57740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":57740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:19:23] local.INFO: GPS data processed {"connection_id":57740,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:19:23] local.INFO: Acknowledgment sent {"connection_id":57740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:28] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:28] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:28] local.INFO: IMEI packet received {"connection_id":56807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":56807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:19:29] local.INFO: TCP Data received {"connection_id":56807,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:19:29] local.INFO: Processing buffer {"connection_id":56807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c31928012d7b838005f5ed18000c015f2b..."} 
[2026-04-28 21:19:29] local.INFO: Packet analysis {"connection_id":56807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:19:29] local.INFO: Extracted packet for processing {"connection_id":56807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c3"} 
[2026-04-28 21:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100003096,"longitude_deg":76.3069312,"latitude_deg":10.0003096,"altitude":12,"angle":351,"satellites":43,"speed":1,"hex_longitude":"2d7b8380","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-04-28 21:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012107520001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447516672,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777391049000,"timestamp_ms":1777391049000,"timestamp_seconds":1777391049,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c31928"} 
[2026-04-28 21:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:19: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-04-28 21: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-28 21:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012107520001,"66":27571,"160":206,"87":12800,"24":1,"16":282595546563084288,"45":8900168420447516672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012107520001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:19:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:19:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447516672,"description":"Unknown IO ID 45"} 
[2026-04-28 21:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012107520001,"power":27571,"unknown_160":206,"unknown_87":12800,"ignition":1,"odometer":null,"unknown_45":8900168420447516672}} 
[2026-04-28 21:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":56807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:19:29] local.INFO: GPS data processed {"connection_id":56807,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:19:29] local.INFO: Acknowledgment sent {"connection_id":56807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:45] local.INFO: TCP Data received {"connection_id":57048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:45] local.INFO: Processing buffer {"connection_id":57048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:19:45] local.INFO: Packet analysis {"connection_id":57048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:19:45] local.INFO: Extracted packet for processing {"connection_id":57048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:19:45] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:19:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":57048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:19:45] local.INFO: GPS data processed {"connection_id":57048,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:19:45] local.INFO: Acknowledgment sent {"connection_id":57048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:46] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:46] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:46] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:19:51] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:51] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:19:51] local.INFO: IMEI packet received {"connection_id":56808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":56808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:19:52] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:52] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:19:52] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:19:52] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:19:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:19:52] 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-04-28 21: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-04-28 21:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:19:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:19:52] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:19:52] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:19:58] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:58] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:19:58] local.INFO: IMEI packet received {"connection_id":56809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":56809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:20:02] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:02] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:02] local.INFO: IMEI packet received {"connection_id":56809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":56809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:20:03] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:03] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:03] local.INFO: Packet analysis {"connection_id":56809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:03] local.INFO: Extracted packet for processing {"connection_id":56809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":56809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:03] local.INFO: GPS data processed {"connection_id":56809,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:03] local.INFO: Acknowledgment sent {"connection_id":56809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:08] local.INFO: TCP Data received {"connection_id":57741,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:08] local.INFO: Processing buffer {"connection_id":57741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:08] local.INFO: IMEI packet received {"connection_id":57741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":57741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:20:08] local.INFO: TCP Data received {"connection_id":56809,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:08] local.INFO: Processing buffer {"connection_id":56809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:08] local.INFO: Packet analysis {"connection_id":56809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:08] local.INFO: Extracted packet for processing {"connection_id":56809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:08] 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-04-28 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":56809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:08] local.INFO: GPS data processed {"connection_id":56809,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:08] local.INFO: Acknowledgment sent {"connection_id":56809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:13] local.INFO: TCP Data received {"connection_id":57741,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:13] local.INFO: Processing buffer {"connection_id":57741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:20:13] local.INFO: IMEI packet received {"connection_id":57741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":57741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:20:14] local.INFO: TCP Data received {"connection_id":57741,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:14] local.INFO: Processing buffer {"connection_id":57741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:14] local.INFO: Packet analysis {"connection_id":57741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:20:14] local.INFO: Extracted packet for processing {"connection_id":57741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:14] 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-04-28 21:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:20:14] 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-04-28 21:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":57741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:14] local.INFO: GPS data processed {"connection_id":57741,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:14] local.INFO: Acknowledgment sent {"connection_id":57741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:23] local.INFO: TCP Data received {"connection_id":56808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:23] local.INFO: Processing buffer {"connection_id":56808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:23] local.INFO: Packet analysis {"connection_id":56808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:20:23] local.INFO: Extracted packet for processing {"connection_id":56808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":56808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:23] local.INFO: GPS data processed {"connection_id":56808,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:23] local.INFO: Acknowledgment sent {"connection_id":56808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:45] local.INFO: TCP Data received {"connection_id":57741,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:45] local.INFO: Processing buffer {"connection_id":57741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:20:45] local.INFO: Packet analysis {"connection_id":57741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:20:45] local.INFO: Extracted packet for processing {"connection_id":57741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:45] 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-04-28 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:20:45] 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-04-28 21:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":57741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:45] local.INFO: GPS data processed {"connection_id":57741,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:45] local.INFO: Acknowledgment sent {"connection_id":57741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:46] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:46] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:46] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:20:51] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:51] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:20:51] local.INFO: IMEI packet received {"connection_id":57049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":57049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:20:52] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:52] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:20:52] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:20:52] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:20:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:52] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:52] 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-04-28 21: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-04-28 21:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:52] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:52] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:20:52] local.INFO: TCP Data received {"connection_id":57743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:52] local.INFO: Processing buffer {"connection_id":57743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:52] local.INFO: IMEI packet received {"connection_id":57743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":57743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:20:54] local.INFO: TCP Data received {"connection_id":57742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:20:54] local.INFO: Processing buffer {"connection_id":57742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:20:54] local.INFO: IMEI packet received {"connection_id":57742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":57742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:20:57] local.INFO: TCP Data received {"connection_id":57743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:57] local.INFO: Processing buffer {"connection_id":57743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:20:57] local.INFO: IMEI packet received {"connection_id":57743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":57743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:20:58] local.INFO: TCP Data received {"connection_id":57743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:58] local.INFO: Processing buffer {"connection_id":57743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:20:58] local.INFO: Packet analysis {"connection_id":57743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:58] local.INFO: Extracted packet for processing {"connection_id":57743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:20:58] 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-04-28 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:20:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:20:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":57743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:20:58] local.INFO: GPS data processed {"connection_id":57743,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:20:58] local.INFO: Acknowledgment sent {"connection_id":57743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:13] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:13] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:13] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:21:18] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:18] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:21:18] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:21:19] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:19] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:19] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:21:19] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 21:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21: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-04-28 21:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:19] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:19] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:23] local.INFO: TCP Data received {"connection_id":57049,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:23] local.INFO: Processing buffer {"connection_id":57049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:23] local.INFO: Packet analysis {"connection_id":57049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:21:23] local.INFO: Extracted packet for processing {"connection_id":57049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 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-04-28 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":57049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:23] local.INFO: GPS data processed {"connection_id":57049,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:23] local.INFO: Acknowledgment sent {"connection_id":57049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:23] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:23] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c49fc8012d196500071ff0900042014a26..."} 
[2026-04-28 21:21:23] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:21:23] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c4"} 
[2026-04-28 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012057088001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391149000,"timestamp_ms":1777391149000,"timestamp_seconds":1777391149,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c49fc8"} 
[2026-04-28 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-04-28 21:21: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-04-28 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012057088001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012057088001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012057088001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:23] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:23] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:30] local.INFO: TCP Data received {"connection_id":57743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:30] local.INFO: Processing buffer {"connection_id":57743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:30] local.INFO: Packet analysis {"connection_id":57743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:21:30] local.INFO: Extracted packet for processing {"connection_id":57743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":57743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:30] local.INFO: GPS data processed {"connection_id":57743,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:30] local.INFO: Acknowledgment sent {"connection_id":57743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:33] local.INFO: TCP Data received {"connection_id":57050,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:21:33] local.INFO: Processing buffer {"connection_id":57050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:21:33] local.INFO: IMEI packet received {"connection_id":57050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":57050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:21:46] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:46] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:46] local.INFO: IMEI packet received {"connection_id":56810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":56810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:21:52] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:52] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:21:52] local.INFO: IMEI packet received {"connection_id":56810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":56810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:21:53] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:53] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:53] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:21:53] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:53] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:21:53] local.INFO: Packet analysis {"connection_id":56810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:21:53] local.INFO: Extracted packet for processing {"connection_id":56810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:21:53] 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-04-28 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:53] 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-04-28 21:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":56810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":56810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":56810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":56810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:53] local.INFO: GPS data processed {"connection_id":56810,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:53] local.INFO: Acknowledgment sent {"connection_id":56810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:21:57] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:57] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:21:57] local.INFO: IMEI packet received {"connection_id":56811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":56811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:21:59] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:59] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:21:59] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:21:59] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:21:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:21:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:21:59] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:21:59] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:08] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:08] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:08] local.INFO: IMEI packet received {"connection_id":57051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":57051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:22:13] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:13] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:22:13] local.INFO: IMEI packet received {"connection_id":57051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":57051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:22:14] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:14] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:14] local.INFO: Packet analysis {"connection_id":57051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:22:14] local.INFO: Extracted packet for processing {"connection_id":57051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:22:14] 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-04-28 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":57051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:14] local.INFO: GPS data processed {"connection_id":57051,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:14] local.INFO: Acknowledgment sent {"connection_id":57051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:24] local.INFO: TCP Data received {"connection_id":56810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:24] local.INFO: Processing buffer {"connection_id":56810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:24] local.INFO: Packet analysis {"connection_id":56810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:22:24] local.INFO: Extracted packet for processing {"connection_id":56810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:22:24] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:22:24] 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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:24] 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-04-28 21: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-04-28 21:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":56810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":56810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":56810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":56810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:24] local.INFO: GPS data processed {"connection_id":56810,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:24] local.INFO: Acknowledgment sent {"connection_id":56810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:30] local.INFO: TCP Data received {"connection_id":56811,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:30] local.INFO: Processing buffer {"connection_id":56811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:30] local.INFO: Packet analysis {"connection_id":56811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:22:30] local.INFO: Extracted packet for processing {"connection_id":56811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":56811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:30] local.INFO: GPS data processed {"connection_id":56811,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:30] local.INFO: Acknowledgment sent {"connection_id":56811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:45] local.INFO: TCP Data received {"connection_id":57051,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:45] local.INFO: Processing buffer {"connection_id":57051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:22:45] local.INFO: Packet analysis {"connection_id":57051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:22:45] local.INFO: Extracted packet for processing {"connection_id":57051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 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-04-28 21:22:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:22:45] 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-04-28 21:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":57051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:45] local.INFO: GPS data processed {"connection_id":57051,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:45] local.INFO: Acknowledgment sent {"connection_id":57051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:51] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:51] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:51] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:22:52] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:52] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:52] local.INFO: IMEI packet received {"connection_id":57058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":57058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:22:56] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:56] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:22:56] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:22:57] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:57] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:22:57] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:22:57] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:22:57] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 21:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:22: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-04-28 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:57] 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-04-28 21: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-04-28 21:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:57] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:57] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:22:57] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:57] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:22:57] local.INFO: IMEI packet received {"connection_id":57058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":57058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:22:58] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:58] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:22:58] local.INFO: Packet analysis {"connection_id":57058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:22:58] local.INFO: Extracted packet for processing {"connection_id":57058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:22:58] 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-04-28 21:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:22:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":57058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:22:58] local.INFO: GPS data processed {"connection_id":57058,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:22:58] local.INFO: Acknowledgment sent {"connection_id":57058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:02] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:02] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c6c2a8012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:02] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:23:02] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c6"} 
[2026-04-28 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012092928001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777391289000,"timestamp_ms":1777391289000,"timestamp_seconds":1777391289,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c6c2a8"} 
[2026-04-28 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-04-28 21:23: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-04-28 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:02] 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-04-28 21:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 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-04-28 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012092928001,"66":2231,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012092928001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012092928001,"power":2231,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:02] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:02] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:08] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:08] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:08] local.INFO: IMEI packet received {"connection_id":57053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":57053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:23:14] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:14] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:23:14] local.INFO: IMEI packet received {"connection_id":57053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":57053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:23:15] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:15] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:15] local.INFO: Packet analysis {"connection_id":57053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:23:15] local.INFO: Extracted packet for processing {"connection_id":57053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:15] 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-04-28 21:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":57053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:15] local.INFO: GPS data processed {"connection_id":57053,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:15] local.INFO: Acknowledgment sent {"connection_id":57053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:30] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:30] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:30] local.INFO: Packet analysis {"connection_id":57058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:23:30] local.INFO: Extracted packet for processing {"connection_id":57058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":57058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:30] local.INFO: GPS data processed {"connection_id":57058,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:30] local.INFO: Acknowledgment sent {"connection_id":57058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:46] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:46] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:46] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-28 21:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:23:47] local.INFO: TCP Data received {"connection_id":57053,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:47] local.INFO: Processing buffer {"connection_id":57053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:23:47] local.INFO: Packet analysis {"connection_id":57053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:23:47] local.INFO: Extracted packet for processing {"connection_id":57053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:23:47] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:23:47] 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-04-28 21:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":57053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:47] local.INFO: GPS data processed {"connection_id":57053,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:47] local.INFO: Acknowledgment sent {"connection_id":57053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:51] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:51] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-28 21:23:51] local.INFO: IMEI packet received {"connection_id":56812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-28 21:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":56812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:23:52] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:52] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:23:52] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cb"} 
[2026-04-28 21:23:52] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cb"} 
[2026-04-28 21:23:52] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012169984001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777391590000,"timestamp_ms":1777391590000,"timestamp_seconds":1777391590,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cb5a70"} 
[2026-04-28 21:23:52] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:23:52] 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-04-28 21:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:52] 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-04-28 21:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012169984001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:52] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012169984001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:52] local.INFO: IMEI packet received {"connection_id":57060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:23:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":57060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012169984001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:52] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:52] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:23:57] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:57] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:23:57] local.INFO: IMEI packet received {"connection_id":57060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":57060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:23:59] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:59] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:23:59] local.INFO: Packet analysis {"connection_id":57060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:23:59] local.INFO: Extracted packet for processing {"connection_id":57060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:23:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":57060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:23:59] local.INFO: GPS data processed {"connection_id":57060,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:23:59] local.INFO: Acknowledgment sent {"connection_id":57060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:24:08] local.INFO: TCP Data received {"connection_id":57744,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:08] local.INFO: Processing buffer {"connection_id":57744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:08] local.INFO: IMEI packet received {"connection_id":57744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":57744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:24:18] local.INFO: TCP Data received {"connection_id":57744,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:19] local.INFO: Processing buffer {"connection_id":57744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:24:19] local.INFO: IMEI packet received {"connection_id":57744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":57744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:24:19] local.INFO: TCP Data received {"connection_id":57744,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:19] local.INFO: Processing buffer {"connection_id":57744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:19] local.INFO: Packet analysis {"connection_id":57744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:24:19] local.INFO: Extracted packet for processing {"connection_id":57744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:24:19] 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-04-28 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:24:19] 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-04-28 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:24:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":57744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:24:20] local.INFO: GPS data processed {"connection_id":57744,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:24:20] local.INFO: Acknowledgment sent {"connection_id":57744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:24:23] local.INFO: TCP Data received {"connection_id":56812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:24:23] local.INFO: Processing buffer {"connection_id":56812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cb5a70012d8db70005cb5038000500362c..."} 
[2026-04-28 21:24:23] local.INFO: Packet analysis {"connection_id":56812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cb"} 
[2026-04-28 21:24:23] local.INFO: Extracted packet for processing {"connection_id":56812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cb"} 
[2026-04-28 21:24:23] local.INFO: GPS Element Parsed {"raw_longitude":764262144,"raw_latitude":97210424,"longitude_deg":76.4262144,"latitude_deg":9.7210424,"altitude":5,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d8db700","hex_latitude":"05cb5038","is_valid_coordinates":true} 
[2026-04-28 21:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012169984001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":77099881348464640,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8235113368737794048,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391590000,"timestamp_ms":1777391590000,"timestamp_seconds":1777391590,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cb5a70"} 
[2026-04-28 21:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:24:23] 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-04-28 21:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-28 21:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-28 21:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-28 21:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-28 21:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012169984001,"66":2242,"94":206,"85":13824,"24":0,"16":77099881348464640,"45":-8235113368737794048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-04-28 21:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-28 21:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-28 21:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012169984001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:24:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-28 21:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-04-28 21:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":77099881348464640,"km_value":77099881348464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8235113368737794048,"description":"Unknown IO ID 45"} 
[2026-04-28 21:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012169984001,"power":2242,"unknown_94":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8235113368737794048}} 
[2026-04-28 21:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":56812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:24:23] local.INFO: GPS data processed {"connection_id":56812,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:24:23] local.INFO: Acknowledgment sent {"connection_id":56812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:24:30] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:24:30] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c79d68012d7b830005f5eee8000d015728..."} 
[2026-04-28 21:24:30] local.INFO: Packet analysis {"connection_id":57060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:24:30] local.INFO: Extracted packet for processing {"connection_id":57060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c7"} 
[2026-04-28 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012108544001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703379968,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391345000,"timestamp_ms":1777391345000,"timestamp_seconds":1777391345,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c79d68"} 
[2026-04-28 21:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-28 21:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012108544001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8900098051703379968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012108544001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:24:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703379968,"description":"Unknown IO ID 45"} 
[2026-04-28 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012108544001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900098051703379968}} 
[2026-04-28 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":57060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:24:30] local.INFO: GPS data processed {"connection_id":57060,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:24:30] local.INFO: Acknowledgment sent {"connection_id":57060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:24:51] local.INFO: TCP Data received {"connection_id":57744,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:51] local.INFO: Processing buffer {"connection_id":57744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:24:51] local.INFO: Packet analysis {"connection_id":57744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:24:51] local.INFO: Extracted packet for processing {"connection_id":57744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":57744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":57744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":57744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:24:51] 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-04-28 21:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:24:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":57744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:24:51] local.INFO: GPS data processed {"connection_id":57744,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:24:51] local.INFO: Acknowledgment sent {"connection_id":57744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:24:57] local.INFO: TCP Data received {"connection_id":57061,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:24:57] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:24:57] local.INFO: IMEI packet received {"connection_id":57061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":57061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:25:02] local.INFO: TCP Data received {"connection_id":57061,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:02] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:02] local.INFO: IMEI packet received {"connection_id":57061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":57061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:25:04] local.INFO: TCP Data received {"connection_id":57061,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:04] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:04] local.INFO: Packet analysis {"connection_id":57061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:04] local.INFO: Extracted packet for processing {"connection_id":57061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:25: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-04-28 21: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-04-28 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:04] 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-04-28 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:25:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":57061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:25:04] local.INFO: GPS data processed {"connection_id":57061,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:25:04] local.INFO: Acknowledgment sent {"connection_id":57061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:25:08] local.INFO: TCP Data received {"connection_id":57061,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:08] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:08] local.INFO: Packet analysis {"connection_id":57061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:08] local.INFO: Extracted packet for processing {"connection_id":57061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:08] 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-04-28 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":57061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:25:08] local.INFO: GPS data processed {"connection_id":57061,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:25:08] local.INFO: Acknowledgment sent {"connection_id":57061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:25:13] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:13] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:13] local.INFO: IMEI packet received {"connection_id":57054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":57054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:25:18] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:18] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:25:18] local.INFO: IMEI packet received {"connection_id":57054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":57054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:25:19] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:19] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:19] local.INFO: Packet analysis {"connection_id":57054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:25:19] local.INFO: Extracted packet for processing {"connection_id":57054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:25:19] 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-04-28 21:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:25:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":57054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:25:19] local.INFO: GPS data processed {"connection_id":57054,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:25:19] local.INFO: Acknowledgment sent {"connection_id":57054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:25:23] local.INFO: TCP Data received {"connection_id":57054,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:23] local.INFO: Processing buffer {"connection_id":57054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:25:23] local.INFO: Packet analysis {"connection_id":57054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:25:23] local.INFO: Extracted packet for processing {"connection_id":57054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 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-04-28 21:25:23] 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-04-28 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:25:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":57054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:25:23] local.INFO: GPS data processed {"connection_id":57054,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:25:23] local.INFO: Acknowledgment sent {"connection_id":57054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:25:52] local.INFO: TCP Data received {"connection_id":57745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:52] local.INFO: Processing buffer {"connection_id":57745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:52] local.INFO: IMEI packet received {"connection_id":57745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":57745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:25:57] local.INFO: TCP Data received {"connection_id":57745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:57] local.INFO: Processing buffer {"connection_id":57745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:25:57] local.INFO: IMEI packet received {"connection_id":57745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":57745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:25:58] local.INFO: TCP Data received {"connection_id":57745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:58] local.INFO: Processing buffer {"connection_id":57745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:25:58] local.INFO: Packet analysis {"connection_id":57745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:58] local.INFO: Extracted packet for processing {"connection_id":57745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:25: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:25: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-04-28 21: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-04-28 21:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:25:58] 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-04-28 21:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:25:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":57745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:25:58] local.INFO: GPS data processed {"connection_id":57745,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:25:58] local.INFO: Acknowledgment sent {"connection_id":57745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:26:08] local.INFO: TCP Data received {"connection_id":57746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:08] local.INFO: Processing buffer {"connection_id":57746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:08] local.INFO: IMEI packet received {"connection_id":57746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":57746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:26:13] local.INFO: TCP Data received {"connection_id":57746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:13] local.INFO: Processing buffer {"connection_id":57746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:26:13] local.INFO: IMEI packet received {"connection_id":57746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":57746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:26:14] local.INFO: TCP Data received {"connection_id":57746,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:26:14] local.INFO: Processing buffer {"connection_id":57746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4c93790012d196500071ff0900042014a28..."} 
[2026-04-28 21:26:14] local.INFO: Packet analysis {"connection_id":57746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:26:14] local.INFO: Extracted packet for processing {"connection_id":57746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4c9"} 
[2026-04-28 21:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012134144001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391450000,"timestamp_ms":1777391450000,"timestamp_seconds":1777391450,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4c93790"} 
[2026-04-28 21:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:26:14] 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-04-28 21:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012134144001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012134144001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:26:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012134144001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":57746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:26:14] local.INFO: GPS data processed {"connection_id":57746,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:26:14] local.INFO: Acknowledgment sent {"connection_id":57746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:26:30] local.INFO: TCP Data received {"connection_id":57745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:30] local.INFO: Processing buffer {"connection_id":57745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:30] local.INFO: Packet analysis {"connection_id":57745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:26:30] local.INFO: Extracted packet for processing {"connection_id":57745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:26: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-04-28 21: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-04-28 21:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:26:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":57745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:26:30] local.INFO: GPS data processed {"connection_id":57745,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:26:30] local.INFO: Acknowledgment sent {"connection_id":57745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:26:46] local.INFO: TCP Data received {"connection_id":57746,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:26:46] local.INFO: Processing buffer {"connection_id":57746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:26:46] local.INFO: Packet analysis {"connection_id":57746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:26:46] local.INFO: Extracted packet for processing {"connection_id":57746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:26: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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":57746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:26:46] local.INFO: GPS data processed {"connection_id":57746,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:26:46] local.INFO: Acknowledgment sent {"connection_id":57746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:26:52] local.INFO: TCP Data received {"connection_id":57748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:52] local.INFO: Processing buffer {"connection_id":57748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:52] local.INFO: IMEI packet received {"connection_id":57748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":57748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:26:57] local.INFO: TCP Data received {"connection_id":57748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:57] local.INFO: Processing buffer {"connection_id":57748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:26:57] local.INFO: IMEI packet received {"connection_id":57748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":57748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:26:58] local.INFO: TCP Data received {"connection_id":57748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:58] local.INFO: Processing buffer {"connection_id":57748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:26:58] local.INFO: Packet analysis {"connection_id":57748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:26:58] local.INFO: Extracted packet for processing {"connection_id":57748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:26: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:26: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-04-28 21: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-04-28 21:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:26:58] 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-04-28 21:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:26:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":57748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:26:58] local.INFO: GPS data processed {"connection_id":57748,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:26:58] local.INFO: Acknowledgment sent {"connection_id":57748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:26:58] local.INFO: TCP Data received {"connection_id":57747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:26:58] local.INFO: Processing buffer {"connection_id":57747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:26:58] local.INFO: IMEI packet received {"connection_id":57747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":57747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:27:08] local.INFO: TCP Data received {"connection_id":56815,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:08] local.INFO: Processing buffer {"connection_id":56815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:08] local.INFO: IMEI packet received {"connection_id":56815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":56815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:27:13] local.INFO: TCP Data received {"connection_id":56815,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:13] local.INFO: Processing buffer {"connection_id":56815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:27:13] local.INFO: IMEI packet received {"connection_id":56815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":56815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:27:14] local.INFO: TCP Data received {"connection_id":56815,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:14] local.INFO: Processing buffer {"connection_id":56815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:14] local.INFO: Packet analysis {"connection_id":56815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:27:14] local.INFO: Extracted packet for processing {"connection_id":56815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:27:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":56815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:27:14] local.INFO: GPS data processed {"connection_id":56815,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:27:14] local.INFO: Acknowledgment sent {"connection_id":56815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:27:30] local.INFO: TCP Data received {"connection_id":57748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:30] local.INFO: Processing buffer {"connection_id":57748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:30] local.INFO: Packet analysis {"connection_id":57748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:27:30] local.INFO: Extracted packet for processing {"connection_id":57748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:27: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-04-28 21:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:27:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":57748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:27:30] local.INFO: GPS data processed {"connection_id":57748,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:27:30] local.INFO: Acknowledgment sent {"connection_id":57748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:27:33] local.INFO: TCP Data received {"connection_id":57055,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:27:33] local.INFO: Processing buffer {"connection_id":57055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:27:33] local.INFO: IMEI packet received {"connection_id":57055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":57055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:27:45] local.INFO: TCP Data received {"connection_id":56815,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:45] local.INFO: Processing buffer {"connection_id":56815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:27:45] local.INFO: Packet analysis {"connection_id":56815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:27:45] local.INFO: Extracted packet for processing {"connection_id":56815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:27:45] 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-04-28 21:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:27:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":56815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:27:46] local.INFO: GPS data processed {"connection_id":56815,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:27:46] local.INFO: Acknowledgment sent {"connection_id":56815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:27:53] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:53] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:53] local.INFO: IMEI packet received {"connection_id":56816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":56816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:27:57] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:57] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:27:57] local.INFO: IMEI packet received {"connection_id":56816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":56816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:27:58] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:58] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:27:58] local.INFO: Packet analysis {"connection_id":56816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:27:58] local.INFO: Extracted packet for processing {"connection_id":56816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:27: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:27: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-04-28 21: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-04-28 21:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:27:58] 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-04-28 21:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:27:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":56816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:27:58] local.INFO: GPS data processed {"connection_id":56816,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:27:58] local.INFO: Acknowledgment sent {"connection_id":56816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:28:08] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:08] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:08] local.INFO: IMEI packet received {"connection_id":57062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":57062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:28:13] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:13] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:28:13] local.INFO: IMEI packet received {"connection_id":57062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":57062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:28:14] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:14] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:14] local.INFO: Packet analysis {"connection_id":57062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:28:14] local.INFO: Extracted packet for processing {"connection_id":57062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:28:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":57062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:28:14] local.INFO: GPS data processed {"connection_id":57062,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:28:14] local.INFO: Acknowledgment sent {"connection_id":57062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:28:30] local.INFO: TCP Data received {"connection_id":56816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:30] local.INFO: Processing buffer {"connection_id":56816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:30] local.INFO: Packet analysis {"connection_id":56816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:28:30] local.INFO: Extracted packet for processing {"connection_id":56816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:28: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-04-28 21: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-04-28 21:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:28:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:28:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":56816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:28:30] local.INFO: GPS data processed {"connection_id":56816,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:28:30] local.INFO: Acknowledgment sent {"connection_id":56816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:28:45] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:45] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:28:45] local.INFO: Packet analysis {"connection_id":57062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:28:45] local.INFO: Extracted packet for processing {"connection_id":57062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 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-04-28 21:28:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:28:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":57062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:28:45] local.INFO: GPS data processed {"connection_id":57062,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:28:45] local.INFO: Acknowledgment sent {"connection_id":57062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:28:52] local.INFO: TCP Data received {"connection_id":57749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:52] local.INFO: Processing buffer {"connection_id":57749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:52] local.INFO: IMEI packet received {"connection_id":57749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":57749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:28:57] local.INFO: TCP Data received {"connection_id":57749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:57] local.INFO: Processing buffer {"connection_id":57749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:28:57] local.INFO: IMEI packet received {"connection_id":57749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":57749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:28:58] local.INFO: TCP Data received {"connection_id":57749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:58] local.INFO: Processing buffer {"connection_id":57749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:28:58] local.INFO: Packet analysis {"connection_id":57749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:28:58] local.INFO: Extracted packet for processing {"connection_id":57749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:28: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-04-28 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:28: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-04-28 21: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-04-28 21:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:28:58] 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-04-28 21:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:28:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":57749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:28:58] local.INFO: GPS data processed {"connection_id":57749,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:28:58] local.INFO: Acknowledgment sent {"connection_id":57749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:29:13] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:13] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:13] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:29:18] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:18] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:29:18] local.INFO: IMEI packet received {"connection_id":57056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":57056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:29:19] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:19] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:19] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:29:19] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:29:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:29:19] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:29:19] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:29:26] local.INFO: TCP Data received {"connection_id":57056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:26] local.INFO: Processing buffer {"connection_id":57056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:29:26] local.INFO: Packet analysis {"connection_id":57056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:29:26] local.INFO: Extracted packet for processing {"connection_id":57056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:26] 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-04-28 21:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:29:26] 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-04-28 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":57056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":57056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:29:26] 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-04-28 21:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:29:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:29:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":57056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:29:26] local.INFO: GPS data processed {"connection_id":57056,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:29:26] local.INFO: Acknowledgment sent {"connection_id":57056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:29:29] local.INFO: TCP Data received {"connection_id":57749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:29:29] local.INFO: Processing buffer {"connection_id":57749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cc3530012d7b830005f5eee8000d015729..."} 
[2026-04-28 21:29:29] local.INFO: Packet analysis {"connection_id":57749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:29:29] local.INFO: Extracted packet for processing {"connection_id":57749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cc"} 
[2026-04-28 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012184320001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777391646000,"timestamp_ms":1777391646000,"timestamp_seconds":1777391646,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cc3530"} 
[2026-04-28 21:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 21:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012184320001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012184320001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:29:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012184320001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":57749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:29:29] local.INFO: GPS data processed {"connection_id":57749,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:29:29] local.INFO: Acknowledgment sent {"connection_id":57749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:29:57] local.INFO: TCP Data received {"connection_id":57751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:29:57] local.INFO: Processing buffer {"connection_id":57751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:29:57] local.INFO: IMEI packet received {"connection_id":57751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":57751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:30:02] local.INFO: TCP Data received {"connection_id":57751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:02] local.INFO: Processing buffer {"connection_id":57751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:02] local.INFO: IMEI packet received {"connection_id":57751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":57751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:30:03] local.INFO: TCP Data received {"connection_id":57751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:03] local.INFO: Processing buffer {"connection_id":57751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:03] local.INFO: Packet analysis {"connection_id":57751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:03] local.INFO: Extracted packet for processing {"connection_id":57751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:30:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":57751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:30:03] local.INFO: GPS data processed {"connection_id":57751,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:30:03] local.INFO: Acknowledgment sent {"connection_id":57751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:30:08] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:08] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:08] local.INFO: IMEI packet received {"connection_id":56817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":56817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:30:08] local.INFO: TCP Data received {"connection_id":57751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:08] local.INFO: Processing buffer {"connection_id":57751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:08] local.INFO: Packet analysis {"connection_id":57751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:08] local.INFO: Extracted packet for processing {"connection_id":57751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:08] 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-04-28 21:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:30:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":57751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:30:08] local.INFO: GPS data processed {"connection_id":57751,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:30:08] local.INFO: Acknowledgment sent {"connection_id":57751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:30:13] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:13] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:30:13] local.INFO: IMEI packet received {"connection_id":56817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":56817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:30:14] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:14] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:14] local.INFO: Packet analysis {"connection_id":56817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:30:14] local.INFO: Extracted packet for processing {"connection_id":56817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:30:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":56817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:30:15] local.INFO: GPS data processed {"connection_id":56817,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:30:15] local.INFO: Acknowledgment sent {"connection_id":56817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:30:46] local.INFO: TCP Data received {"connection_id":56817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:46] local.INFO: Processing buffer {"connection_id":56817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:30:46] local.INFO: Packet analysis {"connection_id":56817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:30:46] local.INFO: Extracted packet for processing {"connection_id":56817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:30: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-04-28 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:30:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":56817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:30:46] local.INFO: GPS data processed {"connection_id":56817,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:30:46] local.INFO: Acknowledgment sent {"connection_id":56817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:30:52] local.INFO: TCP Data received {"connection_id":57752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:53] local.INFO: Processing buffer {"connection_id":57752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:53] local.INFO: IMEI packet received {"connection_id":57752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":57752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:30:57] local.INFO: TCP Data received {"connection_id":57752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:57] local.INFO: Processing buffer {"connection_id":57752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:30:57] local.INFO: IMEI packet received {"connection_id":57752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":57752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:30:58] local.INFO: TCP Data received {"connection_id":57752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:58] local.INFO: Processing buffer {"connection_id":57752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:30:58] local.INFO: Packet analysis {"connection_id":57752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:58] local.INFO: Extracted packet for processing {"connection_id":57752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:30: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-04-28 21:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:30:58] 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-04-28 21:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:30:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":57752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:30:58] local.INFO: GPS data processed {"connection_id":57752,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:30:58] local.INFO: Acknowledgment sent {"connection_id":57752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:31:08] local.INFO: TCP Data received {"connection_id":57753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:08] local.INFO: Processing buffer {"connection_id":57753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:08] local.INFO: IMEI packet received {"connection_id":57753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":57753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:31:13] local.INFO: TCP Data received {"connection_id":57753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:13] local.INFO: Processing buffer {"connection_id":57753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:31:13] local.INFO: IMEI packet received {"connection_id":57753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":57753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:31:15] local.INFO: TCP Data received {"connection_id":57753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:31:15] local.INFO: Processing buffer {"connection_id":57753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4cdcf58012d196500071ff0900042014a26..."} 
[2026-04-28 21:31:15] local.INFO: Packet analysis {"connection_id":57753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:31:15] local.INFO: Extracted packet for processing {"connection_id":57753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4cd"} 
[2026-04-28 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012211200001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:15] 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-04-28 21:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777391751000,"timestamp_ms":1777391751000,"timestamp_seconds":1777391751,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4cdcf58"} 
[2026-04-28 21:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012211200001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012211200001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:31:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012211200001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":57753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:31:15] local.INFO: GPS data processed {"connection_id":57753,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:31:15] local.INFO: Acknowledgment sent {"connection_id":57753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:31:30] local.INFO: TCP Data received {"connection_id":57752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:30] local.INFO: Processing buffer {"connection_id":57752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:30] local.INFO: Packet analysis {"connection_id":57752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:31:30] local.INFO: Extracted packet for processing {"connection_id":57752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:31:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":57752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:31:30] local.INFO: GPS data processed {"connection_id":57752,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:31:30] local.INFO: Acknowledgment sent {"connection_id":57752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:31:47] local.INFO: TCP Data received {"connection_id":57753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:31:47] local.INFO: Processing buffer {"connection_id":57753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:31:47] local.INFO: Packet analysis {"connection_id":57753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:31:47] local.INFO: Extracted packet for processing {"connection_id":57753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:31: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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:31:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":57753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:31:47] local.INFO: GPS data processed {"connection_id":57753,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:31:47] local.INFO: Acknowledgment sent {"connection_id":57753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:31:52] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:52] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:52] local.INFO: IMEI packet received {"connection_id":57065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":57065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:31:57] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:57] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:31:57] local.INFO: IMEI packet received {"connection_id":57065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":57065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:31:58] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:58] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:31:58] local.INFO: Packet analysis {"connection_id":57065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:31:58] local.INFO: Extracted packet for processing {"connection_id":57065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21: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-04-28 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:31:58] 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-04-28 21:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:31:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":57065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:31:58] local.INFO: GPS data processed {"connection_id":57065,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:31:58] local.INFO: Acknowledgment sent {"connection_id":57065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:32:08] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:08] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:08] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:32:13] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:13] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:32:13] local.INFO: IMEI packet received {"connection_id":57057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":57057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:32:14] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:14] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:14] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:32:14] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:32:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:32:14] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:32:14] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:32:29] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:29] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:29] local.INFO: Packet analysis {"connection_id":57065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:32:29] local.INFO: Extracted packet for processing {"connection_id":57065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:32:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":57065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:32:29] local.INFO: GPS data processed {"connection_id":57065,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:32:29] local.INFO: Acknowledgment sent {"connection_id":57065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:32:45] local.INFO: TCP Data received {"connection_id":57057,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:45] local.INFO: Processing buffer {"connection_id":57057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:32:45] local.INFO: Packet analysis {"connection_id":57057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:32:45] local.INFO: Extracted packet for processing {"connection_id":57057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:32:45] 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-04-28 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:32:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":57057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:32:45] local.INFO: GPS data processed {"connection_id":57057,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:32:45] local.INFO: Acknowledgment sent {"connection_id":57057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:32:53] local.INFO: TCP Data received {"connection_id":57755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:53] local.INFO: Processing buffer {"connection_id":57755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:53] local.INFO: IMEI packet received {"connection_id":57755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":57755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:32:53] local.INFO: TCP Data received {"connection_id":57066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:32:53] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:32:53] local.INFO: IMEI packet received {"connection_id":57066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":57066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:32:57] local.INFO: TCP Data received {"connection_id":57755,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:57] local.INFO: Processing buffer {"connection_id":57755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:32:57] local.INFO: IMEI packet received {"connection_id":57755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":57755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:32:58] local.INFO: TCP Data received {"connection_id":57755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:58] local.INFO: Processing buffer {"connection_id":57755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:32:58] local.INFO: Packet analysis {"connection_id":57755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:32:58] local.INFO: Extracted packet for processing {"connection_id":57755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:32: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-04-28 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:32:58] 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-04-28 21:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:32:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":57755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:32:58] local.INFO: GPS data processed {"connection_id":57755,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:32:58] local.INFO: Acknowledgment sent {"connection_id":57755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:33:14] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:14] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:14] local.INFO: IMEI packet received {"connection_id":57058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":57058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:33:18] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:18] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:33:18] local.INFO: IMEI packet received {"connection_id":57058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":57058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:33:19] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:19] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:19] local.INFO: Packet analysis {"connection_id":57058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:33:19] local.INFO: Extracted packet for processing {"connection_id":57058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:33:19] 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-04-28 21:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:33:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":57058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:33:19] local.INFO: GPS data processed {"connection_id":57058,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:33:19] local.INFO: Acknowledgment sent {"connection_id":57058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:33:23] local.INFO: TCP Data received {"connection_id":57058,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:23] local.INFO: Processing buffer {"connection_id":57058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:33:23] local.INFO: Packet analysis {"connection_id":57058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:33:23] local.INFO: Extracted packet for processing {"connection_id":57058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:33:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":57058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:33:23] local.INFO: GPS data processed {"connection_id":57058,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:33:23] local.INFO: Acknowledgment sent {"connection_id":57058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:33:30] local.INFO: TCP Data received {"connection_id":57755,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:33:30] local.INFO: Processing buffer {"connection_id":57755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d0ccf8012d7b830005f5eee8000d015727..."} 
[2026-04-28 21:33:30] local.INFO: Packet analysis {"connection_id":57755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:33:30] local.INFO: Extracted packet for processing {"connection_id":57755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d0"} 
[2026-04-28 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012261376001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777391947000,"timestamp_ms":1777391947000,"timestamp_seconds":1777391947,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d0ccf8"} 
[2026-04-28 21:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012261376001,"66":25299,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012261376001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:33:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012261376001,"power":25299,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":57755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:33:30] local.INFO: GPS data processed {"connection_id":57755,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:33:30] local.INFO: Acknowledgment sent {"connection_id":57755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:33:33] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:33:33] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:33:33] local.INFO: IMEI packet received {"connection_id":57067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":57067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:33:52] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:52] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:52] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:33:58] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:58] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:33:58] local.INFO: IMEI packet received {"connection_id":56818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":56818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:33:59] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d47a60012d7b830005f5eee8000d01572b..."} 
[2026-04-28 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d47a60012d7b830005f5eee8000d01572b..."} 
[2026-04-28 21:33:59] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d47a60012d7b830005f5eee8000d01572b..."} 
[2026-04-28 21:33:59] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:33:59] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003560,"longitude_deg":76.3069184,"latitude_deg":10.000356,"altitude":13,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5eee8","is_valid_coordinates":true} 
[2026-04-28 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012338432001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777392188000,"timestamp_ms":1777392188000,"timestamp_seconds":1777392188,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d47a60"} 
[2026-04-28 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-28 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012338432001,"66":25223,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012338432001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:33:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012338432001,"power":25223,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:33:59] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:33:59] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:34:08] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:08] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:08] local.INFO: IMEI packet received {"connection_id":57068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":57068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:34:13] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:13] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:34:13] local.INFO: IMEI packet received {"connection_id":57068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":57068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:34:14] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:14] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:14] local.INFO: Packet analysis {"connection_id":57068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:34:14] local.INFO: Extracted packet for processing {"connection_id":57068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:34:14] 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-04-28 21:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:34:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":57068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:34:14] local.INFO: GPS data processed {"connection_id":57068,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:34:14] local.INFO: Acknowledgment sent {"connection_id":57068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:34:30] local.INFO: TCP Data received {"connection_id":56818,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d48230012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d48230012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:34:30] local.INFO: Processing buffer {"connection_id":56818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d48230012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:34:30] local.INFO: Packet analysis {"connection_id":56818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:34:30] local.INFO: Extracted packet for processing {"connection_id":56818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012400128001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215143424,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392190000,"timestamp_ms":1777392190000,"timestamp_seconds":1777392190,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d48230"} 
[2026-04-28 21:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-28 21:34:30] 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-04-28 21: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-04-28 21:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012400128001,"66":25125,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899957314215143424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012400128001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:34:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215143424,"description":"Unknown IO ID 45"} 
[2026-04-28 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012400128001,"power":25125,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215143424}} 
[2026-04-28 21:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":56818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:34:30] local.INFO: GPS data processed {"connection_id":56818,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:34:30] local.INFO: Acknowledgment sent {"connection_id":56818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:34:45] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:45] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:34:45] local.INFO: Packet analysis {"connection_id":57068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:34:45] local.INFO: Extracted packet for processing {"connection_id":57068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:34:45] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:34:45] 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-04-28 21:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:34:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":57068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:34:45] local.INFO: GPS data processed {"connection_id":57068,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:34:45] local.INFO: Acknowledgment sent {"connection_id":57068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:34:52] local.INFO: TCP Data received {"connection_id":57757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:52] local.INFO: Processing buffer {"connection_id":57757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:52] local.INFO: IMEI packet received {"connection_id":57757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":57757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:34:57] local.INFO: TCP Data received {"connection_id":57757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:57] local.INFO: Processing buffer {"connection_id":57757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:34:57] local.INFO: IMEI packet received {"connection_id":57757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":57757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:34:58] local.INFO: TCP Data received {"connection_id":57757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d4d438012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d4d438012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:34:58] local.INFO: Processing buffer {"connection_id":57757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d4d438012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:34:58] local.INFO: Packet analysis {"connection_id":57757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:34:58] local.INFO: Extracted packet for processing {"connection_id":57757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d4"} 
[2026-04-28 21:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012400640001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392211000,"timestamp_ms":1777392211000,"timestamp_seconds":1777392211,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d4d438"} 
[2026-04-28 21:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-28 21:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:34:58] 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-04-28 21:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012400640001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012400640001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:34:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012400640001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":57757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:34:58] local.INFO: GPS data processed {"connection_id":57757,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:34:58] local.INFO: Acknowledgment sent {"connection_id":57757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:35:11] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:11] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:11] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:35:13] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:13] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:35:13] local.INFO: IMEI packet received {"connection_id":56819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":56819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:35:13] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:13] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:13] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:13] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:35:13] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:35: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-04-28 21: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-04-28 21:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:35:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:35:13] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:35:13] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:35:18] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:18] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:18] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:18] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:35: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-04-28 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:35:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:35:18] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:35:18] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:35:29] local.INFO: TCP Data received {"connection_id":57757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d52640012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d52640012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:35:29] local.INFO: Processing buffer {"connection_id":57757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d52640012d7b828005f5eed0000d00e72b..."} 
[2026-04-28 21:35:29] local.INFO: Packet analysis {"connection_id":57757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:35:29] local.INFO: Extracted packet for processing {"connection_id":57757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012406016001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777392232000,"timestamp_ms":1777392232000,"timestamp_seconds":1777392232,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d52640"} 
[2026-04-28 21:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012406016001,"66":27800,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012406016001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:35:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:35:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012406016001,"power":27800,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":57757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:35:29] local.INFO: GPS data processed {"connection_id":57757,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:35:29] local.INFO: Acknowledgment sent {"connection_id":57757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:35:50] local.INFO: TCP Data received {"connection_id":56819,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:50] local.INFO: Processing buffer {"connection_id":56819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:35:50] local.INFO: Packet analysis {"connection_id":56819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:50] local.INFO: Extracted packet for processing {"connection_id":56819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:35:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":56819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:35:50] local.INFO: GPS data processed {"connection_id":56819,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:35:50] local.INFO: Acknowledgment sent {"connection_id":56819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:35:57] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:35:57] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:35:57] local.INFO: IMEI packet received {"connection_id":56820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":56820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:36:02] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:02] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:02] local.INFO: IMEI packet received {"connection_id":56820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":56820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:36:04] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:04] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:04] local.INFO: Packet analysis {"connection_id":56820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:04] local.INFO: Extracted packet for processing {"connection_id":56820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":56820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:04] 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-04-28 21:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:36:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:36:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":56820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:36:04] local.INFO: GPS data processed {"connection_id":56820,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:36:04] local.INFO: Acknowledgment sent {"connection_id":56820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:36:08] local.INFO: TCP Data received {"connection_id":56821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:08] local.INFO: Processing buffer {"connection_id":56821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:08] local.INFO: IMEI packet received {"connection_id":56821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":56821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:36:13] local.INFO: TCP Data received {"connection_id":56821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:13] local.INFO: Processing buffer {"connection_id":56821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:36:13] local.INFO: IMEI packet received {"connection_id":56821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":56821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:36:14] local.INFO: TCP Data received {"connection_id":56821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:36:14] local.INFO: Processing buffer {"connection_id":56821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d26720012d196500071ff0900042014a27..."} 
[2026-04-28 21:36:14] local.INFO: Packet analysis {"connection_id":56821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:36:14] local.INFO: Extracted packet for processing {"connection_id":56821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d2"} 
[2026-04-28 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012288256001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392052000,"timestamp_ms":1777392052000,"timestamp_seconds":1777392052,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d26720"} 
[2026-04-28 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012288256001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012288256001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:36:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012288256001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":56821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:36:14] local.INFO: GPS data processed {"connection_id":56821,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:36:14] local.INFO: Acknowledgment sent {"connection_id":56821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:36:34] local.INFO: TCP Data received {"connection_id":56820,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:34] local.INFO: Processing buffer {"connection_id":56820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:34] local.INFO: Packet analysis {"connection_id":56820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:34] local.INFO: Extracted packet for processing {"connection_id":56820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":56820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":56820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:36:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:36:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":56820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:36:34] local.INFO: GPS data processed {"connection_id":56820,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:36:34] local.INFO: Acknowledgment sent {"connection_id":56820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:36:45] local.INFO: TCP Data received {"connection_id":56821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:36:45] local.INFO: Processing buffer {"connection_id":56821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:36:45] local.INFO: Packet analysis {"connection_id":56821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:36:45] local.INFO: Extracted packet for processing {"connection_id":56821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:36:45] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:36:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":56821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:36:45] local.INFO: GPS data processed {"connection_id":56821,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:36:45] local.INFO: Acknowledgment sent {"connection_id":56821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:36:52] local.INFO: TCP Data received {"connection_id":57759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:52] local.INFO: Processing buffer {"connection_id":57759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:52] local.INFO: IMEI packet received {"connection_id":57759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":57759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:36:57] local.INFO: TCP Data received {"connection_id":57759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:57] local.INFO: Processing buffer {"connection_id":57759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:36:57] local.INFO: IMEI packet received {"connection_id":57759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":57759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:36:58] local.INFO: TCP Data received {"connection_id":57759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:58] local.INFO: Processing buffer {"connection_id":57759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:36:58] local.INFO: Packet analysis {"connection_id":57759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:58] local.INFO: Extracted packet for processing {"connection_id":57759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:36: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-04-28 21:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:36:58] 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-04-28 21:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:36:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":57759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:36:58] local.INFO: GPS data processed {"connection_id":57759,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:36:58] local.INFO: Acknowledgment sent {"connection_id":57759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:37:08] local.INFO: TCP Data received {"connection_id":57059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:08] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:08] local.INFO: IMEI packet received {"connection_id":57059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":57059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:37:13] local.INFO: TCP Data received {"connection_id":57059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:13] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:37:13] local.INFO: IMEI packet received {"connection_id":57059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":57059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:37:15] local.INFO: TCP Data received {"connection_id":57059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:15] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:15] local.INFO: Packet analysis {"connection_id":57059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:37:15] local.INFO: Extracted packet for processing {"connection_id":57059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:15] 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-04-28 21:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:37:15] 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-04-28 21:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:37:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":57059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:37:15] local.INFO: GPS data processed {"connection_id":57059,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:37:15] local.INFO: Acknowledgment sent {"connection_id":57059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:37:29] local.INFO: TCP Data received {"connection_id":57759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:29] local.INFO: Processing buffer {"connection_id":57759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:29] local.INFO: Packet analysis {"connection_id":57759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:37:29] local.INFO: Extracted packet for processing {"connection_id":57759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:37:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:37:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":57759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:37:29] local.INFO: GPS data processed {"connection_id":57759,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:37:29] local.INFO: Acknowledgment sent {"connection_id":57759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:37:46] local.INFO: TCP Data received {"connection_id":57059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:46] local.INFO: Processing buffer {"connection_id":57059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:37:46] local.INFO: Packet analysis {"connection_id":57059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:37:46] local.INFO: Extracted packet for processing {"connection_id":57059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:37:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":57059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:37:46] local.INFO: GPS data processed {"connection_id":57059,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:37:46] local.INFO: Acknowledgment sent {"connection_id":57059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:37:52] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:52] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:52] local.INFO: IMEI packet received {"connection_id":57069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":57069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:37:57] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:57] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:37:57] local.INFO: IMEI packet received {"connection_id":57069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":57069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:37:58] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:58] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:37:58] local.INFO: Packet analysis {"connection_id":57069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:37:58] local.INFO: Extracted packet for processing {"connection_id":57069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:37: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-04-28 21:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:37:58] 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-04-28 21:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:37:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":57069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:37:59] local.INFO: GPS data processed {"connection_id":57069,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:37:59] local.INFO: Acknowledgment sent {"connection_id":57069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:38:13] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:13] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:13] local.INFO: IMEI packet received {"connection_id":57060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":57060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:38:18] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:18] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:38:18] local.INFO: IMEI packet received {"connection_id":57060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":57060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:38:20] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:20] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:20] local.INFO: Packet analysis {"connection_id":57060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:38:20] local.INFO: Extracted packet for processing {"connection_id":57060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:38:20] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":57060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":57060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":57060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:38:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":57060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:38:20] local.INFO: GPS data processed {"connection_id":57060,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:38:20] local.INFO: Acknowledgment sent {"connection_id":57060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:38:30] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:30] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:30] local.INFO: Packet analysis {"connection_id":57069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:38:30] local.INFO: Extracted packet for processing {"connection_id":57069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:38: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-04-28 21:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:38:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":57069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:38:30] local.INFO: GPS data processed {"connection_id":57069,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:38:30] local.INFO: Acknowledgment sent {"connection_id":57069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:38:38] local.INFO: TCP Data received {"connection_id":57060,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:38] local.INFO: Processing buffer {"connection_id":57060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:38:38] local.INFO: Packet analysis {"connection_id":57060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:38:38] local.INFO: Extracted packet for processing {"connection_id":57060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":57060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":57060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":57060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:38:38] 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-04-28 21:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:38:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":57060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:38:38] local.INFO: GPS data processed {"connection_id":57060,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:38:38] local.INFO: Acknowledgment sent {"connection_id":57060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:38:52] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:52] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:52] local.INFO: IMEI packet received {"connection_id":57070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":57070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:38:57] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:57] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:38:57] local.INFO: IMEI packet received {"connection_id":57070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":57070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:38:58] local.INFO: TCP Data received {"connection_id":57061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:38:58] local.INFO: Processing buffer {"connection_id":57061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:38:58] local.INFO: IMEI packet received {"connection_id":57061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":57061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:38:58] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:58] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:38:58] local.INFO: Packet analysis {"connection_id":57070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:38:58] local.INFO: Extracted packet for processing {"connection_id":57070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:38: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-04-28 21:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:38: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-04-28 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:38:58] 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-04-28 21:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:38:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":57070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:38:58] local.INFO: GPS data processed {"connection_id":57070,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:38:58] local.INFO: Acknowledgment sent {"connection_id":57070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:39:08] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:08] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:08] local.INFO: IMEI packet received {"connection_id":57062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":57062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:39:13] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:13] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:39:13] local.INFO: IMEI packet received {"connection_id":57062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":57062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:39:14] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:14] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:14] local.INFO: Packet analysis {"connection_id":57062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:39:14] local.INFO: Extracted packet for processing {"connection_id":57062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:39:14] 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-04-28 21:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:39:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":57062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:39:14] local.INFO: GPS data processed {"connection_id":57062,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:39:14] local.INFO: Acknowledgment sent {"connection_id":57062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:39:30] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:39:30] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d55908012d7b828005f5eed0000d00e72d..."} 
[2026-04-28 21:39:30] local.INFO: Packet analysis {"connection_id":57070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:39:30] local.INFO: Extracted packet for processing {"connection_id":57070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d5"} 
[2026-04-28 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003536,"longitude_deg":76.3069056,"latitude_deg":10.0003536,"altitude":13,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5eed0","is_valid_coordinates":true} 
[2026-04-28 21:39: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-04-28 21:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012411392001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392245000,"timestamp_ms":1777392245000,"timestamp_seconds":1777392245,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d55908"} 
[2026-04-28 21:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-28 21:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012411392001,"66":27789,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012411392001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:39:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012411392001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":57070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:39:30] local.INFO: GPS data processed {"connection_id":57070,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:39:30] local.INFO: Acknowledgment sent {"connection_id":57070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:39:33] local.INFO: TCP Data received {"connection_id":56824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:39:33] local.INFO: Processing buffer {"connection_id":56824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:39:33] local.INFO: IMEI packet received {"connection_id":56824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":56824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:39:45] local.INFO: TCP Data received {"connection_id":57062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:45] local.INFO: Processing buffer {"connection_id":57062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:39:45] local.INFO: Packet analysis {"connection_id":57062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:39:45] local.INFO: Extracted packet for processing {"connection_id":57062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:39:45] 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-04-28 21:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:39:45] 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-04-28 21:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":57062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:39:45] local.INFO: GPS data processed {"connection_id":57062,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:39:45] local.INFO: Acknowledgment sent {"connection_id":57062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:39:52] local.INFO: TCP Data received {"connection_id":57760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:52] local.INFO: Processing buffer {"connection_id":57760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:52] local.INFO: IMEI packet received {"connection_id":57760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":57760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:39:57] local.INFO: TCP Data received {"connection_id":57760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:57] local.INFO: Processing buffer {"connection_id":57760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:39:57] local.INFO: IMEI packet received {"connection_id":57760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":57760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:39:59] local.INFO: TCP Data received {"connection_id":57760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:39:59] local.INFO: Processing buffer {"connection_id":57760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:39:59] local.INFO: Packet analysis {"connection_id":57760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:39:59] local.INFO: Extracted packet for processing {"connection_id":57760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 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-04-28 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:39:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:39:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":57760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:39:59] local.INFO: GPS data processed {"connection_id":57760,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:39:59] local.INFO: Acknowledgment sent {"connection_id":57760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:40:08] local.INFO: TCP Data received {"connection_id":57063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:08] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:08] local.INFO: IMEI packet received {"connection_id":57063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":57063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:40:13] local.INFO: TCP Data received {"connection_id":57063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:13] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:40:13] local.INFO: IMEI packet received {"connection_id":57063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":57063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:40:14] local.INFO: TCP Data received {"connection_id":57063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:14] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:14] local.INFO: Packet analysis {"connection_id":57063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:40:14] local.INFO: Extracted packet for processing {"connection_id":57063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:40:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":57063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:40:14] local.INFO: GPS data processed {"connection_id":57063,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:40:14] local.INFO: Acknowledgment sent {"connection_id":57063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:40:30] local.INFO: TCP Data received {"connection_id":57760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:30] local.INFO: Processing buffer {"connection_id":57760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:30] local.INFO: Packet analysis {"connection_id":57760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:40:30] local.INFO: Extracted packet for processing {"connection_id":57760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:40:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":57760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:40:30] local.INFO: GPS data processed {"connection_id":57760,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:40:30] local.INFO: Acknowledgment sent {"connection_id":57760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:40:45] local.INFO: TCP Data received {"connection_id":57063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:45] local.INFO: Processing buffer {"connection_id":57063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:40:45] local.INFO: Packet analysis {"connection_id":57063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:40:45] local.INFO: Extracted packet for processing {"connection_id":57063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 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-04-28 21:40:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":57063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:40:45] local.INFO: GPS data processed {"connection_id":57063,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:40:45] local.INFO: Acknowledgment sent {"connection_id":57063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:40:52] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:52] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:52] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:40:57] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:57] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:40:57] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:40:58] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:58] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:40:58] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:40:58] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:40:58] 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-04-28 21:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:40:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:40:58] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:40:58] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:41:08] local.INFO: TCP Data received {"connection_id":57064,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:08] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:08] local.INFO: IMEI packet received {"connection_id":57064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":57064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:41:13] local.INFO: TCP Data received {"connection_id":57064,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:13] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:41:13] local.INFO: IMEI packet received {"connection_id":57064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":57064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:41:14] local.INFO: TCP Data received {"connection_id":57064,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:41:14] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4d6fee8012d196500071ff0900042014a2a..."} 
[2026-04-28 21:41:14] local.INFO: Packet analysis {"connection_id":57064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:41:14] local.INFO: Extracted packet for processing {"connection_id":57064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4d6"} 
[2026-04-28 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012365312001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392353000,"timestamp_ms":1777392353000,"timestamp_seconds":1777392353,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4d6fee8"} 
[2026-04-28 21:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:41:14] 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-04-28 21:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012365312001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012365312001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:41:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012365312001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":57064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:41:14] local.INFO: GPS data processed {"connection_id":57064,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:41:14] local.INFO: Acknowledgment sent {"connection_id":57064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:41:30] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:41:30] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:41:30] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:41:30] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:41:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:41:30] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:41:30] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:41:45] local.INFO: TCP Data received {"connection_id":57064,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:41:45] local.INFO: Processing buffer {"connection_id":57064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:41:45] local.INFO: Packet analysis {"connection_id":57064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:41:45] local.INFO: Extracted packet for processing {"connection_id":57064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:41:45] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:41:45] 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-04-28 21:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:41:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":57064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:41:45] local.INFO: GPS data processed {"connection_id":57064,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:41:45] local.INFO: Acknowledgment sent {"connection_id":57064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:41:57] local.INFO: TCP Data received {"connection_id":57073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:41:57] local.INFO: Processing buffer {"connection_id":57073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:41:57] local.INFO: IMEI packet received {"connection_id":57073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":57073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:42:02] local.INFO: TCP Data received {"connection_id":57073,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:02] local.INFO: Processing buffer {"connection_id":57073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:02] local.INFO: IMEI packet received {"connection_id":57073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":57073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:42:03] local.INFO: TCP Data received {"connection_id":57073,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:03] local.INFO: Processing buffer {"connection_id":57073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:03] local.INFO: Packet analysis {"connection_id":57073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:03] local.INFO: Extracted packet for processing {"connection_id":57073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":57073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:42:03] local.INFO: GPS data processed {"connection_id":57073,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:42:03] local.INFO: Acknowledgment sent {"connection_id":57073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:42:08] local.INFO: TCP Data received {"connection_id":57761,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:08] local.INFO: Processing buffer {"connection_id":57761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:08] local.INFO: IMEI packet received {"connection_id":57761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":57761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:42:08] local.INFO: TCP Data received {"connection_id":57073,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:08] local.INFO: Processing buffer {"connection_id":57073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:08] local.INFO: Packet analysis {"connection_id":57073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:08] local.INFO: Extracted packet for processing {"connection_id":57073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:08] 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-04-28 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":57073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:42:08] local.INFO: GPS data processed {"connection_id":57073,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:42:08] local.INFO: Acknowledgment sent {"connection_id":57073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:42:13] local.INFO: TCP Data received {"connection_id":57761,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:13] local.INFO: Processing buffer {"connection_id":57761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:42:13] local.INFO: IMEI packet received {"connection_id":57761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":57761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:42:14] local.INFO: TCP Data received {"connection_id":57761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:14] local.INFO: Processing buffer {"connection_id":57761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:14] local.INFO: Packet analysis {"connection_id":57761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:42:14] local.INFO: Extracted packet for processing {"connection_id":57761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:42:14] 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-04-28 21:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:42:14] 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-04-28 21:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:42:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":57761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:42:14] local.INFO: GPS data processed {"connection_id":57761,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:42:14] local.INFO: Acknowledgment sent {"connection_id":57761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:42:45] local.INFO: TCP Data received {"connection_id":57761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:45] local.INFO: Processing buffer {"connection_id":57761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:42:45] local.INFO: Packet analysis {"connection_id":57761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:42:45] local.INFO: Extracted packet for processing {"connection_id":57761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 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-04-28 21:42:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:42:45] 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-04-28 21:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:42:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":57761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:42:45] local.INFO: GPS data processed {"connection_id":57761,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:42:45] local.INFO: Acknowledgment sent {"connection_id":57761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:42:52] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:52] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:52] local.INFO: IMEI packet received {"connection_id":56827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":56827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:42:57] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:57] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:42:57] local.INFO: IMEI packet received {"connection_id":56827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":56827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:42:59] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:59] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:42:59] local.INFO: Packet analysis {"connection_id":56827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:59] local.INFO: Extracted packet for processing {"connection_id":56827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:42:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":56827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:42:59] local.INFO: GPS data processed {"connection_id":56827,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:42:59] local.INFO: Acknowledgment sent {"connection_id":56827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:43:08] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:08] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:08] local.INFO: IMEI packet received {"connection_id":57065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":57065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:43:13] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:13] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:43:13] local.INFO: IMEI packet received {"connection_id":57065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":57065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:43:14] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:14] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:14] local.INFO: Packet analysis {"connection_id":57065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:43:14] local.INFO: Extracted packet for processing {"connection_id":57065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:43:14] 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-04-28 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:43:14] 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-04-28 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:43:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":57065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:43:14] local.INFO: GPS data processed {"connection_id":57065,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:43:14] local.INFO: Acknowledgment sent {"connection_id":57065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:43:30] local.INFO: TCP Data received {"connection_id":56827,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:30] local.INFO: Processing buffer {"connection_id":56827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:30] local.INFO: Packet analysis {"connection_id":56827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:43:30] local.INFO: Extracted packet for processing {"connection_id":56827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:43:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":56827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:43:30] local.INFO: GPS data processed {"connection_id":56827,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:43:30] local.INFO: Acknowledgment sent {"connection_id":56827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:43:45] local.INFO: TCP Data received {"connection_id":57065,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:45] local.INFO: Processing buffer {"connection_id":57065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:43:45] local.INFO: Packet analysis {"connection_id":57065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:43:45] local.INFO: Extracted packet for processing {"connection_id":57065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 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-04-28 21:43:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:43:45] 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-04-28 21:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:43:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":57065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:43:45] local.INFO: GPS data processed {"connection_id":57065,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:43:45] local.INFO: Acknowledgment sent {"connection_id":57065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:43:52] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:52] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:52] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:43:57] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:57] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:43:57] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:43:58] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:58] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:43:58] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:43:58] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:43:58] 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-04-28 21:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:43:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:43:58] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:43:58] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:44:08] local.INFO: TCP Data received {"connection_id":57763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:08] local.INFO: Processing buffer {"connection_id":57763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:08] local.INFO: IMEI packet received {"connection_id":57763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":57763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:44:13] local.INFO: TCP Data received {"connection_id":57763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:13] local.INFO: Processing buffer {"connection_id":57763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:44:13] local.INFO: IMEI packet received {"connection_id":57763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":57763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:44:14] local.INFO: TCP Data received {"connection_id":57763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:14] local.INFO: Processing buffer {"connection_id":57763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:14] local.INFO: Packet analysis {"connection_id":57763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:44:14] local.INFO: Extracted packet for processing {"connection_id":57763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:44:14] 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-04-28 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:44:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":57763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:44:14] local.INFO: GPS data processed {"connection_id":57763,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:44:14] local.INFO: Acknowledgment sent {"connection_id":57763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:44:30] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:44:30] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4da0070012d7b888005f5f280000c00e728..."} 
[2026-04-28 21:44:30] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:44:30] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4da"} 
[2026-04-28 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012414720001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726781952,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392550000,"timestamp_ms":1777392550000,"timestamp_seconds":1777392550,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4da0070"} 
[2026-04-28 21:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-28 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012414720001,"66":25973,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8899816576726781952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012414720001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:44:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726781952,"description":"Unknown IO ID 45"} 
[2026-04-28 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012414720001,"power":25973,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899816576726781952}} 
[2026-04-28 21:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:44:30] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:44:30] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:44:45] local.INFO: TCP Data received {"connection_id":57763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:45] local.INFO: Processing buffer {"connection_id":57763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:44:45] local.INFO: Packet analysis {"connection_id":57763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:44:45] local.INFO: Extracted packet for processing {"connection_id":57763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 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-04-28 21:44:45] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:44:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":57763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:44:45] local.INFO: GPS data processed {"connection_id":57763,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:44:45] local.INFO: Acknowledgment sent {"connection_id":57763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:44:52] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:52] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:52] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:44:53] local.INFO: TCP Data received {"connection_id":56828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:44:53] local.INFO: Processing buffer {"connection_id":56828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:44:53] local.INFO: IMEI packet received {"connection_id":56828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":56828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:44:57] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:57] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:44:57] local.INFO: IMEI packet received {"connection_id":56829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":56829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:44:58] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:44:58] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:44:58] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:44:58] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:44: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-04-28 21: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-04-28 21:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:44:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:44:58] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:44:58] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:45:13] local.INFO: TCP Data received {"connection_id":57075,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:13] local.INFO: Processing buffer {"connection_id":57075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:13] local.INFO: IMEI packet received {"connection_id":57075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":57075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:45:18] local.INFO: TCP Data received {"connection_id":57075,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:18] local.INFO: Processing buffer {"connection_id":57075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:45:18] local.INFO: IMEI packet received {"connection_id":57075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":57075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:45:19] local.INFO: TCP Data received {"connection_id":57075,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:19] local.INFO: Processing buffer {"connection_id":57075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:19] local.INFO: Packet analysis {"connection_id":57075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:45:19] local.INFO: Extracted packet for processing {"connection_id":57075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:45:19] 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-04-28 21:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:45:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":57075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:45:19] local.INFO: GPS data processed {"connection_id":57075,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:45:19] local.INFO: Acknowledgment sent {"connection_id":57075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:45:23] local.INFO: TCP Data received {"connection_id":57075,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:23] local.INFO: Processing buffer {"connection_id":57075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:45:23] local.INFO: Packet analysis {"connection_id":57075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:45:23] local.INFO: Extracted packet for processing {"connection_id":57075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 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-04-28 21:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:45:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":57075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:45:24] local.INFO: GPS data processed {"connection_id":57075,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:45:24] local.INFO: Acknowledgment sent {"connection_id":57075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:45:29] local.INFO: TCP Data received {"connection_id":56829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:29] local.INFO: Processing buffer {"connection_id":56829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:29] local.INFO: Packet analysis {"connection_id":56829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:45:29] local.INFO: Extracted packet for processing {"connection_id":56829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:45:29] 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-04-28 21: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-04-28 21:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:45:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:45:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":56829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:45:29] local.INFO: GPS data processed {"connection_id":56829,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:45:29] local.INFO: Acknowledgment sent {"connection_id":56829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:45:33] local.INFO: TCP Data received {"connection_id":57076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:45:33] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:45:33] local.INFO: IMEI packet received {"connection_id":57076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":57076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:45:52] local.INFO: TCP Data received {"connection_id":57066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:52] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:52] local.INFO: IMEI packet received {"connection_id":57066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":57066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:45:57] local.INFO: TCP Data received {"connection_id":57066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:57] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:45:57] local.INFO: IMEI packet received {"connection_id":57066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":57066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:45:58] local.INFO: TCP Data received {"connection_id":57066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:58] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:45:58] local.INFO: Packet analysis {"connection_id":57066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:45:58] local.INFO: Extracted packet for processing {"connection_id":57066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:45: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-04-28 21: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-04-28 21:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:45:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:45:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":57066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:45:58] local.INFO: GPS data processed {"connection_id":57066,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:45:58] local.INFO: Acknowledgment sent {"connection_id":57066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:46:08] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:08] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:08] local.INFO: IMEI packet received {"connection_id":57067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":57067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:46:13] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:13] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:46:13] local.INFO: IMEI packet received {"connection_id":57067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":57067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:46:14] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:14] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:14] local.INFO: Packet analysis {"connection_id":57067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:46:14] local.INFO: Extracted packet for processing {"connection_id":57067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:46:14] 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-04-28 21:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:14] 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-04-28 21:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:46:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":57067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:46:14] local.INFO: GPS data processed {"connection_id":57067,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:46:14] local.INFO: Acknowledgment sent {"connection_id":57067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:46:18] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:18] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4db96b0012d196500071ff0900042014a25..."} 
[2026-04-28 21:46:18] local.INFO: Packet analysis {"connection_id":57067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:46:18] local.INFO: Extracted packet for processing {"connection_id":57067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4db"} 
[2026-04-28 21:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012442368001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777392654000,"timestamp_ms":1777392654000,"timestamp_seconds":1777392654,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4db96b0"} 
[2026-04-28 21:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:46:18] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:18] 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-04-28 21:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012442368001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012442368001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:46:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012442368001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":57067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:46:18] local.INFO: GPS data processed {"connection_id":57067,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:46:18] local.INFO: Acknowledgment sent {"connection_id":57067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:46:29] local.INFO: TCP Data received {"connection_id":57066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:29] local.INFO: Processing buffer {"connection_id":57066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:29] local.INFO: Packet analysis {"connection_id":57066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:46:29] local.INFO: Extracted packet for processing {"connection_id":57066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 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-04-28 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:46:29] 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-04-28 21: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-04-28 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-04-28 21:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:46:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:46:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":57066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:46:29] local.INFO: GPS data processed {"connection_id":57066,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:46:29] local.INFO: Acknowledgment sent {"connection_id":57066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:46:49] local.INFO: TCP Data received {"connection_id":57067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:46:49] local.INFO: Processing buffer {"connection_id":57067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:46:49] local.INFO: Packet analysis {"connection_id":57067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:46:49] local.INFO: Extracted packet for processing {"connection_id":57067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:46:49] 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-04-28 21:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:46:49] 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-04-28 21:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:46:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":57067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:46:49] local.INFO: GPS data processed {"connection_id":57067,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:46:49] local.INFO: Acknowledgment sent {"connection_id":57067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:46:52] local.INFO: TCP Data received {"connection_id":57078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:52] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:52] local.INFO: IMEI packet received {"connection_id":57078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":57078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:46:57] local.INFO: TCP Data received {"connection_id":57078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:57] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:46:57] local.INFO: IMEI packet received {"connection_id":57078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":57078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:46:59] local.INFO: TCP Data received {"connection_id":57078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:59] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:46:59] local.INFO: Packet analysis {"connection_id":57078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:46:59] local.INFO: Extracted packet for processing {"connection_id":57078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:46:59] 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-04-28 21:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:46:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:46:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":57078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:46:59] local.INFO: GPS data processed {"connection_id":57078,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:46:59] local.INFO: Acknowledgment sent {"connection_id":57078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:47:08] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:08] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:08] local.INFO: IMEI packet received {"connection_id":57068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":57068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:47:13] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:13] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:47:13] local.INFO: IMEI packet received {"connection_id":57068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":57068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:47:14] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:14] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:14] local.INFO: Packet analysis {"connection_id":57068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:47:14] local.INFO: Extracted packet for processing {"connection_id":57068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:47:14] 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-04-28 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:47:14] 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-04-28 21:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:47:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":57068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:47:14] local.INFO: GPS data processed {"connection_id":57068,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:47:14] local.INFO: Acknowledgment sent {"connection_id":57068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:47:30] local.INFO: TCP Data received {"connection_id":57078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:47:30] local.INFO: Processing buffer {"connection_id":57078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:47:30] local.INFO: Packet analysis {"connection_id":57078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:47:30] local.INFO: Extracted packet for processing {"connection_id":57078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:47:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:47:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":57078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:47:30] local.INFO: GPS data processed {"connection_id":57078,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:47:30] local.INFO: Acknowledgment sent {"connection_id":57078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:47:45] local.INFO: TCP Data received {"connection_id":57068,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:45] local.INFO: Processing buffer {"connection_id":57068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:47:45] local.INFO: Packet analysis {"connection_id":57068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:47:45] local.INFO: Extracted packet for processing {"connection_id":57068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:47:45] 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-04-28 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:47:45] 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-04-28 21:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:47:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":57068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:47:45] local.INFO: GPS data processed {"connection_id":57068,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:47:45] local.INFO: Acknowledgment sent {"connection_id":57068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:47:57] local.INFO: TCP Data received {"connection_id":57764,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:47:57] local.INFO: Processing buffer {"connection_id":57764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:47:57] local.INFO: IMEI packet received {"connection_id":57764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":57764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:48:02] local.INFO: TCP Data received {"connection_id":57764,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:02] local.INFO: Processing buffer {"connection_id":57764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:02] local.INFO: IMEI packet received {"connection_id":57764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":57764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:48:03] local.INFO: TCP Data received {"connection_id":57764,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:03] local.INFO: Processing buffer {"connection_id":57764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:03] local.INFO: Packet analysis {"connection_id":57764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:03] local.INFO: Extracted packet for processing {"connection_id":57764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:48:03] 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-04-28 21:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:48:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":57764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:48:03] local.INFO: GPS data processed {"connection_id":57764,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:48:03] local.INFO: Acknowledgment sent {"connection_id":57764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:48:08] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:08] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:08] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:48:08] local.INFO: TCP Data received {"connection_id":57764,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:08] local.INFO: Processing buffer {"connection_id":57764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:08] local.INFO: Packet analysis {"connection_id":57764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:08] local.INFO: Extracted packet for processing {"connection_id":57764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:48:08] 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-04-28 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48: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-04-28 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":57764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:48:08] local.INFO: GPS data processed {"connection_id":57764,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:48:08] local.INFO: Acknowledgment sent {"connection_id":57764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:48:13] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:13] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:48:13] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:48:14] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:14] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:14] local.INFO: Packet analysis {"connection_id":57079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:48:14] local.INFO: Extracted packet for processing {"connection_id":57079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:48:14] 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-04-28 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:48:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":57079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:48:14] local.INFO: GPS data processed {"connection_id":57079,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:48:14] local.INFO: Acknowledgment sent {"connection_id":57079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:48:45] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:45] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:48:45] local.INFO: Packet analysis {"connection_id":57079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:48:45] local.INFO: Extracted packet for processing {"connection_id":57079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 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-04-28 21:48:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:48:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":57079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:48:45] local.INFO: GPS data processed {"connection_id":57079,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:48:45] local.INFO: Acknowledgment sent {"connection_id":57079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:48:52] local.INFO: TCP Data received {"connection_id":56831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:52] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:52] local.INFO: IMEI packet received {"connection_id":56831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":56831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:48:57] local.INFO: TCP Data received {"connection_id":56831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:57] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:48:57] local.INFO: IMEI packet received {"connection_id":56831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":56831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:48:58] local.INFO: TCP Data received {"connection_id":56831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:58] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:48:58] local.INFO: Packet analysis {"connection_id":56831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:58] local.INFO: Extracted packet for processing {"connection_id":56831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:48: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-04-28 21: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-04-28 21:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:48:58] 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-04-28 21:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:48:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":56831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:48:58] local.INFO: GPS data processed {"connection_id":56831,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:48:58] local.INFO: Acknowledgment sent {"connection_id":56831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:49:13] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:13] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:13] local.INFO: IMEI packet received {"connection_id":57069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":57069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:49:18] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:18] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:49:18] local.INFO: IMEI packet received {"connection_id":57069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":57069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:49:19] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:19] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:19] local.INFO: Packet analysis {"connection_id":57069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:49:19] local.INFO: Extracted packet for processing {"connection_id":57069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:49:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":57069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:49:19] local.INFO: GPS data processed {"connection_id":57069,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:49:19] local.INFO: Acknowledgment sent {"connection_id":57069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:49:23] local.INFO: TCP Data received {"connection_id":57069,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:23] local.INFO: Processing buffer {"connection_id":57069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:49:23] local.INFO: Packet analysis {"connection_id":57069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:49:23] local.INFO: Extracted packet for processing {"connection_id":57069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:49:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":57069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:49:23] local.INFO: GPS data processed {"connection_id":57069,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:49:23] local.INFO: Acknowledgment sent {"connection_id":57069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:49:30] local.INFO: TCP Data received {"connection_id":56831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:49:30] local.INFO: Processing buffer {"connection_id":56831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4de9838012d7b888005f5f280000c00e72b..."} 
[2026-04-28 21:49:30] local.INFO: Packet analysis {"connection_id":56831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:49:30] local.INFO: Extracted packet for processing {"connection_id":56831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4de"} 
[2026-04-28 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012492800001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777392851000,"timestamp_ms":1777392851000,"timestamp_seconds":1777392851,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4de9838"} 
[2026-04-28 21:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-28 21:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012492800001,"66":25756,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012492800001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:49:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012492800001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":56831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:49:30] local.INFO: GPS data processed {"connection_id":56831,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:49:30] local.INFO: Acknowledgment sent {"connection_id":56831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:49:50] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:50] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:50] local.INFO: IMEI packet received {"connection_id":57070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":57070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:49:52] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:52] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:52] local.INFO: IMEI packet received {"connection_id":57070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":57070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:49:57] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:57] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:49:57] local.INFO: IMEI packet received {"connection_id":57070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":57070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:49:59] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:49:59] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:49:59] local.INFO: Packet analysis {"connection_id":57070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:49:59] local.INFO: Extracted packet for processing {"connection_id":57070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:49:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":57070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:49:59] local.INFO: GPS data processed {"connection_id":57070,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:49:59] local.INFO: Acknowledgment sent {"connection_id":57070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:50:08] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:08] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:08] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:50:13] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:13] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:50:13] local.INFO: IMEI packet received {"connection_id":57071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":57071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:50:14] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:14] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:14] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:50:14] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:50:14] 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-04-28 21:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:50:14] 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-04-28 21:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:50:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:50:14] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:50:14] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:50:31] local.INFO: TCP Data received {"connection_id":57070,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:31] local.INFO: Processing buffer {"connection_id":57070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:31] local.INFO: Packet analysis {"connection_id":57070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:50:31] local.INFO: Extracted packet for processing {"connection_id":57070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:50:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":57070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:50:31] local.INFO: GPS data processed {"connection_id":57070,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:50:31] local.INFO: Acknowledgment sent {"connection_id":57070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:50:45] local.INFO: TCP Data received {"connection_id":57071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:45] local.INFO: Processing buffer {"connection_id":57071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:50:45] local.INFO: Packet analysis {"connection_id":57071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:50:45] local.INFO: Extracted packet for processing {"connection_id":57071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 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-04-28 21:50:45] 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-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:50:45] 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-04-28 21:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:50:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":57071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:50:45] local.INFO: GPS data processed {"connection_id":57071,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:50:45] local.INFO: Acknowledgment sent {"connection_id":57071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:50:52] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:52] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:52] local.INFO: IMEI packet received {"connection_id":57083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":57083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:50:57] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:57] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:50:57] local.INFO: IMEI packet received {"connection_id":57083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":57083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:50:58] local.INFO: TCP Data received {"connection_id":57082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:50:58] local.INFO: Processing buffer {"connection_id":57082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:50:58] local.INFO: IMEI packet received {"connection_id":57082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":57082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:50:58] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:58] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:50:58] local.INFO: Packet analysis {"connection_id":57083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:50:58] local.INFO: Extracted packet for processing {"connection_id":57083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:50: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-04-28 21: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-04-28 21:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:50:58] 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-04-28 21:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:50:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":57083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:50:58] local.INFO: GPS data processed {"connection_id":57083,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:50:58] local.INFO: Acknowledgment sent {"connection_id":57083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:51:08] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:08] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:08] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:51:13] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:13] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:51:13] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:51:14] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:51:14] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e02e78012d196500071ff0900042014a28..."} 
[2026-04-28 21:51:14] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:51:14] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e0"} 
[2026-04-28 21:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012519424001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777392955000,"timestamp_ms":1777392955000,"timestamp_seconds":1777392955,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e02e78"} 
[2026-04-28 21:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:51:14] 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-04-28 21:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 21:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:51:14] 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-04-28 21:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012519424001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012519424001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:51:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012519424001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:51:14] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:51:14] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:51:30] local.INFO: TCP Data received {"connection_id":57083,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:30] local.INFO: Processing buffer {"connection_id":57083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:30] local.INFO: Packet analysis {"connection_id":57083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:51:30] local.INFO: Extracted packet for processing {"connection_id":57083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:51:30] 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-04-28 21:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:51:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":57083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:51:30] local.INFO: GPS data processed {"connection_id":57083,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:51:30] local.INFO: Acknowledgment sent {"connection_id":57083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:51:33] local.INFO: TCP Data received {"connection_id":57085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:51:33] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:51:33] local.INFO: IMEI packet received {"connection_id":57085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":57085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:51:46] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:51:46] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:51:46] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:51:46] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:51:46] 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-04-28 21:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:51:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:51:46] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:51:46] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:51:52] local.INFO: TCP Data received {"connection_id":57072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:52] local.INFO: Processing buffer {"connection_id":57072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:52] local.INFO: IMEI packet received {"connection_id":57072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":57072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:51:57] local.INFO: TCP Data received {"connection_id":57072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:57] local.INFO: Processing buffer {"connection_id":57072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:51:57] local.INFO: IMEI packet received {"connection_id":57072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":57072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:51:58] local.INFO: TCP Data received {"connection_id":57072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:58] local.INFO: Processing buffer {"connection_id":57072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:51:58] local.INFO: Packet analysis {"connection_id":57072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:51:58] local.INFO: Extracted packet for processing {"connection_id":57072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:51: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-04-28 21: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-04-28 21:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:51:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":57072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:51:58] local.INFO: GPS data processed {"connection_id":57072,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:51:58] local.INFO: Acknowledgment sent {"connection_id":57072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:52:08] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:08] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:08] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:52:13] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:13] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:13] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:52:14] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:52:14] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:52:14] local.INFO: Packet analysis {"connection_id":57086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:52:14] local.INFO: Extracted packet for processing {"connection_id":57086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:52:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":57086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:52:14] local.INFO: GPS data processed {"connection_id":57086,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:52:14] local.INFO: Acknowledgment sent {"connection_id":57086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:52:30] local.INFO: TCP Data received {"connection_id":57072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:30] local.INFO: Processing buffer {"connection_id":57072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:30] local.INFO: Packet analysis {"connection_id":57072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:52:30] local.INFO: Extracted packet for processing {"connection_id":57072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:52:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":57072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:52:30] local.INFO: GPS data processed {"connection_id":57072,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:52:30] local.INFO: Acknowledgment sent {"connection_id":57072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:52:52] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:52] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:52] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:52:57] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:57] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:52:57] local.INFO: IMEI packet received {"connection_id":56832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":56832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:52:58] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:58] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:52:58] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:52:58] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:58] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:52:58] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:52:58] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:52: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-04-28 21: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-04-28 21:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:52:58] 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-04-28 21:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:52:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:52:58] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:52:58] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:53:06] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:53:06] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:53:06] local.INFO: IMEI packet received {"connection_id":57074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":57074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:53:07] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:07] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:07] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:07] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:53: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-04-28 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:53: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-04-28 21:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:53:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:53:07] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:53:07] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:53:08] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:08] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:08] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:08] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53: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-04-28 21:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:53:08] 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-04-28 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:53: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-04-28 21:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:53:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:53:08] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:53:08] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:53:30] local.INFO: TCP Data received {"connection_id":56832,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:53:30] local.INFO: Processing buffer {"connection_id":56832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:53:30] local.INFO: Packet analysis {"connection_id":56832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:53:30] local.INFO: Extracted packet for processing {"connection_id":56832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:53:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":56832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:53:30] local.INFO: GPS data processed {"connection_id":56832,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:53:30] local.INFO: Acknowledgment sent {"connection_id":56832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:53:39] local.INFO: TCP Data received {"connection_id":57074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:39] local.INFO: Processing buffer {"connection_id":57074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:53:39] local.INFO: Packet analysis {"connection_id":57074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:39] local.INFO: Extracted packet for processing {"connection_id":57074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:53: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-04-28 21:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:53:39] 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-04-28 21:53: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-04-28 21:53: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-04-28 21:53: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-04-28 21:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":57074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":57074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:53:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":57074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:53:40] local.INFO: GPS data processed {"connection_id":57074,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:53:40] local.INFO: Acknowledgment sent {"connection_id":57074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:53:57] local.INFO: TCP Data received {"connection_id":57076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:53:57] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:53:57] local.INFO: IMEI packet received {"connection_id":57076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":57076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:54:02] local.INFO: TCP Data received {"connection_id":57076,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:02] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:02] local.INFO: IMEI packet received {"connection_id":57076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":57076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:54:04] local.INFO: TCP Data received {"connection_id":57076,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:04] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:04] local.INFO: Packet analysis {"connection_id":57076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:54:04] local.INFO: Extracted packet for processing {"connection_id":57076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:04] 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-04-28 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:54:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":57076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:04] local.INFO: GPS data processed {"connection_id":57076,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:04] local.INFO: Acknowledgment sent {"connection_id":57076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:54:08] local.INFO: TCP Data received {"connection_id":57076,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:08] local.INFO: Processing buffer {"connection_id":57076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e33000012d7b888005f5f280000c00e727..."} 
[2026-04-28 21:54:08] local.INFO: Packet analysis {"connection_id":57076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:54:08] local.INFO: Extracted packet for processing {"connection_id":57076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e3"} 
[2026-04-28 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012569856001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777393152000,"timestamp_ms":1777393152000,"timestamp_seconds":1777393152,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e33000"} 
[2026-04-28 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:08] 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-04-28 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012569856001,"66":25593,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012569856001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012569856001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":57076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:08] local.INFO: GPS data processed {"connection_id":57076,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:08] local.INFO: Acknowledgment sent {"connection_id":57076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:54:08] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:08] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:08] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:54:13] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:13] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:54:13] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:54:14] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:14] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:14] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:14] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:14] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:14] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:54:18] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:18] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:18] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:18] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:54: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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:18] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:18] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:54:49] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:49] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:54:49] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:49] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:54:49] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:49] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:49] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:54:51] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:51] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:51] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:54:52] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:52] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:52] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:54:58] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:58] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:54:58] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:54:59] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:54:59] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:54:59] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:54:59] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 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-04-28 21:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 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-04-28 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 21:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:54:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:54:59] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:54:59] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:55:08] local.INFO: TCP Data received {"connection_id":57766,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:08] local.INFO: Processing buffer {"connection_id":57766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:08] local.INFO: IMEI packet received {"connection_id":57766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":57766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:55:15] local.INFO: TCP Data received {"connection_id":57766,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:15] local.INFO: Processing buffer {"connection_id":57766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:55:15] local.INFO: IMEI packet received {"connection_id":57766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":57766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:55:16] local.INFO: TCP Data received {"connection_id":57766,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:16] local.INFO: Processing buffer {"connection_id":57766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:16] local.INFO: Packet analysis {"connection_id":57766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:55:16] local.INFO: Extracted packet for processing {"connection_id":57766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:55:16] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:55:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":57766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:55:16] local.INFO: GPS data processed {"connection_id":57766,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:55:16] local.INFO: Acknowledgment sent {"connection_id":57766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:55:30] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:30] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:30] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:55:30] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:55:30] 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-04-28 21:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:55:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:55:30] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:55:30] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:55:47] local.INFO: TCP Data received {"connection_id":57766,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:47] local.INFO: Processing buffer {"connection_id":57766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:55:47] local.INFO: Packet analysis {"connection_id":57766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:55:47] local.INFO: Extracted packet for processing {"connection_id":57766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:55:47] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:55:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":57766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:55:47] local.INFO: GPS data processed {"connection_id":57766,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:55:47] local.INFO: Acknowledgment sent {"connection_id":57766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:55:52] local.INFO: TCP Data received {"connection_id":57077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:52] local.INFO: Processing buffer {"connection_id":57077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:52] local.INFO: IMEI packet received {"connection_id":57077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":57077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:55:57] local.INFO: TCP Data received {"connection_id":57077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:57] local.INFO: Processing buffer {"connection_id":57077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:55:57] local.INFO: IMEI packet received {"connection_id":57077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":57077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:55:58] local.INFO: TCP Data received {"connection_id":57077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:58] local.INFO: Processing buffer {"connection_id":57077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:55:58] local.INFO: Packet analysis {"connection_id":57077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:55:58] local.INFO: Extracted packet for processing {"connection_id":57077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:55: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-04-28 21:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:55:58] 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-04-28 21:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:55:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":57077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:55:58] local.INFO: GPS data processed {"connection_id":57077,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:55:58] local.INFO: Acknowledgment sent {"connection_id":57077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:56:08] local.INFO: TCP Data received {"connection_id":57089,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:08] local.INFO: Processing buffer {"connection_id":57089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:08] local.INFO: IMEI packet received {"connection_id":57089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":57089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:56:16] local.INFO: TCP Data received {"connection_id":57089,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:16] local.INFO: Processing buffer {"connection_id":57089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:56:16] local.INFO: IMEI packet received {"connection_id":57089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":57089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:56:17] local.INFO: TCP Data received {"connection_id":57089,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:56:17] local.INFO: Processing buffer {"connection_id":57089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e4c640012d196500071ff0900042014a26..."} 
[2026-04-28 21:56:17] local.INFO: Packet analysis {"connection_id":57089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:56:17] local.INFO: Extracted packet for processing {"connection_id":57089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e4"} 
[2026-04-28 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012596480001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777393256000,"timestamp_ms":1777393256000,"timestamp_seconds":1777393256,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e4c640"} 
[2026-04-28 21:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":57089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":57089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":57089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012596480001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012596480001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:56:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012596480001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":57089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:56:17] local.INFO: GPS data processed {"connection_id":57089,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:56:17] local.INFO: Acknowledgment sent {"connection_id":57089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:56:30] local.INFO: TCP Data received {"connection_id":57077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:30] local.INFO: Processing buffer {"connection_id":57077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:30] local.INFO: Packet analysis {"connection_id":57077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:56:30] local.INFO: Extracted packet for processing {"connection_id":57077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:56:30] 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-04-28 21: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-04-28 21:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:56:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":57077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:56:30] local.INFO: GPS data processed {"connection_id":57077,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:56:30] local.INFO: Acknowledgment sent {"connection_id":57077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:56:48] local.INFO: TCP Data received {"connection_id":57089,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:56:48] local.INFO: Processing buffer {"connection_id":57089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:56:48] local.INFO: Packet analysis {"connection_id":57089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:56:48] local.INFO: Extracted packet for processing {"connection_id":57089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:56:48] 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-04-28 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":57089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":57089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":57089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:56:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":57089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:56:48] local.INFO: GPS data processed {"connection_id":57089,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:56:48] local.INFO: Acknowledgment sent {"connection_id":57089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:56:52] local.INFO: TCP Data received {"connection_id":56834,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:52] local.INFO: Processing buffer {"connection_id":56834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:52] local.INFO: IMEI packet received {"connection_id":56834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":56834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:56:57] local.INFO: TCP Data received {"connection_id":56834,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:57] local.INFO: Processing buffer {"connection_id":56834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:56:57] local.INFO: IMEI packet received {"connection_id":56834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":56834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:56:58] local.INFO: TCP Data received {"connection_id":56834,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:58] local.INFO: Processing buffer {"connection_id":56834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:56:58] local.INFO: Packet analysis {"connection_id":56834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:56:58] local.INFO: Extracted packet for processing {"connection_id":56834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:56: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-04-28 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:56:58] 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-04-28 21: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-04-28 21:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:56: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-04-28 21:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:56:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":56834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:56:58] local.INFO: GPS data processed {"connection_id":56834,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:56:58] local.INFO: Acknowledgment sent {"connection_id":56834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:56:59] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:56:59] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:56:59] local.INFO: IMEI packet received {"connection_id":57090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":57090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:57:10] local.INFO: TCP Data received {"connection_id":57767,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:10] local.INFO: Processing buffer {"connection_id":57767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:10] local.INFO: IMEI packet received {"connection_id":57767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":57767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:57:13] local.INFO: TCP Data received {"connection_id":57767,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:13] local.INFO: Processing buffer {"connection_id":57767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:57:13] local.INFO: IMEI packet received {"connection_id":57767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":57767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:57:15] local.INFO: TCP Data received {"connection_id":57767,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:15] local.INFO: Processing buffer {"connection_id":57767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:15] local.INFO: Packet analysis {"connection_id":57767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:57:15] local.INFO: Extracted packet for processing {"connection_id":57767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:15] 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-04-28 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:57: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-04-28 21:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:57:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":57767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:57:15] local.INFO: GPS data processed {"connection_id":57767,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:57:15] local.INFO: Acknowledgment sent {"connection_id":57767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:57:22] local.INFO: TCP Data received {"connection_id":57767,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:22] local.INFO: Processing buffer {"connection_id":57767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:57:22] local.INFO: Packet analysis {"connection_id":57767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:57:22] local.INFO: Extracted packet for processing {"connection_id":57767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:57:22] 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-04-28 21:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":57767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":57767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":57767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:57:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":57767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:57:22] local.INFO: GPS data processed {"connection_id":57767,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:57:22] local.INFO: Acknowledgment sent {"connection_id":57767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:57:30] local.INFO: TCP Data received {"connection_id":56834,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:30] local.INFO: Processing buffer {"connection_id":56834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:30] local.INFO: Packet analysis {"connection_id":56834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:57:30] local.INFO: Extracted packet for processing {"connection_id":56834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:57:30] 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-04-28 21: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-04-28 21:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:57:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":56834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:57:30] local.INFO: GPS data processed {"connection_id":56834,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:57:30] local.INFO: Acknowledgment sent {"connection_id":56834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:57:33] local.INFO: TCP Data received {"connection_id":57768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:57:33] local.INFO: Processing buffer {"connection_id":57768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 21:57:33] local.INFO: IMEI packet received {"connection_id":57768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 21:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":57768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:57:52] local.INFO: TCP Data received {"connection_id":57091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:52] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:52] local.INFO: IMEI packet received {"connection_id":57091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":57091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:57:57] local.INFO: TCP Data received {"connection_id":57091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:57] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:57:57] local.INFO: IMEI packet received {"connection_id":57091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":57091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:57:59] local.INFO: TCP Data received {"connection_id":57091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:59] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:57:59] local.INFO: Packet analysis {"connection_id":57091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:57:59] local.INFO: Extracted packet for processing {"connection_id":57091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:57:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":57091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:57:59] local.INFO: GPS data processed {"connection_id":57091,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:57:59] local.INFO: Acknowledgment sent {"connection_id":57091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:58:10] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:10] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:10] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:58:13] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:13] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:58:13] local.INFO: IMEI packet received {"connection_id":56835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":56835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:58:13] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:13] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:13] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:13] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:58:13] 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-04-28 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:58:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:58:14] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:58:14] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:58:18] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:18] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:18] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:18] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:58:18] 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-04-28 21: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:58:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:58:18] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:58:18] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:58:30] local.INFO: TCP Data received {"connection_id":57091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:30] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:30] local.INFO: Packet analysis {"connection_id":57091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:58:30] local.INFO: Extracted packet for processing {"connection_id":57091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:58:30] 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-04-28 21:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:58:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":57091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:58:30] local.INFO: GPS data processed {"connection_id":57091,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:58:30] local.INFO: Acknowledgment sent {"connection_id":57091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:58:52] local.INFO: TCP Data received {"connection_id":57769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:52] local.INFO: Processing buffer {"connection_id":57769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:52] local.INFO: IMEI packet received {"connection_id":57769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":57769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:58:54] local.INFO: TCP Data received {"connection_id":56835,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:54] local.INFO: Processing buffer {"connection_id":56835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:58:54] local.INFO: Packet analysis {"connection_id":56835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:54] local.INFO: Extracted packet for processing {"connection_id":56835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:54] 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-04-28 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:58:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":56835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:58:54] local.INFO: GPS data processed {"connection_id":56835,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:58:54] local.INFO: Acknowledgment sent {"connection_id":56835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:58:57] local.INFO: TCP Data received {"connection_id":57769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:57] local.INFO: Processing buffer {"connection_id":57769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:58:57] local.INFO: IMEI packet received {"connection_id":57769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 21:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":57769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:58:59] local.INFO: TCP Data received {"connection_id":57769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:59] local.INFO: Processing buffer {"connection_id":57769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:58:59] local.INFO: Packet analysis {"connection_id":57769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:58:59] local.INFO: Extracted packet for processing {"connection_id":57769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:58: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-04-28 21:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:58:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:58:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":57769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:58:59] local.INFO: GPS data processed {"connection_id":57769,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:58:59] local.INFO: Acknowledgment sent {"connection_id":57769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:59:08] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:08] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:08] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 21:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 21:59:13] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:13] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 21:59:13] local.INFO: IMEI packet received {"connection_id":56836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 21:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":56836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 21:59:14] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:14] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:14] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:59:14] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 21:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:59:14] 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-04-28 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 21:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:59:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:59:14] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:59:14] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:59:30] local.INFO: TCP Data received {"connection_id":57769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:59:30] local.INFO: Processing buffer {"connection_id":57769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e7c7c8012d7b888005f5f280000c00e72a..."} 
[2026-04-28 21:59:30] local.INFO: Packet analysis {"connection_id":57769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:59:30] local.INFO: Extracted packet for processing {"connection_id":57769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e7"} 
[2026-04-28 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012646912001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393453000,"timestamp_ms":1777393453000,"timestamp_seconds":1777393453,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e7c7c8"} 
[2026-04-28 21:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 21:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 21:59:30] 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-04-28 21: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-04-28 21:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 21:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 21:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 21:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012646912001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 21:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 21:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 21:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012646912001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:59:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 21:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 21:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 21:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012646912001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 21:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":57769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:59:30] local.INFO: GPS data processed {"connection_id":57769,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:59:30] local.INFO: Acknowledgment sent {"connection_id":57769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:59:48] local.INFO: TCP Data received {"connection_id":56836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:48] local.INFO: Processing buffer {"connection_id":56836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 21:59:48] local.INFO: Packet analysis {"connection_id":56836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:59:48] local.INFO: Extracted packet for processing {"connection_id":56836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 21:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 21: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-04-28 21:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 21:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 21:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 21:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 21:59:48] 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-04-28 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 21:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 21: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-04-28 21:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 21:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 21:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":56836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 21:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":56836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 21:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 21:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 21:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 21:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 21:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 21:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 21:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 21:59:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 21:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 21:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 21:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 21:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 21:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":56836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 21:59:49] local.INFO: GPS data processed {"connection_id":56836,"processed":1,"errors":0,"total":1} 
[2026-04-28 21:59:49] local.INFO: Acknowledgment sent {"connection_id":56836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 21:59:57] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:59:57] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 21:59:57] local.INFO: IMEI packet received {"connection_id":56837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 21:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":56837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:00:02] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:02] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:02] local.INFO: IMEI packet received {"connection_id":56837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":56837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:00:03] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:03] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:03] local.INFO: Packet analysis {"connection_id":56837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:03] local.INFO: Extracted packet for processing {"connection_id":56837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:03] 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-04-28 22:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:00:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:00:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":56837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:00:03] local.INFO: GPS data processed {"connection_id":56837,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:00:03] local.INFO: Acknowledgment sent {"connection_id":56837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:00:08] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:08] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:08] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:00:13] local.INFO: TCP Data received {"connection_id":56837,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:13] local.INFO: Processing buffer {"connection_id":56837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:13] local.INFO: Packet analysis {"connection_id":56837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:13] local.INFO: Extracted packet for processing {"connection_id":56837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:00: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-04-28 22: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-04-28 22:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:13] 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-04-28 22:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:00:13] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":56837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:00:13] local.INFO: GPS data processed {"connection_id":56837,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:00:13] local.INFO: Acknowledgment sent {"connection_id":56837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:00:13] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:13] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:00:13] local.INFO: IMEI packet received {"connection_id":57079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":57079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:00:14] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:14] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:14] local.INFO: Packet analysis {"connection_id":57079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:00:14] local.INFO: Extracted packet for processing {"connection_id":57079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 22:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:00:14] 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-04-28 22:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:00:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":57079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:00:14] local.INFO: GPS data processed {"connection_id":57079,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:00:14] local.INFO: Acknowledgment sent {"connection_id":57079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:00:45] local.INFO: TCP Data received {"connection_id":57079,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:45] local.INFO: Processing buffer {"connection_id":57079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:00:45] local.INFO: Packet analysis {"connection_id":57079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:00:45] local.INFO: Extracted packet for processing {"connection_id":57079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 22:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:00:45] 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-04-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:00:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":57079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:00:45] local.INFO: GPS data processed {"connection_id":57079,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:00:45] local.INFO: Acknowledgment sent {"connection_id":57079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:00:52] local.INFO: TCP Data received {"connection_id":57080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:52] local.INFO: Processing buffer {"connection_id":57080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:52] local.INFO: IMEI packet received {"connection_id":57080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":57080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:00:57] local.INFO: TCP Data received {"connection_id":57080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:57] local.INFO: Processing buffer {"connection_id":57080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:00:57] local.INFO: IMEI packet received {"connection_id":57080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":57080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:00:58] local.INFO: TCP Data received {"connection_id":57080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:58] local.INFO: Processing buffer {"connection_id":57080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:00:58] local.INFO: Packet analysis {"connection_id":57080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:58] local.INFO: Extracted packet for processing {"connection_id":57080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:00: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-04-28 22: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-04-28 22:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:00:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":57080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:00:58] local.INFO: GPS data processed {"connection_id":57080,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:00:58] local.INFO: Acknowledgment sent {"connection_id":57080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:01:08] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:08] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:08] local.INFO: IMEI packet received {"connection_id":56839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":56839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:01:13] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:13] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:01:13] local.INFO: IMEI packet received {"connection_id":56839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":56839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:01:14] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:14] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4e95e08012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:14] local.INFO: Packet analysis {"connection_id":56839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:01:14] local.INFO: Extracted packet for processing {"connection_id":56839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4e9"} 
[2026-04-28 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012673536001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777393557000,"timestamp_ms":1777393557000,"timestamp_seconds":1777393557,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4e95e08"} 
[2026-04-28 22:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:01:14] 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-04-28 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012673536001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012673536001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:01:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012673536001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":56839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:01:14] local.INFO: GPS data processed {"connection_id":56839,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:01:14] local.INFO: Acknowledgment sent {"connection_id":56839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:01:30] local.INFO: TCP Data received {"connection_id":57080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:30] local.INFO: Processing buffer {"connection_id":57080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:30] local.INFO: Packet analysis {"connection_id":57080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:01:30] local.INFO: Extracted packet for processing {"connection_id":57080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:01:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":57080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:01:30] local.INFO: GPS data processed {"connection_id":57080,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:01:30] local.INFO: Acknowledgment sent {"connection_id":57080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:01:45] local.INFO: TCP Data received {"connection_id":56839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:45] local.INFO: Processing buffer {"connection_id":56839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:01:45] local.INFO: Packet analysis {"connection_id":56839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:01:45] local.INFO: Extracted packet for processing {"connection_id":56839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:01:45] 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-04-28 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:01:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":56839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:01:45] local.INFO: GPS data processed {"connection_id":56839,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:01:45] local.INFO: Acknowledgment sent {"connection_id":56839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:01:52] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:52] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:52] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:01:57] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:57] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:01:57] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:01:58] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:58] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:01:58] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:01:58] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:01: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-04-28 22: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-04-28 22:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:01:58] 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-04-28 22:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:01:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:01:58] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:01:58] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:02:15] local.INFO: TCP Data received {"connection_id":57770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:15] local.INFO: Processing buffer {"connection_id":57770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:15] local.INFO: IMEI packet received {"connection_id":57770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":57770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:02:20] local.INFO: TCP Data received {"connection_id":57770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:20] local.INFO: Processing buffer {"connection_id":57770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:02:20] local.INFO: IMEI packet received {"connection_id":57770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":57770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:02:21] local.INFO: TCP Data received {"connection_id":57770,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:21] local.INFO: Processing buffer {"connection_id":57770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:21] local.INFO: Packet analysis {"connection_id":57770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:02:21] local.INFO: Extracted packet for processing {"connection_id":57770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:02:21] 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-04-28 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":57770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:02:21] local.INFO: GPS data processed {"connection_id":57770,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:02:21] local.INFO: Acknowledgment sent {"connection_id":57770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:02:23] local.INFO: TCP Data received {"connection_id":57770,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:23] local.INFO: Processing buffer {"connection_id":57770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:02:23] local.INFO: Packet analysis {"connection_id":57770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:02:23] local.INFO: Extracted packet for processing {"connection_id":57770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 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-04-28 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:02:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":57770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:02:23] local.INFO: GPS data processed {"connection_id":57770,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:02:23] local.INFO: Acknowledgment sent {"connection_id":57770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:02:29] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:29] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:29] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:02:29] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:02:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:02:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:02:29] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:02:29] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:02:49] local.INFO: TCP Data received {"connection_id":57094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:02:49] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:02:49] local.INFO: IMEI packet received {"connection_id":57094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":57094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:02:52] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:52] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:52] local.INFO: IMEI packet received {"connection_id":57095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":57095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:02:57] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:57] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:02:57] local.INFO: IMEI packet received {"connection_id":57095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":57095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:02:58] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:58] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:02:58] local.INFO: Packet analysis {"connection_id":57095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:02:58] local.INFO: Extracted packet for processing {"connection_id":57095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 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-04-28 22:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:02: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-04-28 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-04-28 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-04-28 22:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:02:58] 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-04-28 22:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:02:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":57095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:02:58] local.INFO: GPS data processed {"connection_id":57095,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:02:58] local.INFO: Acknowledgment sent {"connection_id":57095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:03:12] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:12] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:12] local.INFO: IMEI packet received {"connection_id":57096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":57096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:03:13] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:13] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:03:13] local.INFO: IMEI packet received {"connection_id":57096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":57096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:03:13] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:13] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:13] local.INFO: Packet analysis {"connection_id":57096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:13] local.INFO: Extracted packet for processing {"connection_id":57096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:03:13] 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-04-28 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:03: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-04-28 22:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:13] 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-04-28 22:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:03:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":57096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:03:13] local.INFO: GPS data processed {"connection_id":57096,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:03:13] local.INFO: Acknowledgment sent {"connection_id":57096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:03:18] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:18] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:18] local.INFO: Packet analysis {"connection_id":57096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:18] local.INFO: Extracted packet for processing {"connection_id":57096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:03:18] 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-04-28 22:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:18] 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-04-28 22:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:03:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":57096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:03:18] local.INFO: GPS data processed {"connection_id":57096,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:03:18] local.INFO: Acknowledgment sent {"connection_id":57096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:03:30] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:03:30] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ec5f90012d7b888005f5f280000c00e727..."} 
[2026-04-28 22:03:30] local.INFO: Packet analysis {"connection_id":57095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:03:30] local.INFO: Extracted packet for processing {"connection_id":57095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ec"} 
[2026-04-28 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012723968001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777393754000,"timestamp_ms":1777393754000,"timestamp_seconds":1777393754,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ec5f90"} 
[2026-04-28 22:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012723968001,"66":25625,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012723968001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:03:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012723968001,"power":25625,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":57095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:03:30] local.INFO: GPS data processed {"connection_id":57095,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:03:30] local.INFO: Acknowledgment sent {"connection_id":57095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:03:34] local.INFO: TCP Data received {"connection_id":57771,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:03:34] local.INFO: Processing buffer {"connection_id":57771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:03:34] local.INFO: IMEI packet received {"connection_id":57771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":57771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:03:49] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:49] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:03:49] local.INFO: Packet analysis {"connection_id":57096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:49] local.INFO: Extracted packet for processing {"connection_id":57096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:03:49] 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-04-28 22:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:03:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":57096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:03:49] local.INFO: GPS data processed {"connection_id":57096,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:03:49] local.INFO: Acknowledgment sent {"connection_id":57096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:03:57] local.INFO: TCP Data received {"connection_id":57081,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:57] local.INFO: Processing buffer {"connection_id":57081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:57] local.INFO: IMEI packet received {"connection_id":57081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":57081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:03:59] local.INFO: TCP Data received {"connection_id":57081,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:59] local.INFO: Processing buffer {"connection_id":57081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:03:59] local.INFO: IMEI packet received {"connection_id":57081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":57081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:04:00] local.INFO: TCP Data received {"connection_id":57081,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4efca90012d7b888005f5f280000c00e728..."} 
[2026-04-28 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4efca90012d7b888005f5f280000c00e728..."} 
[2026-04-28 22:04:00] local.INFO: Processing buffer {"connection_id":57081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4efca90012d7b888005f5f280000c00e728..."} 
[2026-04-28 22:04:00] local.INFO: Packet analysis {"connection_id":57081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ef"} 
[2026-04-28 22:04:00] local.INFO: Extracted packet for processing {"connection_id":57081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ef"} 
[2026-04-28 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100004480,"longitude_deg":76.3070592,"latitude_deg":10.000448,"altitude":12,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d7b8880","hex_latitude":"05f5f280","is_valid_coordinates":true} 
[2026-04-28 22:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012801024001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777393978000,"timestamp_ms":1777393978000,"timestamp_seconds":1777393978,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4efca90"} 
[2026-04-28 22:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-28 22:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":57081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":57081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":57081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012801024001,"66":25495,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012801024001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:04:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012801024001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":57081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:04:00] local.INFO: GPS data processed {"connection_id":57081,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:04:00] local.INFO: Acknowledgment sent {"connection_id":57081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:04:13] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:13] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:13] local.INFO: IMEI packet received {"connection_id":57097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":57097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:04:20] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:20] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:04:20] local.INFO: IMEI packet received {"connection_id":57097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":57097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:04:21] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:21] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:21] local.INFO: Packet analysis {"connection_id":57097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:04:21] local.INFO: Extracted packet for processing {"connection_id":57097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:04:21] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:04:21] 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-04-28 22:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:04:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":57097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:04:21] local.INFO: GPS data processed {"connection_id":57097,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:04:21] local.INFO: Acknowledgment sent {"connection_id":57097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:04:23] local.INFO: TCP Data received {"connection_id":57097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:23] local.INFO: Processing buffer {"connection_id":57097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:04:23] local.INFO: Packet analysis {"connection_id":57097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:04:23] local.INFO: Extracted packet for processing {"connection_id":57097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 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-04-28 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":57097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":57097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":57097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:04:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":57097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:04:23] local.INFO: GPS data processed {"connection_id":57097,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:04:23] local.INFO: Acknowledgment sent {"connection_id":57097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:04:31] local.INFO: TCP Data received {"connection_id":57081,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4efd260012d7b894005f5f318000c003529..."} 
[2026-04-28 22:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4efd260012d7b894005f5f318000c003529..."} 
[2026-04-28 22:04:31] local.INFO: Processing buffer {"connection_id":57081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4efd260012d7b894005f5f318000c003529..."} 
[2026-04-28 22:04:31] local.INFO: Packet analysis {"connection_id":57081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ef"} 
[2026-04-28 22:04:31] local.INFO: Extracted packet for processing {"connection_id":57081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ef"} 
[2026-04-28 22:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004632,"longitude_deg":76.3070784,"latitude_deg":10.0004632,"altitude":12,"angle":53,"satellites":41,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f318","is_valid_coordinates":true} 
[2026-04-28 22:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012858368001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587287552,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777393980000,"timestamp_ms":1777393980000,"timestamp_seconds":1777393980,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4efd260"} 
[2026-04-28 22:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:04: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-04-28 22:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 22:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:31] 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-04-28 22:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012858368001,"66":25430,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901505426587287552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012858368001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:04:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:04:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587287552,"description":"Unknown IO ID 45"} 
[2026-04-28 22:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012858368001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901505426587287552}} 
[2026-04-28 22:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":57081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:04:31] local.INFO: GPS data processed {"connection_id":57081,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:04:31] local.INFO: Acknowledgment sent {"connection_id":57081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:04:55] local.INFO: TCP Data received {"connection_id":57772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:55] local.INFO: Processing buffer {"connection_id":57772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:55] local.INFO: IMEI packet received {"connection_id":57772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":57772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:04:57] local.INFO: TCP Data received {"connection_id":57772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:57] local.INFO: Processing buffer {"connection_id":57772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:04:57] local.INFO: IMEI packet received {"connection_id":57772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":57772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:04:58] local.INFO: TCP Data received {"connection_id":57772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f02468012d7b894005f5f318000c003528..."} 
[2026-04-28 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f02468012d7b894005f5f318000c003528..."} 
[2026-04-28 22:04:58] local.INFO: Processing buffer {"connection_id":57772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f02468012d7b894005f5f318000c003528..."} 
[2026-04-28 22:04:58] local.INFO: Packet analysis {"connection_id":57772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:04:58] local.INFO: Extracted packet for processing {"connection_id":57772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004632,"longitude_deg":76.3070784,"latitude_deg":10.0004632,"altitude":12,"angle":53,"satellites":40,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f318","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012858880001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819859456,"note":"Value kept but may cause issues"} 
[2026-04-28 22:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394001000,"timestamp_ms":1777394001000,"timestamp_seconds":1777394001,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f02468"} 
[2026-04-28 22:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 22:04:58] 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-04-28 22: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-04-28 22:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:04:58] 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-04-28 22:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012858880001,"66":27300,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901716532819859456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012858880001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:04:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819859456,"description":"Unknown IO ID 45"} 
[2026-04-28 22:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012858880001,"power":27300,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901716532819859456}} 
[2026-04-28 22:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":57772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:04:58] local.INFO: GPS data processed {"connection_id":57772,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:04:58] local.INFO: Acknowledgment sent {"connection_id":57772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:03] local.INFO: TCP Data received {"connection_id":57772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f07670012d7b894005f5f318000c003528..."} 
[2026-04-28 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f07670012d7b894005f5f318000c003528..."} 
[2026-04-28 22:05:03] local.INFO: Processing buffer {"connection_id":57772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f07670012d7b894005f5f318000c003528..."} 
[2026-04-28 22:05:03] local.INFO: Packet analysis {"connection_id":57772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:03] local.INFO: Extracted packet for processing {"connection_id":57772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004632,"longitude_deg":76.3070784,"latitude_deg":10.0004632,"altitude":12,"angle":53,"satellites":40,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f318","is_valid_coordinates":true} 
[2026-04-28 22:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012864256001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595546563084288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819859456,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777394022000,"timestamp_ms":1777394022000,"timestamp_seconds":1777394022,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f07670"} 
[2026-04-28 22:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-28 22:05:03] 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-04-28 22:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:03] 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-04-28 22:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012864256001,"66":27463,"160":206,"87":12800,"24":0,"16":282595546563084288,"45":8901716532819859456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012864256001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:05:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595546563084288,"km_value":282595546563084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819859456,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012864256001,"power":27463,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901716532819859456}} 
[2026-04-28 22:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":57772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:03] local.INFO: GPS data processed {"connection_id":57772,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:03] local.INFO: Acknowledgment sent {"connection_id":57772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:08] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:08] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:08] local.INFO: IMEI packet received {"connection_id":57098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":57098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:05:13] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:13] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:05:13] local.INFO: IMEI packet received {"connection_id":57098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":57098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:05:13] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:13] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:13] local.INFO: Packet analysis {"connection_id":57098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:13] local.INFO: Extracted packet for processing {"connection_id":57098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:13] 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-04-28 22:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:05: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-04-28 22:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:13] 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-04-28 22:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":57098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:13] local.INFO: GPS data processed {"connection_id":57098,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:13] local.INFO: Acknowledgment sent {"connection_id":57098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:21] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:21] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:21] local.INFO: Packet analysis {"connection_id":57098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:21] local.INFO: Extracted packet for processing {"connection_id":57098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:21] 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-04-28 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":57098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:21] 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-04-28 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":57098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:21] local.INFO: GPS data processed {"connection_id":57098,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:21] local.INFO: Acknowledgment sent {"connection_id":57098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:33] local.INFO: TCP Data received {"connection_id":57772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0ad20012d7b8a0005f5f1d0000700f329..."} 
[2026-04-28 22:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0ad20012d7b8a0005f5f1d0000700f329..."} 
[2026-04-28 22:05:34] local.INFO: Processing buffer {"connection_id":57772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0ad20012d7b8a0005f5f1d0000700f329..."} 
[2026-04-28 22:05:34] local.INFO: Packet analysis {"connection_id":57772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:34] local.INFO: Extracted packet for processing {"connection_id":57772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763070976,"raw_latitude":100004304,"longitude_deg":76.3070976,"latitude_deg":10.0004304,"altitude":7,"angle":243,"satellites":41,"speed":3,"hex_longitude":"2d7b8a00","hex_latitude":"05f5f1d0","is_valid_coordinates":true} 
[2026-04-28 22:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012869632001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595563742953472,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819859456,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777394036000,"timestamp_ms":1777394036000,"timestamp_seconds":1777394036,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0ad20"} 
[2026-04-28 22:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-28 22:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":57772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":57772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012869632001,"66":27376,"160":206,"87":12800,"24":3,"16":282595563742953472,"45":8901716532819859456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012869632001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595563742953472,"km_value":282595563742953.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819859456,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012869632001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901716532819859456}} 
[2026-04-28 22:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":57772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:34] local.INFO: GPS data processed {"connection_id":57772,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:34] local.INFO: Acknowledgment sent {"connection_id":57772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:52] local.INFO: TCP Data received {"connection_id":57098,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:52] local.INFO: Processing buffer {"connection_id":57098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:05:52] local.INFO: Packet analysis {"connection_id":57098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:52] local.INFO: Extracted packet for processing {"connection_id":57098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:52] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":57098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":57098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:05:52] 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-04-28 22:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":57098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:52] local.INFO: GPS data processed {"connection_id":57098,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:52] local.INFO: Acknowledgment sent {"connection_id":57098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:05:52] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:52] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:52] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:05:57] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:57] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:05:57] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:05:58] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0b4f0012d7b89c005f5f178000700e629..."} 
[2026-04-28 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0b4f0012d7b89c005f5f178000700e629..."} 
[2026-04-28 22:05:58] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0b4f0012d7b89c005f5f178000700e629..."} 
[2026-04-28 22:05:58] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:58] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004216,"longitude_deg":76.3070912,"latitude_deg":10.0004216,"altitude":7,"angle":230,"satellites":41,"speed":3,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f178","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012873216001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595572332888064,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901927639052308480,"note":"Value kept but may cause issues"} 
[2026-04-28 22:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394038000,"timestamp_ms":1777394038000,"timestamp_seconds":1777394038,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0b4f0"} 
[2026-04-28 22:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 22:05:58] 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-04-28 22: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-04-28 22:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012873216001,"66":27343,"160":206,"87":12800,"24":3,"16":282595572332888064,"45":8901927639052308480},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012873216001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:05:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595572332888064,"km_value":282595572332888.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901927639052308480,"description":"Unknown IO ID 45"} 
[2026-04-28 22:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012873216001,"power":27343,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901927639052308480}} 
[2026-04-28 22:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:05:58] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:05:58] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:06:10] local.INFO: TCP Data received {"connection_id":57773,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:10] local.INFO: Processing buffer {"connection_id":57773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:10] local.INFO: IMEI packet received {"connection_id":57773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":57773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:06:13] local.INFO: TCP Data received {"connection_id":57773,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:13] local.INFO: Processing buffer {"connection_id":57773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:06:13] local.INFO: IMEI packet received {"connection_id":57773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":57773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:06:13] local.INFO: TCP Data received {"connection_id":57773,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:13] local.INFO: Processing buffer {"connection_id":57773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:13] local.INFO: Packet analysis {"connection_id":57773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:06:13] local.INFO: Extracted packet for processing {"connection_id":57773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:06:13] 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-04-28 22:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:06: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-04-28 22:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:13] 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-04-28 22:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:06:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":57773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:06:13] local.INFO: GPS data processed {"connection_id":57773,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:06:13] local.INFO: Acknowledgment sent {"connection_id":57773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:06:18] local.INFO: TCP Data received {"connection_id":57773,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:18] local.INFO: Processing buffer {"connection_id":57773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4edf5d0012d196500071ff0900042014a27..."} 
[2026-04-28 22:06:18] local.INFO: Packet analysis {"connection_id":57773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:06:18] local.INFO: Extracted packet for processing {"connection_id":57773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ed"} 
[2026-04-28 22:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012750592001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777393858000,"timestamp_ms":1777393858000,"timestamp_seconds":1777393858,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4edf5d0"} 
[2026-04-28 22:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:06:18] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:18] 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-04-28 22:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012750592001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012750592001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:06:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012750592001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":57773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:06:18] local.INFO: GPS data processed {"connection_id":57773,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:06:18] local.INFO: Acknowledgment sent {"connection_id":57773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:06:30] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0b8d8012d7b898005f5f148000700db29..."} 
[2026-04-28 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0b8d8012d7b898005f5f148000700db29..."} 
[2026-04-28 22:06:30] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0b8d8012d7b898005f5f148000700db29..."} 
[2026-04-28 22:06:30] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:06:30] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004168,"longitude_deg":76.3070848,"latitude_deg":10.0004168,"altitude":7,"angle":219,"satellites":41,"speed":2,"hex_longitude":"2d7b8980","hex_latitude":"05f5f148","is_valid_coordinates":true} 
[2026-04-28 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012873728001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595576627855360,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308108288,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394039000,"timestamp_ms":1777394039000,"timestamp_seconds":1777394039,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0b8d8"} 
[2026-04-28 22:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 22:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012873728001,"66":27343,"160":206,"87":12800,"24":2,"16":282595576627855360,"45":8901857270308108288},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012873728001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595576627855360,"km_value":282595576627855.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308108288,"description":"Unknown IO ID 45"} 
[2026-04-28 22:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012873728001,"power":27343,"unknown_160":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8901857270308108288}} 
[2026-04-28 22:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:06:30] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:06:30] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:06:49] local.INFO: TCP Data received {"connection_id":57773,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:06:49] local.INFO: Processing buffer {"connection_id":57773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:06:49] local.INFO: Packet analysis {"connection_id":57773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:06:49] local.INFO: Extracted packet for processing {"connection_id":57773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:06:49] 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-04-28 22:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:06:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":57773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:06:49] local.INFO: GPS data processed {"connection_id":57773,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:06:49] local.INFO: Acknowledgment sent {"connection_id":57773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:06:52] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:52] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:52] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:06:57] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:57] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:06:57] local.INFO: IMEI packet received {"connection_id":57084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":57084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:06:58] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0bcc0012d7b894005f5f118000700e829..."} 
[2026-04-28 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0bcc0012d7b894005f5f118000700e829..."} 
[2026-04-28 22:06:58] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0bcc0012d7b894005f5f118000700e829..."} 
[2026-04-28 22:06:58] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:06:58] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004120,"longitude_deg":76.3070784,"latitude_deg":10.000412,"altitude":7,"angle":232,"satellites":41,"speed":4,"hex_longitude":"2d7b8940","hex_latitude":"05f5f118","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012873984001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595580922822656,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901563918336,"note":"Value kept but may cause issues"} 
[2026-04-28 22:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394040000,"timestamp_ms":1777394040000,"timestamp_seconds":1777394040,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0bcc0"} 
[2026-04-28 22:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22: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-04-28 22: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":207,"data_length":795,"current_offset":136} 
[2026-04-28 22:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012873984001,"66":27343,"160":206,"87":12800,"24":4,"16":282595580922822656,"45":8901786901563918336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012873984001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:06:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595580922822656,"km_value":282595580922822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901563918336,"description":"Unknown IO ID 45"} 
[2026-04-28 22:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012873984001,"power":27343,"unknown_160":206,"unknown_87":12800,"ignition":4,"odometer":null,"unknown_45":8901786901563918336}} 
[2026-04-28 22:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:06:58] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:06:58] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:07:08] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:08] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:08] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:07:13] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:13] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:07:13] local.INFO: IMEI packet received {"connection_id":56843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":56843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:07:14] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:14] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:14] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:07:14] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:07:14] 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-04-28 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:07:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:07:14] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:07:14] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:07:29] local.INFO: TCP Data received {"connection_id":57084,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0cc60012d7b884005f5f040000700d228..."} 
[2026-04-28 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0cc60012d7b884005f5f040000700d228..."} 
[2026-04-28 22:07:29] local.INFO: Processing buffer {"connection_id":57084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0cc60012d7b884005f5f040000700d228..."} 
[2026-04-28 22:07:29] local.INFO: Packet analysis {"connection_id":57084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:07:29] local.INFO: Extracted packet for processing {"connection_id":57084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003904,"longitude_deg":76.3070528,"latitude_deg":10.0003904,"altitude":7,"angle":210,"satellites":40,"speed":3,"hex_longitude":"2d7b8840","hex_latitude":"05f5f040","is_valid_coordinates":true} 
[2026-04-28 22:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012874240001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595598102691840,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819728384,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394044000,"timestamp_ms":1777394044000,"timestamp_seconds":1777394044,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0cc60"} 
[2026-04-28 22:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:07: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-04-28 22:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-28 22:07:29] 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-04-28 22:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012874240001,"66":27365,"160":206,"87":12800,"24":3,"16":282595598102691840,"45":8901716532819728384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012874240001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:07:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595598102691840,"km_value":282595598102691.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819728384,"description":"Unknown IO ID 45"} 
[2026-04-28 22:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012874240001,"power":27365,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901716532819728384}} 
[2026-04-28 22:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":57084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:07:29] local.INFO: GPS data processed {"connection_id":57084,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:07:29] local.INFO: Acknowledgment sent {"connection_id":57084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:07:45] local.INFO: TCP Data received {"connection_id":56843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:45] local.INFO: Processing buffer {"connection_id":56843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:07:45] local.INFO: Packet analysis {"connection_id":56843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:07:45] local.INFO: Extracted packet for processing {"connection_id":56843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:07:45] 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-04-28 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":56843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":56843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":56843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:07:45] local.INFO: GPS data processed {"connection_id":56843,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:07:45] local.INFO: Acknowledgment sent {"connection_id":56843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:07:57] local.INFO: TCP Data received {"connection_id":57085,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:07:57] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:07:57] local.INFO: IMEI packet received {"connection_id":57085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":57085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:08:02] local.INFO: TCP Data received {"connection_id":57085,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:02] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:02] local.INFO: IMEI packet received {"connection_id":57085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":57085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:08:03] local.INFO: TCP Data received {"connection_id":57085,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0d430012d7b880005f5ef98000700c029..."} 
[2026-04-28 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0d430012d7b880005f5ef98000700c029..."} 
[2026-04-28 22:08:03] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0d430012d7b880005f5ef98000700c029..."} 
[2026-04-28 22:08:03] local.INFO: Packet analysis {"connection_id":57085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:08:03] local.INFO: Extracted packet for processing {"connection_id":57085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":100003736,"longitude_deg":76.3070464,"latitude_deg":10.0003736,"altitude":7,"angle":192,"satellites":41,"speed":4,"hex_longitude":"2d7b8800","hex_latitude":"05f5ef98","is_valid_coordinates":true} 
[2026-04-28 22:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012875264001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595606692626432,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842962432,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777394046000,"timestamp_ms":1777394046000,"timestamp_seconds":1777394046,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0d430"} 
[2026-04-28 22:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-28 22:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012875264001,"66":27376,"160":206,"87":12800,"24":4,"16":282595606692626432,"45":8901435057842962432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012875264001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:08:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:08:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595606692626432,"km_value":282595606692626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842962432,"description":"Unknown IO ID 45"} 
[2026-04-28 22:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012875264001,"power":27376,"unknown_160":206,"unknown_87":12800,"ignition":4,"odometer":null,"unknown_45":8901435057842962432}} 
[2026-04-28 22:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":57085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:08:03] local.INFO: GPS data processed {"connection_id":57085,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:08:03] local.INFO: Acknowledgment sent {"connection_id":57085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:08:08] local.INFO: TCP Data received {"connection_id":57774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:08] local.INFO: Processing buffer {"connection_id":57774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:08] local.INFO: IMEI packet received {"connection_id":57774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":57774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:08:08] local.INFO: TCP Data received {"connection_id":57085,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f0d818012d7b87c005f5ef48000600b529..."} 
[2026-04-28 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f0d818012d7b87c005f5ef48000600b529..."} 
[2026-04-28 22:08:08] local.INFO: Processing buffer {"connection_id":57085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f0d818012d7b87c005f5ef48000600b529..."} 
[2026-04-28 22:08:08] local.INFO: Packet analysis {"connection_id":57085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:08:08] local.INFO: Extracted packet for processing {"connection_id":57085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f0"} 
[2026-04-28 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763070400,"raw_latitude":100003656,"longitude_deg":76.30704,"latitude_deg":10.0003656,"altitude":6,"angle":181,"satellites":41,"speed":3,"hex_longitude":"2d7b87c0","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012875776001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595610987593728,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364689098741760,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777394047000,"timestamp_ms":1777394047000,"timestamp_seconds":1777394047,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f0d818"} 
[2026-04-28 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-28 22:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012875776001,"66":27213,"160":206,"87":12800,"24":3,"16":282595610987593728,"45":8901364689098741760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012875776001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:08:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595610987593728,"km_value":282595610987593.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364689098741760,"description":"Unknown IO ID 45"} 
[2026-04-28 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012875776001,"power":27213,"unknown_160":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8901364689098741760}} 
[2026-04-28 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":57085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:08:08] local.INFO: GPS data processed {"connection_id":57085,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:08:08] local.INFO: Acknowledgment sent {"connection_id":57085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:08:13] local.INFO: TCP Data received {"connection_id":57774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:13] local.INFO: Processing buffer {"connection_id":57774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:08:13] local.INFO: IMEI packet received {"connection_id":57774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":57774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:08:14] local.INFO: TCP Data received {"connection_id":57774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:14] local.INFO: Processing buffer {"connection_id":57774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:14] local.INFO: Packet analysis {"connection_id":57774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:08:14] local.INFO: Extracted packet for processing {"connection_id":57774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:08:14] 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-04-28 22:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":57774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":57774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":57774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:08:14] 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-04-28 22:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:08:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":57774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:08:14] local.INFO: GPS data processed {"connection_id":57774,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:08:14] local.INFO: Acknowledgment sent {"connection_id":57774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:08:45] local.INFO: TCP Data received {"connection_id":57774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:45] local.INFO: Processing buffer {"connection_id":57774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:08:45] local.INFO: Packet analysis {"connection_id":57774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:08:45] local.INFO: Extracted packet for processing {"connection_id":57774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:08:45] 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-04-28 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":57774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":57774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":57774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:08:45] 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-04-28 22:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:08:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":57774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:08:45] local.INFO: GPS data processed {"connection_id":57774,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:08:45] local.INFO: Acknowledgment sent {"connection_id":57774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:08:49] local.INFO: TCP Data received {"connection_id":56845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:08:49] local.INFO: Processing buffer {"connection_id":56845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:08:49] local.INFO: IMEI packet received {"connection_id":56845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":56845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:08:52] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:52] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:52] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:08:57] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:57] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:08:57] local.INFO: IMEI packet received {"connection_id":57086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":57086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:08:59] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f11e68012d7b844005f5ed58000600ea2b..."} 
[2026-04-28 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f11e68012d7b844005f5ed58000600ea2b..."} 
[2026-04-28 22:08:59] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f11e68012d7b844005f5ed58000600ea2b..."} 
[2026-04-28 22:08:59] local.INFO: Packet analysis {"connection_id":57086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:08:59] local.INFO: Extracted packet for processing {"connection_id":57086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003160,"longitude_deg":76.3069504,"latitude_deg":10.000316,"altitude":6,"angle":234,"satellites":43,"speed":1,"hex_longitude":"2d7b8440","hex_latitude":"05f5ed58","is_valid_coordinates":true} 
[2026-04-28 22:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012876032001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595658232233984,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901294320354543616,"note":"Value kept but may cause issues"} 
[2026-04-28 22:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777394065000,"timestamp_ms":1777394065000,"timestamp_seconds":1777394065,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f11e68"} 
[2026-04-28 22:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:08: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-04-28 22:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-28 22:08:59] 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-04-28 22:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012876032001,"66":27713,"160":206,"87":12800,"24":1,"16":282595658232233984,"45":8901294320354543616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012876032001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:08:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595658232233984,"km_value":282595658232234.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901294320354543616,"description":"Unknown IO ID 45"} 
[2026-04-28 22:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012876032001,"power":27713,"unknown_160":206,"unknown_87":12800,"ignition":1,"odometer":null,"unknown_45":8901294320354543616}} 
[2026-04-28 22:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":57086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:08:59] local.INFO: GPS data processed {"connection_id":57086,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:08:59] local.INFO: Acknowledgment sent {"connection_id":57086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:09:08] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:08] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:08] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:09:15] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:15] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:09:15] local.INFO: IMEI packet received {"connection_id":56846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":56846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:09:16] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:16] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:16] local.INFO: Packet analysis {"connection_id":56846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:09:16] local.INFO: Extracted packet for processing {"connection_id":56846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:09:16] 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-04-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":56846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:09:16] 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-04-28 22:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:09:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":56846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:09:16] local.INFO: GPS data processed {"connection_id":56846,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:09:16] local.INFO: Acknowledgment sent {"connection_id":56846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:09:30] local.INFO: TCP Data received {"connection_id":57086,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f12e08012d7b83c005f5ed10000600eb2b..."} 
[2026-04-28 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f12e08012d7b83c005f5ed10000600eb2b..."} 
[2026-04-28 22:09:30] local.INFO: Processing buffer {"connection_id":57086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f12e08012d7b83c005f5ed10000600eb2b..."} 
[2026-04-28 22:09:30] local.INFO: Packet analysis {"connection_id":57086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:09:30] local.INFO: Extracted packet for processing {"connection_id":57086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100003088,"longitude_deg":76.3069376,"latitude_deg":10.0003088,"altitude":6,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5ed10","is_valid_coordinates":true} 
[2026-04-28 22:09: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-04-28 22:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012880640001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157935929344,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394069000,"timestamp_ms":1777394069000,"timestamp_seconds":1777394069,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f12e08"} 
[2026-04-28 22:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-28 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-28 22:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012880640001,"66":27821,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8900309157935929344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012880640001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:09:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157935929344,"description":"Unknown IO ID 45"} 
[2026-04-28 22:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012880640001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900309157935929344}} 
[2026-04-28 22:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":57086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:09:30] local.INFO: GPS data processed {"connection_id":57086,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:09:30] local.INFO: Acknowledgment sent {"connection_id":57086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:09:33] local.INFO: TCP Data received {"connection_id":57775,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:09:33] local.INFO: Processing buffer {"connection_id":57775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:09:33] local.INFO: IMEI packet received {"connection_id":57775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":57775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:09:47] local.INFO: TCP Data received {"connection_id":56846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:47] local.INFO: Processing buffer {"connection_id":56846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:09:47] local.INFO: Packet analysis {"connection_id":56846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:09:47] local.INFO: Extracted packet for processing {"connection_id":56846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:09:47] 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-04-28 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":56846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":56846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:09:47] 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-04-28 22:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:09:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":56846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:09:47] local.INFO: GPS data processed {"connection_id":56846,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:09:47] local.INFO: Acknowledgment sent {"connection_id":56846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:09:52] local.INFO: TCP Data received {"connection_id":57776,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:52] local.INFO: Processing buffer {"connection_id":57776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:52] local.INFO: IMEI packet received {"connection_id":57776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":57776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:09:57] local.INFO: TCP Data received {"connection_id":57776,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:57] local.INFO: Processing buffer {"connection_id":57776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:09:57] local.INFO: IMEI packet received {"connection_id":57776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":57776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:09:58] local.INFO: TCP Data received {"connection_id":57776,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f139c0012d7b834005f5ed60000701632b..."} 
[2026-04-28 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f139c0012d7b834005f5ed60000701632b..."} 
[2026-04-28 22:09:58] local.INFO: Processing buffer {"connection_id":57776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f139c0012d7b834005f5ed60000701632b..."} 
[2026-04-28 22:09:58] local.INFO: Packet analysis {"connection_id":57776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:09:58] local.INFO: Extracted packet for processing {"connection_id":57776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003168,"longitude_deg":76.3069248,"latitude_deg":10.0003168,"altitude":7,"angle":355,"satellites":43,"speed":1,"hex_longitude":"2d7b8340","hex_latitude":"05f5ed60","is_valid_coordinates":true} 
[2026-04-28 22:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012881664001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447555584,"note":"Value kept but may cause issues"} 
[2026-04-28 22:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394072000,"timestamp_ms":1777394072000,"timestamp_seconds":1777394072,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f139c0"} 
[2026-04-28 22:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-28 22:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012881664001,"66":27104,"160":206,"87":12800,"24":1,"16":282595666822168576,"45":8900168420447555584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012881664001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:09:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447555584,"description":"Unknown IO ID 45"} 
[2026-04-28 22:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012881664001,"power":27104,"unknown_160":206,"unknown_87":12800,"ignition":1,"odometer":null,"unknown_45":8900168420447555584}} 
[2026-04-28 22:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":57776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:09:58] local.INFO: GPS data processed {"connection_id":57776,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:09:58] local.INFO: Acknowledgment sent {"connection_id":57776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:10:18] local.INFO: TCP Data received {"connection_id":57100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:18] local.INFO: Processing buffer {"connection_id":57100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:18] local.INFO: IMEI packet received {"connection_id":57100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":57100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:10:25] local.INFO: TCP Data received {"connection_id":57100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:25] local.INFO: Processing buffer {"connection_id":57100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:10:25] local.INFO: IMEI packet received {"connection_id":57100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":57100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:10:26] local.INFO: TCP Data received {"connection_id":57100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:26] local.INFO: Processing buffer {"connection_id":57100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:26] local.INFO: Packet analysis {"connection_id":57100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:10:26] local.INFO: Extracted packet for processing {"connection_id":57100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:26] 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-04-28 22:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:10:26] 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-04-28 22:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":57100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":57100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":57100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:10:26] 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-04-28 22:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:10:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":57100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:10:26] local.INFO: GPS data processed {"connection_id":57100,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:10:26] local.INFO: Acknowledgment sent {"connection_id":57100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:10:27] local.INFO: TCP Data received {"connection_id":57100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:27] local.INFO: Processing buffer {"connection_id":57100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:10:27] local.INFO: Packet analysis {"connection_id":57100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:10:27] local.INFO: Extracted packet for processing {"connection_id":57100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:10:27] 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-04-28 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":57100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":57100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":57100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:10:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":57100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:10:27] local.INFO: GPS data processed {"connection_id":57100,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:10:27] local.INFO: Acknowledgment sent {"connection_id":57100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:10:29] local.INFO: TCP Data received {"connection_id":57776,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f14190012d7b830005f5ed780007014b2b..."} 
[2026-04-28 22:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f14190012d7b830005f5ed780007014b2b..."} 
[2026-04-28 22:10:29] local.INFO: Processing buffer {"connection_id":57776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f14190012d7b830005f5ed780007014b2b..."} 
[2026-04-28 22:10:29] local.INFO: Packet analysis {"connection_id":57776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:10:29] local.INFO: Extracted packet for processing {"connection_id":57776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f1"} 
[2026-04-28 22:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003192,"longitude_deg":76.3069184,"latitude_deg":10.0003192,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed78","is_valid_coordinates":true} 
[2026-04-28 22:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882432001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959220736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394074000,"timestamp_ms":1777394074000,"timestamp_seconds":1777394074,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f14190"} 
[2026-04-28 22:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-28 22:10:29] 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-04-28 22: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-04-28 22:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882432001,"66":26963,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8900027682959220736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882432001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:10:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:10:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959220736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882432001,"power":26963,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959220736}} 
[2026-04-28 22:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":57776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:10:29] local.INFO: GPS data processed {"connection_id":57776,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:10:29] local.INFO: Acknowledgment sent {"connection_id":57776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:10:52] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:52] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:52] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:10:57] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:57] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:10:57] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:10:58] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:10:58] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:10:58] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:10:58] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:10:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:10:58] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:10:58] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:11:08] local.INFO: TCP Data received {"connection_id":57103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:08] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:08] local.INFO: IMEI packet received {"connection_id":57103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":57103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:11:14] local.INFO: TCP Data received {"connection_id":57103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:14] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:11:14] local.INFO: IMEI packet received {"connection_id":57103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":57103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:11:15] local.INFO: TCP Data received {"connection_id":57103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:11:15] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f28d98012d196500071ff0900042014a24..."} 
[2026-04-28 22:11:15] local.INFO: Packet analysis {"connection_id":57103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:11:15] local.INFO: Extracted packet for processing {"connection_id":57103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f2"} 
[2026-04-28 22:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012827648001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:15] 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-04-28 22:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777394159000,"timestamp_ms":1777394159000,"timestamp_seconds":1777394159,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f28d98"} 
[2026-04-28 22:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:11:15] 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-04-28 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:11: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-04-28 22:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012827648001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012827648001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:11:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012827648001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":57103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:11:15] local.INFO: GPS data processed {"connection_id":57103,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:11:15] local.INFO: Acknowledgment sent {"connection_id":57103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:11:30] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:30] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:30] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:11:30] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 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-04-28 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:11:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:11:30] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:11:30] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:11:46] local.INFO: TCP Data received {"connection_id":57103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:11:46] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:11:46] local.INFO: Packet analysis {"connection_id":57103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:11:46] local.INFO: Extracted packet for processing {"connection_id":57103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:11:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":57103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:11:46] local.INFO: GPS data processed {"connection_id":57103,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:11:46] local.INFO: Acknowledgment sent {"connection_id":57103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:11:52] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:52] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:52] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:11:57] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:57] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:11:57] local.INFO: IMEI packet received {"connection_id":57087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":57087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:11:58] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:58] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:11:58] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:11:58] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:11:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:11:58] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:11:58] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:12:23] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:23] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:23] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:12:26] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:26] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:12:26] local.INFO: IMEI packet received {"connection_id":56847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":56847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:12:29] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:29] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:29] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:12:29] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] 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-04-28 22:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:12: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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:12: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-04-28 22: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-04-28 22:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:12: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-04-28 22:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:12:29] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:12:29] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:12:29] local.INFO: TCP Data received {"connection_id":57087,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:12:29] local.INFO: Processing buffer {"connection_id":57087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:12:29] local.INFO: Packet analysis {"connection_id":57087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:12:29] local.INFO: Extracted packet for processing {"connection_id":57087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":57087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:12:29] local.INFO: GPS data processed {"connection_id":57087,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:12:29] local.INFO: Acknowledgment sent {"connection_id":57087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:12:29] local.INFO: TCP Data received {"connection_id":56847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:30] local.INFO: Processing buffer {"connection_id":56847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:12:30] local.INFO: Packet analysis {"connection_id":56847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:12:30] local.INFO: Extracted packet for processing {"connection_id":56847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:12:30] 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-04-28 22:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:12:30] 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-04-28 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:12: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-04-28 22:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:12:30] 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-04-28 22:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:12:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":56847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:12:30] local.INFO: GPS data processed {"connection_id":56847,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:12:30] local.INFO: Acknowledgment sent {"connection_id":56847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:12:57] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:12:57] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:12:57] local.INFO: IMEI packet received {"connection_id":57105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":57105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:13:02] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:02] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:02] local.INFO: IMEI packet received {"connection_id":57105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":57105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:13:03] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:03] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:03] local.INFO: Packet analysis {"connection_id":57105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:03] local.INFO: Extracted packet for processing {"connection_id":57105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:13:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":57105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:13:03] local.INFO: GPS data processed {"connection_id":57105,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:13:03] local.INFO: Acknowledgment sent {"connection_id":57105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:13:08] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:08] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:08] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:13:08] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:08] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:08] local.INFO: Packet analysis {"connection_id":57105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:08] local.INFO: Extracted packet for processing {"connection_id":57105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":57105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:13:08] local.INFO: GPS data processed {"connection_id":57105,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:13:08] local.INFO: Acknowledgment sent {"connection_id":57105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:13:14] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:14] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:13:14] local.INFO: IMEI packet received {"connection_id":57088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":57088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:13:15] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:15] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:15] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:13:15] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:15] 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-04-28 22:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:13:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:13:15] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:13:15] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:13:52] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:52] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:52] local.INFO: IMEI packet received {"connection_id":57090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":57090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:13:53] local.INFO: TCP Data received {"connection_id":57088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:53] local.INFO: Processing buffer {"connection_id":57088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:13:53] local.INFO: Packet analysis {"connection_id":57088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:13:53] local.INFO: Extracted packet for processing {"connection_id":57088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:53] 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-04-28 22:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:13:53] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":57088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":57088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":57088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:13:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":57088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:13:54] local.INFO: GPS data processed {"connection_id":57088,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:13:54] local.INFO: Acknowledgment sent {"connection_id":57088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:13:57] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:57] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:13:57] local.INFO: IMEI packet received {"connection_id":57090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":57090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:13:58] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:58] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:13:58] local.INFO: Packet analysis {"connection_id":57090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:58] local.INFO: Extracted packet for processing {"connection_id":57090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:13:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":57090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:13:58] local.INFO: GPS data processed {"connection_id":57090,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:13:58] local.INFO: Acknowledgment sent {"connection_id":57090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:14:08] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:08] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:08] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:14:13] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:13] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:14:13] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:14:13] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:13] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:13] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:14:13] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:14:13] 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-04-28 22:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:14: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-04-28 22:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:14:13] 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-04-28 22:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:14:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:14:14] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:14:14] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:14:29] local.INFO: TCP Data received {"connection_id":57090,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:29] local.INFO: Processing buffer {"connection_id":57090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:29] local.INFO: Packet analysis {"connection_id":57090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:14:29] local.INFO: Extracted packet for processing {"connection_id":57090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":57090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:14:29] local.INFO: GPS data processed {"connection_id":57090,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:14:29] local.INFO: Acknowledgment sent {"connection_id":57090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:14:46] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:46] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:14:46] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:14:46] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 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-04-28 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:14:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:14:46] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:14:46] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:14:52] local.INFO: TCP Data received {"connection_id":57779,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:52] local.INFO: Processing buffer {"connection_id":57779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:52] local.INFO: IMEI packet received {"connection_id":57779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":57779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:14:57] local.INFO: TCP Data received {"connection_id":57779,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:57] local.INFO: Processing buffer {"connection_id":57779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:14:57] local.INFO: IMEI packet received {"connection_id":57779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":57779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:14:58] local.INFO: TCP Data received {"connection_id":57779,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:58] local.INFO: Processing buffer {"connection_id":57779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f5d958012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:14:58] local.INFO: Packet analysis {"connection_id":57779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:14:58] local.INFO: Extracted packet for processing {"connection_id":57779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f5"} 
[2026-04-28 22:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012882944001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215049216,"note":"Value kept but may cause issues"} 
[2026-04-28 22:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394375000,"timestamp_ms":1777394375000,"timestamp_seconds":1777394375,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f5d958"} 
[2026-04-28 22:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-28 22:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012882944001,"66":26028,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215049216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012882944001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:14:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215049216,"description":"Unknown IO ID 45"} 
[2026-04-28 22:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012882944001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215049216}} 
[2026-04-28 22:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":57779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:14:58] local.INFO: GPS data processed {"connection_id":57779,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:14:58] local.INFO: Acknowledgment sent {"connection_id":57779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:14:59] local.INFO: TCP Data received {"connection_id":57778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:14:59] local.INFO: Processing buffer {"connection_id":57778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:14:59] local.INFO: IMEI packet received {"connection_id":57778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":57778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:15:08] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:08] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:08] local.INFO: IMEI packet received {"connection_id":57107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":57107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:15:13] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:13] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:15:13] local.INFO: IMEI packet received {"connection_id":57107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":57107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:15:13] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:13] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:13] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:15:13] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:15:13] 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-04-28 22:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:15: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-04-28 22:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:15:13] 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-04-28 22:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:15:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:15:13] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:15:13] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:15:29] local.INFO: TCP Data received {"connection_id":57779,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:29] local.INFO: Processing buffer {"connection_id":57779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:29] local.INFO: Packet analysis {"connection_id":57779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:15:29] local.INFO: Extracted packet for processing {"connection_id":57779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:15:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:15:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":57779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:15:29] local.INFO: GPS data processed {"connection_id":57779,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:15:29] local.INFO: Acknowledgment sent {"connection_id":57779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:15:33] local.INFO: TCP Data received {"connection_id":57091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:15:33] local.INFO: Processing buffer {"connection_id":57091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:15:33] local.INFO: IMEI packet received {"connection_id":57091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":57091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:15:44] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:44] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:15:44] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:15:44] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:15: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-04-28 22:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:44] 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-04-28 22:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:15:44] 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-04-28 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:15: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-04-28 22:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:15:44] 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-04-28 22:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:15:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:15:44] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:15:44] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:15:52] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:52] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:52] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:15:57] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:57] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:15:57] local.INFO: IMEI packet received {"connection_id":56848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":56848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:15:58] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:58] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:15:58] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:15:58] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:15:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:15:58] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:15:58] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:16:13] local.INFO: TCP Data received {"connection_id":57780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:13] local.INFO: Processing buffer {"connection_id":57780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:13] local.INFO: IMEI packet received {"connection_id":57780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":57780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:16:18] local.INFO: TCP Data received {"connection_id":57780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:18] local.INFO: Processing buffer {"connection_id":57780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:16:18] local.INFO: IMEI packet received {"connection_id":57780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":57780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:16:18] local.INFO: TCP Data received {"connection_id":57780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:16:18] local.INFO: Processing buffer {"connection_id":57780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4f72560012d196500071ff0900042014a27..."} 
[2026-04-28 22:16:18] local.INFO: Packet analysis {"connection_id":57780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:16:18] local.INFO: Extracted packet for processing {"connection_id":57780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4f7"} 
[2026-04-28 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012904704001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777394460000,"timestamp_ms":1777394460000,"timestamp_seconds":1777394460,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4f72560"} 
[2026-04-28 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:16:18] 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-04-28 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:16:18] 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-04-28 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012904704001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012904704001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:16:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012904704001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":57780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:16:18] local.INFO: GPS data processed {"connection_id":57780,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:16:18] local.INFO: Acknowledgment sent {"connection_id":57780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:16:30] local.INFO: TCP Data received {"connection_id":56848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:30] local.INFO: Processing buffer {"connection_id":56848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:30] local.INFO: Packet analysis {"connection_id":56848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:16:30] local.INFO: Extracted packet for processing {"connection_id":56848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:16:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":56848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:16:30] local.INFO: GPS data processed {"connection_id":56848,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:16:30] local.INFO: Acknowledgment sent {"connection_id":56848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:16:49] local.INFO: TCP Data received {"connection_id":57780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:16:49] local.INFO: Processing buffer {"connection_id":57780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:16:49] local.INFO: Packet analysis {"connection_id":57780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:16:49] local.INFO: Extracted packet for processing {"connection_id":57780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:16:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":57780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:16:49] local.INFO: GPS data processed {"connection_id":57780,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:16:49] local.INFO: Acknowledgment sent {"connection_id":57780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:16:52] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:52] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:52] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:16:57] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:57] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:16:57] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:16:58] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:58] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:16:58] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:16:58] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:16:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:16:58] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:16:58] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:17:15] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:15] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:15] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:17:18] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:18] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:17:18] local.INFO: IMEI packet received {"connection_id":56849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":56849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:17:20] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:20] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:20] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:17:20] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:17:20] 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-04-28 22:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:17:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:17:20] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:17:20] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:17:23] local.INFO: TCP Data received {"connection_id":56849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:23] local.INFO: Processing buffer {"connection_id":56849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:17:23] local.INFO: Packet analysis {"connection_id":56849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:17:23] local.INFO: Extracted packet for processing {"connection_id":56849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":56849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":56849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":56849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:17:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":56849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:17:23] local.INFO: GPS data processed {"connection_id":56849,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:17:23] local.INFO: Acknowledgment sent {"connection_id":56849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:17:29] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:29] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:29] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:17:29] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:17:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:17:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:17:29] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:17:29] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:17:52] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:52] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:52] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:17:57] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:57] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:17:57] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:17:58] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:58] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:17:58] local.INFO: Packet analysis {"connection_id":57110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:17:58] local.INFO: Extracted packet for processing {"connection_id":57110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:17:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":57110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:17:58] local.INFO: GPS data processed {"connection_id":57110,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:17:58] local.INFO: Acknowledgment sent {"connection_id":57110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:18:08] local.INFO: TCP Data received {"connection_id":57111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:08] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:08] local.INFO: IMEI packet received {"connection_id":57111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":57111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:18:13] local.INFO: TCP Data received {"connection_id":57111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:13] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:18:13] local.INFO: IMEI packet received {"connection_id":57111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":57111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:18:13] local.INFO: TCP Data received {"connection_id":57111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:13] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:13] local.INFO: Packet analysis {"connection_id":57111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:18:13] local.INFO: Extracted packet for processing {"connection_id":57111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:18: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-04-28 22:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:18:13] 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-04-28 22:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:18:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":57111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:18:13] local.INFO: GPS data processed {"connection_id":57111,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:18:13] local.INFO: Acknowledgment sent {"connection_id":57111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:18:30] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:18:30] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:18:30] local.INFO: Packet analysis {"connection_id":57110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:18:30] local.INFO: Extracted packet for processing {"connection_id":57110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:18:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":57110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:18:30] local.INFO: GPS data processed {"connection_id":57110,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:18:30] local.INFO: Acknowledgment sent {"connection_id":57110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:18:44] local.INFO: TCP Data received {"connection_id":57111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:44] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:18:44] local.INFO: Packet analysis {"connection_id":57111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:18:44] local.INFO: Extracted packet for processing {"connection_id":57111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:18:44] 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-04-28 22:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 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-04-28 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:18:44] 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-04-28 22:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:18:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":57111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:18:44] local.INFO: GPS data processed {"connection_id":57111,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:18:44] local.INFO: Acknowledgment sent {"connection_id":57111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:18:57] local.INFO: TCP Data received {"connection_id":57092,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:18:57] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:18:57] local.INFO: IMEI packet received {"connection_id":57092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":57092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:19:02] local.INFO: TCP Data received {"connection_id":57092,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:02] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:02] local.INFO: IMEI packet received {"connection_id":57092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":57092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:19:03] local.INFO: TCP Data received {"connection_id":57092,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:03] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:03] local.INFO: Packet analysis {"connection_id":57092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:03] local.INFO: Extracted packet for processing {"connection_id":57092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:19:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":57092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:19:03] local.INFO: GPS data processed {"connection_id":57092,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:19:03] local.INFO: Acknowledgment sent {"connection_id":57092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:19:08] local.INFO: TCP Data received {"connection_id":57781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:08] local.INFO: Processing buffer {"connection_id":57781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:08] local.INFO: IMEI packet received {"connection_id":57781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":57781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:19:08] local.INFO: TCP Data received {"connection_id":57092,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:08] local.INFO: Processing buffer {"connection_id":57092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:08] local.INFO: Packet analysis {"connection_id":57092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:08] local.INFO: Extracted packet for processing {"connection_id":57092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":57092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:19:08] local.INFO: GPS data processed {"connection_id":57092,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:19:08] local.INFO: Acknowledgment sent {"connection_id":57092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:19:18] local.INFO: TCP Data received {"connection_id":57781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:18] local.INFO: Processing buffer {"connection_id":57781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:19:18] local.INFO: IMEI packet received {"connection_id":57781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":57781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:19:19] local.INFO: TCP Data received {"connection_id":57781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:19] local.INFO: Processing buffer {"connection_id":57781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:19] local.INFO: Packet analysis {"connection_id":57781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:19:19] local.INFO: Extracted packet for processing {"connection_id":57781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":57781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":57781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":57781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:19:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":57781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:19:19] local.INFO: GPS data processed {"connection_id":57781,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:19:19] local.INFO: Acknowledgment sent {"connection_id":57781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:19:50] local.INFO: TCP Data received {"connection_id":57781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:50] local.INFO: Processing buffer {"connection_id":57781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:19:50] local.INFO: Packet analysis {"connection_id":57781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:19:50] local.INFO: Extracted packet for processing {"connection_id":57781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":57781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":57781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":57781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:19:50] 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-04-28 22:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:19:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":57781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:19:50] local.INFO: GPS data processed {"connection_id":57781,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:19:50] local.INFO: Acknowledgment sent {"connection_id":57781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:19:52] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:52] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:52] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:19:57] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:57] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:19:57] local.INFO: IMEI packet received {"connection_id":57093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":57093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:19:58] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:58] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fa7120012d7b830005f5ed280007014b2a..."} 
[2026-04-28 22:19:58] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:58] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fa"} 
[2026-04-28 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012960000001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394676000,"timestamp_ms":1777394676000,"timestamp_seconds":1777394676,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fa7120"} 
[2026-04-28 22:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-28 22:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012960000001,"66":25778,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012960000001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:19:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012960000001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:19:58] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:19:58] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:20:08] local.INFO: TCP Data received {"connection_id":57094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:08] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:08] local.INFO: IMEI packet received {"connection_id":57094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":57094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:20:13] local.INFO: TCP Data received {"connection_id":57094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:13] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:20:13] local.INFO: IMEI packet received {"connection_id":57094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":57094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:20:13] local.INFO: TCP Data received {"connection_id":57094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:13] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:13] local.INFO: Packet analysis {"connection_id":57094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:20:13] local.INFO: Extracted packet for processing {"connection_id":57094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:20: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-04-28 22: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-04-28 22:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:20:13] 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-04-28 22:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:20:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":57094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:20:13] local.INFO: GPS data processed {"connection_id":57094,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:20:13] local.INFO: Acknowledgment sent {"connection_id":57094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:20:30] local.INFO: TCP Data received {"connection_id":57093,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:30] local.INFO: Processing buffer {"connection_id":57093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:30] local.INFO: Packet analysis {"connection_id":57093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:20:30] local.INFO: Extracted packet for processing {"connection_id":57093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:20:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:20:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":57093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:20:30] local.INFO: GPS data processed {"connection_id":57093,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:20:30] local.INFO: Acknowledgment sent {"connection_id":57093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:20:44] local.INFO: TCP Data received {"connection_id":57094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:44] local.INFO: Processing buffer {"connection_id":57094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:20:44] local.INFO: Packet analysis {"connection_id":57094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:20:44] local.INFO: Extracted packet for processing {"connection_id":57094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:44] 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-04-28 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":57094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":57094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":57094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:20:44] 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-04-28 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:20:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":57094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:20:44] local.INFO: GPS data processed {"connection_id":57094,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:20:44] local.INFO: Acknowledgment sent {"connection_id":57094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:20:53] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:53] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:53] local.INFO: IMEI packet received {"connection_id":56853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":56853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:20:54] local.INFO: TCP Data received {"connection_id":57095,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:20:54] local.INFO: Processing buffer {"connection_id":57095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:20:54] local.INFO: IMEI packet received {"connection_id":57095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":57095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:20:57] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:57] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:20:57] local.INFO: IMEI packet received {"connection_id":56853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":56853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:20:58] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:58] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:20:58] local.INFO: Packet analysis {"connection_id":56853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:20:58] local.INFO: Extracted packet for processing {"connection_id":56853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:20: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-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:20:58] 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-04-28 22: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-04-28 22:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:20:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:20:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":56853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:20:58] local.INFO: GPS data processed {"connection_id":56853,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:20:58] local.INFO: Acknowledgment sent {"connection_id":56853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:21:13] local.INFO: TCP Data received {"connection_id":57112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:13] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:13] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:21:18] local.INFO: TCP Data received {"connection_id":57112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:18] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:21:18] local.INFO: IMEI packet received {"connection_id":57112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":57112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:21:18] local.INFO: TCP Data received {"connection_id":57112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:18] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:18] local.INFO: Packet analysis {"connection_id":57112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:21:18] local.INFO: Extracted packet for processing {"connection_id":57112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:21:18] 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-04-28 22:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:21:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":57112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:21:18] local.INFO: GPS data processed {"connection_id":57112,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:21:18] local.INFO: Acknowledgment sent {"connection_id":57112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:21:25] local.INFO: TCP Data received {"connection_id":57112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:25] local.INFO: Processing buffer {"connection_id":57112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4fbbd28012d196500071ff0900042014a25..."} 
[2026-04-28 22:21:25] local.INFO: Packet analysis {"connection_id":57112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:21:25] local.INFO: Extracted packet for processing {"connection_id":57112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4fb"} 
[2026-04-28 22:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455012981760001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:25] 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-04-28 22:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777394761000,"timestamp_ms":1777394761000,"timestamp_seconds":1777394761,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4fbbd28"} 
[2026-04-28 22:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":57112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":57112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:21:25] 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-04-28 22:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455012981760001,"66":2155,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455012981760001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:21:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455012981760001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":57112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:21:25] local.INFO: GPS data processed {"connection_id":57112,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:21:25] local.INFO: Acknowledgment sent {"connection_id":57112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:21:29] local.INFO: TCP Data received {"connection_id":56853,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:29] local.INFO: Processing buffer {"connection_id":56853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:29] local.INFO: Packet analysis {"connection_id":56853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:21:29] local.INFO: Extracted packet for processing {"connection_id":56853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:21:29] 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-04-28 22: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-04-28 22:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:21:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:21:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":56853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:21:29] local.INFO: GPS data processed {"connection_id":56853,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:21:29] local.INFO: Acknowledgment sent {"connection_id":56853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:21:33] local.INFO: TCP Data received {"connection_id":57113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:21:33] local.INFO: Processing buffer {"connection_id":57113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:21:33] local.INFO: IMEI packet received {"connection_id":57113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":57113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:21:52] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:52] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:52] local.INFO: IMEI packet received {"connection_id":57114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":57114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:21:57] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:57] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:21:57] local.INFO: IMEI packet received {"connection_id":57114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":57114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:21:58] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:58] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:21:58] local.INFO: Packet analysis {"connection_id":57114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:21:58] local.INFO: Extracted packet for processing {"connection_id":57114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:21: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-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:21:58] 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-04-28 22: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-04-28 22:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:21:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":57114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:21:58] local.INFO: GPS data processed {"connection_id":57114,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:21:58] local.INFO: Acknowledgment sent {"connection_id":57114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:22:08] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:08] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:08] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:22:13] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:13] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:22:13] local.INFO: IMEI packet received {"connection_id":56854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":56854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:22:13] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:13] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:13] local.INFO: Packet analysis {"connection_id":56854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:22:13] local.INFO: Extracted packet for processing {"connection_id":56854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:22:13] 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-04-28 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:22:13] 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-04-28 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:22:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":56854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:22:13] local.INFO: GPS data processed {"connection_id":56854,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:22:13] local.INFO: Acknowledgment sent {"connection_id":56854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:22:29] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:29] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:29] local.INFO: Packet analysis {"connection_id":57114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:22:29] local.INFO: Extracted packet for processing {"connection_id":57114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:22:29] 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-04-28 22: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-04-28 22:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:22:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:22:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":57114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:22:29] local.INFO: GPS data processed {"connection_id":57114,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:22:29] local.INFO: Acknowledgment sent {"connection_id":57114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:22:46] local.INFO: TCP Data received {"connection_id":56854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:46] local.INFO: Processing buffer {"connection_id":56854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:22:46] local.INFO: Packet analysis {"connection_id":56854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:22:46] local.INFO: Extracted packet for processing {"connection_id":56854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:22:46] 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-04-28 22:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":56854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":56854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":56854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:22:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":56854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:22:46] local.INFO: GPS data processed {"connection_id":56854,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:22:46] local.INFO: Acknowledgment sent {"connection_id":56854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:22:52] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:52] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:52] local.INFO: IMEI packet received {"connection_id":57096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":57096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:22:57] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:57] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:22:57] local.INFO: IMEI packet received {"connection_id":57096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":57096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:22:58] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:58] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:22:58] local.INFO: Packet analysis {"connection_id":57096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:22:58] local.INFO: Extracted packet for processing {"connection_id":57096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:22: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-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:22:58] 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-04-28 22: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-04-28 22:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:22:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":57096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:22:58] local.INFO: GPS data processed {"connection_id":57096,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:22:58] local.INFO: Acknowledgment sent {"connection_id":57096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:23:30] local.INFO: TCP Data received {"connection_id":57096,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:30] local.INFO: Processing buffer {"connection_id":57096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:30] local.INFO: Packet analysis {"connection_id":57096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:23:30] local.INFO: Extracted packet for processing {"connection_id":57096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:23:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":57096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:23:30] local.INFO: GPS data processed {"connection_id":57096,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:23:30] local.INFO: Acknowledgment sent {"connection_id":57096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:23:50] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:23:50] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:23:50] local.INFO: IMEI packet received {"connection_id":57115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":57115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:23:50] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 22:23:50] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-28 22:23:50] local.INFO: IMEI packet received {"connection_id":57115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":57115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:23:52] local.INFO: TCP Data received {"connection_id":57783,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:52] local.INFO: Processing buffer {"connection_id":57783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:52] local.INFO: IMEI packet received {"connection_id":57783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":57783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:23:52] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:23:52] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dd5..."} 
[2026-04-28 22:23:52] local.INFO: IMEI packet received {"connection_id":57115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":57115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:23:57] local.INFO: TCP Data received {"connection_id":57783,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:57] local.INFO: Processing buffer {"connection_id":57783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:23:57] local.INFO: IMEI packet received {"connection_id":57783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":57783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:23:58] local.INFO: TCP Data received {"connection_id":57783,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:58] local.INFO: Processing buffer {"connection_id":57783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:23:58] local.INFO: Packet analysis {"connection_id":57783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:23:58] local.INFO: Extracted packet for processing {"connection_id":57783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:23: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-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:23:58] 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-04-28 22: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-04-28 22:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:23:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":57783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:23:58] local.INFO: GPS data processed {"connection_id":57783,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:23:58] local.INFO: Acknowledgment sent {"connection_id":57783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:24:10] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:10] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:10] local.INFO: IMEI packet received {"connection_id":57117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":57117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:24:13] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:13] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:24:13] local.INFO: IMEI packet received {"connection_id":57117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":57117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:24:13] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:13] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:13] local.INFO: Packet analysis {"connection_id":57117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:13] local.INFO: Extracted packet for processing {"connection_id":57117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:24:13] 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-04-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24:13] 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-04-28 22:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:24:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":57117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:24:13] local.INFO: GPS data processed {"connection_id":57117,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:24:13] local.INFO: Acknowledgment sent {"connection_id":57117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:24:18] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:18] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:18] local.INFO: Packet analysis {"connection_id":57117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:18] local.INFO: Extracted packet for processing {"connection_id":57117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:24:18] 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-04-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24:18] 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-04-28 22:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:24:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":57117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:24:18] local.INFO: GPS data processed {"connection_id":57117,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:24:18] local.INFO: Acknowledgment sent {"connection_id":57117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:24:30] local.INFO: TCP Data received {"connection_id":57783,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:24:30] local.INFO: Processing buffer {"connection_id":57783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:24:30] local.INFO: Packet analysis {"connection_id":57783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:24:30] local.INFO: Extracted packet for processing {"connection_id":57783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:24:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":57783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:24:30] local.INFO: GPS data processed {"connection_id":57783,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:24:30] local.INFO: Acknowledgment sent {"connection_id":57783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:24:57] local.INFO: TCP Data received {"connection_id":57784,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:24:57] local.INFO: Processing buffer {"connection_id":57784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:24:57] local.INFO: IMEI packet received {"connection_id":57784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":57784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:24:58] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:58] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:24:58] local.INFO: Packet analysis {"connection_id":57117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:58] local.INFO: Extracted packet for processing {"connection_id":57117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:24:58] 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-04-28 22:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:24: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-04-28 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:24: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-04-28 22: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-04-28 22:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:24: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-04-28 22:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:24:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":57117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:24:58] local.INFO: GPS data processed {"connection_id":57117,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:24:58] local.INFO: Acknowledgment sent {"connection_id":57117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:25:02] local.INFO: TCP Data received {"connection_id":57784,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:02] local.INFO: Processing buffer {"connection_id":57784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:02] local.INFO: IMEI packet received {"connection_id":57784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":57784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:25:03] local.INFO: TCP Data received {"connection_id":57784,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:03] local.INFO: Processing buffer {"connection_id":57784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:03] local.INFO: Packet analysis {"connection_id":57784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:25:03] local.INFO: Extracted packet for processing {"connection_id":57784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:25:03] 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-04-28 22: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-04-28 22:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:25:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":57784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:25:03] local.INFO: GPS data processed {"connection_id":57784,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:25:03] local.INFO: Acknowledgment sent {"connection_id":57784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:25:08] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:08] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:08] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:25:08] local.INFO: TCP Data received {"connection_id":57784,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:08] local.INFO: Processing buffer {"connection_id":57784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd4ff08e8012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:25:08] local.INFO: Packet analysis {"connection_id":57784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:25:08] local.INFO: Extracted packet for processing {"connection_id":57784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd4ff"} 
[2026-04-28 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013037056001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777394977000,"timestamp_ms":1777394977000,"timestamp_seconds":1777394977,"priority":1,"record_length":96,"hex_timestamp":"0000019dd4ff08e8"} 
[2026-04-28 22:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-28 22:25:08] 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-04-28 22: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-04-28 22:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013037056001,"66":25756,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013037056001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:25:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013037056001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":57784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:25:08] local.INFO: GPS data processed {"connection_id":57784,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:25:08] local.INFO: Acknowledgment sent {"connection_id":57784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:25:18] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:18] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:25:18] local.INFO: IMEI packet received {"connection_id":56855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":56855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:25:19] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:19] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:19] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:25:19] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:25:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:25:19] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:25:19] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:25:50] local.INFO: TCP Data received {"connection_id":56855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:50] local.INFO: Processing buffer {"connection_id":56855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:25:50] local.INFO: Packet analysis {"connection_id":56855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:25:50] local.INFO: Extracted packet for processing {"connection_id":56855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 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-04-28 22:25:50] 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-04-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":56855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":56855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":56855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:25:50] 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-04-28 22:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:25:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":56855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:25:50] local.INFO: GPS data processed {"connection_id":56855,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:25:50] local.INFO: Acknowledgment sent {"connection_id":56855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:25:53] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:53] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:53] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:25:57] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:57] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:25:57] local.INFO: IMEI packet received {"connection_id":57099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":57099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:25:58] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:25:58] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:25:58] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:25:58] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:25: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-04-28 22: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-04-28 22:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:25:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:25:58] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:25:58] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:26:10] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:10] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:10] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:26:13] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:13] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:26:13] local.INFO: IMEI packet received {"connection_id":56856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":56856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:26:13] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:13] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:13] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:26:13] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:26:13] 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-04-28 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:13] 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-04-28 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:26:13] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:26:13] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:26:21] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:21] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5005cc0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:21] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:26:21] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd500"} 
[2026-04-28 22:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013058816001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777395064000,"timestamp_ms":1777395064000,"timestamp_seconds":1777395064,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5005cc0"} 
[2026-04-28 22:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:26:21] 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-04-28 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 22:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:21] 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-04-28 22:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013058816001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013058816001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:26:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013058816001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:26:21] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:26:21] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:26:29] local.INFO: TCP Data received {"connection_id":57099,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:29] local.INFO: Processing buffer {"connection_id":57099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:29] local.INFO: Packet analysis {"connection_id":57099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:26:29] local.INFO: Extracted packet for processing {"connection_id":57099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:26:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:26:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":57099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:26:29] local.INFO: GPS data processed {"connection_id":57099,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:26:29] local.INFO: Acknowledgment sent {"connection_id":57099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:26:52] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:52] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:52] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:26:54] local.INFO: TCP Data received {"connection_id":56856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:54] local.INFO: Processing buffer {"connection_id":56856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:26:54] local.INFO: Packet analysis {"connection_id":56856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:26:54] local.INFO: Extracted packet for processing {"connection_id":56856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:54] 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-04-28 22:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":56856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":56856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:26:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":56856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:26:54] local.INFO: GPS data processed {"connection_id":56856,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:26:54] local.INFO: Acknowledgment sent {"connection_id":56856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:26:57] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:57] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:26:57] local.INFO: IMEI packet received {"connection_id":56857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":56857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:26:58] local.INFO: TCP Data received {"connection_id":57785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:26:58] local.INFO: Processing buffer {"connection_id":57785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:26:58] local.INFO: IMEI packet received {"connection_id":57785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":57785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:26:58] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:58] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:26:58] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:26:58] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:26: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-04-28 22: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-04-28 22:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:26:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:26:58] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:26:58] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:27:08] local.INFO: TCP Data received {"connection_id":57118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:08] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:08] local.INFO: IMEI packet received {"connection_id":57118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":57118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:27:13] local.INFO: TCP Data received {"connection_id":57118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:13] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:13] local.INFO: IMEI packet received {"connection_id":57118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":57118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:27:20] local.INFO: TCP Data received {"connection_id":57118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:20] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:27:20] local.INFO: IMEI packet received {"connection_id":57118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":57118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:27:24] local.INFO: TCP Data received {"connection_id":57118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:24] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:24] local.INFO: Packet analysis {"connection_id":57118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:27:24] local.INFO: Extracted packet for processing {"connection_id":57118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:24] 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-04-28 22:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:27:24] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:27:24] 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-04-28 22:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:27:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":57118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:27:24] local.INFO: GPS data processed {"connection_id":57118,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:27:24] local.INFO: Acknowledgment sent {"connection_id":57118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:27:28] local.INFO: TCP Data received {"connection_id":57118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:28] local.INFO: Processing buffer {"connection_id":57118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:27:28] local.INFO: Packet analysis {"connection_id":57118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:27:28] local.INFO: Extracted packet for processing {"connection_id":57118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:27:28] 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-04-28 22:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:27: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-04-28 22:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":57118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":57118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":57118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:27: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-04-28 22:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:27:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":57118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:27:28] local.INFO: GPS data processed {"connection_id":57118,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:27:28] local.INFO: Acknowledgment sent {"connection_id":57118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:27:30] local.INFO: TCP Data received {"connection_id":56857,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:30] local.INFO: Processing buffer {"connection_id":56857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:30] local.INFO: Packet analysis {"connection_id":56857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:27:30] local.INFO: Extracted packet for processing {"connection_id":56857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:27:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":56857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:27:30] local.INFO: GPS data processed {"connection_id":56857,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:27:30] local.INFO: Acknowledgment sent {"connection_id":56857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:27:38] local.INFO: TCP Data received {"connection_id":57100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:27:38] local.INFO: Processing buffer {"connection_id":57100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:27:38] local.INFO: IMEI packet received {"connection_id":57100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":57100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:27:52] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:52] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:52] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:27:57] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:57] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:27:57] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:27:58] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:58] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:27:58] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:27:58] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:27: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-04-28 22: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-04-28 22:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:27:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:27:58] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:27:58] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:28:13] local.INFO: TCP Data received {"connection_id":57786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:13] local.INFO: Processing buffer {"connection_id":57786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:13] local.INFO: IMEI packet received {"connection_id":57786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":57786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:28:18] local.INFO: TCP Data received {"connection_id":57786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:18] local.INFO: Processing buffer {"connection_id":57786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:28:18] local.INFO: IMEI packet received {"connection_id":57786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":57786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:28:18] local.INFO: TCP Data received {"connection_id":57786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:18] local.INFO: Processing buffer {"connection_id":57786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:18] local.INFO: Packet analysis {"connection_id":57786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:28:18] local.INFO: Extracted packet for processing {"connection_id":57786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:28:18] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":57786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":57786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":57786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:28:18] 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-04-28 22:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:28:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":57786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:28:19] local.INFO: GPS data processed {"connection_id":57786,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:28:19] local.INFO: Acknowledgment sent {"connection_id":57786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:28:30] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:30] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:30] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:28:30] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:28:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:28:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:28:30] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:28:30] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:28:49] local.INFO: TCP Data received {"connection_id":57786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:49] local.INFO: Processing buffer {"connection_id":57786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:28:49] local.INFO: Packet analysis {"connection_id":57786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:28:49] local.INFO: Extracted packet for processing {"connection_id":57786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":57786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":57786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":57786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:28:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":57786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:28:49] local.INFO: GPS data processed {"connection_id":57786,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:28:49] local.INFO: Acknowledgment sent {"connection_id":57786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:28:52] local.INFO: TCP Data received {"connection_id":57787,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:52] local.INFO: Processing buffer {"connection_id":57787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:52] local.INFO: IMEI packet received {"connection_id":57787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":57787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:28:57] local.INFO: TCP Data received {"connection_id":57787,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:57] local.INFO: Processing buffer {"connection_id":57787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:28:57] local.INFO: IMEI packet received {"connection_id":57787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":57787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:28:58] local.INFO: TCP Data received {"connection_id":57787,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:58] local.INFO: Processing buffer {"connection_id":57787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:28:58] local.INFO: Packet analysis {"connection_id":57787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:28:58] local.INFO: Extracted packet for processing {"connection_id":57787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:28: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-04-28 22: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-04-28 22:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:28:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":57787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:28:58] local.INFO: GPS data processed {"connection_id":57787,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:28:58] local.INFO: Acknowledgment sent {"connection_id":57787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:29:08] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:08] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:08] local.INFO: IMEI packet received {"connection_id":57120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":57120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:29:23] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:23] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:29:23] local.INFO: IMEI packet received {"connection_id":57120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":57120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:29:24] local.INFO: TCP Data received {"connection_id":57120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:29:24] local.INFO: Processing buffer {"connection_id":57120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:29:24] local.INFO: Packet analysis {"connection_id":57120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:29:24] local.INFO: Extracted packet for processing {"connection_id":57120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:24] 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-04-28 22:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:29:24] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":57120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":57120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":57120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:29:24] 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-04-28 22:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:29:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":57120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:29:24] local.INFO: GPS data processed {"connection_id":57120,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:29:24] local.INFO: Acknowledgment sent {"connection_id":57120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:29:30] local.INFO: TCP Data received {"connection_id":57787,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:29:30] local.INFO: Processing buffer {"connection_id":57787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:29:30] local.INFO: Packet analysis {"connection_id":57787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:29:30] local.INFO: Extracted packet for processing {"connection_id":57787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:29:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":57787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:29:30] local.INFO: GPS data processed {"connection_id":57787,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:29:30] local.INFO: Acknowledgment sent {"connection_id":57787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:29:57] local.INFO: TCP Data received {"connection_id":57788,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:29:57] local.INFO: Processing buffer {"connection_id":57788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:29:57] local.INFO: IMEI packet received {"connection_id":57788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":57788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:30:02] local.INFO: TCP Data received {"connection_id":57788,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:02] local.INFO: Processing buffer {"connection_id":57788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:02] local.INFO: IMEI packet received {"connection_id":57788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":57788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:30:03] local.INFO: TCP Data received {"connection_id":57788,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:03] local.INFO: Processing buffer {"connection_id":57788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:03] local.INFO: Packet analysis {"connection_id":57788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:30:03] local.INFO: Extracted packet for processing {"connection_id":57788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":57788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:30:03] local.INFO: GPS data processed {"connection_id":57788,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:30:03] local.INFO: Acknowledgment sent {"connection_id":57788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:30:07] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:08] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:08] local.INFO: IMEI packet received {"connection_id":56859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":56859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:30:08] local.INFO: TCP Data received {"connection_id":57788,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:08] local.INFO: Processing buffer {"connection_id":57788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd503a0b0012d7b830005f5ed280007014b2d..."} 
[2026-04-28 22:30:08] local.INFO: Packet analysis {"connection_id":57788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:30:08] local.INFO: Extracted packet for processing {"connection_id":57788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd503"} 
[2026-04-28 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013114112001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777395278000,"timestamp_ms":1777395278000,"timestamp_seconds":1777395278,"priority":1,"record_length":96,"hex_timestamp":"0000019dd503a0b0"} 
[2026-04-28 22:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-28 22:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013114112001,"66":25647,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013114112001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:30:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013114112001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":57788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:30:08] local.INFO: GPS data processed {"connection_id":57788,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:30:08] local.INFO: Acknowledgment sent {"connection_id":57788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:30:12] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:13] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:30:13] local.INFO: IMEI packet received {"connection_id":56859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":56859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:30:13] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:30:13] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:30:13] local.INFO: Packet analysis {"connection_id":56859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:30:13] local.INFO: Extracted packet for processing {"connection_id":56859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:30:13] 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-04-28 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:30: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-04-28 22:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":56859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":56859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":56859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:30:13] 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-04-28 22:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:30:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":56859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:30:13] local.INFO: GPS data processed {"connection_id":56859,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:30:13] local.INFO: Acknowledgment sent {"connection_id":56859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:30:52] local.INFO: TCP Data received {"connection_id":57789,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:52] local.INFO: Processing buffer {"connection_id":57789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:52] local.INFO: IMEI packet received {"connection_id":57789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":57789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:30:57] local.INFO: TCP Data received {"connection_id":57789,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:57] local.INFO: Processing buffer {"connection_id":57789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:30:57] local.INFO: IMEI packet received {"connection_id":57789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":57789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:30:58] local.INFO: TCP Data received {"connection_id":57789,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:30:58] local.INFO: Processing buffer {"connection_id":57789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:30:58] local.INFO: Packet analysis {"connection_id":57789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:30:58] local.INFO: Extracted packet for processing {"connection_id":57789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:30:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":57789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:30:58] local.INFO: GPS data processed {"connection_id":57789,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:30:58] local.INFO: Acknowledgment sent {"connection_id":57789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:31:02] local.INFO: TCP Data received {"connection_id":56859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:02] local.INFO: Processing buffer {"connection_id":56859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:02] local.INFO: Packet analysis {"connection_id":56859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:31:02] local.INFO: Extracted packet for processing {"connection_id":56859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:31: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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:31: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-04-28 22: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-04-28 22:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":56859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":56859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":56859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31: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-04-28 22:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:31:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":56859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:31:02] local.INFO: GPS data processed {"connection_id":56859,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:31:02] local.INFO: Acknowledgment sent {"connection_id":56859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:31:08] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:08] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:08] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-28 22:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:31:15] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:15] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-28 22:31:15] local.INFO: IMEI packet received {"connection_id":57102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-28 22:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":57102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:31:16] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:16] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd504f0a0012d196500071ff0900042014a26..."} 
[2026-04-28 22:31:16] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:31:16] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd504"} 
[2026-04-28 22:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013136384001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777395364000,"timestamp_ms":1777395364000,"timestamp_seconds":1777395364,"priority":1,"record_length":96,"hex_timestamp":"0000019dd504f0a0"} 
[2026-04-28 22:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:31:16] 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-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013136384001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013136384001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:31:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013136384001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:31:16] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:31:16] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:31:29] local.INFO: TCP Data received {"connection_id":57789,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:29] local.INFO: Processing buffer {"connection_id":57789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:29] local.INFO: Packet analysis {"connection_id":57789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:31:29] local.INFO: Extracted packet for processing {"connection_id":57789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:31:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:31:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":57789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:31:29] local.INFO: GPS data processed {"connection_id":57789,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:31:29] local.INFO: Acknowledgment sent {"connection_id":57789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:31:47] local.INFO: TCP Data received {"connection_id":57102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5099420012d196500071ff0900042014a24..."} 
[2026-04-28 22:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5099420012d196500071ff0900042014a24..."} 
[2026-04-28 22:31:47] local.INFO: Processing buffer {"connection_id":57102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5099420012d196500071ff0900042014a24..."} 
[2026-04-28 22:31:47] local.INFO: Packet analysis {"connection_id":57102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd509"} 
[2026-04-28 22:31:47] local.INFO: Extracted packet for processing {"connection_id":57102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd509"} 
[2026-04-28 22:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":66,"angle":330,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013213184001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115720948828602368,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777395668000,"timestamp_ms":1777395668000,"timestamp_seconds":1777395668,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5099420"} 
[2026-04-28 22:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8448,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 22:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":57102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":57102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":57102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-28 22:31:47] 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-04-28 22:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-28 22:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-28 22:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013213184001,"66":2166,"107":206,"83":41984,"24":0,"16":115720948828602368,"45":1829868854196604928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-28 22:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-28 22:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-28 22:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013213184001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:31:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-28 22:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-28 22:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115720948828602368,"km_value":115720948828602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-28 22:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013213184001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-28 22:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":57102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:31:47] local.INFO: GPS data processed {"connection_id":57102,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:31:47] local.INFO: Acknowledgment sent {"connection_id":57102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:31:52] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:52] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:52] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:31:57] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:57] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:31:57] local.INFO: IMEI packet received {"connection_id":56861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":56861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:31:58] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:58] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:31:58] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:31:58] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:31:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:31:58] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:31:58] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:32:29] local.INFO: TCP Data received {"connection_id":56861,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:29] local.INFO: Processing buffer {"connection_id":56861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:29] local.INFO: Packet analysis {"connection_id":56861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:32:29] local.INFO: Extracted packet for processing {"connection_id":56861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:32:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":56861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:32:30] local.INFO: GPS data processed {"connection_id":56861,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:32:30] local.INFO: Acknowledgment sent {"connection_id":56861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:32:52] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:52] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:52] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:32:57] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:57] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:32:57] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:32:58] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:58] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:32:58] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:32:58] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:32:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:32:58] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:32:58] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:32:58] local.INFO: TCP Data received {"connection_id":57103,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:32:58] local.INFO: Processing buffer {"connection_id":57103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:32:58] local.INFO: IMEI packet received {"connection_id":57103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":57103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:33:30] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:30] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:30] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:33:30] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:33:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:33:30] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:33:30] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:33:38] local.INFO: TCP Data received {"connection_id":57122,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:33:38] local.INFO: Processing buffer {"connection_id":57122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:33:38] local.INFO: IMEI packet received {"connection_id":57122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":57122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:33:52] local.INFO: TCP Data received {"connection_id":57104,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:52] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:52] local.INFO: IMEI packet received {"connection_id":57104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":57104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:33:57] local.INFO: TCP Data received {"connection_id":57104,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:57] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:33:57] local.INFO: IMEI packet received {"connection_id":57104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":57104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:33:59] local.INFO: TCP Data received {"connection_id":57104,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:59] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:33:59] local.INFO: Packet analysis {"connection_id":57104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:33:59] local.INFO: Extracted packet for processing {"connection_id":57104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 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-04-28 22:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 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-04-28 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 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-04-28 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-04-28 22:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:33:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":57104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:33:59] local.INFO: GPS data processed {"connection_id":57104,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:33:59] local.INFO: Acknowledgment sent {"connection_id":57104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:34:30] local.INFO: TCP Data received {"connection_id":57104,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:30] local.INFO: Processing buffer {"connection_id":57104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:30] local.INFO: Packet analysis {"connection_id":57104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:34:30] local.INFO: Extracted packet for processing {"connection_id":57104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":57104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:34:30] local.INFO: GPS data processed {"connection_id":57104,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:34:30] local.INFO: Acknowledgment sent {"connection_id":57104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:34:52] local.INFO: TCP Data received {"connection_id":57791,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:52] local.INFO: Processing buffer {"connection_id":57791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:52] local.INFO: IMEI packet received {"connection_id":57791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":57791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:34:57] local.INFO: TCP Data received {"connection_id":57791,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:57] local.INFO: Processing buffer {"connection_id":57791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:34:57] local.INFO: IMEI packet received {"connection_id":57791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":57791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:34:58] local.INFO: TCP Data received {"connection_id":57791,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:58] local.INFO: Processing buffer {"connection_id":57791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5083878012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:34:58] local.INFO: Packet analysis {"connection_id":57791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:34:58] local.INFO: Extracted packet for processing {"connection_id":57791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd508"} 
[2026-04-28 22:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013191168001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395579000,"timestamp_ms":1777395579000,"timestamp_seconds":1777395579,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5083878"} 
[2026-04-28 22:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":47,"data_length":795,"current_offset":136} 
[2026-04-28 22:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013191168001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013191168001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:34:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013191168001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":57791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:34:58] local.INFO: GPS data processed {"connection_id":57791,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:34:58] local.INFO: Acknowledgment sent {"connection_id":57791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:35:29] local.INFO: TCP Data received {"connection_id":57791,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:29] local.INFO: Processing buffer {"connection_id":57791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:29] local.INFO: Packet analysis {"connection_id":57791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:35:29] local.INFO: Extracted packet for processing {"connection_id":57791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:35:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:35:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":57791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:35:29] local.INFO: GPS data processed {"connection_id":57791,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:35:29] local.INFO: Acknowledgment sent {"connection_id":57791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:35:52] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:52] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:52] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:35:57] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:57] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:35:57] local.INFO: IMEI packet received {"connection_id":56863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":56863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:35:58] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:58] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:35:58] local.INFO: Packet analysis {"connection_id":56863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:35:58] local.INFO: Extracted packet for processing {"connection_id":56863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:35:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":56863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:35:58] local.INFO: GPS data processed {"connection_id":56863,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:35:58] local.INFO: Acknowledgment sent {"connection_id":56863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:36:30] local.INFO: TCP Data received {"connection_id":56863,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:30] local.INFO: Processing buffer {"connection_id":56863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:30] local.INFO: Packet analysis {"connection_id":56863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:36:30] local.INFO: Extracted packet for processing {"connection_id":56863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:36:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:36:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":56863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:36:30] local.INFO: GPS data processed {"connection_id":56863,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:36:30] local.INFO: Acknowledgment sent {"connection_id":56863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:36:52] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:52] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:52] local.INFO: IMEI packet received {"connection_id":57105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":57105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:36:57] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:57] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:36:57] local.INFO: IMEI packet received {"connection_id":57105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":57105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:36:59] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:59] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:36:59] local.INFO: Packet analysis {"connection_id":57105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:36:59] local.INFO: Extracted packet for processing {"connection_id":57105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:36:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":57105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:36:59] local.INFO: GPS data processed {"connection_id":57105,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:36:59] local.INFO: Acknowledgment sent {"connection_id":57105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:37:30] local.INFO: TCP Data received {"connection_id":57105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:30] local.INFO: Processing buffer {"connection_id":57105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:30] local.INFO: Packet analysis {"connection_id":57105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:37:30] local.INFO: Extracted packet for processing {"connection_id":57105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:37:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":57105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:37:30] local.INFO: GPS data processed {"connection_id":57105,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:37:30] local.INFO: Acknowledgment sent {"connection_id":57105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:37:52] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:52] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:52] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:37:57] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:57] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:37:57] local.INFO: IMEI packet received {"connection_id":56866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":56866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:37:58] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:58] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:37:58] local.INFO: Packet analysis {"connection_id":56866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:37:58] local.INFO: Extracted packet for processing {"connection_id":56866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:37:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":56866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:37:58] local.INFO: GPS data processed {"connection_id":56866,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:37:58] local.INFO: Acknowledgment sent {"connection_id":56866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:38:30] local.INFO: TCP Data received {"connection_id":56866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:30] local.INFO: Processing buffer {"connection_id":56866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:30] local.INFO: Packet analysis {"connection_id":56866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:38:30] local.INFO: Extracted packet for processing {"connection_id":56866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":56866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:38:30] local.INFO: GPS data processed {"connection_id":56866,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:38:30] local.INFO: Acknowledgment sent {"connection_id":56866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:38:52] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:52] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:52] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:38:57] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:57] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:38:57] local.INFO: IMEI packet received {"connection_id":57106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":57106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:38:58] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:58] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:38:58] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:38:58] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:38:58] 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-04-28 22:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:38:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:38:58] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:38:58] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:39:08] local.INFO: TCP Data received {"connection_id":57793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:08] local.INFO: Processing buffer {"connection_id":57793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:08] local.INFO: IMEI packet received {"connection_id":57793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":57793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:39:30] local.INFO: TCP Data received {"connection_id":57106,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:30] local.INFO: Processing buffer {"connection_id":57106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:30] local.INFO: Packet analysis {"connection_id":57106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:39:30] local.INFO: Extracted packet for processing {"connection_id":57106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:39:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":57106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:39:30] local.INFO: GPS data processed {"connection_id":57106,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:39:30] local.INFO: Acknowledgment sent {"connection_id":57106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:39:48] local.INFO: TCP Data received {"connection_id":56867,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:48] local.INFO: Processing buffer {"connection_id":56867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:39:48] local.INFO: IMEI packet received {"connection_id":56867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":56867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:39:52] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:52] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:52] local.INFO: IMEI packet received {"connection_id":57123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":57123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:39:57] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:57] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:39:57] local.INFO: IMEI packet received {"connection_id":57123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":57123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:39:58] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:58] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd50cd040012d7b830005f5ed280007014b2b..."} 
[2026-04-28 22:39:58] local.INFO: Packet analysis {"connection_id":57123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:39:58] local.INFO: Extracted packet for processing {"connection_id":57123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd50c"} 
[2026-04-28 22:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013268224001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777395880000,"timestamp_ms":1777395880000,"timestamp_seconds":1777395880,"priority":1,"record_length":96,"hex_timestamp":"0000019dd50cd040"} 
[2026-04-28 22:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013268224001,"66":25615,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013268224001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:39:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:39:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013268224001,"power":25615,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":57123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:39:58] local.INFO: GPS data processed {"connection_id":57123,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:39:58] local.INFO: Acknowledgment sent {"connection_id":57123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:40:30] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:30] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:30] local.INFO: Packet analysis {"connection_id":57123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:40:30] local.INFO: Extracted packet for processing {"connection_id":57123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:40:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":57123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:40:30] local.INFO: GPS data processed {"connection_id":57123,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:40:30] local.INFO: Acknowledgment sent {"connection_id":57123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:40:52] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:52] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:52] local.INFO: IMEI packet received {"connection_id":57107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":57107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:40:57] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:57] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:40:57] local.INFO: IMEI packet received {"connection_id":57107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":57107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:40:58] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:58] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:40:58] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:40:58] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:40: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-04-28 22: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":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22: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-04-28 22:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:40:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:40:58] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:40:58] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:41:30] local.INFO: TCP Data received {"connection_id":57107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:30] local.INFO: Processing buffer {"connection_id":57107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:30] local.INFO: Packet analysis {"connection_id":57107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:41:30] local.INFO: Extracted packet for processing {"connection_id":57107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:41:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":57107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:41:30] local.INFO: GPS data processed {"connection_id":57107,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:41:30] local.INFO: Acknowledgment sent {"connection_id":57107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:41:52] local.INFO: TCP Data received {"connection_id":57108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:52] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:52] local.INFO: IMEI packet received {"connection_id":57108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":57108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:41:57] local.INFO: TCP Data received {"connection_id":57108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:57] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:41:57] local.INFO: IMEI packet received {"connection_id":57108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":57108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:41:58] local.INFO: TCP Data received {"connection_id":57108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:58] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:41:58] local.INFO: Packet analysis {"connection_id":57108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:41:58] local.INFO: Extracted packet for processing {"connection_id":57108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:41: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-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:41:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:41:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":57108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:41:58] local.INFO: GPS data processed {"connection_id":57108,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:41:58] local.INFO: Acknowledgment sent {"connection_id":57108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:42:30] local.INFO: TCP Data received {"connection_id":57108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:30] local.INFO: Processing buffer {"connection_id":57108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:30] local.INFO: Packet analysis {"connection_id":57108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:42:30] local.INFO: Extracted packet for processing {"connection_id":57108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:42:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":57108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:42:30] local.INFO: GPS data processed {"connection_id":57108,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:42:30] local.INFO: Acknowledgment sent {"connection_id":57108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:42:52] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:52] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:52] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:42:57] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:57] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:42:57] local.INFO: IMEI packet received {"connection_id":57109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":57109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:42:58] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:58] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:42:58] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:42:58] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:42: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-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:42:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:42:58] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:42:58] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:43:30] local.INFO: TCP Data received {"connection_id":57109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:30] local.INFO: Processing buffer {"connection_id":57109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:30] local.INFO: Packet analysis {"connection_id":57109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:43:30] local.INFO: Extracted packet for processing {"connection_id":57109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:43:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":57109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:43:30] local.INFO: GPS data processed {"connection_id":57109,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:43:30] local.INFO: Acknowledgment sent {"connection_id":57109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:43:52] local.INFO: TCP Data received {"connection_id":57795,"ip":"42.106.6.150","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:52] local.INFO: Processing buffer {"connection_id":57795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:52] local.INFO: IMEI packet received {"connection_id":57795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":57795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:43:57] local.INFO: TCP Data received {"connection_id":57795,"ip":"42.106.6.150","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:57] local.INFO: Processing buffer {"connection_id":57795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:43:57] local.INFO: IMEI packet received {"connection_id":57795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":57795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:43:58] local.INFO: TCP Data received {"connection_id":57795,"ip":"42.106.6.150","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:58] local.INFO: Processing buffer {"connection_id":57795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:43:58] local.INFO: Packet analysis {"connection_id":57795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:43:58] local.INFO: Extracted packet for processing {"connection_id":57795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:43: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-04-28 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.150","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:43:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":57795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:43:58] local.INFO: GPS data processed {"connection_id":57795,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:43:58] local.INFO: Acknowledgment sent {"connection_id":57795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:44:29] local.INFO: TCP Data received {"connection_id":57795,"ip":"42.106.6.150","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:44:29] local.INFO: Processing buffer {"connection_id":57795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:44:29] local.INFO: Packet analysis {"connection_id":57795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:44:29] local.INFO: Extracted packet for processing {"connection_id":57795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.150","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:44:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:44:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":57795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:44:29] local.INFO: GPS data processed {"connection_id":57795,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:44:29] local.INFO: Acknowledgment sent {"connection_id":57795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:44:57] local.INFO: TCP Data received {"connection_id":57797,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:44:57] local.INFO: Processing buffer {"connection_id":57797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:44:57] local.INFO: IMEI packet received {"connection_id":57797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":57797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:45:02] local.INFO: TCP Data received {"connection_id":57797,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:02] local.INFO: Processing buffer {"connection_id":57797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:02] local.INFO: IMEI packet received {"connection_id":57797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":57797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:45:03] local.INFO: TCP Data received {"connection_id":57797,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:03] local.INFO: Processing buffer {"connection_id":57797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:03] local.INFO: Packet analysis {"connection_id":57797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:45:03] local.INFO: Extracted packet for processing {"connection_id":57797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:03] 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-04-28 22:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:45:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:45:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":57797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:45:03] local.INFO: GPS data processed {"connection_id":57797,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:45:03] local.INFO: Acknowledgment sent {"connection_id":57797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:45:08] local.INFO: TCP Data received {"connection_id":57797,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:08] local.INFO: Processing buffer {"connection_id":57797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5116808012d7b830005f5ed280007014b29..."} 
[2026-04-28 22:45:08] local.INFO: Packet analysis {"connection_id":57797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:45:08] local.INFO: Extracted packet for processing {"connection_id":57797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd511"} 
[2026-04-28 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013345280001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777396181000,"timestamp_ms":1777396181000,"timestamp_seconds":1777396181,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5116808"} 
[2026-04-28 22:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-28 22:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:08] 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-04-28 22:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013345280001,"66":25593,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013345280001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:45:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:45:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013345280001,"power":25593,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":57797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:45:08] local.INFO: GPS data processed {"connection_id":57797,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:45:08] local.INFO: Acknowledgment sent {"connection_id":57797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:45:13] local.INFO: TCP Data received {"connection_id":57796,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:13] local.INFO: Processing buffer {"connection_id":57796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:13] local.INFO: IMEI packet received {"connection_id":57796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":57796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:45:33] local.INFO: TCP Data received {"connection_id":57110,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:33] local.INFO: Processing buffer {"connection_id":57110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:45:33] local.INFO: IMEI packet received {"connection_id":57110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":57110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:45:52] local.INFO: TCP Data received {"connection_id":57798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:52] local.INFO: Processing buffer {"connection_id":57798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:52] local.INFO: IMEI packet received {"connection_id":57798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":57798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:45:57] local.INFO: TCP Data received {"connection_id":57798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:57] local.INFO: Processing buffer {"connection_id":57798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:45:57] local.INFO: IMEI packet received {"connection_id":57798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":57798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:45:58] local.INFO: TCP Data received {"connection_id":57798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:45:58] local.INFO: Processing buffer {"connection_id":57798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:45:58] local.INFO: Packet analysis {"connection_id":57798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:45:58] local.INFO: Extracted packet for processing {"connection_id":57798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:45: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-04-28 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:45:58] 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-04-28 22: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-04-28 22:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:45:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:45:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":57798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:45:58] local.INFO: GPS data processed {"connection_id":57798,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:45:58] local.INFO: Acknowledgment sent {"connection_id":57798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:46:30] local.INFO: TCP Data received {"connection_id":57798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:30] local.INFO: Processing buffer {"connection_id":57798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:30] local.INFO: Packet analysis {"connection_id":57798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:46:30] local.INFO: Extracted packet for processing {"connection_id":57798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:46:30] 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-04-28 22: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-04-28 22:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:46:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":57798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:46:30] local.INFO: GPS data processed {"connection_id":57798,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:46:30] local.INFO: Acknowledgment sent {"connection_id":57798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:46:52] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:52] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:52] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:46:57] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:57] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:46:57] local.INFO: IMEI packet received {"connection_id":56870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":56870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:46:58] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:58] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:46:58] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:46:58] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:46: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-04-28 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:46:58] 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-04-28 22: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-04-28 22:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:46:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:46:58] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:46:58] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:47:30] local.INFO: TCP Data received {"connection_id":56870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:30] local.INFO: Processing buffer {"connection_id":56870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:30] local.INFO: Packet analysis {"connection_id":56870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:47:30] local.INFO: Extracted packet for processing {"connection_id":56870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:47:30] 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-04-28 22: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-04-28 22:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:47:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:47:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":56870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:47:30] local.INFO: GPS data processed {"connection_id":56870,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:47:30] local.INFO: Acknowledgment sent {"connection_id":56870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:47:52] local.INFO: TCP Data received {"connection_id":57125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:52] local.INFO: Processing buffer {"connection_id":57125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:52] local.INFO: IMEI packet received {"connection_id":57125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":57125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:47:57] local.INFO: TCP Data received {"connection_id":57125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:57] local.INFO: Processing buffer {"connection_id":57125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:47:57] local.INFO: IMEI packet received {"connection_id":57125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":57125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:47:58] local.INFO: TCP Data received {"connection_id":57125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:58] local.INFO: Processing buffer {"connection_id":57125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:47:58] local.INFO: Packet analysis {"connection_id":57125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:47:58] local.INFO: Extracted packet for processing {"connection_id":57125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:47:58] 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-04-28 22: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-04-28 22:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:47:58] 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-04-28 22:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:47:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":57125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:47:58] local.INFO: GPS data processed {"connection_id":57125,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:47:58] local.INFO: Acknowledgment sent {"connection_id":57125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:48:30] local.INFO: TCP Data received {"connection_id":57125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:48:30] local.INFO: Processing buffer {"connection_id":57125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:48:30] local.INFO: Packet analysis {"connection_id":57125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:48:30] local.INFO: Extracted packet for processing {"connection_id":57125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:48:30] 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-04-28 22:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:48:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:48:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":57125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:48:30] local.INFO: GPS data processed {"connection_id":57125,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:48:30] local.INFO: Acknowledgment sent {"connection_id":57125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:48:57] local.INFO: TCP Data received {"connection_id":57126,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:48:57] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:48:57] local.INFO: IMEI packet received {"connection_id":57126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":57126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:49:02] local.INFO: TCP Data received {"connection_id":57126,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:02] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:02] local.INFO: IMEI packet received {"connection_id":57126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":57126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:49:04] local.INFO: TCP Data received {"connection_id":57126,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:04] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:04] local.INFO: Packet analysis {"connection_id":57126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:04] local.INFO: Extracted packet for processing {"connection_id":57126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:49:04] 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-04-28 22:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:04] 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-04-28 22:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:49:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:49:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":57126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:49:04] local.INFO: GPS data processed {"connection_id":57126,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:49:04] local.INFO: Acknowledgment sent {"connection_id":57126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:49:08] local.INFO: TCP Data received {"connection_id":57126,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:08] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:08] local.INFO: Packet analysis {"connection_id":57126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:08] local.INFO: Extracted packet for processing {"connection_id":57126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:49:08] 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-04-28 22:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:08] 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-04-28 22:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:49:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":57126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:49:08] local.INFO: GPS data processed {"connection_id":57126,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:49:08] local.INFO: Acknowledgment sent {"connection_id":57126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:49:13] local.INFO: TCP Data received {"connection_id":57126,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:13] local.INFO: Processing buffer {"connection_id":57126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:13] local.INFO: Packet analysis {"connection_id":57126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:13] local.INFO: Extracted packet for processing {"connection_id":57126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:49:13] 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-04-28 22:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":57126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":57126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:13] 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-04-28 22:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:49:13] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:49:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":57126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:49:13] local.INFO: GPS data processed {"connection_id":57126,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:49:13] local.INFO: Acknowledgment sent {"connection_id":57126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:49:52] local.INFO: TCP Data received {"connection_id":57801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:52] local.INFO: Processing buffer {"connection_id":57801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:52] local.INFO: IMEI packet received {"connection_id":57801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":57801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:49:57] local.INFO: TCP Data received {"connection_id":57801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:57] local.INFO: Processing buffer {"connection_id":57801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:49:57] local.INFO: IMEI packet received {"connection_id":57801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":57801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:49:58] local.INFO: TCP Data received {"connection_id":57801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:58] local.INFO: Processing buffer {"connection_id":57801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd515ffd0012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:49:58] local.INFO: Packet analysis {"connection_id":57801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:58] local.INFO: Extracted packet for processing {"connection_id":57801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd515"} 
[2026-04-28 22:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013422336001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396482000,"timestamp_ms":1777396482000,"timestamp_seconds":1777396482,"priority":1,"record_length":96,"hex_timestamp":"0000019dd515ffd0"} 
[2026-04-28 22:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:49: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-04-28 22:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-28 22:49:58] 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-04-28 22:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013422336001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013422336001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:49:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013422336001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":57801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:49:58] local.INFO: GPS data processed {"connection_id":57801,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:49:58] local.INFO: Acknowledgment sent {"connection_id":57801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:50:29] local.INFO: TCP Data received {"connection_id":57801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:29] local.INFO: Processing buffer {"connection_id":57801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:29] local.INFO: Packet analysis {"connection_id":57801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:50:29] local.INFO: Extracted packet for processing {"connection_id":57801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:50:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:50:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":57801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:50:29] local.INFO: GPS data processed {"connection_id":57801,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:50:29] local.INFO: Acknowledgment sent {"connection_id":57801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:50:48] local.INFO: TCP Data received {"connection_id":57111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:50:48] local.INFO: Processing buffer {"connection_id":57111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:50:48] local.INFO: IMEI packet received {"connection_id":57111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":57111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:50:52] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:52] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:52] local.INFO: IMEI packet received {"connection_id":56873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":56873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:50:57] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:57] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:50:57] local.INFO: IMEI packet received {"connection_id":56873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":56873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:50:58] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:58] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:50:58] local.INFO: Packet analysis {"connection_id":56873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:50:58] local.INFO: Extracted packet for processing {"connection_id":56873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:50: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:50:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":56873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:50:58] local.INFO: GPS data processed {"connection_id":56873,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:50:58] local.INFO: Acknowledgment sent {"connection_id":56873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:51:30] local.INFO: TCP Data received {"connection_id":56873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:30] local.INFO: Processing buffer {"connection_id":56873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:30] local.INFO: Packet analysis {"connection_id":56873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:51:30] local.INFO: Extracted packet for processing {"connection_id":56873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:51:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":56873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:51:30] local.INFO: GPS data processed {"connection_id":56873,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:51:30] local.INFO: Acknowledgment sent {"connection_id":56873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:51:33] local.INFO: TCP Data received {"connection_id":56874,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:51:33] local.INFO: Processing buffer {"connection_id":56874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:51:33] local.INFO: IMEI packet received {"connection_id":56874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":56874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:51:52] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:52] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:52] local.INFO: IMEI packet received {"connection_id":56875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":56875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:51:57] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:57] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:51:57] local.INFO: IMEI packet received {"connection_id":56875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":56875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:51:58] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:58] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:51:58] local.INFO: Packet analysis {"connection_id":56875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:51:58] local.INFO: Extracted packet for processing {"connection_id":56875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:51: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:51:58] 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-04-28 22:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:51:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":56875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:51:58] local.INFO: GPS data processed {"connection_id":56875,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:51:58] local.INFO: Acknowledgment sent {"connection_id":56875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:52:30] local.INFO: TCP Data received {"connection_id":56875,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:30] local.INFO: Processing buffer {"connection_id":56875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:30] local.INFO: Packet analysis {"connection_id":56875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:52:30] local.INFO: Extracted packet for processing {"connection_id":56875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:52:30] 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-04-28 22:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":56875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:52:30] local.INFO: GPS data processed {"connection_id":56875,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:52:30] local.INFO: Acknowledgment sent {"connection_id":56875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:52:52] local.INFO: TCP Data received {"connection_id":57803,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:52] local.INFO: Processing buffer {"connection_id":57803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:52] local.INFO: IMEI packet received {"connection_id":57803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":57803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:52:57] local.INFO: TCP Data received {"connection_id":57803,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:57] local.INFO: Processing buffer {"connection_id":57803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:52:57] local.INFO: IMEI packet received {"connection_id":57803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":57803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:52:58] local.INFO: TCP Data received {"connection_id":57803,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:58] local.INFO: Processing buffer {"connection_id":57803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:52:58] local.INFO: Packet analysis {"connection_id":57803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:52:58] local.INFO: Extracted packet for processing {"connection_id":57803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:52: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:52:58] 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-04-28 22:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:52:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":57803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:52:58] local.INFO: GPS data processed {"connection_id":57803,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:52:58] local.INFO: Acknowledgment sent {"connection_id":57803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:53:30] local.INFO: TCP Data received {"connection_id":57803,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:30] local.INFO: Processing buffer {"connection_id":57803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:30] local.INFO: Packet analysis {"connection_id":57803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:53:30] local.INFO: Extracted packet for processing {"connection_id":57803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:53:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":57803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:53:30] local.INFO: GPS data processed {"connection_id":57803,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:53:30] local.INFO: Acknowledgment sent {"connection_id":57803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:53:52] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:52] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:52] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:53:57] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:57] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:53:57] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:53:58] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:58] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:53:58] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:53:58] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:53: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:53:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:53:58] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:53:58] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:54:30] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:54:30] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:54:30] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:54:30] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:54:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:54:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:54:30] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:54:30] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:54:57] local.INFO: TCP Data received {"connection_id":57113,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:54:57] local.INFO: Processing buffer {"connection_id":57113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:54:57] local.INFO: IMEI packet received {"connection_id":57113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":57113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:55:02] local.INFO: TCP Data received {"connection_id":57113,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:02] local.INFO: Processing buffer {"connection_id":57113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:02] local.INFO: IMEI packet received {"connection_id":57113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":57113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:55:03] local.INFO: TCP Data received {"connection_id":57113,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:03] local.INFO: Processing buffer {"connection_id":57113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:03] local.INFO: Packet analysis {"connection_id":57113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:55:03] local.INFO: Extracted packet for processing {"connection_id":57113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:55:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:55:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":57113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:55:03] local.INFO: GPS data processed {"connection_id":57113,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:55:03] local.INFO: Acknowledgment sent {"connection_id":57113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:55:08] local.INFO: TCP Data received {"connection_id":57113,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:08] local.INFO: Processing buffer {"connection_id":57113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51a9798012d7b830005f5ed280007014b27..."} 
[2026-04-28 22:55:08] local.INFO: Packet analysis {"connection_id":57113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:55:08] local.INFO: Extracted packet for processing {"connection_id":57113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51a"} 
[2026-04-28 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013499392001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777396783000,"timestamp_ms":1777396783000,"timestamp_seconds":1777396783,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51a9798"} 
[2026-04-28 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55: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-04-28 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013499392001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013499392001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:55:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013499392001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":57113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:55:08] local.INFO: GPS data processed {"connection_id":57113,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:55:08] local.INFO: Acknowledgment sent {"connection_id":57113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:55:52] local.INFO: TCP Data received {"connection_id":57130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:52] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:52] local.INFO: IMEI packet received {"connection_id":57130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":57130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:55:57] local.INFO: TCP Data received {"connection_id":57130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:57] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:55:57] local.INFO: IMEI packet received {"connection_id":57130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":57130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:55:58] local.INFO: TCP Data received {"connection_id":57130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:55:58] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:55:58] local.INFO: Packet analysis {"connection_id":57130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:55:58] local.INFO: Extracted packet for processing {"connection_id":57130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:55: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:55:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":57130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:55:58] local.INFO: GPS data processed {"connection_id":57130,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:55:58] local.INFO: Acknowledgment sent {"connection_id":57130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:56:30] local.INFO: TCP Data received {"connection_id":57130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:30] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:30] local.INFO: Packet analysis {"connection_id":57130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:56:30] local.INFO: Extracted packet for processing {"connection_id":57130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:56:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":57130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:56:30] local.INFO: GPS data processed {"connection_id":57130,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:56:30] local.INFO: Acknowledgment sent {"connection_id":57130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:56:52] local.INFO: TCP Data received {"connection_id":57805,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:52] local.INFO: Processing buffer {"connection_id":57805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:52] local.INFO: IMEI packet received {"connection_id":57805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":57805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:56:57] local.INFO: TCP Data received {"connection_id":57805,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:57] local.INFO: Processing buffer {"connection_id":57805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:56:57] local.INFO: IMEI packet received {"connection_id":57805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":57805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:56:58] local.INFO: TCP Data received {"connection_id":57805,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:58] local.INFO: Processing buffer {"connection_id":57805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:56:58] local.INFO: Packet analysis {"connection_id":57805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:56:58] local.INFO: Extracted packet for processing {"connection_id":57805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:56: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:56:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":57805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:56:58] local.INFO: GPS data processed {"connection_id":57805,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:56:58] local.INFO: Acknowledgment sent {"connection_id":57805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:57:02] local.INFO: TCP Data received {"connection_id":56876,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:02] local.INFO: Processing buffer {"connection_id":56876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:02] local.INFO: IMEI packet received {"connection_id":56876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":56876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:57:30] local.INFO: TCP Data received {"connection_id":57805,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:30] local.INFO: Processing buffer {"connection_id":57805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:30] local.INFO: Packet analysis {"connection_id":57805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:57:30] local.INFO: Extracted packet for processing {"connection_id":57805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":57805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:57:30] local.INFO: GPS data processed {"connection_id":57805,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:57:30] local.INFO: Acknowledgment sent {"connection_id":57805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:57:33] local.INFO: TCP Data received {"connection_id":57806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:33] local.INFO: Processing buffer {"connection_id":57806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 22:57:33] local.INFO: IMEI packet received {"connection_id":57806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 22:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":57806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:57:52] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:52] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:52] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:57:57] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:57] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:57:57] local.INFO: IMEI packet received {"connection_id":56877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":56877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:57:59] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:59] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:57:59] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:57:59] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:57:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:57:59] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:57:59] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:58:30] local.INFO: TCP Data received {"connection_id":56877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:30] local.INFO: Processing buffer {"connection_id":56877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:30] local.INFO: Packet analysis {"connection_id":56877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:58:30] local.INFO: Extracted packet for processing {"connection_id":56877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 22:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 22:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:58:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":56877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:58:30] local.INFO: GPS data processed {"connection_id":56877,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:58:30] local.INFO: Acknowledgment sent {"connection_id":56877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:58:52] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:52] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:52] local.INFO: IMEI packet received {"connection_id":57131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":57131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 22:58:57] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:57] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:58:57] local.INFO: IMEI packet received {"connection_id":57131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 22:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":57131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 22:58:58] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:58] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:58:58] local.INFO: Packet analysis {"connection_id":57131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:58:58] local.INFO: Extracted packet for processing {"connection_id":57131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:58: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-04-28 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:58:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":57131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:58:58] local.INFO: GPS data processed {"connection_id":57131,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:58:58] local.INFO: Acknowledgment sent {"connection_id":57131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:59:30] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:59:30] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 22:59:30] local.INFO: Packet analysis {"connection_id":57131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:59:30] local.INFO: Extracted packet for processing {"connection_id":57131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 22:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 22: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-04-28 22:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 22:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 22:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 22:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 22:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 22:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 22:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 22:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 22:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 22: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-04-28 22:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 22:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 22:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 22:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 22:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 22:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 22:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 22:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 22:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 22:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 22:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 22:59:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 22:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 22:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 22:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 22:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 22:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":57131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 22:59:30] local.INFO: GPS data processed {"connection_id":57131,"processed":1,"errors":0,"total":1} 
[2026-04-28 22:59:30] local.INFO: Acknowledgment sent {"connection_id":57131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 22:59:57] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:59:57] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 22:59:57] local.INFO: IMEI packet received {"connection_id":57114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 22:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":57114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:00:02] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:02] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:02] local.INFO: IMEI packet received {"connection_id":57114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":57114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:00:03] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:03] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:03] local.INFO: Packet analysis {"connection_id":57114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 23:00:03] local.INFO: Extracted packet for processing {"connection_id":57114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 23:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:00:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:00:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":57114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:00:03] local.INFO: GPS data processed {"connection_id":57114,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:00:03] local.INFO: Acknowledgment sent {"connection_id":57114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:00:08] local.INFO: TCP Data received {"connection_id":57114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:08] local.INFO: Processing buffer {"connection_id":57114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd51f2f60012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:08] local.INFO: Packet analysis {"connection_id":57114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 23:00:08] local.INFO: Extracted packet for processing {"connection_id":57114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd51f"} 
[2026-04-28 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013576448001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777397084000,"timestamp_ms":1777397084000,"timestamp_seconds":1777397084,"priority":1,"record_length":96,"hex_timestamp":"0000019dd51f2f60"} 
[2026-04-28 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013576448001,"66":25549,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013576448001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:00:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:00:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013576448001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":57114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:00:08] local.INFO: GPS data processed {"connection_id":57114,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:00:08] local.INFO: Acknowledgment sent {"connection_id":57114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:00:52] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:52] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:52] local.INFO: IMEI packet received {"connection_id":57115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":57115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:00:57] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:57] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:00:57] local.INFO: IMEI packet received {"connection_id":57115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":57115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:00:59] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:59] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:00:59] local.INFO: Packet analysis {"connection_id":57115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:00:59] local.INFO: Extracted packet for processing {"connection_id":57115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:00:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":57115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:00:59] local.INFO: GPS data processed {"connection_id":57115,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:00:59] local.INFO: Acknowledgment sent {"connection_id":57115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:01:30] local.INFO: TCP Data received {"connection_id":57115,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:30] local.INFO: Processing buffer {"connection_id":57115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:30] local.INFO: Packet analysis {"connection_id":57115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:01:30] local.INFO: Extracted packet for processing {"connection_id":57115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:01:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":57115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:01:30] local.INFO: GPS data processed {"connection_id":57115,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:01:30] local.INFO: Acknowledgment sent {"connection_id":57115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:01:52] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:52] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:52] local.INFO: IMEI packet received {"connection_id":57117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":57117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:01:57] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:57] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:01:57] local.INFO: IMEI packet received {"connection_id":57117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":57117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:01:58] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:58] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:01:58] local.INFO: Packet analysis {"connection_id":57117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:01:58] local.INFO: Extracted packet for processing {"connection_id":57117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:01: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-04-28 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:01: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-04-28 23:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:01:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":57117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:01:58] local.INFO: GPS data processed {"connection_id":57117,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:01:58] local.INFO: Acknowledgment sent {"connection_id":57117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:02:30] local.INFO: TCP Data received {"connection_id":57117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:30] local.INFO: Processing buffer {"connection_id":57117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:30] local.INFO: Packet analysis {"connection_id":57117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:02:30] local.INFO: Extracted packet for processing {"connection_id":57117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:02:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":57117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:02:30] local.INFO: GPS data processed {"connection_id":57117,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:02:30] local.INFO: Acknowledgment sent {"connection_id":57117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:02:52] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:52] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:52] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:02:57] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:57] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:02:57] local.INFO: IMEI packet received {"connection_id":56880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":56880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:02:58] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:58] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:02:58] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:02:58] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:02: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-04-28 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:02: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-04-28 23:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:02:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:02:58] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:02:58] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:02:58] local.INFO: TCP Data received {"connection_id":56879,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:02:58] local.INFO: Processing buffer {"connection_id":56879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:02:58] local.INFO: IMEI packet received {"connection_id":56879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":56879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:03:30] local.INFO: TCP Data received {"connection_id":56880,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:30] local.INFO: Processing buffer {"connection_id":56880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:30] local.INFO: Packet analysis {"connection_id":56880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:03:30] local.INFO: Extracted packet for processing {"connection_id":56880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:03:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":56880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:03:30] local.INFO: GPS data processed {"connection_id":56880,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:03:30] local.INFO: Acknowledgment sent {"connection_id":56880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:03:33] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:03:33] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:03:33] local.INFO: IMEI packet received {"connection_id":57132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":57132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:03:52] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:52] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:52] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:03:57] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:57] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:03:57] local.INFO: IMEI packet received {"connection_id":56881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":56881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:03:58] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:58] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:03:58] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:03:58] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:03: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-04-28 23:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:03:58] 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-04-28 23:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:03:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:03:58] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:03:58] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:04:30] local.INFO: TCP Data received {"connection_id":56881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:04:30] local.INFO: Processing buffer {"connection_id":56881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:04:30] local.INFO: Packet analysis {"connection_id":56881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:04:30] local.INFO: Extracted packet for processing {"connection_id":56881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":56881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:04:30] local.INFO: GPS data processed {"connection_id":56881,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:04:30] local.INFO: Acknowledgment sent {"connection_id":56881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:04:57] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:04:57] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:04:57] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:05:02] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:02] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:02] local.INFO: IMEI packet received {"connection_id":56882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":56882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:05:03] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:03] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:03] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:05:03] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:05:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:05:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:05:03] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:05:03] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:05:08] local.INFO: TCP Data received {"connection_id":56882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:08] local.INFO: Processing buffer {"connection_id":56882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd523c728012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:08] local.INFO: Packet analysis {"connection_id":56882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:05:08] local.INFO: Extracted packet for processing {"connection_id":56882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd523"} 
[2026-04-28 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013653504001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777397385000,"timestamp_ms":1777397385000,"timestamp_seconds":1777397385,"priority":1,"record_length":96,"hex_timestamp":"0000019dd523c728"} 
[2026-04-28 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-28 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013653504001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013653504001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013653504001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":56882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:05:08] local.INFO: GPS data processed {"connection_id":56882,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:05:08] local.INFO: Acknowledgment sent {"connection_id":56882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:05:52] local.INFO: TCP Data received {"connection_id":57810,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:52] local.INFO: Processing buffer {"connection_id":57810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:52] local.INFO: IMEI packet received {"connection_id":57810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":57810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:05:57] local.INFO: TCP Data received {"connection_id":57810,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:57] local.INFO: Processing buffer {"connection_id":57810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:05:57] local.INFO: IMEI packet received {"connection_id":57810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":57810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:05:58] local.INFO: TCP Data received {"connection_id":57810,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:58] local.INFO: Processing buffer {"connection_id":57810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:05:58] local.INFO: Packet analysis {"connection_id":57810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:05:58] local.INFO: Extracted packet for processing {"connection_id":57810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:05: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:05: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-04-28 23: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-04-28 23:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:05: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-04-28 23:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:05:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":57810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:05:58] local.INFO: GPS data processed {"connection_id":57810,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:05:58] local.INFO: Acknowledgment sent {"connection_id":57810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:06:29] local.INFO: TCP Data received {"connection_id":57810,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:29] local.INFO: Processing buffer {"connection_id":57810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:29] local.INFO: Packet analysis {"connection_id":57810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:06:29] local.INFO: Extracted packet for processing {"connection_id":57810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:06:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:06:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":57810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:06:29] local.INFO: GPS data processed {"connection_id":57810,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:06:29] local.INFO: Acknowledgment sent {"connection_id":57810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:06:52] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:52] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:52] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:06:57] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:57] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:06:57] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:06:58] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:58] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:06:58] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:06:58] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:06: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:06: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-04-28 23: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-04-28 23:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:06:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:06:58] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:06:58] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:07:30] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:30] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:30] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:07:30] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:07: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-04-28 23:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:07:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:07:30] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:07:30] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:07:52] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:52] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:52] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:07:57] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:57] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:07:57] local.INFO: IMEI packet received {"connection_id":56885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":56885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:07:58] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:58] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:07:58] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:07:58] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:07: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:07: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-04-28 23: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-04-28 23:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:07:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:07:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:07:58] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:07:58] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:08:30] local.INFO: TCP Data received {"connection_id":56885,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:30] local.INFO: Processing buffer {"connection_id":56885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:30] local.INFO: Packet analysis {"connection_id":56885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:08:30] local.INFO: Extracted packet for processing {"connection_id":56885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:08: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-04-28 23: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-04-28 23:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":56885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:08:30] local.INFO: GPS data processed {"connection_id":56885,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:08:30] local.INFO: Acknowledgment sent {"connection_id":56885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:08:52] local.INFO: TCP Data received {"connection_id":57812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:52] local.INFO: Processing buffer {"connection_id":57812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:52] local.INFO: IMEI packet received {"connection_id":57812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":57812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:08:57] local.INFO: TCP Data received {"connection_id":57812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:57] local.INFO: Processing buffer {"connection_id":57812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:08:57] local.INFO: IMEI packet received {"connection_id":57812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":57812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:08:58] local.INFO: TCP Data received {"connection_id":57812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:58] local.INFO: Processing buffer {"connection_id":57812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:08:58] local.INFO: Packet analysis {"connection_id":57812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:08:58] local.INFO: Extracted packet for processing {"connection_id":57812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:08: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:08: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-04-28 23: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-04-28 23:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:08:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":57812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:08:58] local.INFO: GPS data processed {"connection_id":57812,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:08:58] local.INFO: Acknowledgment sent {"connection_id":57812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:08:58] local.INFO: TCP Data received {"connection_id":57811,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:08:58] local.INFO: Processing buffer {"connection_id":57811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:08:58] local.INFO: IMEI packet received {"connection_id":57811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":57811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:09:30] local.INFO: TCP Data received {"connection_id":57812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:09:30] local.INFO: Processing buffer {"connection_id":57812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:09:30] local.INFO: Packet analysis {"connection_id":57812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:09:30] local.INFO: Extracted packet for processing {"connection_id":57812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:09: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-04-28 23:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:09:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":57812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:09:30] local.INFO: GPS data processed {"connection_id":57812,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:09:30] local.INFO: Acknowledgment sent {"connection_id":57812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:09:38] local.INFO: TCP Data received {"connection_id":57813,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:09:38] local.INFO: Processing buffer {"connection_id":57813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:09:38] local.INFO: IMEI packet received {"connection_id":57813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":57813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:09:57] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:09:57] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:09:57] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:10:02] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:02] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:02] local.INFO: IMEI packet received {"connection_id":56886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":56886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:10:03] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:03] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:03] local.INFO: Packet analysis {"connection_id":56886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:10:03] local.INFO: Extracted packet for processing {"connection_id":56886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:10: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-04-28 23: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-04-28 23:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:03] 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-04-28 23:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:10:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:10:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":56886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:10:04] local.INFO: GPS data processed {"connection_id":56886,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:10:04] local.INFO: Acknowledgment sent {"connection_id":56886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:10:08] local.INFO: TCP Data received {"connection_id":56886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:08] local.INFO: Processing buffer {"connection_id":56886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5285ef0012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:08] local.INFO: Packet analysis {"connection_id":56886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:10:08] local.INFO: Extracted packet for processing {"connection_id":56886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd528"} 
[2026-04-28 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013730560001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777397686000,"timestamp_ms":1777397686000,"timestamp_seconds":1777397686,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5285ef0"} 
[2026-04-28 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:10: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-04-28 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:08] 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-04-28 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013730560001,"66":25495,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013730560001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:10:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:10:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013730560001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":56886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:10:08] local.INFO: GPS data processed {"connection_id":56886,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:10:08] local.INFO: Acknowledgment sent {"connection_id":56886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:10:52] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:52] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:52] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:10:57] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:57] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:10:57] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:10:58] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:58] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:10:58] local.INFO: Packet analysis {"connection_id":57136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:10:58] local.INFO: Extracted packet for processing {"connection_id":57136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:10: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:10: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-04-28 23: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-04-28 23:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:10:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":57136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:10:58] local.INFO: GPS data processed {"connection_id":57136,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:10:58] local.INFO: Acknowledgment sent {"connection_id":57136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:11:29] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:29] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:29] local.INFO: Packet analysis {"connection_id":57136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:11:29] local.INFO: Extracted packet for processing {"connection_id":57136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:11:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:11:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":57136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:11:29] local.INFO: GPS data processed {"connection_id":57136,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:11:29] local.INFO: Acknowledgment sent {"connection_id":57136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:11:52] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:52] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:52] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:11:57] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:57] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:11:57] local.INFO: IMEI packet received {"connection_id":57119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":57119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:11:58] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:58] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:11:58] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:11:58] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:11: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:11: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-04-28 23: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-04-28 23:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:11:58] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:11:58] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:12:29] local.INFO: TCP Data received {"connection_id":57119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:29] local.INFO: Processing buffer {"connection_id":57119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:29] local.INFO: Packet analysis {"connection_id":57119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:12:29] local.INFO: Extracted packet for processing {"connection_id":57119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:12:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":57119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:12:29] local.INFO: GPS data processed {"connection_id":57119,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:12:29] local.INFO: Acknowledgment sent {"connection_id":57119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:12:52] local.INFO: TCP Data received {"connection_id":57814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:52] local.INFO: Processing buffer {"connection_id":57814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:52] local.INFO: IMEI packet received {"connection_id":57814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":57814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:12:57] local.INFO: TCP Data received {"connection_id":57814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:57] local.INFO: Processing buffer {"connection_id":57814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:12:57] local.INFO: IMEI packet received {"connection_id":57814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":57814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:12:58] local.INFO: TCP Data received {"connection_id":57814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:58] local.INFO: Processing buffer {"connection_id":57814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:12:58] local.INFO: Packet analysis {"connection_id":57814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:12:58] local.INFO: Extracted packet for processing {"connection_id":57814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:12: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-04-28 23:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:12:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":57814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:12:58] local.INFO: GPS data processed {"connection_id":57814,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:12:58] local.INFO: Acknowledgment sent {"connection_id":57814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:13:29] local.INFO: TCP Data received {"connection_id":57814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:29] local.INFO: Processing buffer {"connection_id":57814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:29] local.INFO: Packet analysis {"connection_id":57814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:13:29] local.INFO: Extracted packet for processing {"connection_id":57814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:13:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:13:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":57814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:13:30] local.INFO: GPS data processed {"connection_id":57814,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:13:30] local.INFO: Acknowledgment sent {"connection_id":57814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:13:52] local.INFO: TCP Data received {"connection_id":57815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:52] local.INFO: Processing buffer {"connection_id":57815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:52] local.INFO: IMEI packet received {"connection_id":57815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":57815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:13:57] local.INFO: TCP Data received {"connection_id":57815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:57] local.INFO: Processing buffer {"connection_id":57815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:13:57] local.INFO: IMEI packet received {"connection_id":57815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":57815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:13:58] local.INFO: TCP Data received {"connection_id":57815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:58] local.INFO: Processing buffer {"connection_id":57815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:13:58] local.INFO: Packet analysis {"connection_id":57815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:13:58] local.INFO: Extracted packet for processing {"connection_id":57815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:13: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:13: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-04-28 23: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-04-28 23:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:13:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":57815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:13:58] local.INFO: GPS data processed {"connection_id":57815,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:13:58] local.INFO: Acknowledgment sent {"connection_id":57815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:14:29] local.INFO: TCP Data received {"connection_id":57815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:29] local.INFO: Processing buffer {"connection_id":57815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:29] local.INFO: Packet analysis {"connection_id":57815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:14:29] local.INFO: Extracted packet for processing {"connection_id":57815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:14:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:14:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":57815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:14:29] local.INFO: GPS data processed {"connection_id":57815,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:14:29] local.INFO: Acknowledgment sent {"connection_id":57815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:14:52] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:52] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:52] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:14:57] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:57] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:14:57] local.INFO: IMEI packet received {"connection_id":57121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":57121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:14:58] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:58] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd52cf6b8012d7b830005f5ed280007014b28..."} 
[2026-04-28 23:14:58] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:14:58] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd52c"} 
[2026-04-28 23:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":7,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013807616001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777397987000,"timestamp_ms":1777397987000,"timestamp_seconds":1777397987,"priority":1,"record_length":96,"hex_timestamp":"0000019dd52cf6b8"} 
[2026-04-28 23:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:14: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-04-28 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-28 23:14: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-04-28 23: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-04-28 23:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013807616001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013807616001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:14:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013807616001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:14:58] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:14:58] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:15:08] local.INFO: TCP Data received {"connection_id":56887,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:08] local.INFO: Processing buffer {"connection_id":56887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:08] local.INFO: IMEI packet received {"connection_id":56887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":56887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:15:29] local.INFO: TCP Data received {"connection_id":57121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:15:29] local.INFO: Processing buffer {"connection_id":57121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:15:29] local.INFO: Packet analysis {"connection_id":57121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:15:29] local.INFO: Extracted packet for processing {"connection_id":57121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:15:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:15:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":57121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:15:29] local.INFO: GPS data processed {"connection_id":57121,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:15:29] local.INFO: Acknowledgment sent {"connection_id":57121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:15:33] local.INFO: TCP Data received {"connection_id":57122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:33] local.INFO: Processing buffer {"connection_id":57122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:15:33] local.INFO: IMEI packet received {"connection_id":57122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":57122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:15:57] local.INFO: TCP Data received {"connection_id":57138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:15:57] local.INFO: Processing buffer {"connection_id":57138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:15:57] local.INFO: IMEI packet received {"connection_id":57138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":57138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:16:02] local.INFO: TCP Data received {"connection_id":57138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:02] local.INFO: Processing buffer {"connection_id":57138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:02] local.INFO: IMEI packet received {"connection_id":57138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":57138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:16:03] local.INFO: TCP Data received {"connection_id":57138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:03] local.INFO: Processing buffer {"connection_id":57138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:03] local.INFO: Packet analysis {"connection_id":57138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:03] local.INFO: Extracted packet for processing {"connection_id":57138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":57138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:16:03] local.INFO: GPS data processed {"connection_id":57138,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:16:03] local.INFO: Acknowledgment sent {"connection_id":57138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:16:36] local.INFO: TCP Data received {"connection_id":57138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:36] local.INFO: Processing buffer {"connection_id":57138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:36] local.INFO: Packet analysis {"connection_id":57138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:36] local.INFO: Extracted packet for processing {"connection_id":57138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":57138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":57138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":57138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":57138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:16:36] local.INFO: GPS data processed {"connection_id":57138,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:16:36] local.INFO: Acknowledgment sent {"connection_id":57138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:16:52] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:52] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:52] local.INFO: IMEI packet received {"connection_id":56888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":56888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:16:57] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:57] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:16:57] local.INFO: IMEI packet received {"connection_id":56888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":56888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:16:58] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:58] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:16:58] local.INFO: Packet analysis {"connection_id":56888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:58] local.INFO: Extracted packet for processing {"connection_id":56888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:16: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:16:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":56888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:16:58] local.INFO: GPS data processed {"connection_id":56888,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:16:58] local.INFO: Acknowledgment sent {"connection_id":56888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:17:29] local.INFO: TCP Data received {"connection_id":56888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:30] local.INFO: Processing buffer {"connection_id":56888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:30] local.INFO: Packet analysis {"connection_id":56888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:17:30] local.INFO: Extracted packet for processing {"connection_id":56888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":56888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:17:30] local.INFO: GPS data processed {"connection_id":56888,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:17:30] local.INFO: Acknowledgment sent {"connection_id":56888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:17:52] local.INFO: TCP Data received {"connection_id":57817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:52] local.INFO: Processing buffer {"connection_id":57817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:52] local.INFO: IMEI packet received {"connection_id":57817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":57817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:17:57] local.INFO: TCP Data received {"connection_id":57817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:57] local.INFO: Processing buffer {"connection_id":57817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:17:57] local.INFO: IMEI packet received {"connection_id":57817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":57817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:17:58] local.INFO: TCP Data received {"connection_id":57817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:58] local.INFO: Processing buffer {"connection_id":57817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:17:58] local.INFO: Packet analysis {"connection_id":57817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:17:58] local.INFO: Extracted packet for processing {"connection_id":57817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:17: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:17:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":57817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:17:58] local.INFO: GPS data processed {"connection_id":57817,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:17:58] local.INFO: Acknowledgment sent {"connection_id":57817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:18:29] local.INFO: TCP Data received {"connection_id":57817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:29] local.INFO: Processing buffer {"connection_id":57817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:29] local.INFO: Packet analysis {"connection_id":57817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:18:29] local.INFO: Extracted packet for processing {"connection_id":57817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:18:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":57817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:18:29] local.INFO: GPS data processed {"connection_id":57817,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:18:29] local.INFO: Acknowledgment sent {"connection_id":57817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:18:52] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:52] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:52] local.INFO: IMEI packet received {"connection_id":57123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":57123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:18:57] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:57] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:18:57] local.INFO: IMEI packet received {"connection_id":57123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":57123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:18:59] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:59] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:18:59] local.INFO: Packet analysis {"connection_id":57123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:18:59] local.INFO: Extracted packet for processing {"connection_id":57123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:18:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:18:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":57123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:18:59] local.INFO: GPS data processed {"connection_id":57123,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:18:59] local.INFO: Acknowledgment sent {"connection_id":57123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:19:30] local.INFO: TCP Data received {"connection_id":57123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:30] local.INFO: Processing buffer {"connection_id":57123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:30] local.INFO: Packet analysis {"connection_id":57123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:19:30] local.INFO: Extracted packet for processing {"connection_id":57123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":57123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:19:30] local.INFO: GPS data processed {"connection_id":57123,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:19:30] local.INFO: Acknowledgment sent {"connection_id":57123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:19:52] local.INFO: TCP Data received {"connection_id":57140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:52] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:52] local.INFO: IMEI packet received {"connection_id":57140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":57140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:19:57] local.INFO: TCP Data received {"connection_id":57140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:57] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:19:57] local.INFO: IMEI packet received {"connection_id":57140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":57140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:19:58] local.INFO: TCP Data received {"connection_id":57140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:58] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5318e80012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:19:58] local.INFO: Packet analysis {"connection_id":57140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:19:58] local.INFO: Extracted packet for processing {"connection_id":57140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd531"} 
[2026-04-28 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013884672001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398288000,"timestamp_ms":1777398288000,"timestamp_seconds":1777398288,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5318e80"} 
[2026-04-28 23:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:19: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013884672001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013884672001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:19:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013884672001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":57140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:19:58] local.INFO: GPS data processed {"connection_id":57140,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:19:58] local.INFO: Acknowledgment sent {"connection_id":57140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:20:29] local.INFO: TCP Data received {"connection_id":57140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:20:29] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:20:29] local.INFO: Packet analysis {"connection_id":57140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:20:29] local.INFO: Extracted packet for processing {"connection_id":57140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:20:29] 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-04-28 23: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-04-28 23:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:20:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:20:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":57140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:20:29] local.INFO: GPS data processed {"connection_id":57140,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:20:29] local.INFO: Acknowledgment sent {"connection_id":57140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:20:57] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:20:57] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:20:57] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:21:02] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:02] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:02] local.INFO: IMEI packet received {"connection_id":56891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":56891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:21:03] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:03] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:03] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:03] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:21:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:21:03] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:21:03] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:21:03] local.INFO: TCP Data received {"connection_id":57124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:03] local.INFO: Processing buffer {"connection_id":57124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:03] local.INFO: IMEI packet received {"connection_id":57124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":57124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:21:08] local.INFO: TCP Data received {"connection_id":56891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:08] local.INFO: Processing buffer {"connection_id":56891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:08] local.INFO: Packet analysis {"connection_id":56891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:08] local.INFO: Extracted packet for processing {"connection_id":56891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":56891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":56891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":56891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:21:08] local.INFO: GPS data processed {"connection_id":56891,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:21:08] local.INFO: Acknowledgment sent {"connection_id":56891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:21:33] local.INFO: TCP Data received {"connection_id":57125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:33] local.INFO: Processing buffer {"connection_id":57125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:21:33] local.INFO: IMEI packet received {"connection_id":57125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":57125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:21:52] local.INFO: TCP Data received {"connection_id":57818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:52] local.INFO: Processing buffer {"connection_id":57818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:52] local.INFO: IMEI packet received {"connection_id":57818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":57818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:21:57] local.INFO: TCP Data received {"connection_id":57818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:57] local.INFO: Processing buffer {"connection_id":57818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:21:57] local.INFO: IMEI packet received {"connection_id":57818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":57818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:21:58] local.INFO: TCP Data received {"connection_id":57818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:58] local.INFO: Processing buffer {"connection_id":57818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:21:58] local.INFO: Packet analysis {"connection_id":57818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:58] local.INFO: Extracted packet for processing {"connection_id":57818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:21: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-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:21:58] 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-04-28 23: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-04-28 23:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:21:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":57818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:21:58] local.INFO: GPS data processed {"connection_id":57818,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:21:58] local.INFO: Acknowledgment sent {"connection_id":57818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:22:30] local.INFO: TCP Data received {"connection_id":57818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:30] local.INFO: Processing buffer {"connection_id":57818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:30] local.INFO: Packet analysis {"connection_id":57818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:22:30] local.INFO: Extracted packet for processing {"connection_id":57818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:22:30] 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-04-28 23:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":57818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:22:30] local.INFO: GPS data processed {"connection_id":57818,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:22:30] local.INFO: Acknowledgment sent {"connection_id":57818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:22:52] local.INFO: TCP Data received {"connection_id":56892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:52] local.INFO: Processing buffer {"connection_id":56892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:52] local.INFO: IMEI packet received {"connection_id":56892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":56892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:22:57] local.INFO: TCP Data received {"connection_id":56892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:57] local.INFO: Processing buffer {"connection_id":56892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:22:57] local.INFO: IMEI packet received {"connection_id":56892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":56892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:22:59] local.INFO: TCP Data received {"connection_id":56892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:59] local.INFO: Processing buffer {"connection_id":56892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:22:59] local.INFO: Packet analysis {"connection_id":56892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:22:59] local.INFO: Extracted packet for processing {"connection_id":56892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:22:59] 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-04-28 23: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-04-28 23:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:22:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":56892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:22:59] local.INFO: GPS data processed {"connection_id":56892,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:22:59] local.INFO: Acknowledgment sent {"connection_id":56892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:23:30] local.INFO: TCP Data received {"connection_id":56892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:30] local.INFO: Processing buffer {"connection_id":56892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:30] local.INFO: Packet analysis {"connection_id":56892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:23:30] local.INFO: Extracted packet for processing {"connection_id":56892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:23:30] 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-04-28 23:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:23:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":56892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:23:30] local.INFO: GPS data processed {"connection_id":56892,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:23:30] local.INFO: Acknowledgment sent {"connection_id":56892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:23:52] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:52] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:52] local.INFO: IMEI packet received {"connection_id":57142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":57142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:23:57] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:57] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:23:57] local.INFO: IMEI packet received {"connection_id":57142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":57142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:23:58] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:58] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:23:58] local.INFO: Packet analysis {"connection_id":57142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:23:58] local.INFO: Extracted packet for processing {"connection_id":57142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:23: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-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:23:58] 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-04-28 23: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-04-28 23:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:23:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":57142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:23:58] local.INFO: GPS data processed {"connection_id":57142,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:23:58] local.INFO: Acknowledgment sent {"connection_id":57142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:24:30] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:30] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:30] local.INFO: Packet analysis {"connection_id":57142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:24:30] local.INFO: Extracted packet for processing {"connection_id":57142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:24:30] 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-04-28 23: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-04-28 23:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:24:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":57142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:24:30] local.INFO: GPS data processed {"connection_id":57142,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:24:30] local.INFO: Acknowledgment sent {"connection_id":57142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:24:52] local.INFO: TCP Data received {"connection_id":57127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:52] local.INFO: Processing buffer {"connection_id":57127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:52] local.INFO: IMEI packet received {"connection_id":57127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":57127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:24:57] local.INFO: TCP Data received {"connection_id":57127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:57] local.INFO: Processing buffer {"connection_id":57127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:24:57] local.INFO: IMEI packet received {"connection_id":57127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":57127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:24:58] local.INFO: TCP Data received {"connection_id":57127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:58] local.INFO: Processing buffer {"connection_id":57127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5362648012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:24:58] local.INFO: Packet analysis {"connection_id":57127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:24:58] local.INFO: Extracted packet for processing {"connection_id":57127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd536"} 
[2026-04-28 23:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455013961728001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398589000,"timestamp_ms":1777398589000,"timestamp_seconds":1777398589,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5362648"} 
[2026-04-28 23:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:24:58] 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-04-28 23: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-04-28 23:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455013961728001,"66":25473,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455013961728001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:24:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455013961728001,"power":25473,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":57127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:24:58] local.INFO: GPS data processed {"connection_id":57127,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:24:58] local.INFO: Acknowledgment sent {"connection_id":57127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:25:29] local.INFO: TCP Data received {"connection_id":57127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:29] local.INFO: Processing buffer {"connection_id":57127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:29] local.INFO: Packet analysis {"connection_id":57127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:25:29] local.INFO: Extracted packet for processing {"connection_id":57127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:25:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":57127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:25:29] local.INFO: GPS data processed {"connection_id":57127,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:25:29] local.INFO: Acknowledgment sent {"connection_id":57127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:25:52] local.INFO: TCP Data received {"connection_id":57820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:52] local.INFO: Processing buffer {"connection_id":57820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:52] local.INFO: IMEI packet received {"connection_id":57820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":57820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:25:57] local.INFO: TCP Data received {"connection_id":57820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:57] local.INFO: Processing buffer {"connection_id":57820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:25:57] local.INFO: IMEI packet received {"connection_id":57820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":57820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:25:58] local.INFO: TCP Data received {"connection_id":57820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:58] local.INFO: Processing buffer {"connection_id":57820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:25:58] local.INFO: Packet analysis {"connection_id":57820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:25:58] local.INFO: Extracted packet for processing {"connection_id":57820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:25: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:25:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":57820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:25:58] local.INFO: GPS data processed {"connection_id":57820,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:25:58] local.INFO: Acknowledgment sent {"connection_id":57820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:26:29] local.INFO: TCP Data received {"connection_id":57820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:26:29] local.INFO: Processing buffer {"connection_id":57820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:26:29] local.INFO: Packet analysis {"connection_id":57820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:26:29] local.INFO: Extracted packet for processing {"connection_id":57820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:26:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:26:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":57820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:26:29] local.INFO: GPS data processed {"connection_id":57820,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:26:29] local.INFO: Acknowledgment sent {"connection_id":57820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:26:57] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:26:57] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:26:57] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:27:02] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:02] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:02] local.INFO: IMEI packet received {"connection_id":57128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":57128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:27:03] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:03] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:03] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:03] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:27:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:27:03] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:27:03] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:27:03] local.INFO: TCP Data received {"connection_id":57143,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:03] local.INFO: Processing buffer {"connection_id":57143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:03] local.INFO: IMEI packet received {"connection_id":57143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":57143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:27:08] local.INFO: TCP Data received {"connection_id":57128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:08] local.INFO: Processing buffer {"connection_id":57128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:08] local.INFO: Packet analysis {"connection_id":57128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:08] local.INFO: Extracted packet for processing {"connection_id":57128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":57128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:27:08] local.INFO: GPS data processed {"connection_id":57128,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:27:08] local.INFO: Acknowledgment sent {"connection_id":57128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:27:33] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:33] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:27:33] local.INFO: IMEI packet received {"connection_id":57144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":57144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:27:52] local.INFO: TCP Data received {"connection_id":56894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:52] local.INFO: Processing buffer {"connection_id":56894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:52] local.INFO: IMEI packet received {"connection_id":56894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":56894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:27:57] local.INFO: TCP Data received {"connection_id":56894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:57] local.INFO: Processing buffer {"connection_id":56894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:27:57] local.INFO: IMEI packet received {"connection_id":56894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":56894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:27:58] local.INFO: TCP Data received {"connection_id":56894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:58] local.INFO: Processing buffer {"connection_id":56894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:27:58] local.INFO: Packet analysis {"connection_id":56894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:58] local.INFO: Extracted packet for processing {"connection_id":56894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:27: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:27:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":56894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:27:58] local.INFO: GPS data processed {"connection_id":56894,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:27:58] local.INFO: Acknowledgment sent {"connection_id":56894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:28:29] local.INFO: TCP Data received {"connection_id":56894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:29] local.INFO: Processing buffer {"connection_id":56894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:29] local.INFO: Packet analysis {"connection_id":56894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:28:29] local.INFO: Extracted packet for processing {"connection_id":56894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:28:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:28:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":56894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:28:29] local.INFO: GPS data processed {"connection_id":56894,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:28:29] local.INFO: Acknowledgment sent {"connection_id":56894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:28:52] local.INFO: TCP Data received {"connection_id":57145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:52] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:52] local.INFO: IMEI packet received {"connection_id":57145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":57145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:28:57] local.INFO: TCP Data received {"connection_id":57145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:57] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:28:57] local.INFO: IMEI packet received {"connection_id":57145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":57145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:28:58] local.INFO: TCP Data received {"connection_id":57145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:58] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:28:58] local.INFO: Packet analysis {"connection_id":57145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:28:58] local.INFO: Extracted packet for processing {"connection_id":57145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:28: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:28:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":57145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:28:58] local.INFO: GPS data processed {"connection_id":57145,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:28:58] local.INFO: Acknowledgment sent {"connection_id":57145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:29:29] local.INFO: TCP Data received {"connection_id":57145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:29] local.INFO: Processing buffer {"connection_id":57145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:29] local.INFO: Packet analysis {"connection_id":57145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:29:29] local.INFO: Extracted packet for processing {"connection_id":57145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":57145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:29:29] local.INFO: GPS data processed {"connection_id":57145,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:29:29] local.INFO: Acknowledgment sent {"connection_id":57145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:29:52] local.INFO: TCP Data received {"connection_id":57822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:52] local.INFO: Processing buffer {"connection_id":57822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:52] local.INFO: IMEI packet received {"connection_id":57822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":57822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:29:57] local.INFO: TCP Data received {"connection_id":57822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:57] local.INFO: Processing buffer {"connection_id":57822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:29:57] local.INFO: IMEI packet received {"connection_id":57822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":57822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:29:58] local.INFO: TCP Data received {"connection_id":57822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:58] local.INFO: Processing buffer {"connection_id":57822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:29:58] local.INFO: Packet analysis {"connection_id":57822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:29:58] local.INFO: Extracted packet for processing {"connection_id":57822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:29: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-04-28 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:29:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":57822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:29:58] local.INFO: GPS data processed {"connection_id":57822,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:29:58] local.INFO: Acknowledgment sent {"connection_id":57822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:30:29] local.INFO: TCP Data received {"connection_id":57822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:30:29] local.INFO: Processing buffer {"connection_id":57822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53abe10012d7b830005f5ed280008014b2a..."} 
[2026-04-28 23:30:29] local.INFO: Packet analysis {"connection_id":57822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:30:29] local.INFO: Extracted packet for processing {"connection_id":57822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53a"} 
[2026-04-28 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014038784001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777398890000,"timestamp_ms":1777398890000,"timestamp_seconds":1777398890,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53abe10"} 
[2026-04-28 23:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-28 23:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014038784001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014038784001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:30:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014038784001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":57822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:30:29] local.INFO: GPS data processed {"connection_id":57822,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:30:29] local.INFO: Acknowledgment sent {"connection_id":57822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:30:52] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:52] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:52] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:30:57] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:57] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:30:57] local.INFO: IMEI packet received {"connection_id":56896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":56896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:30:58] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:30:58] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:30:58] local.INFO: Packet analysis {"connection_id":56896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:30:58] local.INFO: Extracted packet for processing {"connection_id":56896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:30: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-04-28 23:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:30:58] 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-04-28 23:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:30:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":56896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:30:58] local.INFO: GPS data processed {"connection_id":56896,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:30:58] local.INFO: Acknowledgment sent {"connection_id":56896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:31:29] local.INFO: TCP Data received {"connection_id":56896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:29] local.INFO: Processing buffer {"connection_id":56896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:29] local.INFO: Packet analysis {"connection_id":56896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:31:29] local.INFO: Extracted packet for processing {"connection_id":56896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:31:29] 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-04-28 23:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":56896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":56896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:31:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:31:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":56896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:31:29] local.INFO: GPS data processed {"connection_id":56896,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:31:29] local.INFO: Acknowledgment sent {"connection_id":56896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:31:52] local.INFO: TCP Data received {"connection_id":57146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:52] local.INFO: Processing buffer {"connection_id":57146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:52] local.INFO: IMEI packet received {"connection_id":57146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":57146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:31:57] local.INFO: TCP Data received {"connection_id":57146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:57] local.INFO: Processing buffer {"connection_id":57146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:31:57] local.INFO: IMEI packet received {"connection_id":57146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":57146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:31:58] local.INFO: TCP Data received {"connection_id":57146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:58] local.INFO: Processing buffer {"connection_id":57146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:31:58] local.INFO: Packet analysis {"connection_id":57146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:31:58] local.INFO: Extracted packet for processing {"connection_id":57146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:31:58] 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-04-28 23: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-04-28 23:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:31:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":57146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:31:58] local.INFO: GPS data processed {"connection_id":57146,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:31:58] local.INFO: Acknowledgment sent {"connection_id":57146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:32:29] local.INFO: TCP Data received {"connection_id":57146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:32:29] local.INFO: Processing buffer {"connection_id":57146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:32:29] local.INFO: Packet analysis {"connection_id":57146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:32:29] local.INFO: Extracted packet for processing {"connection_id":57146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:32:29] 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-04-28 23: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-04-28 23:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:32:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":57146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:32:29] local.INFO: GPS data processed {"connection_id":57146,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:32:29] local.INFO: Acknowledgment sent {"connection_id":57146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:32:57] local.INFO: TCP Data received {"connection_id":57824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:32:57] local.INFO: Processing buffer {"connection_id":57824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:32:57] local.INFO: IMEI packet received {"connection_id":57824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":57824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:32:58] local.INFO: TCP Data received {"connection_id":57130,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:32:58] local.INFO: Processing buffer {"connection_id":57130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:32:58] local.INFO: IMEI packet received {"connection_id":57130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":57130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:33:02] local.INFO: TCP Data received {"connection_id":57824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:02] local.INFO: Processing buffer {"connection_id":57824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:02] local.INFO: IMEI packet received {"connection_id":57824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":57824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:33:04] local.INFO: TCP Data received {"connection_id":57824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:04] local.INFO: Processing buffer {"connection_id":57824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:04] local.INFO: Packet analysis {"connection_id":57824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:04] local.INFO: Extracted packet for processing {"connection_id":57824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":57824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":57824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":57824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:33:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":57824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:33:04] local.INFO: GPS data processed {"connection_id":57824,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:33:04] local.INFO: Acknowledgment sent {"connection_id":57824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:33:08] local.INFO: TCP Data received {"connection_id":57824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:08] local.INFO: Processing buffer {"connection_id":57824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:08] local.INFO: Packet analysis {"connection_id":57824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:08] local.INFO: Extracted packet for processing {"connection_id":57824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:33:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:33:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":57824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:33:08] local.INFO: GPS data processed {"connection_id":57824,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:33:08] local.INFO: Acknowledgment sent {"connection_id":57824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:33:33] local.INFO: TCP Data received {"connection_id":56897,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:33:33] local.INFO: Processing buffer {"connection_id":56897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:33:33] local.INFO: IMEI packet received {"connection_id":56897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":56897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:33:52] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:52] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:52] local.INFO: IMEI packet received {"connection_id":57131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":57131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:33:57] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:57] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:33:57] local.INFO: IMEI packet received {"connection_id":57131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":57131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:33:58] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:58] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:33:58] local.INFO: Packet analysis {"connection_id":57131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:58] local.INFO: Extracted packet for processing {"connection_id":57131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:33: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-04-28 23:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:33:58] 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-04-28 23:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:33:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":57131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:33:58] local.INFO: GPS data processed {"connection_id":57131,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:33:58] local.INFO: Acknowledgment sent {"connection_id":57131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:34:29] local.INFO: TCP Data received {"connection_id":57131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:29] local.INFO: Processing buffer {"connection_id":57131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:29] local.INFO: Packet analysis {"connection_id":57131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:34:29] local.INFO: Extracted packet for processing {"connection_id":57131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:34:29] 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-04-28 23: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-04-28 23:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:34:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:34:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":57131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:34:29] local.INFO: GPS data processed {"connection_id":57131,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:34:29] local.INFO: Acknowledgment sent {"connection_id":57131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:34:52] local.INFO: TCP Data received {"connection_id":57147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:52] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:52] local.INFO: IMEI packet received {"connection_id":57147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":57147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:34:57] local.INFO: TCP Data received {"connection_id":57147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:57] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:34:57] local.INFO: IMEI packet received {"connection_id":57147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":57147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:34:58] local.INFO: TCP Data received {"connection_id":57147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:58] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:34:58] local.INFO: Packet analysis {"connection_id":57147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:34:58] local.INFO: Extracted packet for processing {"connection_id":57147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:34: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:34:58] 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-04-28 23: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-04-28 23:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:34:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":57147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:34:58] local.INFO: GPS data processed {"connection_id":57147,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:34:58] local.INFO: Acknowledgment sent {"connection_id":57147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:35:30] local.INFO: TCP Data received {"connection_id":57147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:35:30] local.INFO: Processing buffer {"connection_id":57147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd53f55d8012d7b830005f5ed280008014b2c..."} 
[2026-04-28 23:35:30] local.INFO: Packet analysis {"connection_id":57147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:35:30] local.INFO: Extracted packet for processing {"connection_id":57147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd53f"} 
[2026-04-28 23:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014115840001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399191000,"timestamp_ms":1777399191000,"timestamp_seconds":1777399191,"priority":1,"record_length":96,"hex_timestamp":"0000019dd53f55d8"} 
[2026-04-28 23:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:35:30] 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-04-28 23:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014115840001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014115840001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:35:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014115840001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":57147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:35:30] local.INFO: GPS data processed {"connection_id":57147,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:35:30] local.INFO: Acknowledgment sent {"connection_id":57147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:35:52] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:52] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:52] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:35:57] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:57] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:35:57] local.INFO: IMEI packet received {"connection_id":56900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":56900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:35:58] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:35:58] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:35:58] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:35:58] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:35: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-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:35:58] 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-04-28 23: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-04-28 23:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:35:58] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:35:58] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:36:30] local.INFO: TCP Data received {"connection_id":56900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:30] local.INFO: Processing buffer {"connection_id":56900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:30] local.INFO: Packet analysis {"connection_id":56900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:36:30] local.INFO: Extracted packet for processing {"connection_id":56900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:36:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:36:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":56900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:36:30] local.INFO: GPS data processed {"connection_id":56900,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:36:30] local.INFO: Acknowledgment sent {"connection_id":56900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:36:52] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:52] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:52] local.INFO: IMEI packet received {"connection_id":57132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":57132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:36:57] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:57] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:36:57] local.INFO: IMEI packet received {"connection_id":57132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":57132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:36:58] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:58] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:36:58] local.INFO: Packet analysis {"connection_id":57132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:36:58] local.INFO: Extracted packet for processing {"connection_id":57132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:36: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-04-28 23: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":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:36:58] 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-04-28 23: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-04-28 23:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:36:58] 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-04-28 23:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:36:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":57132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:36:58] local.INFO: GPS data processed {"connection_id":57132,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:36:58] local.INFO: Acknowledgment sent {"connection_id":57132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:37:30] local.INFO: TCP Data received {"connection_id":57132,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:30] local.INFO: Processing buffer {"connection_id":57132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:30] local.INFO: Packet analysis {"connection_id":57132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:37:30] local.INFO: Extracted packet for processing {"connection_id":57132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:37:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":57132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:37:30] local.INFO: GPS data processed {"connection_id":57132,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:37:30] local.INFO: Acknowledgment sent {"connection_id":57132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:37:52] local.INFO: TCP Data received {"connection_id":57825,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:52] local.INFO: Processing buffer {"connection_id":57825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:52] local.INFO: IMEI packet received {"connection_id":57825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":57825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:37:57] local.INFO: TCP Data received {"connection_id":57825,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:57] local.INFO: Processing buffer {"connection_id":57825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:37:57] local.INFO: IMEI packet received {"connection_id":57825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":57825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:37:58] local.INFO: TCP Data received {"connection_id":57825,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:58] local.INFO: Processing buffer {"connection_id":57825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:37:58] local.INFO: Packet analysis {"connection_id":57825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:37:58] local.INFO: Extracted packet for processing {"connection_id":57825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:37: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-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:37:58] 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-04-28 23: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-04-28 23:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:37:58] 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-04-28 23:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:37:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":57825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:37:58] local.INFO: GPS data processed {"connection_id":57825,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:37:58] local.INFO: Acknowledgment sent {"connection_id":57825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:38:30] local.INFO: TCP Data received {"connection_id":57825,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:38:30] local.INFO: Processing buffer {"connection_id":57825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:38:30] local.INFO: Packet analysis {"connection_id":57825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:38:30] local.INFO: Extracted packet for processing {"connection_id":57825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:38:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":57825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:38:30] local.INFO: GPS data processed {"connection_id":57825,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:38:30] local.INFO: Acknowledgment sent {"connection_id":57825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:38:48] local.INFO: TCP Data received {"connection_id":57149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:38:48] local.INFO: Processing buffer {"connection_id":57149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:38:48] local.INFO: IMEI packet received {"connection_id":57149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":57149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:38:57] local.INFO: TCP Data received {"connection_id":57133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:38:57] local.INFO: Processing buffer {"connection_id":57133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:38:57] local.INFO: IMEI packet received {"connection_id":57133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":57133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:39:02] local.INFO: TCP Data received {"connection_id":57133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:02] local.INFO: Processing buffer {"connection_id":57133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:02] local.INFO: IMEI packet received {"connection_id":57133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":57133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:39:03] local.INFO: TCP Data received {"connection_id":57133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:03] local.INFO: Processing buffer {"connection_id":57133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:03] local.INFO: Packet analysis {"connection_id":57133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:03] local.INFO: Extracted packet for processing {"connection_id":57133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:39:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":57133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:39:03] local.INFO: GPS data processed {"connection_id":57133,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:39:03] local.INFO: Acknowledgment sent {"connection_id":57133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:39:08] local.INFO: TCP Data received {"connection_id":57133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:08] local.INFO: Processing buffer {"connection_id":57133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:08] local.INFO: Packet analysis {"connection_id":57133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:08] local.INFO: Extracted packet for processing {"connection_id":57133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:08] 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-04-28 23:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:39:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:39:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":57133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:39:08] local.INFO: GPS data processed {"connection_id":57133,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:39:08] local.INFO: Acknowledgment sent {"connection_id":57133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:39:33] local.INFO: TCP Data received {"connection_id":57150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:39:33] local.INFO: Processing buffer {"connection_id":57150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:39:33] local.INFO: IMEI packet received {"connection_id":57150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":57150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:39:52] local.INFO: TCP Data received {"connection_id":57151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:52] local.INFO: Processing buffer {"connection_id":57151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:52] local.INFO: IMEI packet received {"connection_id":57151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":57151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:39:57] local.INFO: TCP Data received {"connection_id":57151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:57] local.INFO: Processing buffer {"connection_id":57151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:39:57] local.INFO: IMEI packet received {"connection_id":57151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":57151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:39:58] local.INFO: TCP Data received {"connection_id":57151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:58] local.INFO: Processing buffer {"connection_id":57151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:39:58] local.INFO: Packet analysis {"connection_id":57151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:58] local.INFO: Extracted packet for processing {"connection_id":57151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:39: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-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:39:58] 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-04-28 23: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-04-28 23:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:39:58] 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-04-28 23:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":57151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:39:58] local.INFO: GPS data processed {"connection_id":57151,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:39:58] local.INFO: Acknowledgment sent {"connection_id":57151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:40:30] local.INFO: TCP Data received {"connection_id":57151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:40:30] local.INFO: Processing buffer {"connection_id":57151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd543eda0012d7b830005f5ed280008014b28..."} 
[2026-04-28 23:40:30] local.INFO: Packet analysis {"connection_id":57151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:40:30] local.INFO: Extracted packet for processing {"connection_id":57151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd543"} 
[2026-04-28 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014192896001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399492000,"timestamp_ms":1777399492000,"timestamp_seconds":1777399492,"priority":1,"record_length":96,"hex_timestamp":"0000019dd543eda0"} 
[2026-04-28 23:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-28 23:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23: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-04-28 23:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014192896001,"66":25462,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014192896001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:40:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014192896001,"power":25462,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":57151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:40:30] local.INFO: GPS data processed {"connection_id":57151,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:40:30] local.INFO: Acknowledgment sent {"connection_id":57151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:40:52] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:52] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:52] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:40:57] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:57] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:40:57] local.INFO: IMEI packet received {"connection_id":57134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":57134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:40:58] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:40:58] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:40:58] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:40:58] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:40: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:40:58] 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-04-28 23: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-04-28 23:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:40:58] 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-04-28 23:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:40:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:40:58] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:40:58] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:41:29] local.INFO: TCP Data received {"connection_id":57134,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:29] local.INFO: Processing buffer {"connection_id":57134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:29] local.INFO: Packet analysis {"connection_id":57134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:41:29] local.INFO: Extracted packet for processing {"connection_id":57134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:41:29] 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-04-28 23: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-04-28 23:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:41:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:41:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":57134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:41:29] local.INFO: GPS data processed {"connection_id":57134,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:41:29] local.INFO: Acknowledgment sent {"connection_id":57134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:41:52] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:52] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:52] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:41:57] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:57] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:41:57] local.INFO: IMEI packet received {"connection_id":56904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":56904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:41:58] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:58] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:41:58] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:41:58] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:41: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:41:58] 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-04-28 23: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-04-28 23:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:41:58] 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-04-28 23:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:41:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:41:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:41:58] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:41:58] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:42:30] local.INFO: TCP Data received {"connection_id":56904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:42:30] local.INFO: Processing buffer {"connection_id":56904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:42:30] local.INFO: Packet analysis {"connection_id":56904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:42:30] local.INFO: Extracted packet for processing {"connection_id":56904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:42:30] 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-04-28 23: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-04-28 23:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:42:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":56904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:42:30] local.INFO: GPS data processed {"connection_id":56904,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:42:30] local.INFO: Acknowledgment sent {"connection_id":56904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:42:57] local.INFO: TCP Data received {"connection_id":57152,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:42:57] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:42:57] local.INFO: IMEI packet received {"connection_id":57152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":57152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:43:02] local.INFO: TCP Data received {"connection_id":57152,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:02] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:02] local.INFO: IMEI packet received {"connection_id":57152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":57152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:43:03] local.INFO: TCP Data received {"connection_id":57152,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:03] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:03] local.INFO: Packet analysis {"connection_id":57152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:03] local.INFO: Extracted packet for processing {"connection_id":57152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:43:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":57152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:43:03] local.INFO: GPS data processed {"connection_id":57152,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:43:03] local.INFO: Acknowledgment sent {"connection_id":57152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:43:08] local.INFO: TCP Data received {"connection_id":57152,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:08] local.INFO: Processing buffer {"connection_id":57152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:08] local.INFO: Packet analysis {"connection_id":57152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:08] local.INFO: Extracted packet for processing {"connection_id":57152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:43: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-04-28 23:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:43: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-04-28 23:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:08] 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-04-28 23:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:43:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:43:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":57152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:43:08] local.INFO: GPS data processed {"connection_id":57152,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:43:08] local.INFO: Acknowledgment sent {"connection_id":57152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:43:52] local.INFO: TCP Data received {"connection_id":57135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:52] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:52] local.INFO: IMEI packet received {"connection_id":57135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":57135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:43:57] local.INFO: TCP Data received {"connection_id":57135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:57] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:43:57] local.INFO: IMEI packet received {"connection_id":57135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":57135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:43:58] local.INFO: TCP Data received {"connection_id":57135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:58] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:43:58] local.INFO: Packet analysis {"connection_id":57135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:58] local.INFO: Extracted packet for processing {"connection_id":57135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:43: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:43:58] 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-04-28 23: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-04-28 23:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:43:58] 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-04-28 23:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":57135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:43:58] local.INFO: GPS data processed {"connection_id":57135,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:43:58] local.INFO: Acknowledgment sent {"connection_id":57135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:44:30] local.INFO: TCP Data received {"connection_id":57135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:30] local.INFO: Processing buffer {"connection_id":57135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:30] local.INFO: Packet analysis {"connection_id":57135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:44:30] local.INFO: Extracted packet for processing {"connection_id":57135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:44:30] 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-04-28 23: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-04-28 23:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:44:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":57135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:44:30] local.INFO: GPS data processed {"connection_id":57135,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:44:30] local.INFO: Acknowledgment sent {"connection_id":57135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:44:48] local.INFO: TCP Data received {"connection_id":57136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:44:48] local.INFO: Processing buffer {"connection_id":57136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:44:48] local.INFO: IMEI packet received {"connection_id":57136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":57136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:44:52] local.INFO: TCP Data received {"connection_id":57827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:52] local.INFO: Processing buffer {"connection_id":57827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:52] local.INFO: IMEI packet received {"connection_id":57827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":57827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:44:57] local.INFO: TCP Data received {"connection_id":57827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:57] local.INFO: Processing buffer {"connection_id":57827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:44:57] local.INFO: IMEI packet received {"connection_id":57827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":57827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:44:58] local.INFO: TCP Data received {"connection_id":57827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:58] local.INFO: Processing buffer {"connection_id":57827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:44:58] local.INFO: Packet analysis {"connection_id":57827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:44:58] local.INFO: Extracted packet for processing {"connection_id":57827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:44: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-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:44:58] 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-04-28 23: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-04-28 23:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:44:58] 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-04-28 23:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:44:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":57827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:44:58] local.INFO: GPS data processed {"connection_id":57827,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:44:58] local.INFO: Acknowledgment sent {"connection_id":57827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:45:30] local.INFO: TCP Data received {"connection_id":57827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:45:30] local.INFO: Processing buffer {"connection_id":57827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5488568012d7b830005f5ed280008014b27..."} 
[2026-04-28 23:45:30] local.INFO: Packet analysis {"connection_id":57827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:45:30] local.INFO: Extracted packet for processing {"connection_id":57827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd548"} 
[2026-04-28 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014269952001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777399793000,"timestamp_ms":1777399793000,"timestamp_seconds":1777399793,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5488568"} 
[2026-04-28 23:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-28 23:45:30] 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-04-28 23: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-04-28 23:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:45: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-04-28 23:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014269952001,"66":25451,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014269952001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:45:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:45:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014269952001,"power":25451,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":57827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:45:30] local.INFO: GPS data processed {"connection_id":57827,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:45:30] local.INFO: Acknowledgment sent {"connection_id":57827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:45:33] local.INFO: TCP Data received {"connection_id":57828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:45:33] local.INFO: Processing buffer {"connection_id":57828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:45:33] local.INFO: IMEI packet received {"connection_id":57828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":57828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:45:52] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:52] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:52] local.INFO: IMEI packet received {"connection_id":56906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":56906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:45:57] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:57] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:45:57] local.INFO: IMEI packet received {"connection_id":56906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":56906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:45:59] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:45:59] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:45:59] local.INFO: Packet analysis {"connection_id":56906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:45:59] local.INFO: Extracted packet for processing {"connection_id":56906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:45: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-04-28 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:45:59] 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-04-28 23:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":56906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:45:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:45:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":56906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:45:59] local.INFO: GPS data processed {"connection_id":56906,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:45:59] local.INFO: Acknowledgment sent {"connection_id":56906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:46:30] local.INFO: TCP Data received {"connection_id":56906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:30] local.INFO: Processing buffer {"connection_id":56906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:30] local.INFO: Packet analysis {"connection_id":56906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:46:30] local.INFO: Extracted packet for processing {"connection_id":56906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:46:30] 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-04-28 23: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-04-28 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":56906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:46:30] local.INFO: GPS data processed {"connection_id":56906,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:46:30] local.INFO: Acknowledgment sent {"connection_id":56906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:46:52] local.INFO: TCP Data received {"connection_id":57830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:52] local.INFO: Processing buffer {"connection_id":57830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:52] local.INFO: IMEI packet received {"connection_id":57830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":57830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:46:57] local.INFO: TCP Data received {"connection_id":57830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:57] local.INFO: Processing buffer {"connection_id":57830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:46:57] local.INFO: IMEI packet received {"connection_id":57830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":57830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:46:58] local.INFO: TCP Data received {"connection_id":57830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:58] local.INFO: Processing buffer {"connection_id":57830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:46:58] local.INFO: Packet analysis {"connection_id":57830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:46:58] local.INFO: Extracted packet for processing {"connection_id":57830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:46: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-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:46:58] 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-04-28 23: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-04-28 23:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:46:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":57830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:46:58] local.INFO: GPS data processed {"connection_id":57830,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:46:58] local.INFO: Acknowledgment sent {"connection_id":57830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:47:30] local.INFO: TCP Data received {"connection_id":57830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:47:30] local.INFO: Processing buffer {"connection_id":57830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:47:30] local.INFO: Packet analysis {"connection_id":57830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:47:30] local.INFO: Extracted packet for processing {"connection_id":57830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:47:30] 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-04-28 23: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-04-28 23:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:47:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:47:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":57830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:47:30] local.INFO: GPS data processed {"connection_id":57830,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:47:30] local.INFO: Acknowledgment sent {"connection_id":57830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:47:57] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:47:57] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:47:57] local.INFO: IMEI packet received {"connection_id":57154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":57154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:48:02] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:02] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:02] local.INFO: IMEI packet received {"connection_id":57154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":57154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:48:03] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:03] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:03] local.INFO: Packet analysis {"connection_id":57154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:03] local.INFO: Extracted packet for processing {"connection_id":57154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:48:03] 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-04-28 23:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:48:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":57154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:48:03] local.INFO: GPS data processed {"connection_id":57154,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:48:03] local.INFO: Acknowledgment sent {"connection_id":57154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:48:35] local.INFO: TCP Data received {"connection_id":57154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:35] local.INFO: Processing buffer {"connection_id":57154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:35] local.INFO: Packet analysis {"connection_id":57154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:35] local.INFO: Extracted packet for processing {"connection_id":57154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":57154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":57154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":57154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:48:35] 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-04-28 23:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:48:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":57154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:48:35] local.INFO: GPS data processed {"connection_id":57154,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:48:35] local.INFO: Acknowledgment sent {"connection_id":57154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:48:52] local.INFO: TCP Data received {"connection_id":57137,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:52] local.INFO: Processing buffer {"connection_id":57137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:52] local.INFO: IMEI packet received {"connection_id":57137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":57137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:48:57] local.INFO: TCP Data received {"connection_id":57137,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:57] local.INFO: Processing buffer {"connection_id":57137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:48:57] local.INFO: IMEI packet received {"connection_id":57137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":57137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:48:58] local.INFO: TCP Data received {"connection_id":57137,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:58] local.INFO: Processing buffer {"connection_id":57137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:48:58] local.INFO: Packet analysis {"connection_id":57137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:58] local.INFO: Extracted packet for processing {"connection_id":57137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:48: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-04-28 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:48:58] 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-04-28 23: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-04-28 23:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23: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-04-28 23:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:48:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":57137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:48:58] local.INFO: GPS data processed {"connection_id":57137,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:48:58] local.INFO: Acknowledgment sent {"connection_id":57137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:49:30] local.INFO: TCP Data received {"connection_id":57137,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:30] local.INFO: Processing buffer {"connection_id":57137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:30] local.INFO: Packet analysis {"connection_id":57137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:49:30] local.INFO: Extracted packet for processing {"connection_id":57137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:49:30] 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-04-28 23: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-04-28 23:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:49:30] 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-04-28 23:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:49:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":57137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:49:30] local.INFO: GPS data processed {"connection_id":57137,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:49:30] local.INFO: Acknowledgment sent {"connection_id":57137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:49:52] local.INFO: TCP Data received {"connection_id":57833,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:52] local.INFO: Processing buffer {"connection_id":57833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:52] local.INFO: IMEI packet received {"connection_id":57833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":57833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:49:57] local.INFO: TCP Data received {"connection_id":57833,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:57] local.INFO: Processing buffer {"connection_id":57833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:49:57] local.INFO: IMEI packet received {"connection_id":57833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":57833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:49:58] local.INFO: TCP Data received {"connection_id":57833,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:58] local.INFO: Processing buffer {"connection_id":57833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:49:58] local.INFO: Packet analysis {"connection_id":57833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:49:58] local.INFO: Extracted packet for processing {"connection_id":57833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:49: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-04-28 23:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:49:58] 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-04-28 23:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:49: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-04-28 23:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:49:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":57833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:49:58] local.INFO: GPS data processed {"connection_id":57833,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:49:58] local.INFO: Acknowledgment sent {"connection_id":57833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:50:30] local.INFO: TCP Data received {"connection_id":57833,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:50:30] local.INFO: Processing buffer {"connection_id":57833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd54d1d30012d7b830005f5ed280008014b25..."} 
[2026-04-28 23:50:30] local.INFO: Packet analysis {"connection_id":57833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:50:30] local.INFO: Extracted packet for processing {"connection_id":57833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd54d"} 
[2026-04-28 23:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":8,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014347008001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400094000,"timestamp_ms":1777400094000,"timestamp_seconds":1777400094,"priority":1,"record_length":96,"hex_timestamp":"0000019dd54d1d30"} 
[2026-04-28 23:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-28 23:50:30] 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-04-28 23:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:50:30] 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-04-28 23:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014347008001,"66":25419,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014347008001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:50:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014347008001,"power":25419,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":57833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:50:30] local.INFO: GPS data processed {"connection_id":57833,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:50:30] local.INFO: Acknowledgment sent {"connection_id":57833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:50:52] local.INFO: TCP Data received {"connection_id":57139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:52] local.INFO: Processing buffer {"connection_id":57139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:52] local.INFO: IMEI packet received {"connection_id":57139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":57139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:50:57] local.INFO: TCP Data received {"connection_id":57139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:57] local.INFO: Processing buffer {"connection_id":57139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:50:57] local.INFO: IMEI packet received {"connection_id":57139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":57139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:50:58] local.INFO: TCP Data received {"connection_id":57139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:50:58] local.INFO: Processing buffer {"connection_id":57139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:50:58] local.INFO: Packet analysis {"connection_id":57139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:50:58] local.INFO: Extracted packet for processing {"connection_id":57139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:50: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-04-28 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:50:58] 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-04-28 23:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:50: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-04-28 23:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:50:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":57139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:50:58] local.INFO: GPS data processed {"connection_id":57139,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:50:58] local.INFO: Acknowledgment sent {"connection_id":57139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:51:03] local.INFO: TCP Data received {"connection_id":57138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:03] local.INFO: Processing buffer {"connection_id":57138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:03] local.INFO: IMEI packet received {"connection_id":57138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":57138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:51:30] local.INFO: TCP Data received {"connection_id":57139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:51:30] local.INFO: Processing buffer {"connection_id":57139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:51:30] local.INFO: Packet analysis {"connection_id":57139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:51:30] local.INFO: Extracted packet for processing {"connection_id":57139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:51:30] 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-04-28 23:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:51:30] 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-04-28 23:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:51:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":57139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:51:30] local.INFO: GPS data processed {"connection_id":57139,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:51:30] local.INFO: Acknowledgment sent {"connection_id":57139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:51:35] local.INFO: TCP Data received {"connection_id":57140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:35] local.INFO: Processing buffer {"connection_id":57140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:51:35] local.INFO: IMEI packet received {"connection_id":57140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":57140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:51:57] local.INFO: TCP Data received {"connection_id":57834,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:51:57] local.INFO: Processing buffer {"connection_id":57834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:51:57] local.INFO: IMEI packet received {"connection_id":57834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":57834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:52:02] local.INFO: TCP Data received {"connection_id":57834,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:02] local.INFO: Processing buffer {"connection_id":57834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:02] local.INFO: IMEI packet received {"connection_id":57834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":57834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:52:03] local.INFO: TCP Data received {"connection_id":57834,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:03] local.INFO: Processing buffer {"connection_id":57834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:03] local.INFO: Packet analysis {"connection_id":57834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:03] local.INFO: Extracted packet for processing {"connection_id":57834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":57834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":57834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":57834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52:03] 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-04-28 23:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":57834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:52:03] local.INFO: GPS data processed {"connection_id":57834,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:52:03] local.INFO: Acknowledgment sent {"connection_id":57834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:52:08] local.INFO: TCP Data received {"connection_id":57834,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:08] local.INFO: Processing buffer {"connection_id":57834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:08] local.INFO: Packet analysis {"connection_id":57834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:08] local.INFO: Extracted packet for processing {"connection_id":57834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:52:08] 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-04-28 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":57834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":57834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":57834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52:08] 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-04-28 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:52:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":57834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:52:08] local.INFO: GPS data processed {"connection_id":57834,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:52:08] local.INFO: Acknowledgment sent {"connection_id":57834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:52:52] local.INFO: TCP Data received {"connection_id":56908,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:52] local.INFO: Processing buffer {"connection_id":56908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:52] local.INFO: IMEI packet received {"connection_id":56908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":56908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:52:57] local.INFO: TCP Data received {"connection_id":56908,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:57] local.INFO: Processing buffer {"connection_id":56908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:52:57] local.INFO: IMEI packet received {"connection_id":56908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":56908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:52:58] local.INFO: TCP Data received {"connection_id":56908,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:58] local.INFO: Processing buffer {"connection_id":56908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:52:58] local.INFO: Packet analysis {"connection_id":56908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:58] local.INFO: Extracted packet for processing {"connection_id":56908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:52: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-04-28 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:52:58] 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-04-28 23: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-04-28 23:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:52: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-04-28 23:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:52:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":56908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:52:58] local.INFO: GPS data processed {"connection_id":56908,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:52:58] local.INFO: Acknowledgment sent {"connection_id":56908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:53:30] local.INFO: TCP Data received {"connection_id":56908,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:30] local.INFO: Processing buffer {"connection_id":56908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:30] local.INFO: Packet analysis {"connection_id":56908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:53:30] local.INFO: Extracted packet for processing {"connection_id":56908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:53:30] 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-04-28 23: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-04-28 23:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:53:30] 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-04-28 23:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:53:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":56908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:53:30] local.INFO: GPS data processed {"connection_id":56908,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:53:30] local.INFO: Acknowledgment sent {"connection_id":56908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:53:52] local.INFO: TCP Data received {"connection_id":57156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:52] local.INFO: Processing buffer {"connection_id":57156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:52] local.INFO: IMEI packet received {"connection_id":57156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":57156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:53:57] local.INFO: TCP Data received {"connection_id":57156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:57] local.INFO: Processing buffer {"connection_id":57156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:53:57] local.INFO: IMEI packet received {"connection_id":57156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":57156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:53:58] local.INFO: TCP Data received {"connection_id":57156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:58] local.INFO: Processing buffer {"connection_id":57156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:53:58] local.INFO: Packet analysis {"connection_id":57156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:53:58] local.INFO: Extracted packet for processing {"connection_id":57156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:53: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-04-28 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:53:58] 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-04-28 23: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-04-28 23:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:53:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":57156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:53:58] local.INFO: GPS data processed {"connection_id":57156,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:53:58] local.INFO: Acknowledgment sent {"connection_id":57156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:54:29] local.INFO: TCP Data received {"connection_id":57156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:29] local.INFO: Processing buffer {"connection_id":57156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:29] local.INFO: Packet analysis {"connection_id":57156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:54:29] local.INFO: Extracted packet for processing {"connection_id":57156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:54:29] 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-04-28 23: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-04-28 23:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":57156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":57156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":57156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:54:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":57156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:54:29] local.INFO: GPS data processed {"connection_id":57156,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:54:29] local.INFO: Acknowledgment sent {"connection_id":57156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:54:52] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:52] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:52] local.INFO: IMEI packet received {"connection_id":57142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":57142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:54:57] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:57] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:54:57] local.INFO: IMEI packet received {"connection_id":57142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":57142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:54:58] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:58] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:54:58] local.INFO: Packet analysis {"connection_id":57142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:54:58] local.INFO: Extracted packet for processing {"connection_id":57142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:54: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-04-28 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:54:58] 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-04-28 23: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-04-28 23:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":57142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:54:58] local.INFO: GPS data processed {"connection_id":57142,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:54:58] local.INFO: Acknowledgment sent {"connection_id":57142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:55:31] local.INFO: TCP Data received {"connection_id":57142,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:55:31] local.INFO: Processing buffer {"connection_id":57142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd551b4f8012d7b830005f5ed280003014b26..."} 
[2026-04-28 23:55:31] local.INFO: Packet analysis {"connection_id":57142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:55:31] local.INFO: Extracted packet for processing {"connection_id":57142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd551"} 
[2026-04-28 23:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014424064001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777400395000,"timestamp_ms":1777400395000,"timestamp_seconds":1777400395,"priority":1,"record_length":96,"hex_timestamp":"0000019dd551b4f8"} 
[2026-04-28 23:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-28 23:55:31] 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-04-28 23:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":57142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":57142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014424064001,"66":25441,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014424064001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:55:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014424064001,"power":25441,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":57142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:55:31] local.INFO: GPS data processed {"connection_id":57142,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:55:31] local.INFO: Acknowledgment sent {"connection_id":57142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:55:57] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:55:57] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:55:57] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:56:02] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:02] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:02] local.INFO: IMEI packet received {"connection_id":56909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":56909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:56:03] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:03] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:03] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:03] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:56:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:56:03] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:56:03] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:56:07] local.INFO: TCP Data received {"connection_id":56909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:07] local.INFO: Processing buffer {"connection_id":56909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:07] local.INFO: Packet analysis {"connection_id":56909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:07] local.INFO: Extracted packet for processing {"connection_id":56909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-28 23:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":56909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":56909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:56:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:56:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":56909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:56:08] local.INFO: GPS data processed {"connection_id":56909,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:56:08] local.INFO: Acknowledgment sent {"connection_id":56909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:56:52] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:52] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:52] local.INFO: IMEI packet received {"connection_id":56911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":56911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:56:53] local.INFO: TCP Data received {"connection_id":56910,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:56:53] local.INFO: Processing buffer {"connection_id":56910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:56:53] local.INFO: IMEI packet received {"connection_id":56910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":56910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:56:57] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:57] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:56:57] local.INFO: IMEI packet received {"connection_id":56911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":56911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:56:58] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:58] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:56:58] local.INFO: Packet analysis {"connection_id":56911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:58] local.INFO: Extracted packet for processing {"connection_id":56911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:56: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-04-28 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:56:58] 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-04-28 23: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-04-28 23:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":56911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:56:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":56911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:56:58] local.INFO: GPS data processed {"connection_id":56911,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:56:58] local.INFO: Acknowledgment sent {"connection_id":56911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:57:30] local.INFO: TCP Data received {"connection_id":56911,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:30] local.INFO: Processing buffer {"connection_id":56911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:30] local.INFO: Packet analysis {"connection_id":56911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:57:30] local.INFO: Extracted packet for processing {"connection_id":56911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:57:30] 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-04-28 23: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-04-28 23:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":56911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":56911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:57:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":56911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:57:30] local.INFO: GPS data processed {"connection_id":56911,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:57:30] local.INFO: Acknowledgment sent {"connection_id":56911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:57:33] local.INFO: TCP Data received {"connection_id":56912,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":56912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:57:33] local.INFO: Processing buffer {"connection_id":56912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-28 23:57:33] local.INFO: IMEI packet received {"connection_id":56912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-28 23:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":56912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:57:52] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:52] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:52] local.INFO: IMEI packet received {"connection_id":57144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":57144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:57:57] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:57] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:57:57] local.INFO: IMEI packet received {"connection_id":57144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":57144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:57:58] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:58] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:57:58] local.INFO: Packet analysis {"connection_id":57144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:57:58] local.INFO: Extracted packet for processing {"connection_id":57144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:57: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-04-28 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:57:58] 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-04-28 23: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-04-28 23:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:57:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":57144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:57:58] local.INFO: GPS data processed {"connection_id":57144,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:57:58] local.INFO: Acknowledgment sent {"connection_id":57144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:58:30] local.INFO: TCP Data received {"connection_id":57144,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:30] local.INFO: Processing buffer {"connection_id":57144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:30] local.INFO: Packet analysis {"connection_id":57144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:58:30] local.INFO: Extracted packet for processing {"connection_id":57144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:58:30] 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-04-28 23:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:58:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":57144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:58:30] local.INFO: GPS data processed {"connection_id":57144,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:58:30] local.INFO: Acknowledgment sent {"connection_id":57144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:58:52] local.INFO: TCP Data received {"connection_id":57838,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:52] local.INFO: Processing buffer {"connection_id":57838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:52] local.INFO: IMEI packet received {"connection_id":57838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":57838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:58:57] local.INFO: TCP Data received {"connection_id":57838,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:57] local.INFO: Processing buffer {"connection_id":57838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:58:57] local.INFO: IMEI packet received {"connection_id":57838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":57838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:58:59] local.INFO: TCP Data received {"connection_id":57838,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:59] local.INFO: Processing buffer {"connection_id":57838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:58:59] local.INFO: Packet analysis {"connection_id":57838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:58:59] local.INFO: Extracted packet for processing {"connection_id":57838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-28 23:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:58: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-04-28 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:58: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-04-28 23:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-28 23:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":57838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":57838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":57838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:58:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:58:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":57838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:58:59] local.INFO: GPS data processed {"connection_id":57838,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:58:59] local.INFO: Acknowledgment sent {"connection_id":57838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:59:30] local.INFO: TCP Data received {"connection_id":57838,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:30] local.INFO: Processing buffer {"connection_id":57838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:30] local.INFO: Packet analysis {"connection_id":57838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:59:30] local.INFO: Extracted packet for processing {"connection_id":57838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-28 23:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:59:30] 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-04-28 23: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-04-28 23:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":57838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":57838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":57838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:59:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":57838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:59:30] local.INFO: GPS data processed {"connection_id":57838,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:59:30] local.INFO: Acknowledgment sent {"connection_id":57838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-28 23:59:52] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:52] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:52] local.INFO: IMEI packet received {"connection_id":57157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-28 23:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":57157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-28 23:59:57] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:57] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-28 23:59:57] local.INFO: IMEI packet received {"connection_id":57157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-28 23:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":57157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-28 23:59:58] local.INFO: TCP Data received {"connection_id":57157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":57157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:58] local.INFO: Processing buffer {"connection_id":57157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dd5564cc0012d7b830005f5ed280003014b25..."} 
[2026-04-28 23:59:58] local.INFO: Packet analysis {"connection_id":57157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:59:58] local.INFO: Extracted packet for processing {"connection_id":57157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dd556"} 
[2026-04-28 23:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100003112,"longitude_deg":76.3069184,"latitude_deg":10.0003112,"altitude":3,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05f5ed28","is_valid_coordinates":true} 
[2026-04-28 23: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-04-28 23:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455014501120001,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":282595666822168576,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314215028736,"note":"Value kept but may cause issues"} 
[2026-04-28 23:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-28 23:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777400696000,"timestamp_ms":1777400696000,"timestamp_seconds":1777400696,"priority":1,"record_length":96,"hex_timestamp":"0000019dd5564cc0"} 
[2026-04-28 23:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-28 23:59: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-04-28 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-28 23:59:58] 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-04-28 23: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-04-28 23:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-28 23:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-28 23:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":57157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-28 23:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":57157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":57157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-28 23:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-28 23:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-28 23:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-28 23:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455014501120001,"66":25430,"160":206,"87":12800,"24":0,"16":282595666822168576,"45":8899957314215028736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-04-28 23:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-28 23:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-28 23:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455014501120001,"description":"Unknown IO ID 0"} 
[2026-04-28 23:59:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-04-28 23:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-28 23:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":282595666822168576,"km_value":282595666822168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-28 23:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314215028736,"description":"Unknown IO ID 45"} 
[2026-04-28 23:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455014501120001,"power":25430,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8899957314215028736}} 
[2026-04-28 23:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":57157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-28 23:59:58] local.INFO: GPS data processed {"connection_id":57157,"processed":1,"errors":0,"total":1} 
[2026-04-28 23:59:58] local.INFO: Acknowledgment sent {"connection_id":57157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
